diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-03 15:17:06 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-07 13:51:39 -0500 |
commit | 2ef167557c0a26c88162ecffb017bfcc51eb7b29 (patch) | |
tree | f82d9e122a99db33f18e3dcbeae1e32e0088fdf0 /net/dns_resolver | |
parent | 3a2923e83c6036f55ad4a39c8ee9a7d4accd9539 (diff) | |
download | blackbird-op-linux-2ef167557c0a26c88162ecffb017bfcc51eb7b29.tar.gz blackbird-op-linux-2ef167557c0a26c88162ecffb017bfcc51eb7b29.zip |
ath9k: fix signal strength reporting issues
On A-MPDU frames, the hardware only reports valid signal strength data for
the last subframe. The driver also mangled rx_stats->rs_rssi using the
ATH_EP_RND macro in a way that may make sense for ANI, but definitely
not for reporting to mac80211.
This patch changes the code to calculate the signal strength from the rssi
directly instead of taking the average value, and flag everything but
the last subframe in an A-MPDU to tell mac80211 to ignore the signal strength
entirely, fixing signal strength fluctuation issues reported by various
users.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions