qcacmn: Use MSDU indications to update Tx byte counters
Byte counts reported in HTT Tx PPDU indications is sum of MPDU bytes (including the 802.11 header).In Rx, we derive byte count from per-MSDU Rx indications and this does not include 802.11 header bytes. This is causing mismatch in reporting of Tx and Rx byte counts. Also PPDU TLV for mcast MPDUs is not giving correct multicast bytes count. Move the byte count update for Tx also to per-MSDU indications to match the behavior with Rx CRs-Fixed: 2182576 Change-Id: I92e779661014b058ba98c830881ff8eded4ea6ff
This commit is contained in:

کامیت شده توسط
snandini

والد
43bb056ed0
کامیت
87a93cf03a
@@ -86,20 +86,8 @@ static void dp_tx_stats_update(struct dp_soc *soc, struct dp_peer *peer,
|
||||
DP_STATS_INC(peer, tx.wme_ac_type[TID_TO_WME_AC(ppdu->tid)], num_msdu);
|
||||
DP_STATS_INCC(peer, tx.stbc, num_msdu, ppdu->stbc);
|
||||
DP_STATS_INCC(peer, tx.ldpc, num_msdu, ppdu->ldpc);
|
||||
DP_STATS_INC_PKT(peer, tx.tx_success, ppdu->success_msdus,
|
||||
ppdu->success_bytes);
|
||||
|
||||
if (ppdu->is_mcast) {
|
||||
DP_STATS_INC_PKT(peer, tx.mcast, ppdu->mpdu_tried_mcast,
|
||||
(ppdu->success_bytes
|
||||
+ ppdu->retry_bytes +
|
||||
ppdu->failed_bytes));
|
||||
} else {
|
||||
if (!(ppdu->is_mcast))
|
||||
DP_STATS_UPD(peer, tx.last_ack_rssi, ack_rssi);
|
||||
DP_STATS_INC_PKT(peer, tx.ucast, num_msdu, (ppdu->success_bytes
|
||||
+ ppdu->retry_bytes +
|
||||
ppdu->failed_bytes));
|
||||
}
|
||||
|
||||
DP_STATS_INC(peer, tx.retries,
|
||||
(ppdu->long_retries + ppdu->short_retries));
|
||||
|
مرجع در شماره جدید
Block a user