diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-22 10:14:43 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-22 10:16:41 -0400 |
commit | 06d961a8e210035bff7e82f466107f9ab4a8fd94 (patch) | |
tree | 710ff735b499b709c280e88f9f3bda8c46276064 /net/mac80211/rc80211_minstrel.h | |
parent | a85666627b7f10c4229716b6ffaffcf196a128ca (diff) |
mac80211/minstrel: use the new rate control API
Pass the rate selection table to mac80211 from minstrel_update_stats.
Only rates for sample attempts are set in info->control.rates, with deferred
sampling, only the second slot gets changed.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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, 2 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index b9f8535fa15c..f4301f4b2e41 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h | |||
@@ -63,6 +63,8 @@ struct minstrel_rate { | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | struct minstrel_sta_info { | 65 | struct minstrel_sta_info { |
66 | struct ieee80211_sta *sta; | ||
67 | |||
66 | unsigned long stats_update; | 68 | unsigned long stats_update; |
67 | unsigned int sp_ack_dur; | 69 | unsigned int sp_ack_dur; |
68 | unsigned int rate_avg; | 70 | unsigned int rate_avg; |