mac80211: handle S1G low rates
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:12 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 11:56:37 +0000 (13:56 +0200)
commit1821f8b36f112be9e3071779da82e14384fc6989
treea263409ace84184e13b8e10072f80c551f444597
parent89b8c02a35f5c6199f76a839b7a7e450f8185f1b
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>
include/net/mac80211.h
net/mac80211/rate.c