qcacmn: Add WMI MLO params for vdev start

New TLVs for MLO flags and partner link info are introduced in vdev
start WMI command. Add WMI changes to add these TLV in the vdev start
command.

Change-Id: Ic7d54c406f69346a6eedb43b1ebcf7266c448bd8
CRs-Fixed: 2958843
Dieser Commit ist enthalten in:
Kiran Venkatappa
2021-04-23 01:12:50 +05:30
committet von Madan Koyyalamudi
Ursprung 923cd4dea9
Commit 18a1a3d4a5
4 geänderte Dateien mit 156 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -438,6 +438,41 @@ struct vdev_scan_nac_rssi_params {
uint32_t action; /* WMI_FILTER_NAC_RSSI_ACTION */
};
#ifdef WLAN_FEATURE_11BE_MLO
/**
* @mlo_enabled: indicate is MLO enabled
* @mlo_assoc_link: indicate is the link used to initialize
* the association of mlo connection
*/
struct mlo_vdev_start_flags {
uint32_t mlo_enabled:1,
mlo_assoc_link:1,
rsvd:30;
};
/**
* struct ml_vdev_start_partner_info - partner link info
* @vdev_id: vdev id
* @hw_mld_link_id: unique hw link id across SoCs
* @mac_addr: Partner mac address
*/
struct ml_vdev_start_partner_info {
uint32_t vdev_id;
uint32_t hw_mld_link_id;
uint8_t mac_addr[QDF_MAC_ADDR_SIZE];
};
#define MAX_ML_PARTNER_LINKS 4
/**
* struct mlo_vdev_start__partner_links - ML partner links
* @num_links: Number of links
* @partner_info: Partner link info
*/
struct mlo_vdev_start_partner_links {
uint8_t num_links;
struct ml_vdev_start_partner_info partner_info[MAX_ML_PARTNER_LINKS];
};
#endif
/**
* struct vdev_start_params - vdev start cmd parameter
* @vdev_id: vdev id
@@ -484,6 +519,10 @@ struct vdev_start_params {
bool ldpc_rx_enabled;
uint32_t mbssid_flags;
uint8_t vdevid_trans;
#ifdef WLAN_FEATURE_11BE_MLO
struct mlo_vdev_start_flags mlo_flags;
struct mlo_vdev_start_partner_links mlo_partner;
#endif
};
/**