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)
commit86107fd170bc379869250eb7e1bd393a3a70e8ae
tree579ee24be87e94246450420f4de57d8eda942848
parenteef39befaae2a1559efe197d795c376a317af2af
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