Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH rtw-next v3 0/3] wifi: rtw89: allow AP mode on 6 GHz
@ 2026-12-04 15:31 Josef Schlehofer
  2026-12-04 15:31 ` [PATCH rtw-next v3 1/3] wifi: rtw89: advertise HE 6 GHz antenna pattern consistency Josef Schlehofer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Josef Schlehofer @ 2026-12-04 15:31 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: Zong-Zhe Yang, linux-wireless

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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-04 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 15:31 [PATCH rtw-next v3 0/3] wifi: rtw89: allow AP mode on 6 GHz Josef Schlehofer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox