diff options
author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-11-16 15:48:49 -0800 |
---|---|---|
committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-14 14:07:17 -0800 |
commit | b5016365216d7d5c623050be707c52fa708d9fdc (patch) | |
tree | 43e62448cbd76f8f3b48704892df3f43fd9037ea | |
parent | 4008f34f9f3fa7066a3efeb2faa2ade8fce4071e (diff) | |
download | qcacld-b5016365216d7d5c623050be707c52fa708d9fdc.tar.gz |
qcacld-3.0: Remove obsolete HTT debug functions
The following HTT debug functions are not being used:
htt_rx_print_rx_indication()
htt_rx_hash_dump_table()
Delete these obsolete functions.
Change-Id: I8f47cd9706749acdb55736edd1876813bb3177fb
CRs-Fixed: 1091016
-rw-r--r-- | core/dp/htt/htt_rx.c | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c index 0bde4d4d53..8332422d1e 100644 --- a/core/dp/htt/htt_rx.c +++ b/core/dp/htt/htt_rx.c @@ -967,83 +967,6 @@ void htt_set_checksum_result_hl(qdf_nbuf_t msdu, #endif #ifdef DEBUG_DMA_DONE -void htt_rx_print_rx_indication(qdf_nbuf_t rx_ind_msg, htt_pdev_handle pdev) -{ - uint32_t *msg_word; - int byte_offset; - int mpdu_range, num_mpdu_range; - - msg_word = (uint32_t *) qdf_nbuf_data(rx_ind_msg); - - qdf_print - ("------------------HTT RX IND-----------------------------\n"); - qdf_print("alloc idx paddr %llx (*vaddr) %d\n", - (unsigned long long)pdev->rx_ring.alloc_idx.paddr, - *pdev->rx_ring.alloc_idx.vaddr); - - qdf_print("sw_rd_idx msdu_payld %d msdu_desc %d\n", - pdev->rx_ring.sw_rd_idx.msdu_payld, - pdev->rx_ring.sw_rd_idx.msdu_desc); - - qdf_print("dbg_ring_idx %d\n", pdev->rx_ring.dbg_ring_idx); - - qdf_print("fill_level %d fill_cnt %d\n", pdev->rx_ring.fill_level, - pdev->rx_ring.fill_cnt); - - qdf_print("initial msdu_payld %d curr mpdu range %d curr mpdu cnt %d\n", - pdev->rx_ring.dbg_initial_msdu_payld, - pdev->rx_ring.dbg_mpdu_range, pdev->rx_ring.dbg_mpdu_count); - - /* Print the RX_IND contents */ - - qdf_print("peer id %x RV %x FV %x ext_tid %x msg_type %x\n", - HTT_RX_IND_PEER_ID_GET(*msg_word), - HTT_RX_IND_REL_VALID_GET(*msg_word), - HTT_RX_IND_FLUSH_VALID_GET(*msg_word), - HTT_RX_IND_EXT_TID_GET(*msg_word), - HTT_T2H_MSG_TYPE_GET(*msg_word)); - - qdf_print("num_mpdu_ranges %x rel_seq_num_end %x rel_seq_num_start %x\n" - " flush_seq_num_end %x flush_seq_num_start %x\n", - HTT_RX_IND_NUM_MPDU_RANGES_GET(*(msg_word + 1)), - HTT_RX_IND_REL_SEQ_NUM_END_GET(*(msg_word + 1)), - HTT_RX_IND_REL_SEQ_NUM_START_GET(*(msg_word + 1)), - HTT_RX_IND_FLUSH_SEQ_NUM_END_GET(*(msg_word + 1)), - HTT_RX_IND_FLUSH_SEQ_NUM_START_GET(*(msg_word + 1))); - - qdf_print("fw_rx_desc_bytes %x\n", - HTT_RX_IND_FW_RX_DESC_BYTES_GET(* - (msg_word + 2 + - HTT_RX_PPDU_DESC_SIZE32))); - - /* receive MSDU desc for current frame */ - byte_offset = - HTT_ENDIAN_BYTE_IDX_SWAP(HTT_RX_IND_FW_RX_DESC_BYTE_OFFSET + - pdev->rx_ind_msdu_byte_idx); - - qdf_print("msdu byte idx %x msdu desc %x\n", pdev->rx_ind_msdu_byte_idx, - HTT_RX_IND_FW_RX_DESC_BYTES_GET(* - (msg_word + 2 + - HTT_RX_PPDU_DESC_SIZE32))); - - num_mpdu_range = HTT_RX_IND_NUM_MPDU_RANGES_GET(*(msg_word + 1)); - - for (mpdu_range = 0; mpdu_range < num_mpdu_range; mpdu_range++) { - enum htt_rx_status status; - int num_mpdus; - - htt_rx_ind_mpdu_range_info(pdev, rx_ind_msg, mpdu_range, - &status, &num_mpdus); - - qdf_print("mpdu_range %x status %x num_mpdus %x\n", - pdev->rx_ind_msdu_byte_idx, status, num_mpdus); - } - qdf_print - ("---------------------------------------------------------\n"); -} -#endif - -#ifdef DEBUG_DMA_DONE #define MAX_DONE_BIT_CHECK_ITER 5 #endif @@ -3141,25 +3064,6 @@ hi_end: return rc; } -void htt_rx_hash_dump_table(struct htt_pdev_t *pdev) -{ - uint32_t i; - struct htt_rx_hash_entry *hash_entry; - struct htt_list_node *list_iter = NULL; - - for (i = 0; i < RX_NUM_HASH_BUCKETS; i++) { - HTT_LIST_ITER_FWD(list_iter, - &pdev->rx_ring.hash_table[i]->listhead) { - hash_entry = - (struct htt_rx_hash_entry *)((char *)list_iter - - pdev->rx_ring. - listnode_offset); - qdf_print("hash_table[%d]: netbuf %p paddr 0x%x\n", i, - hash_entry->netbuf, hash_entry->paddr); - } - } -} - /*--- RX In Order Hash Code --------------------------------------------------*/ /* move the function to the end of file |