From: Josef Schlehofer <pepe.schlehofer@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: Zong-Zhe Yang <kevin_yang@realtek.com>, linux-wireless@vger.kernel.org
Subject: [PATCH rtw-next v3 0/3] wifi: rtw89: allow AP mode on 6 GHz
Date: Fri, 4 Dec 2026 16:31:18 +0100 [thread overview]
Message-ID: <20261204153121.55841-1-pepe.schlehofer@gmail.com> (raw)
rtw89 currently refuses to start an AP on 6 GHz. This series adds
support for it. I tested it with a Cudy BE6500 (RTL8922AU) as the
6 GHz AP on a Turris Omnia running OpenWrt.
Patch 1 advertises the HE 6 GHz antenna pattern consistency bits that
hostapd requires by default. Patch 2 gives P2P interfaces the HE and
EHT capabilities of station and AP. Patch 3 reads the AP's 6 GHz power
type from the beacon's HE Operation element, since mac80211 does not
set a power type for AP interfaces. It accepts LPI and VLP at AP start,
and other power types make the start fail.
Changes in v3:
- Patch 3 does the 6 GHz recalc in start_ap right before rfk channel
and returns directly when it fails.
- Patch 3 falls back to the default power type at BSS_CHANGED_BEACON.
rtw89_reg_6ghz_recalc() is the same as before the series.
- Patches 1 and 2 are unchanged.
v2: https://lore.kernel.org/linux-wireless/20261203111123.62650-1-pepe.schlehofer@gmail.com/
v1: https://lore.kernel.org/linux-wireless/20261129120744.88178-1-pepe.schlehofer@gmail.com/
Testing: RTL8922AU with firmware 0.35.80.3, using OpenWrt main's rtw89
driver (backports from 7.2, plus commit a8cddb62c573 ("wifi: rtw89:
check return values in rtw89_ops_start_ap()"), commit 154d3668b645
("wifi: rtw89: set RA init rate level when the station RSSI is known")
and my two 6 GHz fixes from rtw-next). The series also builds on
rtw-next (arm64, W=1).
With v3 I reran the AP tests of v2: start with LPI and VLP, a refused
standard power beacon and a new start after it, power type changes and
a channel switch on a running 6 GHz AP, and the failed-start unwind and
the blocked-VLP fallback with a temporary patch. The P2P GO check with
a phone was done on v2, and patch 2 did not change. The P2P client side
and the reset when an AP leaves 6 GHz are still not tested.
The two questions from the v1 cover letter are still open: the
fallback when policy blocks VLP, and whether the Rx bit could stay set
with Tx path diversity.
Josef Schlehofer (3):
wifi: rtw89: advertise HE 6 GHz antenna pattern consistency
wifi: rtw89: share HE and EHT capabilities with P2P interfaces
wifi: rtw89: allow AP mode on 6 GHz
drivers/net/wireless/realtek/rtw89/core.c | 12 +++-
drivers/net/wireless/realtek/rtw89/mac80211.c | 25 +++++--
drivers/net/wireless/realtek/rtw89/regd.c | 68 ++++++++++++++++++-
3 files changed, 96 insertions(+), 9 deletions(-)
--
2.54.0 (Apple Git-157)
next reply other threads:[~2026-12-04 15:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 15:31 Josef Schlehofer [this message]
2026-12-04 15:31 ` [PATCH rtw-next v3 1/3] wifi: rtw89: advertise HE 6 GHz antenna pattern consistency Josef Schlehofer
2026-12-04 15:31 ` [PATCH rtw-next v3 2/3] wifi: rtw89: share HE and EHT capabilities with P2P interfaces Josef Schlehofer
2026-12-04 15:31 ` [PATCH rtw-next v3 3/3] wifi: rtw89: allow AP mode on 6 GHz Josef Schlehofer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204153121.55841-1-pepe.schlehofer@gmail.com \
--to=pepe.schlehofer@gmail.com \
--cc=kevin_yang@realtek.com \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox