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
This commit is contained in:
@@ -895,6 +895,7 @@ enum wifi_connectivity_events {
|
|||||||
* @WIFI_POWER_EVENT_WAKELOCK_CONNECT: connection in progress
|
* @WIFI_POWER_EVENT_WAKELOCK_CONNECT: connection in progress
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running
|
* @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE: Montitor mode wakelock
|
* @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
|
* 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_CONNECT,
|
||||||
WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER,
|
WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER,
|
||||||
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE,
|
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE,
|
||||||
|
WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The length of interface name should >= IFNAMSIZ */
|
/* The length of interface name should >= IFNAMSIZ */
|
||||||
|
Reference in New Issue
Block a user