|
@@ -929,13 +929,14 @@ QDF_STATUS pmo_core_psoc_bus_suspend_req(struct wlan_objmgr_psoc *psoc,
|
|
|
wow_mode_selected = pmo_core_is_wow_enabled(psoc_ctx);
|
|
|
pmo_debug("wow mode selected %d", wow_mode_selected);
|
|
|
|
|
|
- begin = qdf_get_system_timestamp();
|
|
|
+ begin = qdf_get_log_timestamp_usecs();
|
|
|
if (wow_mode_selected)
|
|
|
status = pmo_core_enable_wow_in_fw(psoc, psoc_ctx, wow_params);
|
|
|
else
|
|
|
status = pmo_core_psoc_suspend_target(psoc, 0);
|
|
|
- end = qdf_get_system_timestamp();
|
|
|
- pmo_debug("fw took total time %lu ms to enable wow", end - begin);
|
|
|
+ end = qdf_get_log_timestamp_usecs();
|
|
|
+ pmo_debug("fw took total time %lu microseconds to enable wow",
|
|
|
+ end - begin);
|
|
|
|
|
|
pmo_psoc_put_ref(psoc);
|
|
|
out:
|
|
@@ -1021,10 +1022,10 @@ QDF_STATUS pmo_core_psoc_bus_runtime_suspend(struct wlan_objmgr_psoc *psoc,
|
|
|
}
|
|
|
|
|
|
if (pld_cb) {
|
|
|
- begin = qdf_get_system_timestamp();
|
|
|
+ begin = qdf_get_log_timestamp_usecs();
|
|
|
ret = pld_cb();
|
|
|
- end = qdf_get_system_timestamp();
|
|
|
- pmo_debug("runtime pci bus suspend took total time %lu ms",
|
|
|
+ end = qdf_get_log_timestamp_usecs();
|
|
|
+ pmo_debug("runtime pci bus suspend took total time %lu microseconds",
|
|
|
end - begin);
|
|
|
|
|
|
if (ret) {
|
|
@@ -1108,10 +1109,11 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc,
|
|
|
|
|
|
hif_pre_runtime_resume(hif_ctx);
|
|
|
if (pld_cb) {
|
|
|
- begin = qdf_get_system_timestamp();
|
|
|
+ begin = qdf_get_log_timestamp_usecs();
|
|
|
ret = pld_cb();
|
|
|
- end = qdf_get_system_timestamp();
|
|
|
- pmo_debug("pci bus resume took total time %lu ms", end - begin);
|
|
|
+ end = qdf_get_log_timestamp_usecs();
|
|
|
+ pmo_debug("pci bus resume took total time %lu microseconds",
|
|
|
+ end - begin);
|
|
|
if (ret) {
|
|
|
status = QDF_STATUS_E_FAILURE;
|
|
|
goto fail;
|
|
@@ -1312,13 +1314,14 @@ QDF_STATUS pmo_core_psoc_bus_resume_req(struct wlan_objmgr_psoc *psoc,
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
- begin = qdf_get_system_timestamp();
|
|
|
+ begin = qdf_get_log_timestamp_usecs();
|
|
|
if (wow_mode)
|
|
|
status = pmo_core_psoc_disable_wow_in_fw(psoc, psoc_ctx);
|
|
|
else
|
|
|
status = pmo_core_psoc_resume_target(psoc, psoc_ctx);
|
|
|
- end = qdf_get_system_timestamp();
|
|
|
- pmo_debug("fw took total time %lu ms to disable wow", end - begin);
|
|
|
+ end = qdf_get_log_timestamp_usecs();
|
|
|
+ pmo_debug("fw took total time %lu microseconds to disable wow",
|
|
|
+ end - begin);
|
|
|
|
|
|
pmo_psoc_put_ref(psoc);
|
|
|
|