From a5c1fed77368fa790a9cc049b2e667466a4e1d95 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Mon, 29 Jun 2020 01:08:50 +0530 Subject: [PATCH] qcacmn: Extract btm response and initial roam stats Extract btm response and initial roaming stats coming from FW through WMI_ROAM_STATS_EVENTID event as wmi_roam_btm_response_info_tlv_param and wmi_roam_initial_info_tlv_param respectively. Change-Id: I680260276530368aab0e783bf4ef83edb0fe0d62 CRs-Fixed: 2728465 --- wmi/inc/wmi_unified_priv.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wmi/inc/wmi_unified_priv.h b/wmi/inc/wmi_unified_priv.h index 2a01440a6325..cd1a2309e911 100644 --- a/wmi/inc/wmi_unified_priv.h +++ b/wmi/inc/wmi_unified_priv.h @@ -81,6 +81,10 @@ #include "wlan_spectral_public_structs.h" #endif /* WLAN_CONV_SPECTRAL_ENABLE */ +#ifdef WLAN_FEATURE_ROAM_OFFLOAD +#include +#endif + #define WMI_UNIFIED_MAX_EVENT 0x100 #ifdef WMI_EXT_DBG @@ -326,6 +330,17 @@ struct wmi_wq_dbg_info { }; struct wmi_ops { +#ifdef WLAN_FEATURE_ROAM_OFFLOAD +QDF_STATUS +(*extract_roam_btm_response_stats)(wmi_unified_t wmi_handle, void *evt_buf, + struct roam_btm_response_data *dst, + uint8_t idx); + +QDF_STATUS +(*extract_roam_initial_info)(wmi_unified_t wmi_handle, void *evt_buf, + struct roam_initial_data *dst, uint8_t idx); +#endif + QDF_STATUS (*send_vdev_create_cmd)(wmi_unified_t wmi_handle, uint8_t macaddr[QDF_MAC_ADDR_SIZE], struct vdev_create_params *param);