qcacmn: Add wmi interface changes to extract mgmt offload event

Add wmi interface changes to extract mgmt offload event params
when WLAN_FEATURE_PKT_CAPTURE is enabled.

Change-Id: Icacd65a99953fdc77b2c6823e9d26baaed3737c8
CRs-Fixed: 2619316
This commit is contained in:
Dundi Raviteja
2020-02-03 13:09:41 +05:30
committed by nshrivas
parent 90d227ce32
commit 459060642c
4 changed files with 78 additions and 0 deletions

View File

@@ -100,6 +100,10 @@
#include "wmi_unified_fwol_api.h"
#endif
#ifdef WLAN_FEATURE_PKT_CAPTURE
#include "wlan_pkt_capture_public_structs.h"
#endif
typedef qdf_nbuf_t wmi_buf_t;
#define wmi_buf_data(_buf) qdf_nbuf_data(_buf)
@@ -3830,6 +3834,22 @@ QDF_STATUS wmi_unified_extract_ani_level(wmi_unified_t wmi_handle,
uint32_t *num_freqs);
#endif /* FEATURE_ANI_LEVEL_REQUEST */
#ifdef WLAN_FEATURE_PKT_CAPTURE
/**
* wmi_unified_extract_vdev_mgmt_offload_event() - Extract mgmt offload params
* @wmi: WMI handle
* @evt_buf: Event buffer
* @params: Management offload event params
*
* WMI function to extract management offload event params
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_extract_vdev_mgmt_offload_event(wmi_unified_t wmi, void *evt_buf,
struct mgmt_offload_event_params *params);
#endif
#ifdef FEATURE_WLAN_TIME_SYNC_FTM
/**
* wmi_unified_send_wlan_time_sync_ftm_trigger() - send ftm timesync trigger cmd