1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Wed, 14 Dec 2016 20:09:14 +0100
3 Subject: [PATCH] mac80211: minstrel_ht: make att_hist and succ_hist u32
6 They are only used for debugging purposes and take a very long time to
7 overflow. Visibly reduces the size of the per-sta rate control data.
9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
12 --- a/net/mac80211/rc80211_minstrel.h
13 +++ b/net/mac80211/rc80211_minstrel.h
14 @@ -59,7 +59,7 @@ struct minstrel_rate_stats {
15 u16 success, last_success;
17 /* total attempts/success counters */
18 - u64 att_hist, succ_hist;
19 + u32 att_hist, succ_hist;
21 /* statistis of packet delivery probability
22 * cur_prob - current prob within last update intervall