qcacmn: Add counter in non-TQM based Tx completion path

Rate limit the log in non-TQM Tx completion path and add a counter
to increment whenever Tx completion status is received and release source
is non-TQM.

Change-Id: I8968ccc7a499577bd4fdfaef78e6520b00c12503
CRs-Fixed: 3201403
This commit is contained in:
Srinivas Girigowda
2022-05-25 10:22:14 -07:00
committed by Madan Koyyalamudi
parent 9d283234a7
commit 85b76d5a6c
5 changed files with 13 additions and 2 deletions

View File

@@ -1366,6 +1366,8 @@ struct protocol_trace_count {
* @su_be_ppdu_cnt: SU Tx packet count
* @mu_be_ppdu_cnt: MU Tx packet count
* @punc_bw[MAX_PUNCTURED_MODE]: MSDU count for punctured BW
* @release_src_not_tqm: Counter to keep track of release source is not TQM
* in TX completion status processing
*/
struct cdp_tx_stats {
struct cdp_pkt_info comp_pkt;
@@ -1483,6 +1485,7 @@ struct cdp_tx_stats {
struct cdp_pkt_type mu_be_ppdu_cnt[TXRX_TYPE_MU_MAX];
uint32_t punc_bw[MAX_PUNCTURED_MODE];
#endif
uint32_t release_src_not_tqm;
};
/* struct cdp_rx_stats - rx Level Stats