qcacmn: FISA suspend/resume code movement
Move the suspend/resume related handling for FISA out of cmn DP. Change-Id: I96aad736023a5d749b892a64b84827aab11ccdca CRs-Fixed: 3512035
这个提交包含在:
@@ -3334,32 +3334,13 @@ dp_rx_target_fst_config(struct dp_soc *soc)
|
||||
}
|
||||
return status;
|
||||
}
|
||||
#else /* !WLAN_SUPPORT_RX_FISA */
|
||||
#else
|
||||
static inline QDF_STATUS dp_rx_target_fst_config(struct dp_soc *soc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WLAN_SUPPORT_RX_FISA
|
||||
static QDF_STATUS dp_rx_dump_fisa_stats(struct dp_soc *soc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static void dp_rx_dump_fisa_table(struct dp_soc *soc)
|
||||
{
|
||||
}
|
||||
|
||||
static void dp_suspend_fse_cache_flush(struct dp_soc *soc)
|
||||
{
|
||||
}
|
||||
|
||||
static void dp_resume_fse_cache_flush(struct dp_soc *soc)
|
||||
{
|
||||
}
|
||||
#endif /* !WLAN_SUPPORT_RX_FISA */
|
||||
|
||||
#ifndef WLAN_DP_FEATURE_SW_LATENCY_MGR
|
||||
static inline QDF_STATUS dp_print_swlm_stats(struct dp_soc *soc)
|
||||
{
|
||||
@@ -11536,8 +11517,6 @@ static QDF_STATUS dp_runtime_suspend(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||
if (soc->intr_mode == DP_INTR_POLL)
|
||||
qdf_timer_stop(&soc->int_timer);
|
||||
|
||||
dp_rx_fst_update_pm_suspend_status(soc, true);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -11573,8 +11552,6 @@ static QDF_STATUS dp_runtime_resume(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||
soc->arch_ops.dp_update_ring_hptp(soc, false);
|
||||
qdf_atomic_set(&soc->tx_pending_rtpm, 0);
|
||||
|
||||
dp_rx_fst_update_pm_suspend_status(soc, false);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif /* FEATURE_RUNTIME_PM */
|
||||
@@ -12064,9 +12041,6 @@ static QDF_STATUS dp_bus_suspend(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||
/* Stop monitor reap timer and reap any pending frames in ring */
|
||||
dp_monitor_reap_timer_suspend(soc);
|
||||
|
||||
dp_suspend_fse_cache_flush(soc);
|
||||
dp_rx_fst_update_pm_suspend_status(soc, true);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -12086,14 +12060,8 @@ static QDF_STATUS dp_bus_resume(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||
/* Start monitor reap timer */
|
||||
dp_monitor_reap_timer_start(soc, CDP_MON_REAP_SOURCE_ANY);
|
||||
|
||||
dp_resume_fse_cache_flush(soc);
|
||||
|
||||
soc->arch_ops.dp_update_ring_hptp(soc, false);
|
||||
|
||||
dp_rx_fst_update_pm_suspend_status(soc, false);
|
||||
|
||||
dp_rx_fst_requeue_wq(soc);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户