qcacmn: Fix compilation errors
dp_htt_process_smu_ppdu_stats_tlv API is defined inside QCA_ENHANCED_STATS_SUPPORT along with WLAN_FEATURE_PKT_CAPTURE_V2 protection but API is called with WLAN_FEATURE_PKT_CAPTURE_V2. There is a compilation error a. if WLAN_FEATURE_PKT_CAPTURE_V2 is defined and if QCA_ENHANCED_STATS_SUPPORT is not set. b. if REMOVE_PKT_LOG and WLAN_FEATURE_PKT_CAPTURE_V2 is set. This change is to move dp_htt_process_smu_ppdu_stats_tlv out of QCA_ENHANCED_STATS_SUPPORT and add WLAN_FEATURE_PKT_CAPTURE_V2 protection to avoid compilation errors. Change-Id: I50093ede0530afa34f501210e5a53fa88e61d863 CRs-Fixed: 3528736
This commit is contained in:

committed by
Rahul Choudhary

vanhempi
d261c841e3
commit
4bc335300f
@@ -540,7 +540,8 @@ dp_vdev_set_monitor_mode_rings(struct dp_pdev *pdev,
|
||||
#endif
|
||||
|
||||
#if defined(WDI_EVENT_ENABLE) &&\
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG))
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG) ||\
|
||||
defined(WLAN_FEATURE_PKT_CAPTURE_V2))
|
||||
/**
|
||||
* dp_ppdu_stats_ind_handler() - PPDU stats msg handler
|
||||
* @soc: HTT SOC handle
|
||||
@@ -683,7 +684,8 @@ struct dp_mon_ops {
|
||||
struct cdp_pdev_tx_capture_stats *sts);
|
||||
#endif
|
||||
#if defined(WDI_EVENT_ENABLE) &&\
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG))
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG) ||\
|
||||
defined(WLAN_FEATURE_PKT_CAPTURE_V2))
|
||||
bool (*mon_ppdu_stats_ind_handler)(struct htt_soc *soc,
|
||||
uint32_t *msg_word,
|
||||
qdf_nbuf_t htt_t2h_msg);
|
||||
@@ -3074,7 +3076,8 @@ dp_monitor_pdev_tx_capture_get_stats(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
* Return: True if buffer should be freed by caller.
|
||||
*/
|
||||
#if defined(WDI_EVENT_ENABLE) &&\
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG))
|
||||
(defined(QCA_ENHANCED_STATS_SUPPORT) || !defined(REMOVE_PKT_LOG) ||\
|
||||
defined(WLAN_FEATURE_PKT_CAPTURE_V2))
|
||||
static inline bool dp_monitor_ppdu_stats_ind_handler(struct htt_soc *soc,
|
||||
uint32_t *msg_word,
|
||||
qdf_nbuf_t htt_t2h_msg)
|
||||
|
Viittaa uudesa ongelmassa
Block a user