]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mac80211: implement Operating Mode Notification extended NSS support
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 13:09:32 +0000 (15:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 10:33:42 +0000 (12:33 +0200)
commit9166cc49767a646990a73380480356416b7794eb
tree3b89b9d715eed665ade98a13a381f723080a634f
parent873b1cf61105a67f01f6fc3758405edb1bd1ba35
mac80211: implement Operating Mode Notification extended NSS support

Somehow we missed this for a long time, but similar to the extended
NSS support in VHT capabilities, we need to have this in Operating
Mode notification.

Implement it by
 * parsing the 160/80+80 bit there and setting the bandwidth
   appropriately
 * having callers of ieee80211_get_vht_max_nss() pass in the current
   max NSS value as received in the operating mode notification in
   order to modify it appropriately depending on the extended NSS
   bits.

This updates all drivers that use it, i.e. only iwlwifi/mvm.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200326150855.098483728cfa.I4e8c25d3288441759c2793247197229f0696a37d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
include/linux/ieee80211.h
net/mac80211/vht.c
net/wireless/util.c