wifi: mac80211: add HT and VHT basic set verification
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 5 Feb 2025 09:39:18 +0000 (11:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2025 10:59:07 +0000 (11:59 +0100)
commit574faa0e936d12718e2cadad11ce1e184d9e5a32
treee597fcbd29b0cbb9edd4be11fcd2ae8d799d8355
parent7364a4688ba4ab4f90d9da0ebbb4e4250bae0a27
wifi: mac80211: add HT and VHT basic set verification

So far we did not verify the HT and VHT basic MCS set. However, in
P802.11REVme/D7.0 (6.5.4.2.4) says that the MLME-JOIN.request shall
return an error if the VHT and HT basic set requirements are not met.

Given broken APs, apply VHT basic MCS/NSS set checks only in
strict mode.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250205110958.e2d8d4095f6b.I66bcf6c2de3b9d3325e4ffd9f573f4cd26ce5685@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c