qcacmn: Remove CONFIG_WIN flag for VoW stats
Use V3_STATS_ENABLED flag instead of CONFIG_WIN Change-Id: I1559d67f005c4cba2472970ea3bd49826c16a047
This commit is contained in:
@@ -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_get_pdev_for_mac_id(struct dp_soc *soc, uint32_t mac_id);
|
||||||
void dp_set_michael_key(struct cdp_peer *peer_handle,
|
void dp_set_michael_key(struct cdp_peer *peer_handle,
|
||||||
bool is_unicast, uint32_t *key);
|
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,
|
uint32_t dp_pdev_tid_stats_display(void *pdev_handle,
|
||||||
enum _ol_ath_param_t param, uint32_t value, void *buff);
|
enum _ol_ath_param_t param, uint32_t value, void *buff);
|
||||||
#endif
|
#endif
|
||||||
@@ -1239,7 +1239,7 @@ static inline void dp_srng_access_end(struct dp_intr *int_ctx,
|
|||||||
}
|
}
|
||||||
#endif /* WLAN_FEATURE_DP_EVENT_HISTORY */
|
#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
|
* dp_pdev_print_delay_stats(): Print pdev level delay stats
|
||||||
* @pdev: DP_PDEV handle
|
* @pdev: DP_PDEV handle
|
||||||
|
@@ -8657,7 +8657,7 @@ static uint32_t dp_get_cfg(void *soc, enum cdp_dp_cfg cfg)
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_WIN
|
#ifdef PEER_FLOW_CONTROL
|
||||||
/**
|
/**
|
||||||
* dp_tx_flow_ctrl_configure_pdev() - Configure flow control params
|
* dp_tx_flow_ctrl_configure_pdev() - Configure flow control params
|
||||||
* @pdev_hdl: datapath pdev handle
|
* @pdev_hdl: datapath pdev handle
|
||||||
@@ -8685,6 +8685,7 @@ static uint32_t dp_tx_flow_ctrl_configure_pdev(void *pdev_handle,
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
switch (param) {
|
switch (param) {
|
||||||
|
#ifdef QCA_ENH_V3_STATS_SUPPORT
|
||||||
case OL_ATH_PARAM_VIDEO_DELAY_STATS_FC:
|
case OL_ATH_PARAM_VIDEO_DELAY_STATS_FC:
|
||||||
if (value)
|
if (value)
|
||||||
pdev->delay_stats_flag = true;
|
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");
|
qdf_print("------ Delay Stats ------\n");
|
||||||
dp_pdev_print_delay_stats(pdev);
|
dp_pdev_print_delay_stats(pdev);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case OL_ATH_PARAM_TOTAL_Q_SIZE:
|
case OL_ATH_PARAM_TOTAL_Q_SIZE:
|
||||||
{
|
{
|
||||||
uint32_t tx_min, tx_max;
|
uint32_t tx_min, tx_max;
|
||||||
|
@@ -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] = {
|
const char *fw_to_hw_delay_bucket[CDP_DELAY_BUCKET_MAX + 1] = {
|
||||||
"0 to 10 ms", "11 to 20 ms",
|
"0 to 10 ms", "11 to 20 ms",
|
||||||
"21 to 30 ms", "31 to 40 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;
|
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
|
* dp_vow_str_fw_to_hw_delay() - Return string for a delay
|
||||||
* @index: Index of delay
|
* @index: Index of delay
|
||||||
|
Reference in New Issue
Block a user