diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-30 08:20:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-30 08:20:34 +0000 |
commit | f8868fc87bb7d72f9172f60d8e0481bb365ee601 (patch) | |
tree | ea3ef6329c0d307013cb8c30e5ec0662b0fdfbd5 /package/mac80211/patches/300-pending_work.patch | |
parent | 897abd824f39b8790e73e0d156b560de4c90856d (diff) | |
download | master-31e0f0ae-f8868fc87bb7d72f9172f60d8e0481bb365ee601.tar.gz master-31e0f0ae-f8868fc87bb7d72f9172f60d8e0481bb365ee601.tar.bz2 master-31e0f0ae-f8868fc87bb7d72f9172f60d8e0481bb365ee601.zip |
ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 18 |
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 c702cfeb1c..eb982d53b1 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. */ |