]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad61d1afc34bbf09d9a44e14f6a5e00dcbec071c
treeea551405cf9b35f51171c9827e18cee722b363f2
parent2a77474f9bfffadba1ef571c575510053b9b9d59
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