qcacmn: Extend Peer Assoc WMI to include more info on partner links

The FW needs mlo_flags of partner links as well during Assoc,
to handle more than 2-link MLO Association.
Extend the peer_assoc_ml_partner_links struct to pass them.

CRs-Fixed: 3403848
Change-Id: I543442ded6b5bc55c278b32f3d449eabacc49919
This commit is contained in:
Vinay Adella
2023-02-13 11:28:02 +05:30
committed by Madan Koyyalamudi
parent 8d4392b4b4
commit 865c4c6d28
2 changed files with 34 additions and 0 deletions

View File

@@ -1235,10 +1235,33 @@ struct peer_assoc_mlo_params {
* struct ml_partner_info - partner link info
* @vdev_id: vdev id
* @hw_mld_link_id: unique hw link id across SoCs
* @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
* @mlo_force_link_inactive: force the peer inactive
* @emlsr_support: indicate if eMLSR supported
* @emlmr_support: indicate if eMLMR supported
* @msd_cap_support: indicate if MSD supported
* @unused: spare bits
* @logical_link_index: Unique index for links of the mlo. Starts with Zero
*/
struct ml_partner_info {
uint32_t vdev_id;
uint32_t hw_mld_link_id;
uint32_t mlo_enabled:1,
mlo_assoc_link:1,
mlo_primary_umac:1,
mlo_logical_link_index_valid:1,
mlo_peer_id_valid:1,
mlo_force_link_inactive:1,
emlsr_support:1,
emlmr_support:1,
msd_cap_support:1,
unused:23;
uint32_t logical_link_index;
};
/**