]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211: set cur_max_bandwidth to maximum
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Apr 2026 12:42:00 +0000 (14:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 28 Apr 2026 07:27:44 +0000 (09:27 +0200)
commitab806dcd85f0353361eef16559ade5d3eb47ca95
tree7c1ecfaa87cc10405db2f7450d5ac916eb196c6e
parent8b02fd2c6410516d0e93c07e08192137ec08c83a
wifi: mac80211: set cur_max_bandwidth to maximum

Instead of calculating the individual maximum for each
station from its capabilities, just unconditionally set
cur_max_bandwidth to IEEE80211_STA_RX_BW_MAX. This still
works because cur_max_bandwidth is only used together
with the capabilities of the station anyway, and then
adjusted by HT channel width notification or VHT opmode
notification action frames.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260415144514.43cdb11b5c7e.I99a7ea2ab10b6fffb68a401a26b98d546e428c11@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/eht.c
net/mac80211/he.c
net/mac80211/ht.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/vht.c