qcacmn: Add cdp api to get accumulated pdev tid stats

Add cdp api to get accumulated pdev tid stats along with per tid
total tid rx and tx stats.

Change-Id: I7862c4265f199d0588d8865c5ed97e06010dd79f
CRs-Fixed: 3207499
This commit is contained in:
Subrat Mishra
2022-05-26 18:24:18 +05:30
zatwierdzone przez Madan Koyyalamudi
rodzic 1049507d23
commit 120fb06e12
6 zmienionych plików z 129 dodań i 1 usunięć

Wyświetl plik

@@ -2784,7 +2784,18 @@ void dp_pdev_print_tid_stats(struct dp_pdev *pdev);
* Return:void
*/
void dp_pdev_print_rx_error_stats(struct dp_pdev *pdev);
#endif /* CONFIG_WIN */
#endif /* QCA_ENH_V3_STATS_SUPPORT */
/**
* dp_pdev_get_tid_stats(): Get accumulated pdev level tid_stats
* @soc_hdl: soc handle
* @pdev_id: id of dp_pdev handle
* @tid_stats: Pointer for cdp_tid_stats_intf
*
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_E_INVAL
*/
QDF_STATUS dp_pdev_get_tid_stats(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
struct cdp_tid_stats_intf *tid_stats);
void dp_soc_set_txrx_ring_map(struct dp_soc *soc);