Commit
70550df2d354f13ae0544f12aa14b79f094f0de2
Exists in
smarc_imx_lf-5.15.y
and in
20 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, pitx_8mp_lf-5.10.y, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y
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
... |
... |
@@ -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 |