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
orang tua b3b38d585a
melakukan 1065dc8179
5 mengubah file dengan 5 tambahan dan 5 penghapusan

Melihat File

@@ -4515,7 +4515,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

Melihat File

@@ -2196,7 +2196,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

Melihat File

@@ -1664,7 +1664,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

Melihat File

@@ -3897,7 +3897,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

Melihat File

@@ -659,7 +659,7 @@ QDF_STATUS dp_peer_set_tx_capture_enabled(struct dp_pdev *pdev,
}
#endif
#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);