Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f424882 authored by Ke Huang's avatar Ke Huang
Browse files

cnss: dynamic power control when do suspend/resume



In current wlan suspend/resume design, wlan chip only enter suspend/wow
mode but keep wlan chip power always on when device goes to suspend
state.
This design provide a method to control wlan chip power off/on when
device goes to suspend/resume state. Introduce gChangeSleepPowerMode
tunable in INI file to user for this power control:
- 0, do not make wlan chip power off/on when device goes to
     suspend/resume state.
- 1, only turn off/on WLAN_EN but keep WLAN_VDD power on when device
     goes to suspend/resume.
- 2, turn off/on both WLAN_VDD and WLAN_EN when device goes to
     suspend/resume.

CRs-fixed: 2414283
Change-Id: I17d80d4b894cab4cd4a4eadfc00c4213aed1f911
Signed-off-by: default avatarKe Huang <keh@codeaurora.org>
parent 3855ba97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment