]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211: add and use chanctx usage iteration
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Nov 2025 15:03:45 +0000 (16:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 09:38:50 +0000 (10:38 +0100)
commit1ce954c98b8968e66a304c8586122d706bae97c3
tree66ffab95bbb5fe48c05250db1f8d955027699b0c
parent52363af3a9c989e8d8d6f8a2343a7f669e53a57f
wifi: mac80211: add and use chanctx usage iteration

In preparation for NAN interfaces using multiple channel
contexts, add an iterator macro that iterates all users
of a given channel context.

The logic during reserved assign/reassign handling the
bandwidth in ieee80211_get_chanctx_max_required_bw() is
a bit more complicated and should be cleaned up, so it
isn't yet converted.

Link: https://patch.msgid.link/20251105160431.5aaccc2f127d.I2b7fd0858a263916f43abab49c6d3cc0b5aa16ec@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c