diff options
author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2023-09-28 17:35:35 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-10-23 11:45:17 +0200 |
commit | 271d14b37fa5f2f9bd9e22711c3ba6b1532c8de1 (patch) | |
tree | c6c2637a719104eac8f977114ac91c9e6ba6fffa /include/net | |
parent | ec06bdb22500c8f10f17326d6db3f8ad3e2347b1 (diff) | |
download | linux-stable-271d14b37fa5f2f9bd9e22711c3ba6b1532c8de1.tar.gz linux-stable-271d14b37fa5f2f9bd9e22711c3ba6b1532c8de1.tar.bz2 linux-stable-271d14b37fa5f2f9bd9e22711c3ba6b1532c8de1.zip |
wifi: mac80211: make mgd_protect_tdls_discover MLO-aware
Since userspace can choose now what link to establish the
TDLS on, we should know on what channel to do session protection.
Add a link id parameter to this callback.
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230928172905.ef12ce3eb835.If864f406cfd9e24f36a2b88fd13a37328633fcf9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 7dae9aac089c..0ce5b0831884 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -4522,7 +4522,8 @@ struct ieee80211_ops { struct ieee80211_prep_tx_info *info); void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw, - struct ieee80211_vif *vif); + struct ieee80211_vif *vif, + unsigned int link_id); int (*add_chanctx)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *ctx); |