Thomas Huehn a512d4b543 mac80211: merge EWMA calculation of minstrel_ht and minstrel
Both rate control algorithms (minstrel and minstrel_ht) calculate
averages based on EWMA. Shift function minstrel_ewma() into
rc80211_minstrel.h and make use of it in both minstrel version.
Also shift the default EWMA level (75%) definition to the header file
and clean up variable usage.

Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-03-06 16:36:06 +01:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2013-03-06 16:36:00 +01:00
2013-02-04 18:57:47 +01:00
2009-07-10 15:01:49 -04:00
2013-03-06 16:36:01 +01:00
2013-02-21 12:05:51 -08:00
2013-03-06 16:35:54 +01:00
2013-02-04 18:57:47 +01:00
2013-02-15 15:46:37 +01:00
2013-02-15 15:46:37 +01:00
2011-03-31 11:26:23 -03:00
2013-02-04 18:57:47 +01:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00
2013-02-04 18:57:47 +01:00
2012-06-20 17:35:22 +02:00