summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAditya Kumar Singh <quic_adisi@quicinc.com>2024-01-30 17:09:14 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-02-08 17:00:45 +0300
commit4ace04c0bdbde3b028ec0a5a3be2471cdb1efb67 (patch)
tree4a0599280d8baf126323e22ff4c5b0481122abb4 /include
parent21c3f8f95554feff9bed15703e89adbe582e0383 (diff)
downloadlinux-4ace04c0bdbde3b028ec0a5a3be2471cdb1efb67.tar.xz
wifi: cfg80211: send link id in channel_switch ops
Currently, during channel switch, no link id information is passed down. In order to support channel switch during Multi Link Operation, it is required to pass link id as well. Add changes to pass link id in the channel_switch cfg80211_ops. Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com> Link: https://msgid.link/20240130140918.1172387-2-quic_adisi@quicinc.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e27ed2307cdb..d4c83ea3213d 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1543,6 +1543,8 @@ struct cfg80211_ap_update {
* @radar_required: whether radar detection is required on the new channel
* @block_tx: whether transmissions should be blocked while changing
* @count: number of beacons until switch
+ * @link_id: defines the link on which channel switch is expected during
+ * MLO. 0 in case of non-MLO.
*/
struct cfg80211_csa_settings {
struct cfg80211_chan_def chandef;
@@ -1555,6 +1557,7 @@ struct cfg80211_csa_settings {
bool radar_required;
bool block_tx;
u8 count;
+ u8 link_id;
};
/**