qcacld-3.0: Allow WoW mode for qca6490 without extra checks
Do not fall back to pdev suspend for qca6490 when it's configured to wow mode. Change-Id: Iefa0c6c725547068d3663408d4dd80e19e05811f CRs-Fixed: 3515263
这个提交包含在:
@@ -44,6 +44,8 @@
|
|||||||
#include "cdp_txrx_bus.h"
|
#include "cdp_txrx_bus.h"
|
||||||
#include "wlan_pmo_ucfg_api.h"
|
#include "wlan_pmo_ucfg_api.h"
|
||||||
#include "hif.h"
|
#include "hif.h"
|
||||||
|
#include "target_type.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pmo_core_get_vdev_dtim_period() - Get vdev dtim period
|
* pmo_core_get_vdev_dtim_period() - Get vdev dtim period
|
||||||
* @vdev: objmgr vdev handle
|
* @vdev: objmgr vdev handle
|
||||||
@@ -492,15 +494,25 @@ static QDF_STATUS pmo_core_psoc_configure_suspend(struct wlan_objmgr_psoc *psoc,
|
|||||||
bool is_runtime_pm)
|
bool is_runtime_pm)
|
||||||
{
|
{
|
||||||
struct pmo_psoc_priv_obj *psoc_ctx;
|
struct pmo_psoc_priv_obj *psoc_ctx;
|
||||||
|
struct hif_target_info *tgt_info;
|
||||||
|
struct hif_opaque_softc *hif_ctx;
|
||||||
|
|
||||||
psoc_ctx = pmo_psoc_get_priv(psoc);
|
psoc_ctx = pmo_psoc_get_priv(psoc);
|
||||||
|
|
||||||
if (is_runtime_pm)
|
if (is_runtime_pm)
|
||||||
pmo_core_enable_runtime_pm_offloads(psoc);
|
pmo_core_enable_runtime_pm_offloads(psoc);
|
||||||
|
|
||||||
|
hif_ctx = pmo_core_psoc_get_hif_handle(psoc);
|
||||||
|
if (!hif_ctx) {
|
||||||
|
pmo_err("Invalid hif ctx");
|
||||||
|
return QDF_STATUS_E_NULL_VALUE;
|
||||||
|
}
|
||||||
|
tgt_info = hif_get_target_info_handle(hif_ctx);
|
||||||
|
|
||||||
if ((is_runtime_pm) ||
|
if ((is_runtime_pm) ||
|
||||||
(psoc_ctx->psoc_cfg.suspend_mode == PMO_SUSPEND_WOW &&
|
(psoc_ctx->psoc_cfg.suspend_mode == PMO_SUSPEND_WOW &&
|
||||||
pmo_core_is_wow_applicable(psoc))) {
|
((tgt_info->target_type == TARGET_TYPE_QCA6490) ||
|
||||||
|
pmo_core_is_wow_applicable(psoc)))) {
|
||||||
pmo_debug("WOW Suspend");
|
pmo_debug("WOW Suspend");
|
||||||
pmo_core_apply_lphb(psoc);
|
pmo_core_apply_lphb(psoc);
|
||||||
/*
|
/*
|
||||||
|
在新工单中引用
屏蔽一个用户