From 33608d1e948d4564126f7de72f3fe39a0b620d3a Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Tue, 28 Nov 2017 20:26:30 +0530 Subject: [PATCH] qcacmn: Add a wakelock reason for monitor mode Add a wakelock reason for device entering monitor mode. Change-Id: I27ba2d43fd7b84bc1ae7e6046ab635065872b2d2 CRs-Fixed: 2150162 --- 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 c5ea694d7585..d85f716acdc1 100644 --- a/utils/host_diag_log/inc/host_diag_core_event.h +++ b/utils/host_diag_log/inc/host_diag_core_event.h @@ -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