mac80211: consider RX NSS in UHB connection
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Wed, 2 Feb 2022 08:49:35 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:23:01 +0000 (16:23 +0100)
commitf39b7d62a19edd1fa391e9243bdc13cefca08b50
tree09105833791fff68c4fea01edacc7024708e92bf
parent1f2c104448477512fcf7296df54bfbc3a6f9a765
mac80211: consider RX NSS in UHB connection

In UHB connection we don't have any HT/VHT elemens so in order to
calculate the max RX-NSS we need also to look at HE capa element, this
causes to limit us to max rx nss in UHB to 1.

Also anyway we need to look at HE max rx NSS and not only at HT/VHT
capa to determine the max rx nss over the connection.

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.3713e0dea5dd.I3b9a15b4c53465c3f86f35459e9dc15ae4ea2abd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c