diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-22 18:14:41 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-22 18:16:41 +0400 |
commit | 0d528d85c519b755b6f4e1bafa3a39984370e1c1 (patch) | |
tree | 5afbdbf16e1ae3d4bf698cf4031032cca220f4b0 /net/mac80211/rc80211_minstrel.h | |
parent | 5de17984898c5758fc6ebe08eccea9f4b6548914 (diff) | |
download | linux-0d528d85c519b755b6f4e1bafa3a39984370e1c1.tar.xz |
mac80211: improve the rate control API
Allow rate control modules to pass a rate selection table to mac80211
and the driver. This allows drivers to fetch the most recent rate
selection from the sta pointer for already buffered frames. This allows
rate control to respond faster to sudden link changes and it is also a
step towards adding minstrel_ht support to drivers like iwlwifi.
When a driver sets IEEE80211_HW_SUPPORTS_RC_TABLE, mac80211 will not
fill info->control.rates with rates from the rate table (to preserve
explicit overrides by the rate control module). The driver then
explicitly calls ieee80211_get_tx_rates to merge overrides from
info->control.rates with defaults from the sta rate table.
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')
0 files changed, 0 insertions, 0 deletions