qcacld-3.0: Change tx retries unit from msdu to mpdu

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: 3102117
Change-Id: Id4b9d8fd81af4bf0c141dad481bfd2b3f6c1db2a
This commit is contained in:
Jianmin Zhu
2021-12-29 22:41:45 +08:00
committed by Madan Koyyalamudi
orang tua 5d66b627a6
melakukan 683bc95375
3 mengubah file dengan 5 tambahan dan 1 penghapusan

Melihat File

@@ -85,11 +85,14 @@ enum cds_driver_state {
* struce cds_vdev_dp_stats - vdev stats populated from DP
* @tx_retries: packet number of successfully transmitted after more
* than one retransmission attempt
* @tx_retries_mpdu: mpdu number of successfully transmitted after more
* than one retransmission attempt
* @tx_mpdu_success_with_retries: Number of MPDU transmission retries done
* in case of successful transmission.
*/
struct cds_vdev_dp_stats {
uint32_t tx_retries;
uint32_t tx_retries_mpdu;
uint32_t tx_mpdu_success_with_retries;
};