]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: fix signal strength reporting issues
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 2 Dec 2012 15:52:00 +0000 (16:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Dec 2012 18:52:00 +0000 (13:52 -0500)
commit41b195b9716130ad624a5404a3bfe92265f24b18
tree3d132a7ca5ea626c1e98a49f3bf5fddca6f17311
parent1b57396f538291469a8a27fd8c10d0dce7a4cdfd
carl9170: fix signal strength reporting issues

On A-MPDU frames, the hardware only reports valid
signal strength data for the last subframe.

This patch fixes it by flagging everything but the
last subframe in an A-MPDU to tell mac80211 to
ignore the signal strength entirely. Otherwise
the empty value (= 0 dbm) will distort the
average quite badly.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/rx.c