[PATCH 1/1] dbus: Expose P2PDevice's own device address.
Jouni Malinen
j at w1.fi
Mon Sep 29 10:20:06 PDT 2025
On Sun, May 11, 2025 at 07:08:57PM +0200, Emilio Cobos Álvarez wrote:
> (Re-sending because I realized I hadn't signed off on the previous
> patch, please remove this paragraph if/when applying the patch. Thanks
> and sorry for the noise!)
>
> If you have two peers using wpa_supplicant, right now the client can get
> both the GO interface and device addresses, but you can't know your own
> device address. Knowing your own device address is useful to coordinate
> to the GO and map the interface address to a Peer object once the P2P
> connection has been established.
>
> Android seems to expose this information:
>
> https://stackoverflow.com/questions/10650337/how-do-you-retrieve-the-wifi-direct-mac-address
>
> Let me know if I'm missing something and this is achievable some other
> way or what not.
>
> Add some basic tests in test_dbus.py.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list