qcacld-3.0: Avoid DRV suspend as well if link cannot be suspended
There is no need to do DRV suspend if gPreventLinkDown ini flag is set. PCIe link will be always up. Change-Id: Ie6344514486634e1b6ae3b4a4e416853f8d46e5a CRs-Fixed: 2492053
このコミットが含まれているのは:
@@ -761,11 +761,15 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||||||
psoc_ctx->wow.wow_state = pmo_wow_state_unified_d0;
|
psoc_ctx->wow.wow_state = pmo_wow_state_unified_d0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qdf_is_drv_connected()) {
|
if (htc_can_suspend_link(pmo_core_psoc_get_htc_handle(psoc))) {
|
||||||
pmo_info("drv wow is enabled");
|
if (qdf_is_drv_connected()) {
|
||||||
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
|
pmo_info("drv wow is enabled");
|
||||||
|
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
|
||||||
|
} else {
|
||||||
|
pmo_info("non-drv wow is enabled");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
pmo_info("non-drv wow is enabled");
|
pmo_info("Prevent link down, non-drv wow is enabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
||||||
|
新しいイシューから参照
ユーザーをブロックする