diff options
| author | Yue Ma <yuem@codeaurora.org> | 2016-08-31 11:09:23 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-01 16:49:04 -0700 |
| commit | af2c9dab45d27caf267d26b4dc1d7372c09f8b11 (patch) | |
| tree | 9921ee8747e90dbf10023dfd66bfe204ad0bd807 | |
| parent | 0d707f779c665b3a3737a9c1118d5c00c9e38a8b (diff) | |
qcacld-3.0: Remove CONFIG_CNSS flag in WMA
Platform driver flags should be hiden behind PLD layer only. Hence
remove them in WMA layer.
Change-Id: Icee457715bd26e23c489dfefd35999b278ff68c0
CRs-fixed: 1082183
| -rw-r--r-- | core/wma/src/wma_features.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 80c4ab3015b6..2a4b66fbc10f 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -3842,14 +3842,12 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle) int wmi_pending_cmds; struct wow_cmd_params param = {0}; -#ifdef CONFIG_CNSS tpAniSirGlobal pMac = cds_get_context(QDF_MODULE_ID_PE); if (NULL == pMac) { WMA_LOGE("%s: Unable to get PE context", __func__); return QDF_STATUS_E_FAILURE; } -#endif /* CONFIG_CNSS */ qdf_event_reset(&wma->target_suspend); wma->wow_nack = false; @@ -3889,15 +3887,11 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle) wmi_get_pending_cmds(wma->wmi_handle)); wmi_set_target_suspend(wma->wmi_handle, false); if (!cds_is_driver_recovering()) { -#ifdef CONFIG_CNSS if (pMac->sme.enableSelfRecovery) { cds_trigger_recovery(); } else { QDF_BUG(0); } -#else - QDF_BUG(0); -#endif /* CONFIG_CNSS */ } else { WMA_LOGE("%s: LOGP is in progress, ignore!", __func__); } @@ -4594,13 +4588,11 @@ static QDF_STATUS wma_send_host_wakeup_ind_to_fw(tp_wma_handle wma) { QDF_STATUS qdf_status = QDF_STATUS_SUCCESS; int ret; -#ifdef CONFIG_CNSS tpAniSirGlobal pMac = cds_get_context(QDF_MODULE_ID_PE); if (NULL == pMac) { WMA_LOGE("%s: Unable to get PE context", __func__); return QDF_STATUS_E_FAILURE; } -#endif /* CONFIG_CNSS */ qdf_event_reset(&wma->wma_resume_event); @@ -4620,15 +4612,11 @@ static QDF_STATUS wma_send_host_wakeup_ind_to_fw(tp_wma_handle wma) wmi_get_pending_cmds(wma->wmi_handle), wmi_get_host_credits(wma->wmi_handle)); if (!cds_is_driver_recovering()) { -#ifdef CONFIG_CNSS if (pMac->sme.enableSelfRecovery) { cds_trigger_recovery(); } else { QDF_BUG(0); } -#else - QDF_BUG(0); -#endif /* CONFIG_CNSS */ } else { WMA_LOGE("%s: SSR in progress, ignore resume timeout", __func__); @@ -6732,13 +6720,11 @@ QDF_STATUS wma_resume_target(WMA_HANDLE handle) { tp_wma_handle wma = (tp_wma_handle) handle; QDF_STATUS qdf_status = QDF_STATUS_SUCCESS; -#ifdef CONFIG_CNSS tpAniSirGlobal pMac = cds_get_context(QDF_MODULE_ID_PE); if (NULL == pMac) { WMA_LOGE("%s: Unable to get PE context", __func__); return QDF_STATUS_E_INVAL; } -#endif /* CONFIG_CNSS */ qdf_event_reset(&wma->wma_resume_event); qdf_status = wmi_unified_resume_send(wma->wmi_handle, @@ -6755,15 +6741,11 @@ QDF_STATUS wma_resume_target(WMA_HANDLE handle) wmi_get_pending_cmds(wma->wmi_handle), wmi_get_host_credits(wma->wmi_handle)); if (!cds_is_driver_recovering()) { -#ifdef CONFIG_CNSS if (pMac->sme.enableSelfRecovery) { cds_trigger_recovery(); } else { QDF_BUG(0); } -#else - QDF_BUG(0); -#endif /* CONFIG_CNSS */ } else { WMA_LOGE("%s: SSR in progress, ignore resume timeout", __func__); |
