summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-30 08:20:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-30 08:20:34 +0000
commit90ed704fdb87dc52efa997da1b5f250b9de623ea (patch)
treead6cb631526709d14db13fe7eff4c99a6d4b6cff /package
parent08759f0f3b1ad5af5ee4c4fe4799d465ddefd0f9 (diff)
ath9k: merge a ar93xx ht40 performance fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/300-pending_work.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index c702cfeb1..eb982d53b 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -227,6 +227,24 @@
REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B0,
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+@@ -373,7 +373,7 @@ static void ar9003_hw_spur_ofdm_work(str
+ else
+ spur_subchannel_sd = 0;
+
+- spur_freq_sd = (freq_offset << 9) / 11;
++ spur_freq_sd = ((freq_offset + 10) << 9) / 11;
+
+ } else {
+ if (REG_READ_FIELD(ah, AR_PHY_GEN_CTRL,
+@@ -382,7 +382,7 @@ static void ar9003_hw_spur_ofdm_work(str
+ else
+ spur_subchannel_sd = 1;
+
+- spur_freq_sd = (freq_offset << 9) / 11;
++ spur_freq_sd = ((freq_offset - 10) << 9) / 11;
+
+ }
+
@@ -526,22 +526,10 @@ static void ar9003_hw_init_bb(struct ath
* Value is in 100ns increments.
*/