فهرست منبع

qcacmn: Set WMI Endpoint as Async

Conditionally set WMI enpoint as
async only for WIN and revert it
for MCL

Change-Id: I8969fffb4ba72909839baea2bdd12723665a8a4f
phadiman 6 سال پیش
والد
کامیت
00c636f7b4
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      wmi_unified_api.h
  2. 1 0
      wmi_unified_priv.h

+ 1 - 0
wmi_unified_api.h

@@ -171,6 +171,7 @@ struct wmi_unified_attach_params {
 	osdev_t osdev;
 	enum wmi_target_type target_type;
 	bool use_cookie;
+	bool is_async_ep;
 	struct wmi_rx_ops *rx_ops;
 	struct wlan_objmgr_psoc *psoc;
 	uint16_t max_commands;

+ 1 - 0
wmi_unified_priv.h

@@ -1939,6 +1939,7 @@ struct wmi_soc {
 	void *scn_handle;    /* handle to device */
 	qdf_atomic_t num_pdevs;
 	enum wmi_target_type target_type;
+	bool is_async_ep;
 	void *htc_handle;
 	uint32_t event_id[WMI_UNIFIED_MAX_EVENT];
 	wmi_unified_event_handler event_handler[WMI_UNIFIED_MAX_EVENT];