|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -89,32 +89,6 @@ ol_tx_ll_wrapper(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list)
|
|
|
return msdu_list;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * ol_tx_trace_pkt() - Trace TX packet at OL layer
|
|
|
- *
|
|
|
- * @skb: skb to be traced
|
|
|
- * @msdu_id: msdu_id of the packet
|
|
|
- * @vdev_id: vdev_id of the packet
|
|
|
- *
|
|
|
- * Return: None
|
|
|
- */
|
|
|
-static inline void ol_tx_trace_pkt(qdf_nbuf_t skb, uint16_t msdu_id,
|
|
|
- uint8_t vdev_id)
|
|
|
-{
|
|
|
- DPTRACE(qdf_dp_trace_ptr(skb,
|
|
|
- QDF_DP_TRACE_TXRX_FAST_PACKET_PTR_RECORD,
|
|
|
- QDF_TRACE_DEFAULT_PDEV_ID,
|
|
|
- qdf_nbuf_data_addr(skb),
|
|
|
- sizeof(qdf_nbuf_data(skb)),
|
|
|
- msdu_id, vdev_id, 0));
|
|
|
-
|
|
|
- qdf_dp_trace_log_pkt(vdev_id, skb, QDF_TX, QDF_TRACE_DEFAULT_PDEV_ID);
|
|
|
-
|
|
|
- DPTRACE(qdf_dp_trace_data_pkt(skb, QDF_TRACE_DEFAULT_PDEV_ID,
|
|
|
- QDF_DP_TRACE_TX_PACKET_RECORD,
|
|
|
- msdu_id, QDF_TX));
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* ol_tx_tso_adjust_pkt_dnld_len() Update download len for TSO pkt
|
|
|
*
|
|
@@ -595,6 +569,8 @@ ol_tx_ll_fast(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list)
|
|
|
qdf_nbuf_data_addr(msdu),
|
|
|
sizeof(qdf_nbuf_data(msdu)), tx_desc->id,
|
|
|
vdev->vdev_id, 0));
|
|
|
+
|
|
|
+ ol_tx_trace_pkt(msdu, tx_desc->id, vdev->vdev_id);
|
|
|
/*
|
|
|
* If debug display is enabled, show the meta-data being
|
|
|
* downloaded to the target via the HTT tx descriptor.
|