qcacmn: Add support to extract wmi_mlo_link_removal_tbtt_update TLV

WMI_MLO_LINK_REMOVAL_EVENTID will be sent by FW to update the Host with the
progress of the link delete operation. Add support to extract the TBTT
update TLV sent in this event.

Change-Id: I01ce710d282f16e7a7cf4fb767279661558d129f
CRs-Fixed: 3322714
This commit is contained in:
Shiva Krishna Pittala
2022-10-27 19:44:19 +05:30
committed by Madan Koyyalamudi
parent b24b3a7e25
commit 11dccd8fac
5 changed files with 90 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ wmi_extract_mlo_link_set_active_resp(wmi_unified_t wmi,
/**
* wmi_send_mlo_link_set_active_cmd() - send mlo link set active command
* @wmi: WMI handle for this pdev
* @wmi_handle: WMI handle for this pdev
* @param: Pointer to mlo link set active param
*
* Return: QDF_STATUS code
@@ -89,6 +89,20 @@ QDF_STATUS wmi_extract_mlo_link_removal_evt_fixed_param(
struct wmi_unified *wmi_handle,
void *buf,
struct mlo_link_removal_evt_params *params);
/**
* wmi_extract_mlo_link_removal_tbtt_update() - Extract TBTT update TLV
* from the MLO link removal WMI event
* @wmi_handle: wmi handle
* @buf: pointer to event buffer
* @tbtt_info: TBTT information
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_mlo_link_removal_tbtt_update(
struct wmi_unified *wmi_handle,
void *buf,
struct mlo_link_removal_tbtt_info *tbtt_info);
#endif /*WLAN_FEATURE_11BE_MLO*/
#ifdef WLAN_FEATURE_11BE