From: Felix Fietkau Date: Wed, 14 Dec 2016 19:47:01 +0000 (+0100) Subject: mac80211: minstrel: make prob_ewma u16 instead of u32 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4cae4cd10d058eb4057e20cb72e82fe76ae739af;p=linux.git mac80211: minstrel: make prob_ewma u16 instead of u32 Saves about 1.2 KiB memory per station Signed-off-by: Felix Fietkau Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index ea86e67841549..be6c3f35f48b3 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h @@ -59,7 +59,7 @@ struct minstrel_rate_stats { /* statistis of packet delivery probability * prob_ewma - exponential weighted moving average of prob * prob_ewmsd - exp. weighted moving standard deviation of prob */ - unsigned int prob_ewma; + u16 prob_ewma; u16 prob_ewmv; /* maximum retry counts */