浏览代码

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 年之前
父节点
当前提交
166fc8d73d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 */