Commit 70550df2d354f13ae0544f12aa14b79f094f0de2

Authored by Felix Fietkau
Committed by Johannes Berg
1 parent 782dda00ab

mac80211: minstrel_ht: make att_hist and succ_hist u32 instead of u64

They are only used for debugging purposes and take a very long time to
overflow. Visibly reduces the size of the per-sta rate control data.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

net/mac80211/rc80211_minstrel.h
... ... @@ -59,7 +59,7 @@
59 59 u16 success, last_success;
60 60  
61 61 /* total attempts/success counters */
62   - u64 att_hist, succ_hist;
  62 + u32 att_hist, succ_hist;
63 63  
64 64 /* statistis of packet delivery probability
65 65 * cur_prob - current prob within last update intervall