]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: make monitor link info check more specific
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 10 Nov 2025 12:20:20 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Nov 2025 10:05:19 +0000 (11:05 +0100)
commit9e23063a79c4e7e56199d1a0642f63830dffa9ea
tree59f669d2f162103541dac635312c1a819115e420
parenta5aa46f1ac4f53e03b9b75cbf55634131f2f8cac
wifi: mac80211: make monitor link info check more specific

Verify that only one of the permitted change flags is set when changing
the link of a monitor interface. Before the WARN_ON_ONCE would accept
anything if mu_mimo_owner was set.

Also, split out the mu_mimo_owner flag and enable it for all interface
types. The option is set during association when VHT is available and it
is not expected that any configuration of the MU groups is done without
it being set.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251110141948.6696dba8678d.Icafac3be4724825dd6140e4407bae3a2adb593a5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.c
net/mac80211/main.c