wifi: mac80211: Do not force off-channel for management Tx with MLO
authorIlan Peer <ilan.peer@intel.com>
Sun, 27 Aug 2023 11:05:31 +0000 (14:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 10:33:54 +0000 (12:33 +0200)
commit563fe446ef2b30d0eb918a46070cfc7fb41290a7
treedb78d13e3432b07b4a592ac892e73f917b3d0091
parent90668e3204f197f64ac7eb60650c22fb6ec8db6e
wifi: mac80211: Do not force off-channel for management Tx with MLO

When user space transmits a management frame it is expected to use
the MLD addresses if the connection is an MLD one. Thus, in case
the management Tx is using the MLD address and no channel is configured
off-channel should not be used (as one of the active links would be used).

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230827135854.73c8efce252f.Ie4b0a842debb24ef25c5e6cb2ad69b9f46bc4b2a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c