qcacmn: Add WMI MLO params for peer assoc command
New TLVs for MLO flags are introduced in peer assoc WMI command. Add WMI changes to add these TLV in the peer assoc command. Change-Id: I366a96c973c3bedda03e4c370099ff809e0bd83d CRs-Fixed: 2958851
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9b1509ec99
commit
8b5f8ef911
@@ -1019,6 +1019,52 @@ typedef struct {
|
||||
uint32_t mac_addr47to32;
|
||||
} wmi_host_mac_addr;
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/**
|
||||
* struct peer_assoc_mlo_params - MLO assoc params
|
||||
* @mlo_enabled: indicate is MLO enabled
|
||||
* @mlo_assoc_link: indicate is the link used to initialize the association
|
||||
* of mlo connection
|
||||
* @mlo_primary_umac: indicate is the link on primary UMAC, WIN only flag
|
||||
* @mlo_logical_link_index_valid: indicate if the logial link index in is valid
|
||||
* @mlo_peer_id_valid: indicate if the mlo peer id is valid
|
||||
* @mld_mac: MLD mac address
|
||||
* @logical_link_index: Unique index for links of the mlo. Starts with Zero
|
||||
* @ml_peer_id: ML peer id if generated by host. Otherwise invalid peer id
|
||||
*/
|
||||
struct peer_assoc_mlo_params {
|
||||
uint32_t mlo_enabled:1,
|
||||
mlo_assoc_link:1,
|
||||
mlo_primary_umac:1,
|
||||
mlo_logical_link_index_valid:1,
|
||||
mlo_peer_id_valid:1,
|
||||
unused:27;
|
||||
uint8_t mld_mac[QDF_MAC_ADDR_SIZE];
|
||||
uint32_t logical_link_index;
|
||||
uint32_t ml_peer_id;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct ml_partner_info - partner link info
|
||||
* @vdev_id: vdev id
|
||||
* @hw_mld_link_id: unique hw link id across SoCs
|
||||
*/
|
||||
struct ml_partner_info {
|
||||
uint32_t vdev_id;
|
||||
uint32_t hw_mld_link_id;
|
||||
};
|
||||
|
||||
#define WMI_MAX_ML_PARTNER_LINKS 4
|
||||
/**
|
||||
* struct peer_assoc_ml_partner_links - ML partner links
|
||||
* @num_links: Number of links
|
||||
* @partner_info: Partner link info
|
||||
*/
|
||||
struct peer_assoc_ml_partner_links {
|
||||
uint8_t num_links;
|
||||
struct ml_partner_info partner_info[WMI_MAX_ML_PARTNER_LINKS];
|
||||
};
|
||||
#endif
|
||||
/**
|
||||
* struct peer_assoc_params - peer assoc cmd parameter
|
||||
* @vdev_id: vdev id
|
||||
@@ -1086,6 +1132,8 @@ typedef struct {
|
||||
* @peer_ppet: Peer HE PPET info
|
||||
* @peer_bss_max_idle_option: Peer BSS Max Idle option update
|
||||
* @akm: AKM info
|
||||
* @peer_assoc_mlo_params mlo_params: MLO assoc params
|
||||
* @peer_assoc_ml_partner_links: MLO patner links
|
||||
*/
|
||||
struct peer_assoc_params {
|
||||
uint32_t vdev_id;
|
||||
@@ -1164,6 +1212,10 @@ struct peer_assoc_params {
|
||||
u_int8_t peer_bsscolor_rept_info;
|
||||
uint32_t peer_bss_max_idle_option;
|
||||
uint16_t akm;
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
struct peer_assoc_mlo_params mlo_params;
|
||||
struct peer_assoc_ml_partner_links ml_links;
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user