qcacmn: Add WMI MLO params for CSA beacon template
A new TLV is added to send partner link CSA/ECSA count offset to FW as part of beacon template. Add WMI changes to populate these TLVs in the beacon template send function. To fix the compilation issue, added forward declaration of 'struct vdev_mlme_obj' and removed 'include/wlan_vdev_mlme.h' include file from wlan_mlo_mgr_public_structs.h. Change-Id: I6e421b29bb887bec711a23db1458aca4d112ade4 CRs-Fixed: 2983249
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9304c2d00e
commit
3925ddf85b
@@ -58,6 +58,16 @@ uint8_t *vdev_start_add_mlo_params(uint8_t *buf_ptr,
|
||||
*/
|
||||
uint8_t *vdev_start_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct vdev_start_params *req);
|
||||
/**
|
||||
* bcn_tmpl_add_ml_partner_links - Add MLO partner links in beacon template
|
||||
* command
|
||||
* @buf_ptr: pointer to beacon cmd buffer.
|
||||
* @param: pointer to beacon template params
|
||||
*
|
||||
* Return: pointer to new offset of cmd buffer
|
||||
*/
|
||||
uint8_t *bcn_tmpl_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct beacon_tmpl_params *param);
|
||||
/**
|
||||
* peer_create_add_mlo_params() - Add MLO params in peer create cmd
|
||||
* @buf_ptr: pointer to peer create cmd buffer.
|
||||
@@ -131,6 +141,13 @@ static uint8_t *vdev_start_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static uint8_t *bcn_tmpl_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct beacon_tmpl_params *param)
|
||||
{
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct peer_create_params *req)
|
||||
{
|
||||
|
Reference in New Issue
Block a user