]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix invalid extension channel noisefloor readings in HT20
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jul 2010 02:07:48 +0000 (04:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:32:42 +0000 (15:32 -0400)
commit5163d15f80bb2cfec4fabef4ef6219de9f4e8415
tree795a2705b44be3f60f3d4a0ff46fddbee0337197
parent12bf487c44d9ba649cb17ecfec9fa5571f9a9519
ath9k_hw: fix invalid extension channel noisefloor readings in HT20

When the hardware is configured in HT20 mode, noise floor readings for
the extension channel often return invalid values, which keep the
values in the NF history buffer at the hardware-specific maximum limit.
Fix this by discarding the extension channel values when in HT20 mode.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9002_phy.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c