qcacmn: Add DPT for Lithium_dp Tx completion status

Log DPT for Tx completion for Lithium_dp. Do not reset nbuf->cb
as it has DPT markings.

Change-Id: I493c3e0e5f4311b90c1ec60ac3a4b44d13c06f62
CRs-Fixed: 2385743
This commit is contained in:
Manjunathappa Prakash
2019-01-18 16:25:16 -08:00
committed by nshrivas
parent 3c572b3e19
commit 721bd5f339

View File

@@ -696,9 +696,6 @@ struct dp_tx_desc_s *dp_tx_prepare_desc_single(struct dp_vdev *vdev,
dp_tx_trace_pkt(nbuf, tx_desc->id, vdev->vdev_id);
/* Reset the control block */
qdf_nbuf_reset_ctxt(nbuf);
/*
* For special modes (vdev_type == ocb or mesh), data frames should be
* transmitted using varying transmit parameters (tx spec) which include
@@ -834,9 +831,6 @@ static struct dp_tx_desc_s *dp_tx_prepare_desc(struct dp_vdev *vdev,
dp_tx_trace_pkt(nbuf, tx_desc->id, vdev->vdev_id);
/* Reset the control block */
qdf_nbuf_reset_ctxt(nbuf);
/* Handle scattered frames - TSO/SG/ME */
/* Allocate and prepare an extension descriptor for scattered frames */
msdu_ext_desc = dp_tx_prepare_ext_desc(vdev, msdu_info, desc_pool_id);
@@ -2932,6 +2926,14 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc,
goto out;
}
DPTRACE(qdf_dp_trace_ptr(tx_desc->nbuf,
QDF_DP_TRACE_LI_DP_FREE_PACKET_PTR_RECORD,
QDF_TRACE_DEFAULT_PDEV_ID,
qdf_nbuf_data_addr(tx_desc->nbuf),
sizeof(qdf_nbuf_data(tx_desc->nbuf)),
tx_desc->id,
ts->status));
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
"-------------------- \n"
"Tx Completion Stats: \n"