Browse Source

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
Alan Chen 5 years ago
parent
commit
166fc8d73d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/host_diag_log/inc/host_diag_core_event.h

+ 2 - 0
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 */