Commit 70550df2 authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg

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: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 782dda00
...@@ -59,7 +59,7 @@ struct minstrel_rate_stats { ...@@ -59,7 +59,7 @@ struct minstrel_rate_stats {
u16 success, last_success; u16 success, last_success;
/* total attempts/success counters */ /* total attempts/success counters */
u64 att_hist, succ_hist; u32 att_hist, succ_hist;
/* statistis of packet delivery probability /* statistis of packet delivery probability
* cur_prob - current prob within last update intervall * cur_prob - current prob within last update intervall
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment