mac80211: mlme: validate peer HE supported rates
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Wed, 2 Feb 2022 08:49:46 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:26:40 +0000 (16:26 +0100)
commit97634ef4bf07fbf8a4adbee2a94e452fdd073d69
tree9e531a8543972f420793fc288dda240f21c06423
parent453a2a82050e918c7770aee55b0b6329fcaddd13
mac80211: mlme: validate peer HE supported rates

We validate that AP has mandatory rates set in HE capabilities.

Also we make sure AP is consistent with itself on rates set in HE basic
rates required joining the BSS and rates set in HE capabilities.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220202104617.7023450fdf16.I194df59252097ba25a0a543456d4350f1607a538@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c