]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: limit bandwidth in HE capabilities
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:34 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:22:39 +0000 (16:22 +0100)
commit0157a21cdea77ffc905bf3653f8d57e7f0af0521
tree414e4f209053ce34544f7b68be6ba1c2c2f55b6f
parent9dee034fbe7365dca314423b7da5e7a87233c170
mac80211: limit bandwidth in HE capabilities

If we're limiting bandwidth for some reason such as regulatory
restrictions, then advertise that limitation just like we do
for VHT today, so the AP is aware we cannot use the higher BW
it might be using.

Fixes: 8888ba3bbf42 ("mac80211: add support for HE")
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.20220202104617.70c8e3e7ee76.If317630de69ff1146bec7d47f5b83038695eb71d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mlme.c
net/mac80211/util.c