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:
Shashikala Prabhu
2021-07-08 16:43:06 +05:30
committed by Madan Koyyalamudi
parent 9304c2d00e
commit 3925ddf85b
6 changed files with 100 additions and 5 deletions

View File

@@ -2498,6 +2498,9 @@ static QDF_STATUS send_beacon_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle,
WMI_HOST_IF_MSG_COPY_CHAR_ARRAY(buf_ptr, param->frm,
param->tmpl_len);
buf_ptr += param->tmpl_len;
buf_ptr = bcn_tmpl_add_ml_partner_links(buf_ptr, param);
wmi_mtrace(WMI_BCN_TMPL_CMDID, cmd->vdev_id, 0);
ret = wmi_unified_cmd_send(wmi_handle,
wmi_buf, wmi_buf_len, WMI_BCN_TMPL_CMDID);