[PATCH ath-next v2 0/2] wifi: ath12k: accept what newer QCN9274 firmware requests at boot
From: Goran Sustek
Date: Mon Nov 02 2026 - 16:13:07 EST
With QCN9274 firmware WLAN.WBE.1.6-01243 (the newest in
ath12k-firmware) the driver logs three warnings at every boot:
ath12k_wifi7_pci 0000:06:00.0: memory type 10 not supported
ath12k_wifi7_pci 0000:06:00.0: Invalid module id 2
ath12k_wifi7_pci 0000:06:00.0: failed to parse tlv -22
The firmware requests the AFC memory region (QMI memory type 10) and
advertises direct buffer rings for modules 2 (CV upload) and 3 (Wi-Fi
radar), all defined in Qualcomm's interface headers but not known to
the driver.
Patch 1 answers the AFC region request with size 0, so that the
firmware sees no AFC region instead of one at bus address 0. Patch 2
makes the DMA ring capability parser skip unknown module IDs instead
of aborting the event, and stores the accepted entries contiguously.
Tested on two QCN9274 hw2.0 PCI boards (AP MLD on 5 + 6 GHz, and on
5 + 2.4 GHz) with the series on top of v7.3.1: all three warnings are
gone, the firmware reaches firmware ready, all links come up and serve
clients, and there is no firmware crash, call trace or IOMMU fault.
Changes in v2:
- Patch 1: do not allocate the AFC region, because ath12k does not
support AFC. Answer the request with size 0 instead, and log at
debug level. New subject. (Rameshkumar Sundaram)
- Dropped v1 patch 3 ("name direct buffer ring modules 2 and 3").
ath12k has no user for these rings, and patch 2 alone removes the
warnings (tested on both boards). The firmware uses such a ring only
after the host configures it, so a host that does not implement the
feature loses nothing by skipping the entry.
- Patch 2: commit message reworded and code comment corrected; credit
Nazar's earlier version and Jeff's suggestion from its review.
- Rebased on ath-next a3ddbb457687.
v1: https://lore.kernel.org/r/20261030220824.915760-1-gsustek@xxxxxxxxx
Goran Sustek (2):
wifi: ath12k: report no AFC memory region to firmware
wifi: ath12k: skip unknown direct buffer ring module IDs
drivers/net/wireless/ath/ath12k/qmi.c | 12 ++++++++
drivers/net/wireless/ath/ath12k/qmi.h | 1 +
drivers/net/wireless/ath/ath12k/wmi.c | 43 +++++++++++++++++----------
3 files changed, 41 insertions(+), 15 deletions(-)
base-commit: a3ddbb45768717b5c9f923489387cf55c838d1ad
--
2.56.0