qcacmn: Remove CONFIG_WIN flag for VoW stats

Use V3_STATS_ENABLED flag instead of CONFIG_WIN

Change-Id: I1559d67f005c4cba2472970ea3bd49826c16a047
Esse commit está contido em:
Mainak Sen
2019-06-19 14:37:07 +05:30
commit de nshrivas
commit 95101bb281
3 arquivos alterados com 7 adições e 5 exclusões

Ver arquivo

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

Ver arquivo

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

Ver arquivo

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