From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8D3E42A82 for ; Mon, 4 May 2026 04:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777870104; cv=none; b=A9A8jwLLjy5gOXOCcaqBk7W0WhfHiBOkgUnQtXeZHtlKr0Q7KZ6FzUX3jHoEjDJeeRnLyXHnbX7doxOmDmmAttvAJHK/vpsSSbDPmyL1zWNKMzr3nWtEQDLaZ4Zd1JJ7LF2NjxcoLY9p/1R+pBQ5KRrEDzvimsheXpUltPuUumg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777870104; c=relaxed/simple; bh=s3WhqhXjuZ+LPwclF/jOAVr+w5A3pvBA9bFElK3EFSA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RwcVErNueae0ci0StkFQTQ6OFPOjWxXvZ8gZs2HylIhEV2gx7JZiL4leWyw1C6daUu7cHATHEwTtiPbmXog5/qYn7GKFfjCmwq96w8Atk7lbxriO86ff6cnQKDTFS11SS6r5y2MXCwNOLspStyNtm2uTl+3ek2yZvFK7rfSDQkI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mpkVXXWA; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mpkVXXWA" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4891e5b9c1fso32561485e9.2 for ; Sun, 03 May 2026 21:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777870101; x=1778474901; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DpE3liCiVco3QsgqxX7JGIWO38lwctbvubdKkyGwciQ=; b=mpkVXXWAt8TgLXON+jLBa4wmFhgvh13M/Qll7X/xSEag8nxzGFlyt7H+lBtdNub8nt I2bQ/boikyQG9hiWiUnNYt1OPsjciqTPNnxQ45aNexPFOxlkwqFpNhK/6rZqhL0pNj7L I+kUOXjiwp2ynN1pd4D+YIPgnoewu/jyRxrDgCFFwRWZ073D5BHr2Rtk0DSZ7iTzuGah dKo2SbHjusfDNnsbfWoSX8ZVFaARrTMCLOe7SMuT4uUzOZfoIjniezlzQlYgfxh7G2cJ fJj1/k6f8brFDitf4+XTW373bYGqJW77FWA/KRLM2ncZHfQwVeKabXILCdk83OMYJw0W cnKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777870101; x=1778474901; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DpE3liCiVco3QsgqxX7JGIWO38lwctbvubdKkyGwciQ=; b=ML02xwFlI5KIN8tz/XkYUGcq2jfrox83HLm6aT4WxOYNFTECj7+gxz/YUTGTZZ7Qbz fOzrG076pdrn9KaxkNTfWnrelavyq1m+5XZzeXQkKB6NlaIQ+Hw1Zj01YVUdXM+F47Xd zizA6pYGjiz+d2P8KZsoH1sp4lWC/ZWl0mdGHp3qK10jd4WUrnTJn87tpxS8Sgrivbgr jOPN45wryC+aug1DNGTrmTj05hD/DXL2gPLeFPlh4rbZf4/JmGam/4X2pN8RGh1TzIeg Wxzrdf8o6drqOudSnBgMaTzHr2fBchaPApLhUPsrfcbfAfCCKg5viik0GYiM05WXRdlr lajw== X-Forwarded-Encrypted: i=1; AFNElJ9dco1OW5nk7DMMG+uZjn3nLIpuYpPpB7YhYpmYsyxFSm0c/j8qHtOFWpM4NTk5Qo5oixXB+Pfy7Xm2SlI=@vger.kernel.org X-Gm-Message-State: AOJu0YwE+MejMeuEIo8jePwN/gNOrY5NhkSTuaI7GOe+nv74OpyPbogM WvcLTLZS3OOFUyq3VgtKWu51N8K9MNQmCEbJ9BkJ2O89ihtVqaadGfLk X-Gm-Gg: AeBDievTw6B8+oSLZ4MLlNwDY60ktt1YLXN7QycHiuF4nZrr+tZzN9+ZJ3Jjzw4U/uR nHYcTKtK/W/6Jd/qFpXWTLJlJRx4cJ3ZWjlNK5mW4kEb59zwUqC4gIJQ1YlwTWGQ69wF9wtjDyf 9BRqOYjBw2Sp/8l5WYyyHHheSxW18RQnnwkps/A4MQCdiztnvy3naN3Cqit28gjUMidHaJPOW+2 xDq/YyIP22+6Q3nFIB40ij7LmZekmIvHmTkRsj7DHza5oujA1RE6GoRNsKY2FFobO/wvA8RhaM0 XzXkj+frqFn+JNz7RXZEEGHPP6Mjtd+U2GkhJ45qOd4dLKqRE/piWXNi/2ssRc/R4NjJ5s4NZKz PdOAmBqmBcR8KhEuzgz0YBVMPnQqbDypj0cORP5UfT1tuvIlSgNmPUl10iMS5w2M5Jsa3HpLIg/ tc0YW/uTP8GHugmjqeJVm61TQ/WfStm3DQ/AkkgbN/I2YqUz6wXA0Zhptinw== X-Received: by 2002:a05:600d:84ca:20b0:48d:35e:849d with SMTP id 5b1f17b1804b1-48d035e84femr40379005e9.6.1777870101062; Sun, 03 May 2026 21:48:21 -0700 (PDT) Received: from localhost ([102.128.173.0]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48a82307f28sm500620095e9.13.2026.05.03.21.48.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2026 21:48:20 -0700 (PDT) From: Louis Kotze To: Ping-Ke Shih Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Louis Kotze Subject: [PATCH 0/4] wifi: rtw89: advertise WFA-certified EHT capabilities for 8922a Date: Mon, 4 May 2026 06:48:13 +0200 Message-ID: X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This series advances rtw89 EHT capability advertisement to match what Realtek's own RTL8922AE silicon is certified for by the Wi-Fi Alliance in WFA Cert WFA129313 (RTL8922AE 802.11be and Bluetooth combo module, 2024-05-23, FW 6102.24.109.0, https://api.cert.wi-fi.org/api/certificate/download/public?variantId=129706). The cert lists EMLSR, STR, Multi-RU, MCS 8-13, DL/UL MU-MIMO, UL OFDMA, SU-MIMO, beamforming sounding, multi-link reconfiguration, advertised TID-to-link mapping, BSS critical update, A-MPDU with A-MSDU, LDPC, operating mode indication, EPCS priority access, and several other features as certified for this chip. The driver currently advertises some of these and hard-zeroes others. This series fills the gap for four cap surfaces: Patch 1/4: EML Capabilities (EMLSR_SUPP + padding/transition delays) plus Restricted TWT (EHT MAC Cap0). EMLSR is explicitly listed in the WFA cert. R-TWT is silicon-supported per the chip's documented EHT MAC capabilities. Patch 2/4: Multi-RU OFDMA receive cap (CAP5_RX_LESS_242_TONE_RU_SUPP). Multi-RU is verbatim in the WFA cert. Patch 3/4: MLD operation caps — TID-to-link mapping (SAME) + Link Reconfiguration support. Both verbatim in the WFA cert. Uses FIELD_PREP_CONST() (already used in this driver at usb.c:784-787) and matches the bit pattern Intel uses for its Wi-Fi 7 STAs (IWL_MVM_MLD_CAPA_OPS in iwlwifi/mvm/mac80211.c). MAX_SIMUL_LINKS is left at 0 (= 1 max simul link) consistent with the EMLSR-only operating mode the driver implements. Patch 4/4: EHT OM Control (MAC Cap0). "Operating mode indication" is verbatim in the WFA cert; mt7925 + iwlwifi mvm + hwsim precedent. Industry context: this series advances rtw89 along the same axis every in-tree Linux WiFi 7 driver currently occupies — MLSR/EMLSR fast-switch on a single physical radio. True STR multi-radio aggregation is not implemented by any in-tree driver as of v6.15+ (iwlwifi, mt7925, ath12k, rtw89). The only known shipping consumer STR adapter on any OS is the Ubiquiti UniFi AirWire (closed firmware, UniFi-AP-only). This series does not attempt STR; it brings rtw89 EMLSR negotiation in line with the other three drivers. Testing: applied as a stack to the morrownr/rtw89 OOT clone on Linux 6.19.11 (Bazzite F44) running RTL8922AU USB; tested against TP-Link Deco BE63 mesh (5-node) for 48h+ continuous association. Verified caps appear in `iw phy` output (Restricted TWT, OM Control, "Rx 1024-QAM And 4096-QAM < 242-tone RU"). active_links = 0x4 confirms expected EMLSR mode. wifi-health-check sweep (11 checks: wpa override, rpm-ostree state, rtw89 build, SELinux, NM dispatchers, regdomain, link state, SELinux AVC rate, MLO link count) passes 11/11 throughout the soak. A/B comparison patched vs unpatched, 3-NIC concurrent reverse-mode iperf3, 5 reps patched + 3 reps unpatched per SSID, signal -10 to -25 dBm: no measurable throughput delta (MLO patched mean 1128 Mbps vs unpatched mean 1174 Mbps; 6 GHz patched mean 1099 Mbps vs unpatched mean 1169 Mbps; deltas well within ±5% noise floor and dominated by per-test MCS variation, not patch state). The patches enable correct cap advertisement matching what RTL8922A silicon supports per the WFA cert; they do not aim to deliver throughput improvement in steady-state operation against this AP. Patches are about correctness and standards-compliance, not throughput. Tested only on RTL8922AU (USB variant); rtw89_init_eht_cap() and the iftype-ext-cap struct are shared across the rtw89 chip family. Non-AU variant testing from anyone with rtw89-supported hardware is welcome. Note on EMLMR (EML Cap bit 7): the WFA cert does NOT list EMLMR for this chip. RTL8922A has rf_path_num=2 (single 2T2R RF block shared across bands), and the driver has no EMLMR enum, firmware H2C path, or PHY register block. EMLSR is the architectural ceiling for this silicon; this series does not advertise EMLMR. Note on follow-up: a separate audit identified five further capability fields hard-zeroed in rtw89_init_eht_cap() (EHT A-MPDU exponent, partial-BW DL/UL MU-MIMO, MCS 14-15, sounding dimensions, 1024/4096-QAM wider-BW DL-OFDMA). Some of these are likely silicon ceilings (MCS 14-15 is consistent with the cert topping out at MCS 12-13); others may be driver-only gaps. I plan to send a small ASK email separately covering those questions before any follow-up patch series. Louis Kotze (4): wifi: rtw89: advertise EML Capabilities and Restricted TWT for 8922a wifi: rtw89: advertise Multi-RU OFDMA receive for 8922a per WFA cert wifi: rtw89: advertise MLD TID-to-link mapping and link reconfiguration wifi: rtw89: advertise EHT OM Control for 8922a per WFA cert drivers/net/wireless/realtek/rtw89/core.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) Louis Kotze (4): wifi: rtw89: advertise EML Capabilities and Restricted TWT for 8922a wifi: rtw89: advertise Multi-RU OFDMA receive for 8922a per WFA cert wifi: rtw89: advertise MLD TID-to-link mapping and link reconfiguration wifi: rtw89: advertise EHT OM Control for 8922a per WFA cert drivers/net/wireless/realtek/rtw89/core.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) base-commit: 7baf5857e15d722776898510a10546d6b2f18645 -- 2.54.0