]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: treat 6 GHz channels as valid regardless of capability
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 May 2020 19:34:40 +0000 (21:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 31 May 2020 09:27:08 +0000 (11:27 +0200)
commit284f85ff576ad6bf87696c2e32c970cf169596fd
tree42afc2566d5a4591e29026cb0ba1b449e3f0df79
parentfce004706446d98427bd78b179165ef4ca11cb4c
cfg80211: treat 6 GHz channels as valid regardless of capability

If a 6 GHz channel exists, then we can probably safely assume that
the device actually supports it, and then it should support most
bandwidths.

This will probably need to be extended to check the interface type
and then dig into the HE capabilities for that though, to have the
correct bandwidth check.

Link: https://lore.kernel.org/r/20200528213443.d4864ef52e92.I82f09b2b14a56413ce20376d09967fe954a033eb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c