qcacmn: Add a wakelock reason for monitor mode

Add a wakelock reason for device entering monitor
mode.

Change-Id: I27ba2d43fd7b84bc1ae7e6046ab635065872b2d2
CRs-Fixed: 2150162
This commit is contained in:
Ashish Kumar Dhanotiya
2017-11-28 20:26:30 +05:30
committed by snandini
parent f1db3f4b21
commit 33608d1e94

View File

@@ -605,6 +605,7 @@ enum wifi_connectivity_events {
* @WIFI_POWER_EVENT_WAKELOCK_DHCP: DHCP negotiation under way
* @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
*
* Indicates the reason for which the wakelock was taken/released
*/
@@ -630,6 +631,7 @@ enum wake_lock_reason {
WIFI_POWER_EVENT_WAKELOCK_DHCP,
WIFI_POWER_EVENT_WAKELOCK_CONNECT,
WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER,
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE,
};
#ifdef __cplusplus