diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-22 18:14:43 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-22 18:16:41 +0400 |
commit | 06d961a8e210035bff7e82f466107f9ab4a8fd94 (patch) | |
tree | 710ff735b499b709c280e88f9f3bda8c46276064 /net/mac80211/rc80211_minstrel.h | |
parent | a85666627b7f10c4229716b6ffaffcf196a128ca (diff) | |
download | linux-06d961a8e210035bff7e82f466107f9ab4a8fd94.tar.xz |
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 { }; struct minstrel_sta_info { + struct ieee80211_sta *sta; + unsigned long stats_update; unsigned int sp_ack_dur; unsigned int rate_avg; |