[PATCH ath-next] wifi: ath11k: don't send the probe request OUI to IPQ6018

From: Christopher Griffin via B4 Relay

Date: Sun Nov 29 2026 - 23:54:23 EST


From: Christopher Griffin <christophergriffin05@xxxxxxxxx>

IPQ6018 firmware WLAN.HK.2.7.0.1-02409, the build in linux-firmware,
asserts when an AP vdev is deleted after the chip's other radio was
started while that vdev existed. Every Wi-Fi reload does both, so with
this firmware a reload can take the radios down. The q6 reports a
fatal error in the thread of the radio being torn down, always at
the same PC, and recovery asserts again:

qcom-wcss-secure-pil cd00000.remoteproc: fatal error received:
Thread ID : 0x00000069 Thread name : WLAN RT0 Process ID : 0
PC : 0x4acdd5cc

On an Arista W-318 it asserted at 8 of 11 AP teardowns, with the
board's own board data and with Qualcomm's, and on an Arista C-200 at
the first one.

It does not happen when the driver leaves out the
WMI_SCAN_PROB_REQ_OUI command it sends at every radio start. Without
that command the same firmware went through 17 AP teardowns on the
W-318 with no assert, 11 of them in the condition above, and with this
change 10 each on a W-318 and a C-200, 7 of them in that condition.
WLAN.HK.2.5.0.1-03982 takes the command without trouble.

The command sets the OUI of probe requests sent from a random address,
which only a station's scans use. Don't send it to IPQ6018, and don't
advertise random address scans there.

The change and this message were written with Claude, an AI coding
assistant.

Tested-on: IPQ6018 hw1.0 AHB WLAN.HK.2.7.0.1-02409-QCAHKSWPL_SILICONZ-1
Signed-off-by: Christopher Griffin <christophergriffin05@xxxxxxxxx>
---
Found on Arista W-318 and C-200 APs (IPQ6018) running OpenWrt, when
moving them from WLAN.HK.2.5.0.1-03982 to 2.7.0.1-02409. Tested on
both boards with Linux 6.18 and ath11k from backports 7.2 carrying the
same change; the W-318 and C-200 have run it on 02409 since. On
ath-next the patch is compile-tested only.

A question for Qualcomm: is this assert known, and is it fixed in a
later IPQ6018 build? If it is, the flag can go once linux-firmware
carries that build.
---
drivers/net/wireless/ath/ath11k/core.c | 1 +
drivers/net/wireless/ath/ath11k/hw.h | 2 ++
drivers/net/wireless/ath/ath11k/mac.c | 6 ++++--
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 766ae27306f43..0511b559ea201 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -214,6 +214,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
.cfr_support = false,
.cfr_num_stream_bufs = 0,
.cfr_stream_buf_size = 0,
+ .scan_prob_req_oui_broken = true,
},
{
.name = "qca6390 hw2.0",
diff --git a/drivers/net/wireless/ath/ath11k/hw.h b/drivers/net/wireless/ath/ath11k/hw.h
index 4996536fbd14f..f52b3808b494d 100644
--- a/drivers/net/wireless/ath/ath11k/hw.h
+++ b/drivers/net/wireless/ath/ath11k/hw.h
@@ -231,6 +231,8 @@ struct ath11k_hw_params {
bool cfr_support;
u32 cfr_num_stream_bufs;
u32 cfr_stream_buf_size;
+ /* the firmware mishandles WMI_SCAN_PROB_REQ_OUI: don't send it */
+ bool scan_prob_req_oui_broken;
};

struct ath11k_hw_ops {
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 04acd526a3ab9..2c227a155dab7 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -6671,7 +6671,8 @@ static int ath11k_mac_op_start(struct ieee80211_hw *hw)
goto err;
}

- if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map)) {
+ if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map) &&
+ !ab->hw_params.scan_prob_req_oui_broken) {
ret = ath11k_wmi_scan_prob_req_oui(ar, ar->mac_addr);
if (ret) {
ath11k_err(ab, "failed to set prob req oui: %i\n", ret);
@@ -10568,7 +10569,8 @@ static int __ath11k_mac_register(struct ath11k *ar)

ar->hw->wiphy->max_ap_assoc_sta = ar->max_num_stations;

- if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map)) {
+ if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map) &&
+ !ar->ab->hw_params.scan_prob_req_oui_broken) {
ar->hw->wiphy->features |=
NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
}

---
base-commit: 18d0bedbb5f0538396cb7f763ed9cd1dd69c5b23
change-id: 20261129-b4-ath11k-ipq6018-prob-req-oui-897ec1e83245

Best regards,
--
Christopher Griffin <christophergriffin05@xxxxxxxxx>