]> 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)
commitb65d8a368f6aea94c6bd0b13f4d9dbca1db0176e
tree42afc2566d5a4591e29026cb0ba1b449e3f0df79
parent03ba06e9c55e27662515f885fdf759eb72d39ddb
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