]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: fix signal strength handling issues
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:37:25 +0000 (21:37 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Feb 2013 19:12:51 +0000 (14:12 -0500)
commitf37d90e7cdc0b51c0b8cd9263c3b8e19686d3730
treedc6f0ff8f456bac5b4d49736d5dfc8cdd641e119
parent50b829462241e4fbbccd83ef5160eb03eb69a433
ath9k_htc: fix signal strength handling issues

The ath9k commit e26c498846b1f9eedacafe57be73efb87b85c99b
(ath9k: fix signal strength reporting issues) fixed an issue where the
reported per-frame signal strength reported to mac80211 was being
overwritten with an internal average. The same issue is also present
in ath9k_htc.
In addition to preventing the driver from overwriting the value, this
commit also ensures that the internal average (which is used for ANI)
only tracks beacons of the AP that we're connected to.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c