1
0

qcacmn: Fix double accounting of peer stats in DS mode

Fix double accounting of peer stats in DS mode

Change-Id: Ie58a24a125726868a2f0039842668506d02b2263
CRs-Fixed: 3488317
Este cometimento está contido em:
Harsh Kumar Bijlani
2023-05-04 21:14:37 +05:30
cometido por Madan Koyyalamudi
ascendente e8bf99b94f
cometimento 2b2a9fc6c8

Ver ficheiro

@@ -5297,14 +5297,15 @@ void dp_tx_comp_process_tx_status(struct dp_soc *soc,
"transmit_cnt = %d \n"
"tid = %d \n"
"peer_id = %d\n"
"tx_status = %d\n",
"tx_status = %d\n"
"tx_release_source = %d\n",
ts->ack_frame_rssi, ts->first_msdu,
ts->last_msdu, ts->msdu_part_of_amsdu,
ts->valid, ts->bw, ts->pkt_type, ts->stbc,
ts->ldpc, ts->sgi, ts->mcs, ts->ofdma,
ts->tones_in_ru, ts->tsf, ts->ppdu_id,
ts->transmit_cnt, ts->tid, ts->peer_id,
ts->status);
ts->status, ts->release_src);
/* Update SoC level stats */
DP_STATS_INCC(soc, tx.dropped_fw_removed, 1,
@@ -5568,10 +5569,6 @@ dp_tx_update_ppeds_tx_comp_stats(struct dp_soc *soc,
struct dp_vdev *vdev = NULL;
if (qdf_likely(txrx_peer)) {
dp_tx_update_peer_basic_stats(txrx_peer,
desc->length,
desc->tx_status,
false);
if (!(desc->flags & DP_TX_DESC_FLAG_SIMPLE)) {
hal_tx_comp_get_status(&desc->comp,
ts,
@@ -5587,6 +5584,9 @@ dp_tx_update_ppeds_tx_comp_stats(struct dp_soc *soc,
txrx_peer,
ring_id,
link_id);
} else {
dp_tx_update_peer_basic_stats(txrx_peer, desc->length,
desc->tx_status, false);
}
}
}