Home
last modified time | relevance | path

Searched hist:"2 ef167557c0a26c88162ecffb017bfcc51eb7b29" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc.hdiff 838f427955dcfd16858b0108ce29029da0d56a4e Fri Feb 22 14:37:25 CST 2013 Felix Fietkau <nbd@openwrt.org> ath9k_htc: fix signal strength handling issues

The ath9k commit 2ef167557c0a26c88162ecffb017bfcc51eb7b29
(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>
H A Dhtc_drv_txrx.cdiff 838f427955dcfd16858b0108ce29029da0d56a4e Fri Feb 22 14:37:25 CST 2013 Felix Fietkau <nbd@openwrt.org> ath9k_htc: fix signal strength handling issues

The ath9k commit 2ef167557c0a26c88162ecffb017bfcc51eb7b29
(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>
H A Drecv.cdiff 2ef167557c0a26c88162ecffb017bfcc51eb7b29 Sat Mar 03 08:17:06 CST 2012 Felix Fietkau <nbd@openwrt.org> 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>