[PATCH] Add Peer Interface Address info to peer object
maneesh.jain at samsung.com
Wed Jun 10 23:17:58 EDT 2015
>> On Wed, Jun 03, 2015 at 03:56:47PM +0530, Maneesh Jain wrote:
>> This patch extract the Peer Interface address for a found
>> peer device through D-Bus interface property.
> This is not reliable information since a peer may have multiple
> different P2P Interface Addresses if it happens to be in multiple
> groups. As such, I don't think it would be a good idea to expose this
> information in the way done here. For the P2P Interface Address to be
> unique, the request would need to be made for a specific group, i.e.,
> using the peer's P2P Device Address and the local group as the way to
> identify what to fetch.
> Jouni Malinen PGP id EFC895FA
In this patch, my intention to just get the Interface address of found Peer Device ir-repesctive of connection state.
Applicaiton will provide the "peer object path" to get the interface address of peer.
Example: Suppose Peer device has supported mulitple groups.
Two possible use cases for applicaiton.
a. When Peer Device is in connected state with my device
==> In this case, this patch will get the Interface address of specific group
which connected with my device.
b. When Peer Device is not in connected state with my device
==> In this case, this patch return the "00:00:00:00:00:00" interface address .
Due to above reason, I guess we do not need to specify the local group address.
Please share your valuable feedback.
More information about the HostAP