projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 firmware: remove noisy debug messages
[carl9170fw.git]
/
carlfw
/
src
/
rf.c
diff --git
a/carlfw/src/rf.c
b/carlfw/src/rf.c
index ae9fd5464e4fcb6f59150c1f34e22dda95e30b4d..8bf34ea5e0aac3be7c4c7355b42c3abd9eb8057e 100644
(file)
--- a/
carlfw/src/rf.c
+++ b/
carlfw/src/rf.c
@@
-199,6
+199,9
@@
void rf_cmd(const struct carl9170_cmd *cmd, struct carl9170_rsp *resp)
fw.phy.ht_settings = cmd->rf_init.ht_settings;
fw.phy.frequency = cmd->rf_init.freq;
fw.phy.ht_settings = cmd->rf_init.ht_settings;
fw.phy.frequency = cmd->rf_init.freq;
+ /*
+ * Is the clock controlled by the PHY?
+ */
if ((fw.phy.ht_settings & EIGHTY_FLAG) == EIGHTY_FLAG)
clock_set(AHB_80_88MHZ, true);
else
if ((fw.phy.ht_settings & EIGHTY_FLAG) == EIGHTY_FLAG)
clock_set(AHB_80_88MHZ, true);
else
@@
-219,10
+222,6
@@
void rf_psm(void)
{
u32 bank3;
{
u32 bank3;
- /*
- * FIXME: Does not work on 5GHz band!
- */
-
if (fw.phy.psm.state == CARL9170_PSM_SOFTWARE) {
/* not enabled by the driver */
return;
if (fw.phy.psm.state == CARL9170_PSM_SOFTWARE) {
/* not enabled by the driver */
return;
@@
-269,7
+268,7
@@
void rf_psm(void)
}
}
}
}
- if (fw.phy.frequency < 3000000
0
)
+ if (fw.phy.frequency < 3000000)
bank3 |= 0x00800000;
set(0x1c58f0, bank3);
bank3 |= 0x00800000;
set(0x1c58f0, bank3);