diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index baf670d6755e..98cf68255935 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -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"