aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel_ht.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.h')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.h b/net/mac80211/rc80211_minstrel_ht.h
index 302dbd52180d..d655586773ac 100644
--- a/net/mac80211/rc80211_minstrel_ht.h
+++ b/net/mac80211/rc80211_minstrel_ht.h
@@ -16,11 +16,6 @@
16#define MINSTREL_MAX_STREAMS 3 16#define MINSTREL_MAX_STREAMS 3
17#define MINSTREL_STREAM_GROUPS 4 17#define MINSTREL_STREAM_GROUPS 4
18 18
19/* scaled fraction values */
20#define MINSTREL_SCALE 16
21#define MINSTREL_FRAC(val, div) (((val) << MINSTREL_SCALE) / div)
22#define MINSTREL_TRUNC(val) ((val) >> MINSTREL_SCALE)
23
24#define MCS_GROUP_RATES 8 19#define MCS_GROUP_RATES 8
25 20
26struct mcs_group { 21struct mcs_group {
@@ -70,6 +65,8 @@ struct minstrel_mcs_group_data {
70}; 65};
71 66
72struct minstrel_ht_sta { 67struct minstrel_ht_sta {
68 struct ieee80211_sta *sta;
69
73 /* ampdu length (average, per sampling interval) */ 70 /* ampdu length (average, per sampling interval) */
74 unsigned int ampdu_len; 71 unsigned int ampdu_len;
75 unsigned int ampdu_packets; 72 unsigned int ampdu_packets;
@@ -85,6 +82,7 @@ struct minstrel_ht_sta {
85 82
86 /* best probability rate */ 83 /* best probability rate */
87 unsigned int max_prob_rate; 84 unsigned int max_prob_rate;
85 unsigned int max_prob_streams;
88 86
89 /* time of last status update */ 87 /* time of last status update */
90 unsigned long stats_update; 88 unsigned long stats_update;