From: Ping-Ke Shih <pkshih@realtek.com>
To: Martin Rodriguez Reboredo <yakoyoku@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] wifi: rtl8xxxu: toggle P2P for supported devices
Date: Thu, 26 Jun 2025 00:50:09 +0000 [thread overview]
Message-ID: <e19a2b92ff384ac8987f4bedd63bcd91@realtek.com> (raw)
In-Reply-To: <13830882.uLZWGnKmhe@tx3000mach.io>
Martin Rodriguez Reboredo <yakoyoku@gmail.com> wrote:
> On Wednesday 25 June 2025 13:01:04 Argentina Standard Time Bitterblue Smith
> wrote:
> > On 25/06/2025 17:25, Martin Rodriguez Reboredo wrote:
> > [...]
> >> As of now only rtl8192ex devices have their P2P_CLIENT and P2P_GO wiphy
> >> interface modes ensured because those are the only ones I can test on
> >> my rtl8192eu card. The rest of chips have them set from what I've seen
> >> in a cursory Internet search, they might or might not work.
> >>
> >> Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
> >
> > So... does it work with your chip? How do we test?
>
> You can test this feature with GNOME Network Displays, that's the only
> userspace application I can think of. KDE doesn't offer anything yet and
> there's no other software out there that uses WiFi P2P, not even for simple
> file transfers. Maybe utils could be written like what was done for Bluez and
> be part of a known package like NetworkManager or a thing by themselves.
>
> With respect to my case I say it's listed by wpa_cli and it gets detected by
> Network Displays, but I cannot do anything further than that.
If you have two PC, use 'p2p_find' and 'p2p_connect' commands to make
a p2p connection.
> Because I don't
> know how to use wpa's utility properly and while I try to share my screen or
> see another one, I get no dice there.
WiFi Display, which is a protocol over WiFi P2P, is used to share screen.
IIRC it uses RTSP protocol to handshake RTP for streaming. Without a utility
(I don't remember that though), it is not possible to setup a streaming
session.
> Maybe this is due to an incompatibility
> with my Samsung mobile or that for proper P2P support more functionalities
> need to be added to rtl8xxxu, I can say that as of now.
I think what we can do in a PC is to setup a P2P connection (with an android
phone is possible), and test ping or transfer a file via FTP and so on.
next prev parent reply other threads:[~2025-06-26 0:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 14:25 [PATCH] wifi: rtl8xxxu: toggle P2P for supported devices Martin Rodriguez Reboredo
2025-06-25 16:01 ` Bitterblue Smith
2025-06-25 19:43 ` Martin Rodriguez Reboredo
2025-06-26 0:50 ` Ping-Ke Shih [this message]
2025-06-26 1:27 ` Ping-Ke Shih
2025-06-26 20:02 ` Martin Rodriguez Reboredo
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=e19a2b92ff384ac8987f4bedd63bcd91@realtek.com \
--to=pkshih@realtek.com \
--cc=Jes.Sorensen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=rtl8821cerfe2@gmail.com \
--cc=yakoyoku@gmail.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;
as well as URLs for NNTP newsgroup(s).