From e54b564858aecafcb483287f41305253fffb8ea3 Mon Sep 17 00:00:00 2001 From: Vulupala Shashank Reddy Date: Wed, 3 Feb 2021 17:26:50 +0530 Subject: [PATCH] qcacmn: Refactor compilation flag of pkt capture mode Refactor WLAN_FEATURE_PKT_CAPTURE_LITHIUM to WLAN_FEATURE_PKT_CAPTURE_V2 to remove hardware name from compilation flag. Change-Id: I5a30b33d8bd6065d12e7c89c666c2f0cab66344e CRs-Fixed: 2869827 --- dp/wifi3.0/dp_htt.c | 2 +- dp/wifi3.0/dp_rx.c | 2 +- dp/wifi3.0/dp_rx.h | 2 +- dp/wifi3.0/dp_tx.c | 2 +- dp/wifi3.0/dp_tx.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index 59af478ba374..a441ecb4b004 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -4452,7 +4452,7 @@ static void dp_htt_bkp_event_alert(u_int32_t *msg_word, struct htt_soc *soc) dp_print_napi_stats(pdev->soc); } -#ifdef WLAN_FEATURE_PKT_CAPTURE_LITHIUM +#ifdef WLAN_FEATURE_PKT_CAPTURE_V2 /* * dp_offload_ind_handler() - offload msg handler * @htt_soc: HTT SOC handle diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index e7416e8377e6..0e908d1e6649 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -2162,7 +2162,7 @@ static inline void dp_rx_update_stats(struct dp_soc *soc, } #endif -#ifdef WLAN_FEATURE_PKT_CAPTURE_LITHIUM +#ifdef WLAN_FEATURE_PKT_CAPTURE_V2 /** * dp_rx_deliver_to_pkt_capture() - deliver rx packet to packet capture * @soc : dp_soc handle diff --git a/dp/wifi3.0/dp_rx.h b/dp/wifi3.0/dp_rx.h index 0b1598d4e741..fa52e7c69f9a 100644 --- a/dp/wifi3.0/dp_rx.h +++ b/dp/wifi3.0/dp_rx.h @@ -1571,7 +1571,7 @@ void dp_rx_link_desc_refill_duplicate_check( struct hal_buf_info *buf_info, hal_buff_addrinfo_t ring_buf_info); -#ifdef WLAN_FEATURE_PKT_CAPTURE_LITHIUM +#ifdef WLAN_FEATURE_PKT_CAPTURE_V2 /** * dp_rx_deliver_to_pkt_capture() - deliver rx packet to packet capture * @soc : dp_soc handle diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 9812b731d1c5..27e78d7828c5 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -4071,7 +4071,7 @@ static inline void dp_tx_sojourn_stats_process(struct dp_pdev *pdev, } #endif -#ifdef WLAN_FEATURE_PKT_CAPTURE_LITHIUM +#ifdef WLAN_FEATURE_PKT_CAPTURE_V2 /** * dp_send_completion_to_pkt_capture() - send tx completion to packet capture * @soc: dp_soc handle diff --git a/dp/wifi3.0/dp_tx.h b/dp/wifi3.0/dp_tx.h index a9cebd213c11..021fbbb27220 100644 --- a/dp/wifi3.0/dp_tx.h +++ b/dp/wifi3.0/dp_tx.h @@ -528,7 +528,7 @@ QDF_STATUS dp_peer_set_tx_capture_enabled(struct dp_pdev *pdev, void dp_tx_desc_flush(struct dp_pdev *pdev, struct dp_vdev *vdev, bool force_free); -#ifdef WLAN_FEATURE_PKT_CAPTURE_LITHIUM +#ifdef WLAN_FEATURE_PKT_CAPTURE_V2 void dp_send_completion_to_pkt_capture(struct dp_soc *soc, struct dp_tx_desc_s *desc, struct hal_tx_completion_status *ts);