qcacld-3.0: Optimize WoW Wakelock usage in Runtime PM
propagation from qcacld-2.0 to qcacld-3.0. FW sends NACK for WOW command to indicate Host to abort on going suspend. Host prevents suspend by holding a wakelock for 1sec. The wakelock prevents APPS supsend, but doesn't have impact on Runtime PM. Hence Skip Holding Wakelock when NACK is recieved in Runtime PM. And Log the runtime stats when link resume fails. Change-Id: I6d9385565c6d06a082e226d5211c733d124bd3a7 CRs-Fixed: 1053252
This commit is contained in:

committed by
qcabuildsw

orang tua
78ff65a8c6
melakukan
498a0cd665
@@ -6654,7 +6654,7 @@ void wma_target_suspend_acknowledge(void *context, bool wow_nack)
|
||||
|
||||
wma->wow_nack = wow_nack;
|
||||
qdf_event_set(&wma->target_suspend);
|
||||
if (wow_nack) {
|
||||
if (wow_nack && !wmi_get_runtime_pm_inprogress(wma->wmi_handle)) {
|
||||
cds_host_diag_log_work(&wma->wow_wake_lock,
|
||||
WMA_WAKE_LOCK_TIMEOUT,
|
||||
WIFI_POWER_EVENT_WAKELOCK_WOW);
|
||||
|
Reference in New Issue
Block a user