|
@@ -15,7 +15,7 @@
|
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
*/
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* DOC: contains mlo manager structure definitions
|
|
|
*/
|
|
|
#ifndef __MLO_MGR_PUBLIC_STRUCTS_H
|
|
@@ -159,7 +159,7 @@ struct mlo_state_params {
|
|
|
|
|
|
#endif
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_mgr_context - MLO manager context
|
|
|
* @ml_dev_list_lock: ML DEV list lock
|
|
|
* @aid_lock: AID global lock
|
|
@@ -197,7 +197,7 @@ struct mlo_mgr_context {
|
|
|
uint8_t mlo_forced_primary_umac_id;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_ml_vdev_aid_mgr – ML AID manager
|
|
|
* @aid_bitmap: AID bitmap array
|
|
|
* @start_aid: start of AID index
|
|
@@ -211,7 +211,7 @@ struct wlan_ml_vdev_aid_mgr {
|
|
|
struct wlan_vdev_aid_mgr *aid_mgr[WLAN_UMAC_MLO_MAX_VDEVS];
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_key_mgmt - MLO key management
|
|
|
* @link_mac_address: list of vdevs selected for connection with the MLAP
|
|
|
* @vdev_id: vdev id value
|
|
@@ -245,7 +245,7 @@ struct mlo_sta_csa_params {
|
|
|
bool valid_csa_param;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_sta_quiet_status - MLO sta quiet status
|
|
|
* @link_id: link id
|
|
|
* @quiet_status: true if corresponding ap in quiet status
|
|
@@ -257,7 +257,7 @@ struct mlo_sta_quiet_status {
|
|
|
bool valid_status;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_sta - MLO sta additional info
|
|
|
* @wlan_connect_req_links: list of vdevs selected for connection with the MLAP
|
|
|
* @wlan_connected_links: list of vdevs associated with this MLO connection
|
|
@@ -267,6 +267,9 @@ struct mlo_sta_quiet_status {
|
|
|
* @assoc_rsp: Raw assoc response frame
|
|
|
* @mlo_csa_param: CSA request parameters for mlo sta
|
|
|
* @disconn_req: disconnect req params
|
|
|
+ * @copied_reassoc_rsp: Reassoc response copied from assoc link roam handling
|
|
|
+ * to re-use while link connect in case of deferred/need
|
|
|
+ * basis link connect (e.g. MLO OWE roaming).
|
|
|
*/
|
|
|
struct wlan_mlo_sta {
|
|
|
qdf_bitmap(wlan_connect_req_links, WLAN_UMAC_MLO_MAX_VDEVS);
|
|
@@ -283,9 +286,12 @@ struct wlan_mlo_sta {
|
|
|
struct mlo_sta_quiet_status mlo_quiet_status[WLAN_UMAC_MLO_MAX_VDEVS];
|
|
|
struct mlo_sta_csa_params mlo_csa_param[WLAN_UMAC_MLO_MAX_VDEVS];
|
|
|
struct wlan_cm_disconnect_req *disconn_req;
|
|
|
+#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
|
|
+ struct wlan_cm_connect_resp *copied_reassoc_rsp;
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_ap - MLO AP related info
|
|
|
* @num_ml_vdevs: number of vdevs to form MLD
|
|
|
* @ml_aid_mgr: ML AID mgr
|
|
@@ -303,7 +309,7 @@ struct wlan_mlo_ap {
|
|
|
qdf_bitmap(mlo_vdev_quiet_bmap, WLAN_UMAC_MLO_MAX_VDEVS);
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_peer_list - MLO peer list entry
|
|
|
* @peer_hash: MLO peer hash code
|
|
|
* @peer_list_lock: lock to access members of structure
|
|
@@ -317,7 +323,7 @@ struct wlan_mlo_peer_list {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_dev_context - MLO device context
|
|
|
* @node: QDF list node member
|
|
|
* @mld_id: MLD id
|
|
@@ -356,7 +362,7 @@ struct wlan_mlo_dev_context {
|
|
|
struct wlan_t2lm_context t2lm_ctx;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_link_peer_entry – Link peer entry
|
|
|
* @link_peer: Object manager peer
|
|
|
* @link_addr: MAC address of link peer
|
|
@@ -374,7 +380,7 @@ struct wlan_mlo_link_peer_entry {
|
|
|
qdf_nbuf_t assoc_rsp_buf;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* enum mlo_peer_state – MLO peer state
|
|
|
* @ML_PEER_CREATED: Initial state
|
|
|
* @ML_PEER_ASSOC_DONE: ASSOC sent on assoc link
|
|
@@ -387,7 +393,7 @@ enum mlo_peer_state {
|
|
|
};
|
|
|
|
|
|
#if defined(UMAC_SUPPORT_MLNAWDS) || defined(MESH_MODE_SUPPORT)
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlnawds_config - MLO NAWDS configuration
|
|
|
* @caps: Bandwidth & NSS capabilities to be configured on NAWDS peer
|
|
|
* @puncture_bitmap: puncture bitmap to be configured on NAWDS peer
|
|
@@ -401,7 +407,7 @@ struct mlnawds_config {
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlpeer_auth_params - Deferred Auth params
|
|
|
* @vdev_id: VDEV ID
|
|
|
* @psoc_id: PSOC ID
|
|
@@ -480,7 +486,7 @@ struct wlan_mlo_mld_cap {
|
|
|
reserved:3;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct wlan_mlo_peer_context - MLO peer context
|
|
|
*
|
|
|
* @peer_node: peer list node for ml_dev qdf list
|
|
@@ -544,7 +550,7 @@ struct wlan_mlo_peer_context {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_link_info – ML link info
|
|
|
* @link_addr: link mac address
|
|
|
* @link_id: link index
|
|
@@ -566,7 +572,7 @@ struct mlo_link_info {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_partner_info – mlo partner link info
|
|
|
* @num_partner_links: no. of partner links
|
|
|
* @partner_link_info: per partner link info
|
|
@@ -580,7 +586,7 @@ struct mlo_partner_info {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_probereq_info – mlo probe req link info
|
|
|
* mlid: MLID requested in the probe req
|
|
|
* @num_links: no. of link info in probe req
|
|
@@ -620,7 +626,7 @@ struct ml_rv_info {
|
|
|
struct ml_rv_partner_link_info link_info[WLAN_UMAC_MLO_MAX_VDEVS];
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_tgt_link_info – ML target link info
|
|
|
* @vdev_id: link peer vdev id
|
|
|
* @hw_mld_link_id: HW link id
|
|
@@ -630,7 +636,7 @@ struct mlo_tgt_link_info {
|
|
|
uint8_t hw_mld_link_id;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_tgt_partner_info – mlo target partner link info
|
|
|
* @num_partner_links: no. of partner links
|
|
|
* @link_info: per partner link info
|
|
@@ -640,7 +646,7 @@ struct mlo_tgt_partner_info {
|
|
|
struct mlo_tgt_link_info link_info[WLAN_UMAC_MLO_MAX_VDEVS];
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_mlme_ext_ops - MLME callback functions
|
|
|
* @mlo_mlme_ext_validate_conn_req: Callback to validate connect request
|
|
|
* @mlo_mlme_ext_create_link_vdev: Callback to create link vdev for ML STA
|
|
@@ -780,7 +786,7 @@ struct mlo_link_set_active_param {
|
|
|
uint32_t vdev_bitmap[MLO_VDEV_BITMAP_SZ];
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_link_set_active_ctx - Context for MLO link set active request
|
|
|
* @vdev: pointer to vdev on which the request issued
|
|
|
* @set_mlo_link_cb: callback function for MLO link set active request
|
|
@@ -797,7 +803,7 @@ struct mlo_link_set_active_ctx {
|
|
|
void *cb_arg;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* struct mlo_link_set_active_req - MLO link set active request
|
|
|
* @ctx: context for MLO link set active request
|
|
|
* @param: MLO link set active params
|
|
@@ -807,7 +813,7 @@ struct mlo_link_set_active_req {
|
|
|
struct mlo_link_set_active_param param;
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* enum mlo_chip_recovery_type - MLO chip recovery types
|
|
|
* @MLO_RECOVERY_MODE_0: CRASH_PARTNER_CHIPS & recover all chips
|
|
|
* @MLO_RECOVERY_MODE_1: Crash & recover asserted chip alone
|