qcacmn: Add log while dropping FW diag events

FW diag events will be dropped when number FW diag events pending for
processing is reached to configured RX_DIAG_WQ_MAX_SIZE value. Add a
log when these diag events a getting dropped for debugging purpose.

Change-Id: Ifc303991bdf274fa7426794eaf71517722e9f386
CRs-Fixed: 2824458
This commit is contained in:
Bapiraju Alla
2020-11-23 10:48:55 +05:30
committed by snandini
orang tua a550225eb1
melakukan 197fc297c3

Melihat File

@@ -2246,6 +2246,8 @@ wmi_process_rx_diag_event_worker_thread_ctx(struct wmi_unified *wmi_handle,
if (num_diag_events_pending == RX_DIAG_WQ_MAX_SIZE) {
qdf_spin_unlock_bh(&wmi_handle->diag_eventq_lock);
wmi_handle->wmi_rx_diag_events_dropped++;
wmi_debug_rl("Rx diag events dropped count: %d",
wmi_handle->wmi_rx_diag_events_dropped);
qdf_nbuf_free(evt_buf);
return;
}