From 166fc8d73d931a557cb2296237f445f1a0e0b69a Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Mon, 15 Jul 2019 16:57:41 -0700 Subject: [PATCH] qcacmn: Add new reason code for idles restart wakelock Idle restart needs to prevent system suspend and hence, add new reason code for idle restart. Change-Id: I15f7be551f00bd910a61080c087a8f85dd2fe7da CRs-Fixed: 2490992 --- utils/host_diag_log/inc/host_diag_core_event.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/host_diag_log/inc/host_diag_core_event.h b/utils/host_diag_log/inc/host_diag_core_event.h index fdb741a3a7..b07365dfd3 100644 --- a/utils/host_diag_log/inc/host_diag_core_event.h +++ b/utils/host_diag_log/inc/host_diag_core_event.h @@ -895,6 +895,7 @@ enum wifi_connectivity_events { * @WIFI_POWER_EVENT_WAKELOCK_CONNECT: connection in progress * @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running * @WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE: Montitor mode wakelock + * @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART: Wakelock for Idle Restart * * Indicates the reason for which the wakelock was taken/released */ @@ -921,6 +922,7 @@ enum wake_lock_reason { WIFI_POWER_EVENT_WAKELOCK_CONNECT, WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER, WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE, + WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART, }; /* The length of interface name should >= IFNAMSIZ */