wifi: mac80211: pass link_id to channel switch ops
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 08:55:43 +0000 (09:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:33:54 +0000 (14:33 +0100)
commite6ee3a3713fe38e4ae94318e9cb18b39ec30da4a
treed141de3003409be2b040d10e5ed2f57ec27b7818
parent8ade3356b25ab2522892a21832a709e7ad5f8168
wifi: mac80211: pass link_id to channel switch ops

For CSA to work correctly in multi-link scenarios, pass
the link_id to the relevant callbacks.

While at it, unify/deduplicate the tracing for them.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://msgid.link/20240228095718.b7726635c054.I0be5d00af4acb48cfbd23a9dbf067f9aeb66469d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/mlme.c
net/mac80211/trace.h