ath10k-ct: depend on kmod-hwmon-core, it gets used when CONFIG_THERMAL is set
[openwrt/staging/dedeckeh.git] / package / kernel / mac80211 / patches / 341-mac80211-minstrel-make-prob_ewma-u16-instead-of-u32.patch
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
4
5 Saves about 1.2 KiB memory per station
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
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;
17 + u16 prob_ewma;
18 u16 prob_ewmv;
19
20 /* maximum retry counts */