mac80211: minstrel: make prob_ewma u16 instead of u32

Saves about 1.2 KiB memory per station

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Felix Fietkau 2016-12-14 20:47:01 +01:00 committed by Johannes Berg
parent 4f0bc9c61b
commit 4cae4cd10d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */