mac80211_hwsim: indicate support for S1G
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:18 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 12:12:39 +0000 (14:12 +0200)
commit148fe295b7d9d892b2b0f47070233ccdc70c83cd
treeea551405cf9b35f51171c9827e18cee722b363f2
parenta3ffee47354fca71c24223af2b20ef69a1b0ff5b
mac80211_hwsim: indicate support for S1G

Advertise S1G Capabilities and channels to mac80211.

Requires a few fixups to account for missing
sband->bitrates, and a custom regulatory db to actually
enable the S1G channels.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-18-thomas@adapt-ip.com
[small code cleanup]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c