Kaynağa Gözat

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
Abhinav Kumar 5 yıl önce
ebeveyn
işleme
a5c1fed773
1 değiştirilmiş dosya ile 15 ekleme ve 0 silme
  1. 15 0
      wmi/inc/wmi_unified_priv.h

+ 15 - 0
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 <wlan_cm_roam_public_srtuct.h>
+#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);