nl80211: advertise supported channel width in S1G
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 8 Sep 2020 19:03:03 +0000 (12:03 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 10:28:06 +0000 (12:28 +0200)
commitd65a977087f94f3bb97f351798d864556063109a
tree0de37a387ef990ea57fe78f8f1fa4e27240f90f6
parent37050e3ab0b3f02819e3d70ab01d97addb810b28
nl80211: advertise supported channel width in S1G

S1G supports 5 channel widths: 1, 2, 4, 8, and 16. One
channel width is allowed per frequency in each operating
class, so it makes more sense to advertise the specific
channel width allowed.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200908190323.15814-3-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c