]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: refactor link STA bandwidth update
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 May 2026 08:25:06 +0000 (10:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 12:11:58 +0000 (14:11 +0200)
commitece981f88e930b2071ab045eb248b5e2292c9327
tree70b8973851726bda4ec8a76b7c0aa64bbacb1376
parentf576db12f1f0adafd8fd1c395e377b7b37a77b7b
wifi: mac80211: refactor link STA bandwidth update

There's similar code in two places in HT and HE, and we need to add
the same again for UHR. Rename ieee80211_link_sta_rc_update_omi()
to ieee80211_link_sta_update_rc_bw() and move it to sta_info.c and
update existing code that can use it to do so.

Link: https://patch.msgid.link/20260529102644.577c2f304d33.I09df4fce83c4e3e6deddfecbea74ffdbeedb4927@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/he.c
net/mac80211/ht.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h