qcacmn: Add wbm head/tail pointer stats to dp_txrx_stats

Add wbm head/tail pointer stats to dp_txrx_stats and ring
usage percentage for all SRC and DST rings.
Stats added to the following cmd: iwpriv wlan0 txrx_stats 26 0

CRs-Fixed: 2865996
Change-Id: I7d144d87c5f3485ec9ba85f50b036b69a64e53c6
This commit is contained in:
Nisha Menon
2020-12-18 21:18:51 -08:00
committed by Subrat Dash
parent 7679b0651a
commit ed3a77563a
3 changed files with 58 additions and 6 deletions

View File

@@ -8375,6 +8375,8 @@ char *dp_srng_get_str_from_hal_ring_type(enum hal_ring_type ring_type)
return "Rxdma_monitor_desc";
case RXDMA_MONITOR_STATUS:
return "Rxdma_monitor_status";
case WBM_IDLE_LINK:
return "WBM_hw_idle_link";
default:
dp_err("Invalid ring type");
break;