qcacmn: Add mpdu tx retries stats

Customer reported their HLOS LTE-WLAN transition algo sometimes go wrong
for wrong low layer stats, Txretry delta is bigger than Txtotal delta.
Txretry unit is msdu while Txtotal unit is mpdu.

Add vdev/peer stats for mpdu number of successfully transmitted after
more than one retransmission attempt, to align mpdu tx_packets, tx_failed.

CRs-Fixed: 3099490
Change-Id: Id4b9d8fd81af4bf0c141dad481bfd2b3f6c1db2a
This commit is contained in:
Jianmin Zhu
2021-12-29 22:38:13 +08:00
committed by Madan Koyyalamudi
parent a48bfbce7c
commit 326f1015bc
3 changed files with 6 additions and 1 deletions

View File

@@ -1166,6 +1166,7 @@ struct protocol_trace_count {
* @stbc: Packets in STBC
* @ldpc: Packets in LDPC
* @retries: Packet retries
* @retries_mpdu: mpdu number of successfully transmitted after retries
* @non_amsdu_cnt: Number of MSDUs with no MSDU level aggregation
* @amsdu_cnt: Number of MSDUs part of AMSDU
* @tx_rate: Tx Rate
@@ -1262,6 +1263,7 @@ struct cdp_tx_stats {
uint32_t stbc;
uint32_t ldpc;
uint32_t retries;
uint32_t retries_mpdu;
uint32_t non_amsdu_cnt;
uint32_t amsdu_cnt;
uint32_t tx_rate;