]> git.karo-electronics.de Git - linux-beck.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)
commitb4ea449df90684035985a77763fd1d2ff0eb9dad
tree4b156d174efda2a11ca7fba59a59617ab3b7de14
parent6a8a3f6b2ac02fb8542f2b36b0ecd9c48f7d9a7e
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