diff options
| author | Mukul Sharma <mukul@codeaurora.org> | 2017-08-21 17:46:46 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappara@codeaurora.org> | 2017-09-07 23:08:34 -0700 |
| commit | 2c8c316aaf3ec3bd03f9b31fcd4d45dba06460ba (patch) | |
| tree | 4fe404c5a8227adea2d0c421123f5d16b25bb732 /core/utils | |
| parent | 3e1a4161ee9711aaf382e615c0d6c0b7cda17400 (diff) | |
qcacld-3.0: Acquire wakelock until change iface timer expires
Currently, when wifi is disabled from UI, and if the device goes
to suspend before the interface change timer expires, then until
the next APPS wakeup wifi remains enabled hence power numbers are
high.
As a part of fix, Host acquire wakelock when it start change
interface timer.
Change-Id: I41662596725315a6cfe185ee23ae889b69938e0b
CRs-Fixed: 2091154
Diffstat (limited to 'core/utils')
| -rw-r--r-- | core/utils/host_diag_log/inc/host_diag_core_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/utils/host_diag_log/inc/host_diag_core_event.h b/core/utils/host_diag_log/inc/host_diag_core_event.h index 08ed1cb829ee..de93dd573b1f 100644 --- a/core/utils/host_diag_log/inc/host_diag_core_event.h +++ b/core/utils/host_diag_log/inc/host_diag_core_event.h @@ -623,6 +623,7 @@ enum wifi_connectivity_events { * @WIFI_POWER_EVENT_WAKELOCK_DHCP: DHCP negotiation under way * @WIFI_POWER_EVENT_WAKELOCK_MGMT_TX: MGMT Tx wake lock * @WIFI_POWER_EVENT_WAKELOCK_CONNECT: connection in progress + * @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running * * Indicates the reason for which the wakelock was taken/released */ @@ -648,6 +649,7 @@ enum wake_lock_reason { WIFI_POWER_EVENT_WAKELOCK_DHCP, WIFI_POWER_EVENT_WAKELOCK_MGMT_TX, WIFI_POWER_EVENT_WAKELOCK_CONNECT, + WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER, }; #ifdef __cplusplus |
