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)
commitba8f6a037f790147438173029799f54c9d3065f2
tree42afc2566d5a4591e29026cb0ba1b449e3f0df79
parent2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77
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