]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:34 +0000 (11:57 +0200)
commitcb71ec9016888a760c524069ce357edcdab99ec3
tree384df00e31911559a45577466a980ec8a4ea6527
parent0fc648148c2bf1afa7da0997addc5e1d06ebb921
mac80211: limit bandwidth in HE capabilities

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 1f2c104448477512fcf7296df54bfbc3a6f9a765 ]

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: 41cbb0f5a295 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 0aec294f2d2fb94f29aa6d206f5f1a71e7becde2)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mlme.c
net/mac80211/util.c