Bläddra i källkod

qcacmn: Add new WMI API to unregister event handler

Add new API to unregister event handler to allow
converged components to move to common eventid space.

Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7
CRs-Fixed: 2023157
Soumya Bhat 8 år sedan
förälder
incheckning
070cd05c94
1 ändrade filer med 11 tillägg och 0 borttagningar
  1. 11 0
      wmi_unified_api.h

+ 11 - 0
wmi_unified_api.h

@@ -220,6 +220,17 @@ wmi_unified_register_event_handler(wmi_unified_t wmi_handle,
 				   wmi_unified_event_handler handler_func,
 				   uint8_t rx_ctx);
 
+/**
+ * WMI event handler unregister function for converged componets
+ *
+ *  @param wmi_handle      : handle to WMI.
+ *  @param event_id        : WMI event ID
+ *  @return 0  on success and -ve on failure.
+ */
+int
+wmi_unified_unregister_event(wmi_unified_t wmi_handle,
+					 uint32_t event_id);
+
 /**
  * WMI event handler unregister function
  *