From: Christopher Griffin IPQ6018 firmware WLAN.HK.2.7.0.1-02409, the build in linux-firmware, can stop transmitting for 0.6 to 0.9 s, beacons included, after a Basic trigger frame that asks a station for an uplink the station doesn't send. On an Arista C-200 AP (IPQ6018) on 5 GHz with an Intel BE200 client, air captures showed every gap of 250 ms or more in the AP's transmissions beginning right after such a trigger to the BE200: Basic triggers for 2 spatial streams at HE-MCS 6 that got no answer (the same AP's triggers for one stream were answered and never followed by a gap). During a gap the AP answered none of the client's RTS, BlockAck requests or data frames. Every station of the radio loses the time, and a client that keeps hitting it falls from about 300 to 30-250 Mbit/s. With the radio in VHT mode there were no triggers and no gaps. The driver enables uplink OFDMA, and uplink MU-MIMO when the BSS has full bandwidth UL MU-MIMO, in WMI_VDEV_PARAM_SET_HEMU_MODE for every vdev but a mesh point, and nothing above the driver can turn them off. Leave both off for AP vdevs on IPQ6018, so the firmware schedules no trigger-based uplink there and stations send with EDCA, as with a VHT AP. Station vdevs keep them: they answer triggers, they don't send them. With this change the same AP and client had no triggers and no gaps in three downloads, an upload and two idle minutes, against 43 gaps in 8 minutes with the unchanged driver, and the radio stayed in HE. 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 --- Found on Arista C-200 and W-318 APs (IPQ6018) running OpenWrt with Linux 6.18 and ath11k from backports 7.2, where the same change runs on the C-200. Tested there with the driver loaded from RAM, the unchanged driver first in the same hour, each run captured from a second AP's radio in monitor mode: - unchanged: 2,315 triggers to the client in 8 minutes (111 of them for 2 streams) and 43 transmit gaps of 250 ms or more, 37 right after a Basic trigger; a 60 s download averaged 148 Mbit/s and an idle client still cost a gap every 25 s; - with the change: no triggers and no gap in 6.8 minutes; downloads of 316, 296 and 285 Mbit/s, an upload of 489 Mbit/s (407 before), HE-MCS 9 with 2 streams down. On ath-next the patch is compile-tested only. It touches the end of struct ath11k_hw_params, as does "wifi: ath11k: don't send the probe request OUI to IPQ6018" (sent 2026-11-29); each applies without the other. With the same client, an IPQ8074 AP (WLAN.HK.2.9.0.1-02146) sent it about 3,100 Basic triggers for 2 streams at HE-MCS 9-11 with no gap, and a QCN9074 AP on 6 GHz showed no stall either, which is why the flag is set for IPQ6018 only. Questions for Qualcomm: is the stall after an unanswered trigger known, and is it fixed in a later IPQ6018 build? A limit on the spatial streams a trigger asks for, or a fix in the firmware, would cost less than turning uplink OFDMA off; if one comes, the flag can go. --- drivers/net/wireless/ath/ath11k/core.c | 1 + drivers/net/wireless/ath/ath11k/hw.h | 4 ++++ drivers/net/wireless/ath/ath11k/mac.c | 11 ++++++++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c index 766ae27306f43..3ffeb2e2ecb31 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, + .ap_ul_mu_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..88aabfa748f88 100644 --- a/drivers/net/wireless/ath/ath11k/hw.h +++ b/drivers/net/wireless/ath/ath11k/hw.h @@ -231,6 +231,10 @@ struct ath11k_hw_params { bool cfr_support; u32 cfr_num_stream_bufs; u32 cfr_stream_buf_size; + /* the firmware can stop transmitting after an uplink trigger that a + * station leaves unanswered: no uplink OFDMA or MU-MIMO on an AP + */ + bool ap_ul_mu_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..c7f85030b6601 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -3015,10 +3015,15 @@ static bool ath11k_mac_set_he_txbf_conf(struct ath11k_vif *arvif) } if (arvif->vif->type != NL80211_IFTYPE_MESH_POINT) { - value |= FIELD_PREP(HE_MODE_DL_OFDMA, HE_DL_MUOFDMA_ENABLE) | - FIELD_PREP(HE_MODE_UL_OFDMA, HE_UL_MUOFDMA_ENABLE); + bool ul_mu = arvif->vdev_type != WMI_VDEV_TYPE_AP || + !ar->ab->hw_params.ap_ul_mu_broken; - if (arvif->vif->bss_conf.he_full_ul_mumimo) + value |= FIELD_PREP(HE_MODE_DL_OFDMA, HE_DL_MUOFDMA_ENABLE); + + if (ul_mu) + value |= FIELD_PREP(HE_MODE_UL_OFDMA, HE_UL_MUOFDMA_ENABLE); + + if (ul_mu && arvif->vif->bss_conf.he_full_ul_mumimo) value |= FIELD_PREP(HE_MODE_UL_MUMIMO, HE_UL_MUMIMO_ENABLE); if (arvif->vif->bss_conf.he_su_beamformee) --- base-commit: 68963d5cbe90d8d8a1d96b298ac86774267fa89c change-id: 20261203-ath11k-ipq6018-ap-ul-mu-0925a810948d Best regards, -- Christopher Griffin