|
@@ -53,7 +53,8 @@ struct wlan_t2lm_context;
|
|
/* Max LINK PEER support */
|
|
/* Max LINK PEER support */
|
|
#define MAX_MLO_LINK_PEERS WLAN_UMAC_MLO_MAX_VDEVS
|
|
#define MAX_MLO_LINK_PEERS WLAN_UMAC_MLO_MAX_VDEVS
|
|
|
|
|
|
-#define MAX_MLO_PEER_ID 2048
|
|
|
|
|
|
+/* MAX MLO peer_id supported by FW is 128 */
|
|
|
|
+#define MAX_MLO_PEER_ID 128
|
|
#define MLO_INVALID_PEER_ID 0xFFFF
|
|
#define MLO_INVALID_PEER_ID 0xFFFF
|
|
|
|
|
|
/* IE nomenclature */
|
|
/* IE nomenclature */
|
|
@@ -167,8 +168,8 @@ struct mlo_state_params {
|
|
* @context: Array of MLO device context
|
|
* @context: Array of MLO device context
|
|
* @mlo_peer_id_bmap: bitmap to allocate MLO Peer ID
|
|
* @mlo_peer_id_bmap: bitmap to allocate MLO Peer ID
|
|
* @max_mlo_peer_id: Max MLO Peer ID
|
|
* @max_mlo_peer_id: Max MLO Peer ID
|
|
- * @info: Pointer to MLO setup_info of all groups
|
|
|
|
- * @total_grp: Total number of MLO groups
|
|
|
|
|
|
+ * @last_mlo_peer_id: Previously allocated ML peer ID
|
|
|
|
+ * @setup_info: MLO setup_info of all groups
|
|
* @mlme_ops: MLO MLME callback function pointers
|
|
* @mlme_ops: MLO MLME callback function pointers
|
|
* @msgq_ctx: Context switch mgr
|
|
* @msgq_ctx: Context switch mgr
|
|
* @mlo_is_force_primary_umac: Force Primary UMAC enable
|
|
* @mlo_is_force_primary_umac: Force Primary UMAC enable
|
|
@@ -187,6 +188,7 @@ struct mlo_mgr_context {
|
|
qdf_list_t ml_dev_list;
|
|
qdf_list_t ml_dev_list;
|
|
qdf_bitmap(mlo_peer_id_bmap, MAX_MLO_PEER_ID);
|
|
qdf_bitmap(mlo_peer_id_bmap, MAX_MLO_PEER_ID);
|
|
uint16_t max_mlo_peer_id;
|
|
uint16_t max_mlo_peer_id;
|
|
|
|
+ uint16_t last_mlo_peer_id;
|
|
#ifdef WLAN_MLO_MULTI_CHIP
|
|
#ifdef WLAN_MLO_MULTI_CHIP
|
|
struct mlo_setup_info *setup_info;
|
|
struct mlo_setup_info *setup_info;
|
|
uint8_t total_grp;
|
|
uint8_t total_grp;
|