The NSS number should be the intersection of peer and own capbility. v3: added "mac80211: remove NSS number of 160MHz if not support 160MHz for HE" v2: fix build warning Wen Gong (2): mac80211: remove NSS number of 160MHz if not support 160MHz for HE mac80211: do intersection with he mcs and nss set of peer and own net/mac80211/he.c | 94 ++++++++++++++++++++++++++++++++++++++ net/mac80211/ieee80211_i.h | 5 ++ net/mac80211/vht.c | 9 +++- 3 files changed, 107 insertions(+), 1 deletion(-) -- 2.23.0