summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_phy.c
diff options
context:
space:
mode:
authorFelix Fietkau2012-06-15 15:25:20 +0200
committerJohn W. Linville2012-06-20 20:44:41 +0200
commit0b81cc3922bce79d0f21189648bf4f9992e9a533 (patch)
tree7091880bd04c630b3dfec150e30d65e75510686f /drivers/net/wireless/ath/ath9k/ar9003_phy.c
parentath9k_hw: remove aniState->noiseFloor (diff)
downloadkernel-qcow2-linux-0b81cc3922bce79d0f21189648bf4f9992e9a533.tar.gz
kernel-qcow2-linux-0b81cc3922bce79d0f21189648bf4f9992e9a533.tar.xz
kernel-qcow2-linux-0b81cc3922bce79d0f21189648bf4f9992e9a533.zip
ath9k_hw: fix OFDM weak signal detection handling
Commit "ath9k_hw: improve ANI processing and rx desensitizing parameters" was unifying some code related to overriding OFDM weak signal detection, but seems to have gotten some of the original intent wrong, probably because of a misnamed variable. The beacon RSSI is only valid in station mode, and the main reason to check it in ath9k_hw_set_ofdm_nil is to make sure that OFDM weak signal detection stays enabled if the RSSI is low, even when the OFDM noise immunity entry is supposed to disable it. The above commit removed the mode checks and changed the code so that OFDM weak signal detection would only be changed if the rssi is high, which is wrong for everything but client mode. This patch restores the old behavior in a simplified form. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_phy.c')
0 files changed, 0 insertions, 0 deletions