qcacmn: Move Rx diag event processing to dedicated work queue

Firmware generates wmi Rx diag events every few milliseconds,
and processing the same in system shared work queue may lead to
work queue lock-up detection. Hence, move Rx diag event processing
to dedicated work queue.

Change-Id: I10cdde317794e35bc6d10677ab76ea24a66e1880
CRs-Fixed: 2941409
This commit is contained in:
Aditya Kodukula
2021-05-07 15:58:04 -07:00
committed by Madan Koyyalamudi
parent 2b7f792138
commit f0b0951d8a
2 changed files with 12 additions and 3 deletions

View File

@@ -2591,6 +2591,7 @@ struct wmi_unified {
qdf_nbuf_queue_t event_queue;
qdf_work_t rx_event_work;
qdf_workqueue_t *wmi_rx_work_queue;
qdf_workqueue_t *wmi_rx_diag_work_queue;
qdf_spinlock_t diag_eventq_lock;
qdf_nbuf_queue_t diag_event_queue;
qdf_work_t rx_diag_event_work;