qcacmn: Add support to extract link removal TLVs from MGMT Rx event

To assist the Host in ML reconfiguration element construction for probe
responses, FW sends MLO link removal information as part of the MGMT Rx
event containing the corresponding probe request. This information is an
array of TLVs, one TLV for each link that is undergoing link removal from
the MLD for which this probe request is intended. The TLV carries the link
removal TBTT countdown value maintained by the FW for that link.
Add support to extract the same.

CRs-Fixed: 3335361
Change-Id: I16c6791a443ddb166da596d404a52ff2a38da291
This commit is contained in:
Shiva Krishna Pittala
2022-11-13 04:36:35 +05:30
committed by Madan Koyyalamudi
parent 22be442546
commit 11fa724d8a
11 changed files with 224 additions and 6 deletions

View File

@@ -103,6 +103,22 @@ QDF_STATUS wmi_extract_mlo_link_removal_tbtt_update(
struct wmi_unified *wmi_handle,
void *buf,
struct mlo_link_removal_tbtt_info *tbtt_info);
/**
* wmi_extract_mgmt_rx_mlo_link_removal_info() - Extract MLO link removal info
* from MGMT Rx event
* @wmi: wmi handle
* @buf: event buffer
* @link_removal_info: link removal information array to be populated
* @num_link_removal_info: Number of elements in @link_removal_info
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_mgmt_rx_mlo_link_removal_info(
struct wmi_unified *wmi,
void *buf,
struct mgmt_rx_mlo_link_removal_info *link_removal_info,
int num_link_removal_info);
#endif /*WLAN_FEATURE_11BE_MLO*/
#ifdef WLAN_FEATURE_11BE