Эх сурвалжийг харах

qcacmn: Converge on wmi event registration / unregistration

Converge on wmi event registration / unregistration method.

Change-Id: If03a38d74a47cc1d900bc5734a7c8f950513efaa
CRs-Fixed: 2148479
Mukul Sharma 7 жил өмнө
parent
commit
6faf5a82ba
2 өөрчлөгдсөн 26 нэмэгдсэн , 2 устгасан
  1. 2 2
      wmi_unified_api.h
  2. 24 0
      wmi_unified_param.h

+ 2 - 2
wmi_unified_api.h

@@ -214,7 +214,7 @@ wmi_unified_register_event(wmi_unified_t wmi_handle,
  */
 int
 wmi_unified_register_event_handler(wmi_unified_t wmi_handle,
-				   uint32_t event_id,
+				   wmi_conv_event_id event_id,
 				   wmi_unified_event_handler handler_func,
 				   uint8_t rx_ctx);
 
@@ -238,7 +238,7 @@ wmi_unified_unregister_event(wmi_unified_t wmi_handle,
  */
 int
 wmi_unified_unregister_event_handler(wmi_unified_t wmi_handle,
-					 uint32_t event_id);
+					 wmi_conv_event_id event_id);
 
 /**
  * request wmi to connet its htc service.

+ 24 - 0
wmi_unified_param.h

@@ -5455,6 +5455,30 @@ typedef enum {
 	wmi_service_available_event_id,
 	wmi_update_rcpi_event_id,
 	wmi_pdev_wds_entry_list_event_id,
+	wmi_ndp_initiator_rsp_event_id,
+	wmi_ndp_indication_event_id,
+	wmi_ndp_confirm_event_id,
+	wmi_ndp_responder_rsp_event_id,
+	wmi_ndp_end_indication_event_id,
+	wmi_ndp_end_rsp_event_id,
+	wmi_oem_response_event_id,
+	wmi_peer_stats_info_event_id,
+	wmi_pdev_chip_power_stats_event_id,
+	wmi_ap_ps_egap_info_event_id,
+	wmi_peer_assoc_conf_event_id,
+	wmi_vdev_delete_resp_event_id,
+	wmi_bpf_capability_info_event_id,
+	wmi_vdev_encrypt_decrypt_data_rsp_event_id,
+	wmi_report_rx_aggr_failure_event_id,
+	wmi_pdev_chip_pwr_save_failure_detect_event_id,
+	wmi_peer_antdiv_info_event_id,
+	wmi_pdev_set_hw_mode_rsp_event_id,
+	wmi_pdev_hw_mode_transition_event_id,
+	wmi_pdev_set_mac_config_resp_event_id,
+	wmi_coex_bt_activity_event_id,
+	wmi_mgmt_tx_bundle_completion_event_id,
+	wmi_radio_tx_power_level_stats_event_id,
+	wmi_report_stats_event_id,
 
 	wmi_events_max,
 } wmi_conv_event_id;