qcacmn: Move max_event_idx and ctx_lock to wmi_soc
WMI event handlers are maintained in soc level WMI structure. Move corresponding event_idx and ctx lock to soc level structure. Change-Id: Ib78d26279028a8cf12f59446ae6139e3dfd1f875
This commit is contained in:

committed by
Sandeep Puligilla

parent
af2196bc53
commit
129bd1aea2
@@ -1294,7 +1294,6 @@ struct wmi_unified {
|
|||||||
uint32_t *event_id;
|
uint32_t *event_id;
|
||||||
wmi_unified_event_handler *event_handler;
|
wmi_unified_event_handler *event_handler;
|
||||||
enum wmi_rx_exec_ctx *ctx;
|
enum wmi_rx_exec_ctx *ctx;
|
||||||
uint32_t max_event_idx;
|
|
||||||
void *htc_handle;
|
void *htc_handle;
|
||||||
qdf_spinlock_t eventq_lock;
|
qdf_spinlock_t eventq_lock;
|
||||||
qdf_nbuf_queue_t event_queue;
|
qdf_nbuf_queue_t event_queue;
|
||||||
@@ -1328,7 +1327,6 @@ struct wmi_unified {
|
|||||||
struct wmi_ops *ops;
|
struct wmi_ops *ops;
|
||||||
bool use_cookie;
|
bool use_cookie;
|
||||||
bool wmi_stopinprogress;
|
bool wmi_stopinprogress;
|
||||||
qdf_spinlock_t ctx_lock;
|
|
||||||
#ifndef CONFIG_MCL
|
#ifndef CONFIG_MCL
|
||||||
/* WMI service bitmap recieved from target */
|
/* WMI service bitmap recieved from target */
|
||||||
uint32_t *wmi_service_bitmap;
|
uint32_t *wmi_service_bitmap;
|
||||||
@@ -1349,7 +1347,9 @@ struct wmi_soc {
|
|||||||
void *htc_handle;
|
void *htc_handle;
|
||||||
uint32_t event_id[WMI_UNIFIED_MAX_EVENT];
|
uint32_t event_id[WMI_UNIFIED_MAX_EVENT];
|
||||||
wmi_unified_event_handler event_handler[WMI_UNIFIED_MAX_EVENT];
|
wmi_unified_event_handler event_handler[WMI_UNIFIED_MAX_EVENT];
|
||||||
|
uint32_t max_event_idx;
|
||||||
enum wmi_rx_exec_ctx ctx[WMI_UNIFIED_MAX_EVENT];
|
enum wmi_rx_exec_ctx ctx[WMI_UNIFIED_MAX_EVENT];
|
||||||
|
qdf_spinlock_t ctx_lock;
|
||||||
struct wmi_unified *wmi_pdev[WMI_MAX_RADIOS];
|
struct wmi_unified *wmi_pdev[WMI_MAX_RADIOS];
|
||||||
HTC_ENDPOINT_ID wmi_endpoint_id[WMI_MAX_RADIOS];
|
HTC_ENDPOINT_ID wmi_endpoint_id[WMI_MAX_RADIOS];
|
||||||
uint16_t max_msg_len[WMI_MAX_RADIOS];
|
uint16_t max_msg_len[WMI_MAX_RADIOS];
|
||||||
|
Reference in New Issue
Block a user