projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0bc9c
)
mac80211: minstrel: make prob_ewma u16 instead of u32
author
Felix Fietkau
<nbd@nbd.name>
Wed, 14 Dec 2016 19:47:01 +0000
(20:47 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 15 Dec 2016 10:07:53 +0000
(11:07 +0100)
Saves about 1.2 KiB memory per station
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel.h
patch
|
blob
|
history
diff --git
a/net/mac80211/rc80211_minstrel.h
b/net/mac80211/rc80211_minstrel.h
index ea86e67841549a060bf36617c55676877c780536..be6c3f35f48b30b2cb17a2ceb398fe37f6f593f3 100644
(file)
--- a/
net/mac80211/rc80211_minstrel.h
+++ b/
net/mac80211/rc80211_minstrel.h
@@
-59,7
+59,7
@@
struct minstrel_rate_stats {
/* statistis of packet delivery probability
* prob_ewma - exponential weighted moving average of prob
* prob_ewmsd - exp. weighted moving standard deviation of prob */
- u
nsigned int
prob_ewma;
+ u
16
prob_ewma;
u16 prob_ewmv;
/* maximum retry counts */