Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ struct minstrel_rate_stats {
	u16 success, last_success;

	/* total attempts/success counters */
	u64 att_hist, succ_hist;
	u32 att_hist, succ_hist;

	/* statistis of packet delivery probability
	 *  cur_prob  - current prob within last update intervall