projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782dda0
)
mac80211: minstrel_ht: make att_hist and succ_hist u32 instead of u64
author
Felix Fietkau
<nbd@nbd.name>
Wed, 14 Dec 2016 19:46:56 +0000
(20:46 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 15 Dec 2016 10:07:52 +0000
(11:07 +0100)
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>
net/mac80211/rc80211_minstrel.h
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/rc80211_minstrel.h
b/net/mac80211/rc80211_minstrel.h
index c230bbe93262b0affc476c01b8d1db9ab7dfe054..209961cbb7e8ef41f896c93d1de3114ee96ce621 100644
(file)
--- a/
net/mac80211/rc80211_minstrel.h
+++ b/
net/mac80211/rc80211_minstrel.h
@@
-59,7
+59,7
@@
struct minstrel_rate_stats {
u16 success, last_success;
/* total attempts/success counters */
- u
64
att_hist, succ_hist;
+ u
32
att_hist, succ_hist;
/* statistis of packet delivery probability
* cur_prob - current prob within last update intervall