projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beaee9c
)
ath9k_hw: fix spur mitigation issues on AR934x
author
Felix Fietkau
<
[email protected]
>
Thu, 23 May 2013 10:20:54 +0000
(12:20 +0200)
committer
John W. Linville
<
[email protected]
>
Fri, 24 May 2013 16:50:21 +0000
(12:50 -0400)
Do not subtract spur power from noise floor on this chip, as it can lead
to packet loss and other connectivity issues.
Signed-off-by: Felix Fietkau <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/ar9003_phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index 2bf6548dd143c420f1a5d7372040b5638dd8ad38..e1714d7c9eeb50d0c546a9ea01ad213a8bd51215 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/
drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@
-334,7
+334,8
@@
static void ar9003_hw_spur_ofdm(struct ath_hw *ah,
REG_RMW_FIELD(ah, AR_PHY_SPUR_REG,
AR_PHY_SPUR_REG_EN_VIT_SPUR_RSSI, 1);
- if (REG_READ_FIELD(ah, AR_PHY_MODE,
+ if (!AR_SREV_9340(ah) &&
+ REG_READ_FIELD(ah, AR_PHY_MODE,
AR_PHY_MODE_DYNAMIC) == 0x1)
REG_RMW_FIELD(ah, AR_PHY_SPUR_REG,
AR_PHY_SPUR_REG_ENABLE_NF_RSSI_SPUR_MIT, 1);