summaryrefslogtreecommitdiff
path: root/core/dp/htt
diff options
context:
space:
mode:
authorNirav Shah <nnshah@codeaurora.org>2016-08-01 14:39:23 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-08-20 10:36:59 -0700
commitd59b3b253eaaee7fb57fa573ce27a3c750ef4aac (patch)
treea18f487f43ae58cd74467cf65cf5bc55266cb4dc /core/dp/htt
parent9808c1d8efa82ed9bf3b60637e86a9215a4da9a1 (diff)
qcacld-3.0: Log rx packet in packetlog as per rx ind message
Log rx packet in packetlog as per HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND message from firmware. CRs-Fixed: 970647 Change-Id: I5773b67a9269063531d038d46ac404c978818dcc
Diffstat (limited to 'core/dp/htt')
-rw-r--r--core/dp/htt/htt_rx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c
index 8283e60bffa2..3462c827dec9 100644
--- a/core/dp/htt/htt_rx.c
+++ b/core/dp/htt/htt_rx.c
@@ -1937,6 +1937,14 @@ void htt_rx_mon_note_capture_channel(htt_pdev_handle pdev, int mon_ch)
extern void
dump_pkt(qdf_nbuf_t nbuf, uint32_t nbuf_paddr, int len);
+uint32_t htt_rx_amsdu_rx_in_order_get_pktlog(qdf_nbuf_t rx_ind_msg)
+{
+ uint32_t *msg_word;
+
+ msg_word = (uint32_t *) qdf_nbuf_data(rx_ind_msg);
+ return HTT_RX_IN_ORD_PADDR_IND_PKTLOG_GET(*msg_word);
+}
+
/* Return values: 1 - success, 0 - failure */
int
htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,