cfg80211: regulatory: handle S1G channels
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 8 Sep 2020 19:03:04 +0000 (12:03 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 10:29:23 +0000 (12:29 +0200)
commit68dbad8c656960292142832c3b44c63db9831d67
treec4c19e5ae8dadea1df1dc7f37a044ce9a26d6b40
parentd65a977087f94f3bb97f351798d864556063109a
cfg80211: regulatory: handle S1G channels

S1G channels have a minimum bandwidth of 1Mhz, and there
is a 1:1 mapping of allowed bandwidth to channel number.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200908190323.15814-4-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c