Re: [PATCH] expose peer interface address in P2P peer dbus property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 21, 2023 at 09:22:51PM +0000, Jintao Lin wrote:
> Expose peer interface address in the dbus property so that platform can
> correlate this value with the IP address assigned to the clients.

This would result in somewhat incomplete design since it is possible for
there to be multiple groups operating in parallel and a peer device may
have more than a single interface address. This could work if you limit
all possible use cases to allow only a single P2P group to be operating
in parallel, but even in that case, dev->interface_addr for a peer might
not be set.

To implement this robustly, you would need to provide the full list of
known P2P Interface Addresses for a peer device.  wpa_supplicant does
not currently track such information in the P2P peer entry, though.

Another approach would be to add an operation that would identify the
P2P group for which the information is being asked for.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux