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

Skip to content
Commit 667e0236 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

cnss: Record modem power status and notify when wlan is up



FW needs to know modem power status before accessing the
shared gpio. Cnss driver is responsible for subscribing
SSR modem status and informing FW through wlan host driver.
Currently, if cnss driver receives SSR notification
while wlan is off, it discards the message, which causes
asynchrony between FW and modem.
This change is to solve the above problem by recording modem
power status in cnss when wlan is off and sending the most
recent modem power status to wlan as soon as it is turned on.

Change-Id: Ia4ee77364e402d1e6cca9dd62b8b611e9cbb760d
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
CRs-Fixed: 625634
parent 773c2fbd
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