[PATCH v2 0/2] wifi: ath10k: Fix WoW wakeups on WCN3990

From: Michael Auer

Date: Sat Nov 21 2026 - 09:01:55 EST


With WoWLAN enabled, WCN3990 firmware wakes the host on action frames
right after every WoW entry, so the system hardly stays suspended. And
when the firmware does wake the host for a real reason, user space
cannot see that it was a network wakeup.

Patch 1 sets the action frame wakeup filter that Qualcomm's own host
drivers set. Patch 2 reports WoW wakeups to the PM core.

Both are in daily use on a OnePlus 6 (sdm845) since late September,
with an sdm845-mainline 7.1-rc1 based kernel. On ath-next they were
only build tested (W=1). I could not test QCA6174 or QCA9377.
qcacld-2.0, the vendor driver for QCA6174, sends the same command, so
I expect their firmware to know it.

Tool use: the analysis, the code and the commit messages were
written with an LLM coding assistant (Claude Code). I reviewed all
of it and tested it on my phone as described above.

Changes in v2:
- Patch 2: report the wakeup before completing wow.wakeup_completed,
so the system resume cannot finish before the report (found by the
sashiko review of v1). Tested again on the OnePlus 6.
- Patch 1: unchanged.

v1: https://lore.kernel.org/linux-wireless/20261120202652.344435-1-mick@xxxxxxxx/

Michael Auer (2):
wifi: ath10k: configure the WoW action frame wakeup filter
wifi: ath10k: report WoW wakeups to the PM core

drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++++++++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 47 +++++++++++++++++++++++
drivers/net/wireless/ath/ath10k/wmi-tlv.h | 32 +++++++++++++++
drivers/net/wireless/ath/ath10k/wmi.c | 17 +++++---
drivers/net/wireless/ath/ath10k/wmi.h | 23 +++++++++++
drivers/net/wireless/ath/ath10k/wow.c | 10 +++++
6 files changed, 143 insertions(+), 5 deletions(-)


base-commit: 1983b40acfcb3c3464b291c85977290a785bcfdc
--
2.43.0