diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index 1df035e5bf..e3baa6f715 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -856,7 +856,7 @@ void dp_set_pn_check_wifi3(struct cdp_vdev *vdev_handle, void *dp_get_pdev_for_mac_id(struct dp_soc *soc, uint32_t mac_id); void dp_set_michael_key(struct cdp_peer *peer_handle, bool is_unicast, uint32_t *key); -#ifdef CONFIG_WIN +#ifdef QCA_ENH_V3_STATS_SUPPORT uint32_t dp_pdev_tid_stats_display(void *pdev_handle, enum _ol_ath_param_t param, uint32_t value, void *buff); #endif @@ -1239,7 +1239,7 @@ static inline void dp_srng_access_end(struct dp_intr *int_ctx, } #endif /* WLAN_FEATURE_DP_EVENT_HISTORY */ -#ifdef CONFIG_WIN +#ifdef QCA_ENH_V3_STATS_SUPPORT /** * dp_pdev_print_delay_stats(): Print pdev level delay stats * @pdev: DP_PDEV handle diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 9ae93a1810..b263ca24fb 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -8657,7 +8657,7 @@ static uint32_t dp_get_cfg(void *soc, enum cdp_dp_cfg cfg) return value; } -#ifdef CONFIG_WIN +#ifdef PEER_FLOW_CONTROL /** * dp_tx_flow_ctrl_configure_pdev() - Configure flow control params * @pdev_hdl: datapath pdev handle @@ -8685,6 +8685,7 @@ static uint32_t dp_tx_flow_ctrl_configure_pdev(void *pdev_handle, return 1; switch (param) { +#ifdef QCA_ENH_V3_STATS_SUPPORT case OL_ATH_PARAM_VIDEO_DELAY_STATS_FC: if (value) pdev->delay_stats_flag = true; @@ -8697,6 +8698,7 @@ static uint32_t dp_tx_flow_ctrl_configure_pdev(void *pdev_handle, qdf_print("------ Delay Stats ------\n"); dp_pdev_print_delay_stats(pdev); break; +#endif case OL_ATH_PARAM_TOTAL_Q_SIZE: { uint32_t tx_min, tx_max; diff --git a/dp/wifi3.0/dp_stats.c b/dp/wifi3.0/dp_stats.c index a9b7e15aa7..c084bb69f3 100644 --- a/dp/wifi3.0/dp_stats.c +++ b/dp/wifi3.0/dp_stats.c @@ -153,7 +153,7 @@ static const struct dp_rate_debug dp_rate_string[DOT11_MAX][MAX_MCS] = { } }; -#ifdef CONFIG_WIN +#ifdef QCA_ENH_V3_STATS_SUPPORT const char *fw_to_hw_delay_bucket[CDP_DELAY_BUCKET_MAX + 1] = { "0 to 10 ms", "11 to 20 ms", "21 to 30 ms", "31 to 40 ms", @@ -3988,7 +3988,7 @@ QDF_STATUS dp_peer_stats_notify(struct dp_peer *peer) return QDF_STATUS_SUCCESS; } -#ifdef CONFIG_WIN +#ifdef QCA_ENH_V3_STATS_SUPPORT /** * dp_vow_str_fw_to_hw_delay() - Return string for a delay * @index: Index of delay