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
committed by Madan Koyyalamudi
parent 2234d80a72
commit 6663105f9b
5 changed files with 75 additions and 0 deletions

View File

@@ -3251,6 +3251,20 @@ wmi_unified_extract_vdev_mgmt_offload_event(
}
#endif /* WLAN_FEATURE_PKT_CAPTURE */
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
QDF_STATUS
wmi_unified_extract_smart_monitor_event(
wmi_unified_t wmi, void *evt_buf,
struct smu_event_params *params)
{
if (wmi->ops->extract_smart_monitor_event)
return wmi->ops->extract_smart_monitor_event(wmi, evt_buf,
params);
return QDF_STATUS_E_FAILURE;
}
#endif /* WLAN_FEATURE_PKT_CAPTURE_V2 */
QDF_STATUS
wmi_unified_extract_roam_result_stats(wmi_unified_t wmi, void *buf,
struct wmi_roam_result *dst,