[PATCH 0/3] soc: qcom: qmi, ath11k, ath12k: take WLFW messages only from the firmware
From: Julius Bairaktaris
Date: Wed Nov 11 2026 - 03:13:15 EST
Any local process can open an AF_QIPCRTR socket, send datagrams to the
port of a kernel QMI client and publish a server through the QRTR name
service. The QMI helpers hand responses and indications to a client's
handlers whatever their sender, and ath11k and ath12k connect to any
WLFW server that a lookup reports, including one on the local node.
Both paths reach the REQUEST_MEM indication handlers, which free the DMA
memory that the running firmware writes into.
Patch 1 makes the QMI helpers take responses and indications only from
the servers a client looked up. Patches 2 and 3 make ath11k and ath12k
ignore WLFW servers on the local node, as the firmware serves WLFW from
its own node. Patch 1 does not depend on 2 and 3, which can go through
the ath tree.
I used Claude (Anthropic) to help write these patches.
Julius Bairaktaris (3):
soc: qcom: qmi: Take responses and indications only from looked-up
servers
wifi: ath11k: ignore WLFW servers on the local node
wifi: ath12k: ignore WLFW servers on the local node
drivers/net/wireless/ath/ath11k/qmi.c | 4 ++++
drivers/net/wireless/ath/ath12k/qmi.c | 4 ++++
drivers/soc/qcom/qmi_interface.c | 18 ++++++++++++++++++
3 files changed, 26 insertions(+)
base-commit: 067c5c24cef23d913b67eaaf71ae67e7169a6620
--
2.53.0