qcacld-3.0: Remove PROTO_TRACE feature

Remove PROTO_TRACE feature and add MGMT packet
logging in DPTRACE.

Change-Id: I9bc019bb03e703cb8044cb5d4290fd438b1c3e69
CRs-Fixed: 1008087
This commit is contained in:
Nirav Shah
2016-05-03 20:16:39 +05:30
committed by Vishwajith Upendra
parent 0d58a7ef5f
commit 1da7768385
16 changed files with 16 additions and 417 deletions

View File

@@ -615,7 +615,6 @@ int htt_tx_send_std(htt_pdev_handle pdev, qdf_nbuf_t msdu, uint16_t msdu_id)
return 0;
}
qdf_nbuf_trace_update(msdu, "HT:T:");
if (htc_send_data_pkt(pdev->htc_pdev, msdu,
pdev->htc_tx_endpoint, download_len)) {
HTT_TX_NBUF_QUEUE_ADD(pdev, msdu);
@@ -746,7 +745,6 @@ htt_tx_send_base(htt_pdev_handle pdev,
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msdu);
qdf_nbuf_trace_update(msdu, "HT:T:");
QDF_NBUF_UPDATE_TX_PKT_COUNT(msdu, QDF_NBUF_TX_PKT_HTT);
DPTRACE(qdf_dp_trace(msdu, QDF_DP_TRACE_HTT_PACKET_PTR_RECORD,
qdf_nbuf_data_addr(msdu),

View File

@@ -466,15 +466,12 @@ void ol_tx_desc_frame_free_nonstd(struct ol_txrx_pdev_t *pdev,
{
int mgmt_type;
ol_txrx_mgmt_tx_cb ota_ack_cb;
char *trace_str;
qdf_atomic_init(&tx_desc->ref_cnt); /* clear the ref cnt */
#ifdef QCA_SUPPORT_SW_TXRX_ENCAP
/* restore original hdr offset */
OL_TX_RESTORE_HDR(tx_desc, (tx_desc->netbuf));
#endif
trace_str = (had_error) ? "OT:C:F:" : "OT:C:S:";
qdf_nbuf_trace_update(tx_desc->netbuf, trace_str);
if (tx_desc->pkt_type == OL_TX_FRM_NO_FREE) {
/* free the tx desc but don't unmap or free the frame */
if (pdev->tx_data_callback.func) {

View File

@@ -487,8 +487,6 @@ ol_tx_completion_handler(ol_txrx_pdev_handle pdev,
uint16_t *desc_ids = (uint16_t *) tx_desc_id_iterator;
uint16_t tx_desc_id;
struct ol_tx_desc_t *tx_desc;
char *trace_str;
uint32_t byte_cnt = 0;
qdf_nbuf_t netbuf;
@@ -499,7 +497,6 @@ ol_tx_completion_handler(ol_txrx_pdev_handle pdev,
OL_TX_DELAY_COMPUTE(pdev, status, desc_ids, num_msdus);
trace_str = (status) ? "OT:C:F:" : "OT:C:S:";
for (i = 0; i < num_msdus; i++) {
tx_desc_id = desc_ids[i];
tx_desc = ol_tx_desc_find(pdev, tx_desc_id);
@@ -510,7 +507,6 @@ ol_tx_completion_handler(ol_txrx_pdev_handle pdev,
qdf_nbuf_data_addr(netbuf),
sizeof(qdf_nbuf_data(netbuf)), tx_desc->id, status));
qdf_runtime_pm_put();
qdf_nbuf_trace_update(netbuf, trace_str);
/* Per SDU update of byte count */
byte_cnt += qdf_nbuf_len(netbuf);
if (OL_TX_DESC_NO_REFS(tx_desc)) {