diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-18 01:26:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-18 01:26:36 +0000 |
commit | 33600679329458db7a0d258f3985daa52d98bf75 (patch) | |
tree | 9c5f6766d736f534cb39faa25b00a9b126d26f94 /package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch | |
parent | c73b39fd302245a47813d1a41a082df7b82c45fb (diff) | |
download | master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.gz master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.bz2 master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.zip |
mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
Diffstat (limited to 'package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch')
-rw-r--r-- | package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch b/package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch deleted file mode 100644 index 12d7cda59a..0000000000 --- a/package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/ani.c -+++ b/drivers/net/wireless/ath/ath9k/ani.c -@@ -265,6 +265,7 @@ static void ath9k_hw_set_ofdm_nil(struct - struct ath_common *common = ath9k_hw_common(ah); - const struct ani_ofdm_level_entry *entry_ofdm; - const struct ani_cck_level_entry *entry_cck; -+ bool weak_sig; - - ath_dbg(common, ANI, "**** ofdmlevel %d=>%d, rssi=%d[lo=%d hi=%d]\n", - aniState->ofdmNoiseImmunityLevel, -@@ -290,13 +291,15 @@ static void ath9k_hw_set_ofdm_nil(struct - ATH9K_ANI_FIRSTEP_LEVEL, - entry_ofdm->fir_step_level); - -- if (BEACON_RSSI(ah) >= aniState->rssiThrHigh && -- (!aniState->ofdmWeakSigDetectOff != -- entry_ofdm->ofdm_weak_signal_on)) { -+ weak_sig = entry_ofdm->ofdm_weak_signal_on; -+ if (ah->opmode == NL80211_IFTYPE_STATION && -+ BEACON_RSSI(ah) <= aniState->rssiThrHigh) -+ weak_sig = true; -+ -+ if (!aniState->ofdmWeakSigDetectOff != weak_sig) - ath9k_hw_ani_control(ah, - ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION, - entry_ofdm->ofdm_weak_signal_on); -- } - } - - static void ath9k_hw_ani_ofdm_err_trigger(struct ath_hw *ah) |