summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@adapt-ip.com>2020-09-21 19:28:12 -0700
committerJohannes Berg <johannes.berg@intel.com>2020-09-28 13:56:37 +0200
commit1821f8b36f112be9e3071779da82e14384fc6989 (patch)
treea263409ace84184e13b8e10072f80c551f444597 /include
parent89b8c02a35f5c6199f76a839b7a7e450f8185f1b (diff)
downloadlinux-stable-1821f8b36f112be9e3071779da82e14384fc6989.tar.gz
linux-stable-1821f8b36f112be9e3071779da82e14384fc6989.tar.bz2
linux-stable-1821f8b36f112be9e3071779da82e14384fc6989.zip
mac80211: handle S1G low rates
S1G doesn't have legacy (sband->bitrates) rates, only MCS. For now, just send a frame at MCS 0 if a low rate is requested. Note we also redefine (since we're out of TX flags) TX_RC_VHT_MCS as TX_RC_S1G_MCS to indicate an S1G MCS. This is probably OK as VHT MCS is not valid on S1G band and vice versa. Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com> Link: https://lore.kernel.org/r/20200922022818.15855-12-thomas@adapt-ip.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index e90089d104b0..de22524e9270 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -833,6 +833,8 @@ enum mac80211_tx_info_flags {
#define IEEE80211_TX_CTL_STBC_SHIFT 23
+#define IEEE80211_TX_RC_S1G_MCS IEEE80211_TX_RC_VHT_MCS
+
/**
* enum mac80211_tx_control_flags - flags to describe transmit control
*