Pārlūkot izejas kodu

qcacmn: Add support query per Vdev Beacon reception

Add WMI support query per Vdev Beacon reception.

Change-Id: I535c03eaefba9fbbcdc51cead1093680f451da10
CRs-Fixed: 2360914
Arunk Khandavalli 6 gadi atpakaļ
vecāks
revīzija
84acb9ff6e
2 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 2 0
      wmi/inc/wmi_unified_param.h
  2. 4 0
      wmi/src/wmi_unified_tlv.c

+ 2 - 0
wmi/inc/wmi_unified_param.h

@@ -4809,6 +4809,7 @@ typedef enum {
 	wmi_wlan_sar2_result_event_id,
 	wmi_esp_estimate_event_id,
 	wmi_pdev_ctl_failsafe_check_event_id,
+	wmi_vdev_bcn_reception_stats_event_id,
 	wmi_events_max,
 } wmi_conv_event_id;
 
@@ -5267,6 +5268,7 @@ typedef enum {
 	wmi_service_per_vdev_chain_support,
 	wmi_service_new_htt_msg_format,
 	wmi_service_peer_unmap_cnf_support,
+	wmi_service_beacon_reception_stats,
 	wmi_services_max,
 } wmi_conv_service_ids;
 #define WMI_SERVICE_UNAVAILABLE 0xFFFF

+ 4 - 0
wmi/src/wmi_unified_tlv.c

@@ -11724,6 +11724,8 @@ static void populate_tlv_events_id(uint32_t *event_ids)
 #endif
 	event_ids[wmi_pdev_ctl_failsafe_check_event_id] =
 		WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID;
+	event_ids[wmi_vdev_bcn_reception_stats_event_id] =
+		WMI_VDEV_BCN_RECEPTION_STATS_EVENTID;
 }
 
 /**
@@ -11953,6 +11955,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
 			WMI_SERVICE_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN;
 	wmi_service[wmi_service_peer_unmap_cnf_support] =
 			WMI_SERVICE_PEER_UNMAP_RESPONSE_SUPPORT;
+	wmi_service[wmi_service_beacon_reception_stats] =
+			WMI_SERVICE_BEACON_RECEPTION_STATS;
 
 }