mac80211: use DECLARE_EWMA
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jul 2015 10:26:46 +0000 (12:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Aug 2015 15:49:53 +0000 (17:49 +0200)
commit40d9a38ad3b7029be9c278738b67cbdb6349ce85
treee71dd40eb0afb147df45a91d36cb69faa3630880
parent2377799c084d86d22074cd4acd20edc32024d669
mac80211: use DECLARE_EWMA

Instead of using the out-of-line average calculation, use the new
DECLARE_EWMA() macro to declare a signal EWMA, and use that.

This actually *reduces* the code size slightly (on x86-64) while
also reducing the station info size by 80 bytes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/Kconfig
net/mac80211/mesh_plink.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h