]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: keep beacon RSSI average
authorBruno Randolf <br1@einfach.org>
Thu, 25 Mar 2010 05:49:25 +0000 (14:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:09 +0000 (14:39 -0400)
commite155e2d80eb01a0b6a1d1ae319662dc6c7748a77
tree4b156d174efda2a11ca7fba59a59617ab3b7de14
parentb96a1aff338e34ed267d8ae40aaaf7fb7e578e61
ath5k: keep beacon RSSI average

Keep an exponentially weighted moving average of the beacon RSSI in our BSS.
It will be used by the ANI implementation.

The averaging algorithm is copied from rt2x00, Thanks :)

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c