diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2020-04-25 18:57:12 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-04-29 16:16:47 +0200 |
commit | 08fad438bed0ada1a3308987862327286fcbb5f5 (patch) | |
tree | 0d1368d438ae412527417770450b112e522e2a29 /net/mac80211/ieee80211_i.h | |
parent | bedd7904e86c02ae80513c212ea25789d8bf4fb4 (diff) | |
download | linux-stable-08fad438bed0ada1a3308987862327286fcbb5f5.tar.gz linux-stable-08fad438bed0ada1a3308987862327286fcbb5f5.tar.bz2 linux-stable-08fad438bed0ada1a3308987862327286fcbb5f5.zip |
mac80211: TX legacy rate control for Beacon frames
Use the Beacon frame specific legacy rate configuration, if specified
for AP or mesh, instead of the generic rate mask when selecting the TX
rate for Beacon frames.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20200425155713.25687-4-jouni@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 9407cf44305c..8cbae66b5cdb 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -962,6 +962,10 @@ struct ieee80211_sub_if_data { bool rc_has_vht_mcs_mask[NUM_NL80211_BANDS]; u16 rc_rateidx_vht_mcs_mask[NUM_NL80211_BANDS][NL80211_VHT_NSS_MAX]; + /* Beacon frame (non-MCS) rate (as a bitmap) */ + u32 beacon_rateidx_mask[NUM_NL80211_BANDS]; + bool beacon_rate_set; + union { struct ieee80211_if_ap ap; struct ieee80211_if_wds wds; |