qcacmn: Add support to handle wmi smart monitor event

Add functions to parse and extract wmi smart monitor
event received from target.

Change-Id: Ic18e3134b684c5f8e12839e997d628909a7e27c9
CRs-Fixed: 2969247
This commit is contained in:
Surabhi Vishnoi
2021-06-15 19:11:40 +05:30
zatwierdzone przez Madan Koyyalamudi
rodzic 2234d80a72
commit 6663105f9b
5 zmienionych plików z 75 dodań i 0 usunięć

Wyświetl plik

@@ -4139,6 +4139,20 @@ wmi_unified_extract_vdev_mgmt_offload_event(wmi_unified_t wmi, void *evt_buf,
struct mgmt_offload_event_params *params);
#endif
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
/**
* wmi_unified_extract_smart_monitor_event() - Extract smu event params
* @wmi: WMI handle
* @evt_buf: Event buffer
* @params: Smart monitor event params
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_extract_smart_monitor_event(wmi_unified_t wmi, void *evt_buf,
struct smu_event_params *params);
#endif
#ifdef FEATURE_WLAN_TIME_SYNC_FTM
/**
* wmi_unified_send_wlan_time_sync_ftm_trigger() - send ftm timesync trigger cmd

Wyświetl plik

@@ -4672,6 +4672,9 @@ typedef enum {
wmi_pdev_cp_fwstats_eventid,
wmi_vdev_send_big_data_p2_eventid,
wmi_pdev_get_dpd_status_event_id,
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
wmi_vdev_smart_monitor_event_id,
#endif
wmi_events_max,
} wmi_conv_event_id;

Wyświetl plik

@@ -2455,6 +2455,13 @@ QDF_STATUS (*extract_vdev_mgmt_offload_event)(
struct mgmt_offload_event_params *params);
#endif /* WLAN_FEATURE_PKT_CAPTURE */
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
QDF_STATUS (*extract_smart_monitor_event)(
void *handle,
void *event_buf,
struct smu_event_params *params);
#endif /* WLAN_FEATURE_PKT_CAPTURE_V2 */
QDF_STATUS (*multisoc_tbtt_sync_cmd)(wmi_unified_t wmi_handle,
struct rnr_tbtt_multisoc_sync_param *param);