Re: [PATCH v4 0/6] Add MSM8939 SoC support with two devices

From: Bryan O'Donoghue
Date: Mon Jan 23 2023 - 11:29:31 EST


On 23/01/2023 16:21, Konrad Dybcio wrote:
Please change it to VDDMX (without _AO). It will most likely not make
any difference
Wouldn't it make wake-on-wifi-with-cpus-off possible?
(obviously given the wlan chip supports it and can ping
the cpu etc etc)

Konrad

WOWLAN is done via SMD not by raising of an interrupt between WCNSS and APSS directly and we do hit VDD min with AO in 4.19.

So, so counter-intuitively so long as the SMD interrupt is unmasked in suspend - not a specific WCNSS interrupt, we will wake on WLAN.

Its a complete tangent but, the WCNSS firmware has an SMD RPC call called "wake-on-wlan" or somesuch which *would* wake the system via interrupt but, appears to never have been implemented...

Anyway.

---
bod