qcacmn: Add APIs to extract MGMT Rx REO params tlv

When MGMT Rx REO feature is enabled, FW will be sending MGMT Rx REO
parameters TLV as part of WMI_MGMT_RX_EVENTID for the frames that require
reordering. Add APIs to extract the same.

Change-Id: I57b132927cf413384d680b5778bfe6a2e2737adf
CRs-Fixed: 2960471
This commit is contained in:
Shiva Krishna Pittala
2021-05-16 18:20:26 +05:30
committed by Madan Koyyalamudi
parent a4d289451e
commit 361f45dd82
7 changed files with 132 additions and 2 deletions

View File

@@ -116,8 +116,6 @@
#include "wmi_unified_cp_stats_api.h"
#include "wlan_mgmt_txrx_rx_reo_public_structs.h"
typedef qdf_nbuf_t wmi_buf_t;
#define wmi_buf_data(_buf) qdf_nbuf_data(_buf)
@@ -2756,6 +2754,19 @@ wmi_extract_mgmt_rx_params(wmi_unified_t wmi_handle, void *evt_buf,
QDF_STATUS
wmi_extract_mgmt_rx_fw_consumed(wmi_unified_t wmi_handle, void *evt_buf,
struct mgmt_rx_reo_params *params);
/**
* wmi_extract_mgmt_rx_reo_params() - extract MGMT Rx REO params from
* MGMT_RX_EVENT_ID
* @wmi_handle: wmi handle
* @evt_buf: pointer to event buffer
* @params: Pointer to MGMT Rx REO parameters
*
* Return: QDF_STATUS_SUCCESS for success or error code
*/
QDF_STATUS
wmi_extract_mgmt_rx_reo_params(wmi_unified_t wmi_handle, void *evt_buf,
struct mgmt_rx_reo_params *params);
#endif
/**