qcacld-3.0: Modify cds_trigger_recovery as per modified QDF framework
The QDF framework for triggering self recovery is undergoing changes to include support for multiple psoc driver. As the MCL host is still multiple psoc agnostic, create dummy wrappers over the cds_trigger_recovery so as to maintain compatibility with modified qdf_trigger_self_recovery Change-Id: I42163879c3e786a2b9ab2f9f5785be5531754e77 CRs-Fixed: 2617709
This commit is contained in:
@@ -816,7 +816,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
||||
pmo_tgt_psoc_get_host_credits(psoc),
|
||||
pmo_tgt_psoc_get_pending_cmnds(psoc));
|
||||
pmo_tgt_update_target_suspend_flag(psoc, false);
|
||||
qdf_trigger_self_recovery(QDF_SUSPEND_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_SUSPEND_TIMEOUT);
|
||||
goto out;
|
||||
}
|
||||
|
||||
@@ -834,7 +834,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
||||
pmo_err("No Credits after HTC ACK:%d, pending_cmds:%d,"
|
||||
"cannot resume back", host_credits, wmi_pending_cmds);
|
||||
htc_dump_counter_info(pmo_core_psoc_get_htc_handle(psoc));
|
||||
qdf_trigger_self_recovery(QDF_SUSPEND_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_SUSPEND_TIMEOUT);
|
||||
}
|
||||
pmo_debug("WOW enabled successfully in fw: credits:%d pending_cmds: %d",
|
||||
host_credits, wmi_pending_cmds);
|
||||
@@ -871,7 +871,7 @@ QDF_STATUS pmo_core_psoc_suspend_target(struct wlan_objmgr_psoc *psoc,
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
pmo_err("Failed to get ACK from firmware for pdev suspend");
|
||||
pmo_tgt_update_target_suspend_flag(psoc, false);
|
||||
qdf_trigger_self_recovery(QDF_SUSPEND_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_SUSPEND_TIMEOUT);
|
||||
}
|
||||
|
||||
out:
|
||||
@@ -1136,7 +1136,7 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
fail:
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
qdf_trigger_self_recovery(QDF_RESUME_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_RESUME_TIMEOUT);
|
||||
|
||||
dec_psoc_ref:
|
||||
pmo_psoc_put_ref(psoc);
|
||||
@@ -1182,7 +1182,7 @@ QDF_STATUS pmo_core_psoc_send_host_wakeup_ind_to_fw(
|
||||
pmo_err("Pending commands %d credits %d",
|
||||
pmo_tgt_psoc_get_pending_cmnds(psoc),
|
||||
pmo_tgt_psoc_get_host_credits(psoc));
|
||||
qdf_trigger_self_recovery(QDF_RESUME_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_RESUME_TIMEOUT);
|
||||
} else {
|
||||
pmo_debug("Host wakeup received");
|
||||
}
|
||||
@@ -1254,7 +1254,7 @@ QDF_STATUS pmo_core_psoc_resume_target(struct wlan_objmgr_psoc *psoc,
|
||||
pmo_fatal("Pending commands %d credits %d",
|
||||
pmo_tgt_psoc_get_pending_cmnds(psoc),
|
||||
pmo_tgt_psoc_get_host_credits(psoc));
|
||||
qdf_trigger_self_recovery(QDF_RESUME_TIMEOUT);
|
||||
qdf_trigger_self_recovery(psoc, QDF_RESUME_TIMEOUT);
|
||||
} else {
|
||||
pmo_debug("Host wakeup received");
|
||||
}
|
||||
|
Reference in New Issue
Block a user