qcacld-3.0: Add target credit info in TX_QUEUE_STATS

When debug traffic stall issues, target credit number is also one
key point to trace beside status of TX queues. So add such info
in TX_QUEUE_STATS.

Change-Id: I2615545c1e041af920a4d0d6d0a8e3990768b762
CRs-Fixed: 2060945
This commit is contained in:
chenguo 2018-03-30 17:29:32 +08:00 • committed by nshrivas
commit 861751bafa

View file

@ -1474,6 +1474,9 @@ ol_tx_queue_log_display(struct ol_txrx_pdev_t *pdev)
* being changed while in use, but since this is just for debugging,
* don't bother.
*/
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
"Current target credit: %d",
qdf_atomic_read(&pdev->target_tx_credit));
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
"Tx queue log:");
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,