aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-01 11:33:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-01 11:33:07 +0000
commit44756fe93c1e9e492bfe0d2a278859002c0d4946 (patch)
tree25251c31c7c8c3c42de568f30b3ed5c40b35ba5a /package/mac80211
parent0ba94475c91ba8bd66f17e6f5e4b10baf304d4c4 (diff)
downloadupstream-44756fe93c1e9e492bfe0d2a278859002c0d4946.tar.gz
upstream-44756fe93c1e9e492bfe0d2a278859002c0d4946.tar.bz2
upstream-44756fe93c1e9e492bfe0d2a278859002c0d4946.zip
ath5k: enable spur mitigation for ar2413 - should improve performance and reliability on those devices
SVN-Revision: 27331
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/442-ath5k_spur_channel_srev_check.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/442-ath5k_spur_channel_srev_check.patch b/package/mac80211/patches/442-ath5k_spur_channel_srev_check.patch
new file mode 100644
index 0000000000..1931be8db2
--- /dev/null
+++ b/package/mac80211/patches/442-ath5k_spur_channel_srev_check.patch
@@ -0,0 +1,10 @@
+--- a/drivers/net/wireless/ath/ath5k/phy.c
++++ b/drivers/net/wireless/ath/ath5k/phy.c
+@@ -105,6 +105,7 @@ bool ath5k_hw_chan_has_spur_noise(struct
+
+ if ((ah->ah_radio == AR5K_RF5112) ||
+ (ah->ah_radio == AR5K_RF5413) ||
++ (ah->ah_radio == AR5K_RF2413) ||
+ (ah->ah_mac_version == (AR5K_SREV_AR2417 >> 4)))
+ refclk_freq = 40;
+ else