]> www.infradead.org Git - nvme.git/commit
wifi: cfg80211: reject non-conformant 6 GHz center frequencies
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 2 Jun 2024 07:22:00 +0000 (10:22 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2024 11:04:25 +0000 (13:04 +0200)
commit91b193d546683558a8799ffb2e2f935d3800633e
tree16ab6b300109d6b2db9e4e604d63e3356de925f2
parentc1d8bd8d777d55f6708ca6e47c54dbe9f66f9bbb
wifi: cfg80211: reject non-conformant 6 GHz center frequencies

On 6 GHz (and also 5 GHz to some degree), only a specific set of center
frequencies should be used depending on the channel bandwidth. Verify
this is the case on 6 GHz. For 5 GHz, we are more accepting as there are
APs that got it wrong historically.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240602102200.876b10a2beda.I0d3d0daea4014e99654437ff6691378dbe452652@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c
net/wireless/tests/chan.c