summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSravan Kumar Kairam <sgoud@codeaurora.org>2017-03-22 17:18:17 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-03-24 19:07:34 -0700
commit75665e6a81370241189d337fb31483c2b36682d7 (patch)
tree96c2e82dad560a513f45845062e3019fdb8b1747
parentc1ee27abf676b019a00081fbef8f56da026c331c (diff)
qcacld-3.0: Mark packet type as ARP in RX direction for ARP
For ARP debug stats to record the ARP responses received by the HOST mark skb packet type as ARP. This will be used by HDD to collect the ARP responses received. Change-Id: Id43bc917550355b47575bd8f3ae5d2b252936ed4 CRs-Fixed: 2023127
-rw-r--r--core/dp/htt/htt_rx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c
index 2635f32a52ea..eadcebd6d322 100644
--- a/core/dp/htt/htt_rx.c
+++ b/core/dp/htt/htt_rx.c
@@ -2118,6 +2118,9 @@ htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
QDF_NBUF_CB_TX_PACKET_TRACK(msdu) = QDF_NBUF_TX_PKT_DATA_TRACK;
QDF_NBUF_CB_RX_CTX_ID(msdu) = rx_ctx_id;
ol_rx_log_packet(pdev, peer_id, msdu);
+ if (qdf_nbuf_is_ipv4_arp_pkt(msdu))
+ QDF_NBUF_CB_GET_PACKET_TYPE(msdu) =
+ QDF_NBUF_CB_PACKET_TYPE_ARP;
DPTRACE(qdf_dp_trace(msdu,
QDF_DP_TRACE_RX_HTT_PACKET_PTR_RECORD,
qdf_nbuf_data_addr(msdu),