From: Ping-Ke Shih <pkshih@realtek.com>
To: andres parra <andres.parrab@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [RFC PATCH 0/4] wifi: rtw89: add NL80211_IFTYPE_P2P_DEVICE support
Date: Wed, 26 Aug 2026 07:03:31 +0000 [thread overview]
Message-ID: <fe4778c07f644ed38a03c467ef1293d7@realtek.com> (raw)
In-Reply-To: <20260822174229.65643-1-andres.parrab@gmail.com>
andres parra <andres.parrab@gmail.com> wrote:
> Hi,
>
> I'm not a professional kernel developer -- this is my first
> substantive contribution to this subsystem, so please bear with me if
> anything here doesn't follow convention, and I'd appreciate direct
> correction on anything I've gotten wrong.
You should apply your patch to kernel tree, and generate patches.
Otherwise, the path is wrong:
diff --git a/core.c b/core.c
For Realtek WiFi drivers, the tree should be rtw-next [1].
It seems like you repeatedly describe similar messages in every
patch. Not sure if this is because the 4 patches are small.
[1] https://github.com/pkshih/rtw.git rtw-next
>
> rtw89 does not currently declare NL80211_IFTYPE_P2P_DEVICE anywhere in
> interface_modes, which means wpa_supplicant/NetworkManager can never
> create a real P2P-Device wdev on this hardware, and Wi-Fi Direct
> casting (Miracast/WFD) to a smart TV never works: GO negotiation never
> even starts. Confirmed absent across every rtw89 chip variant, not
> just RTL8922AE. mt792x (mt7921/7922/7925) implements this correctly on
> comparable modern, MCU-firmware-based hardware, and was used as the
> reference model for this series.
We have developed this recently [2]. Please take patches 11/14 ~14/14
and test if it works in your side.
[2] https://lore.kernel.org/linux-wireless/20260826064101.58892-12-pkshih@realtek.com/T/#u
>
> 1. If the AP the STA link is associated to does an ordinary channel
> switch (CTRL-EVENT-CHANNEL-SWITCH) onto a different channel than
> the one an active P2P-Client group is using, the P2P link is
> dropped outright (beacon loss, then a locally-generated disconnect)
> and never re-established automatically. I don't know whether this
> is a pre-existing limitation in the existing MCC entity-management
> code (rtw89_entity_mgnt / chan.c) that would reproduce identically
> with a stock, unmodified P2P_CLIENT/GO connection unrelated to this
> series, or something specific to a P2P-Device wdev being present.
> Have not yet had the chance to test against a stock driver to
> isolate which.
Could you try the same test on the patches I mentioned above?
And, share the test flow step by step.
>
> 2. If the STA link and the P2P-Client link end up on genuinely
> different *bands* (STA on 5GHz, P2P on 2.4GHz -- WFD is 2.4GHz-only)
> rather than just different channels on the same band, the
> connection stays up but has a real, repeatable performance cost --
> confirmed clean at the RF link level (zero tx retries/failures on
> the P2P link, good signal, decent PHY rate throughout) via
> `station dump`, so it doesn't look like a radio-quality problem.
> Grepped this driver for any equivalent to Intel iwlwifi's CDB
> (Concurrent Dual-Band, IWL_UCODE_TLV_CAPA_CDB_SUPPORT, a distinct
> LMAC per band) or MediaTek mt76's DBDC (Dual-Band Dual-Concurrent,
> MCU_EXT_CMD_DBDC_CTRL) -- found nothing under either name. Is that
> because RTL8922AE genuinely lacks equivalent hardware/firmware
> capability (in which case this is a real ceiling, not something
> software can fix), or does it exist under different terminology I
> haven't found?
rtw89 doesn't support dual bands concurrency simultaneously, it uses
power saving mechanism to do TDMA timeslot sharing.
prev parent reply other threads:[~2026-08-26 7:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-22 17:42 [RFC PATCH 0/4] wifi: rtw89: add NL80211_IFTYPE_P2P_DEVICE support andres parra
2026-08-22 17:42 ` [RFC PATCH 1/4] wifi: rtw89: declare P2P_DEVICE in interface modes/combinations andres parra
2026-08-22 17:42 ` [RFC PATCH 2/4] wifi: rtw89: map P2P_DEVICE to RTW89_WIFI_ROLE_P2P_DEVICE andres parra
2026-08-22 17:42 ` [RFC PATCH 3/4] wifi: rtw89: handle P2P_DEVICE in net_type/self_role switch andres parra
2026-08-22 17:42 ` [RFC PATCH 4/4] wifi: rtw89: raise RTW89_MAX_INTERFACE_NUM to 3 for P2P-Device concurrency andres parra
2026-08-26 7:03 ` Ping-Ke Shih [this message]
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=fe4778c07f644ed38a03c467ef1293d7@realtek.com \
--to=pkshih@realtek.com \
--cc=andres.parrab@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/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