wifi: mac80211: check EHT basic MCS/NSS set
authorJohannes Berg <johannes.berg@intel.com>
Sun, 18 Jun 2023 18:50:02 +0000 (21:50 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 11:12:44 +0000 (13:12 +0200)
commitcf0b045ebf6bba7764151e1759c874c43964445a
tree609f7d80f0c5f66792b5c824303c18190b1857ec
parent5461707a529c94f6f556847c25c21da5990488ba
wifi: mac80211: check EHT basic MCS/NSS set

Check that all the NSS in the EHT basic MCS/NSS set
are actually supported, otherwise disable EHT for the
connection.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230618214436.737827c906c9.I0c11a3cd46ab4dcb774c11a5bbc30aecfb6fce11@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/mlme.c