mac80211: HE: set RX NSS
authorTova Mussai <tova.mussai@intel.com>
Fri, 31 Jan 2020 11:12:45 +0000 (13:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:46:37 +0000 (12:46 +0100)
commitf46209b9ff76e7a4194c40a2994c9f115d2227b5
tree68c4c51924cea5de719534ec50cf0810af1a2bbb
parentcf2c9cc3980fb2aa5a71ebbe982739987100db76
mac80211: HE: set RX NSS

In case of HE, the RX NSS is taken from the HE capabilities.
If the supported NSS capabilities that are reported by AP for
HE mode in the HE Capabilities element are different from the NSS
capabilities that are reported by AP for the VHT mode in the VHT
Capabilities element, use the lowest supported NSS to not get all
the values confused.

Signed-off-by: Tova Mussai <tova.mussai@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131111300.891737-9-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/vht.c