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
This commit is contained in:
Vulupala Shashank Reddy 2021-02-03 17:26:50 +05:30 • committed by snandini
commit e54b564858
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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);