]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211/mac80211: Report signal average
authorBruno Randolf <br1@einfach.org>
Tue, 16 Nov 2010 01:58:48 +0000 (10:58 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Nov 2010 19:22:20 +0000 (14:22 -0500)
commit9c38cb586b01e09b795db92f0606504275081f55
tree579ee24be87e94246450420f4de57d8eda942848
parenta54fc267486250edae83650eb758d987cb6c409f
nl80211/mac80211: Report signal average

Extend nl80211 to report an exponential weighted moving average (EWMA) of the
signal value. Since the signal value usually fluctuates between different
packets, an average can be more useful than the value of the last packet.

This uses the recently added generic EWMA library function.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/Kconfig
net/mac80211/cfg.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/wireless/nl80211.c