This series adds a generic exponentially weighted moving average (EWMA) library function and uses it from ath5k and mac80211. There are more places within mac80211 and other wireless drivers which could benefit from this function, which I'm going to update later and I hope this function can be useful in many places all over the kernel. As it has been discussed on LKML, the preferred way of merging this is thru wireless-testing, since this is where the first callers will be (http://marc.info/?l=linux-kernel&m=128949956117559&w=2). Thanks, Bruno --- Bruno Randolf (3): Add generic exponentially weighted moving average (EWMA) function ath5k: Use generic EWMA library nl80211/mac80211: Report signal average drivers/net/wireless/ath/ath5k/Kconfig | 1 + drivers/net/wireless/ath/ath5k/ani.c | 4 +- drivers/net/wireless/ath/ath5k/ath5k.h | 26 +-------------- drivers/net/wireless/ath/ath5k/base.c | 4 +- drivers/net/wireless/ath/ath5k/debug.c | 2 + include/linux/average.h | 32 ++++++++++++++++++ include/linux/nl80211.h | 2 + include/net/cfg80211.h | 4 ++ lib/Kconfig | 3 ++ lib/Makefile | 2 + lib/average.c | 57 ++++++++++++++++++++++++++++++++ net/mac80211/Kconfig | 1 + net/mac80211/cfg.c | 3 +- net/mac80211/rx.c | 1 + net/mac80211/sta_info.c | 2 + net/mac80211/sta_info.h | 3 ++ net/wireless/nl80211.c | 3 ++ 17 files changed, 120 insertions(+), 30 deletions(-) create mode 100644 include/linux/average.h create mode 100644 lib/average.c -- Signature -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html