1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Wed, 14 Dec 2016 20:19:56 +0100
3 Subject: [PATCH] mac80211: minstrel: make prob_ewma u16 instead of u32
5 Saves about 1.2 KiB memory per station
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
10 --- a/net/mac80211/rc80211_minstrel.h
11 +++ b/net/mac80211/rc80211_minstrel.h
12 @@ -59,7 +59,7 @@ struct minstrel_rate_stats {
13 /* statistis of packet delivery probability
14 * prob_ewma - exponential weighted moving average of prob
15 * prob_ewmsd - exp. weighted moving standard deviation of prob */
16 - unsigned int prob_ewma;
20 /* maximum retry counts */