qcacmn: Update missing TX RX DP stats for pdev
Update missing TX RX Data Path stats for pdev in pdev aggregation function. Change-Id: I6f6311f66b6eb9271015d0debb8d1d9ccce62881 CRs-Fixed: 3133098
This commit is contained in:

committed by
Madan Koyyalamudi

parent
b88a049cb7
commit
bd3eefcabd
@@ -7598,9 +7598,20 @@ void dp_update_pdev_stats(struct dp_pdev *tgtobj,
|
||||
srcobj->rx.sgi_count[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_RECEPTION_TYPES; i++)
|
||||
for (i = 0; i < MAX_RECEPTION_TYPES; i++) {
|
||||
tgtobj->stats.rx.reception_type[i] +=
|
||||
srcobj->rx.reception_type[i];
|
||||
tgtobj->stats.rx.ppdu_cnt[i] += srcobj->rx.ppdu_cnt[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_TRANSMIT_TYPES; i++) {
|
||||
tgtobj->stats.tx.transmit_type[i].num_msdu +=
|
||||
srcobj->tx.transmit_type[i].num_msdu;
|
||||
tgtobj->stats.tx.transmit_type[i].num_mpdu +=
|
||||
srcobj->tx.transmit_type[i].num_mpdu;
|
||||
tgtobj->stats.tx.transmit_type[i].mpdu_tried +=
|
||||
srcobj->tx.transmit_type[i].mpdu_tried;
|
||||
}
|
||||
|
||||
tgtobj->stats.tx.comp_pkt.bytes += srcobj->tx.comp_pkt.bytes;
|
||||
tgtobj->stats.tx.comp_pkt.num += srcobj->tx.comp_pkt.num;
|
||||
|
Reference in New Issue
Block a user