diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-12-14 20:46:58 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-15 11:07:52 +0100 |
commit | 1109dc392ea0248f7bfca3537011aa7afaa05cee (patch) | |
tree | cdd84cf8f30810fa3db97a84b1bea082782bface /net/mac80211/rc80211_minstrel.h | |
parent | 95cd470c75a8822d35fa82a1b276d47da37229d1 (diff) | |
download | blackbird-obmc-linux-1109dc392ea0248f7bfca3537011aa7afaa05cee.tar.gz blackbird-obmc-linux-1109dc392ea0248f7bfca3537011aa7afaa05cee.zip |
mac80211: minstrel: remove cur_prob from debugfs
This field is redundant, because it is simply last success divided by
last attempt count. Removing it from the rate stats struct saves about
1.2 KiB per HT station.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
-rw-r--r-- | net/mac80211/rc80211_minstrel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index 209961cbb7e8..94b89b1b406c 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h @@ -62,10 +62,8 @@ struct minstrel_rate_stats { u32 att_hist, succ_hist; /* statistis of packet delivery probability - * cur_prob - current prob within last update intervall * prob_ewma - exponential weighted moving average of prob * prob_ewmsd - exp. weighted moving standard deviation of prob */ - unsigned int cur_prob; unsigned int prob_ewma; u16 prob_ewmsd; |