qcacmn: Add wrapper for WMI event registration
Add wrapper to make WMI layer agnostic to the context in which the WMI registered event handler should execute. Change-Id: I3b8b4621cfa8d816188fdc5c688bce94528eca59 CRs-Fixed: 1096016
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
7e5ad48619
commit
c09518b91e
@@ -65,6 +65,11 @@ typedef qdf_nbuf_t wmi_buf_t;
|
||||
#define WMI_LOGA(args ...)
|
||||
#endif
|
||||
|
||||
/* wrapper to keep WMI agnostic of event handler execution context */
|
||||
#define wmi_unified_register_event(wmi_handle, event_id, handler_func) \
|
||||
wmi_unified_register_event_handler(wmi_handle, \
|
||||
event_id, handler_func, WMI_RX_UMAC_CTX)
|
||||
|
||||
/**
|
||||
* struct wmi_ops - service callbacks to upper layer
|
||||
* @service_ready_cbk: service ready callback
|
||||
|
Reference in New Issue
Block a user