p2p_peer command is not showing intended_addr in auto GO mode
j at w1.fi
Mon Dec 19 14:19:00 EST 2011
On Mon, Dec 19, 2011 at 11:28:13PM +0530, hardik patel wrote:
> Android Icream sandwich GUI is using this p2p_peer command to get p2p
> interface address and return that address if it got intended_addr in
If it uses intended_addr, it is quite broken.
> In Autonomous GO case, Once client get connected with AutoGO and as it
> got "AP_STA_CONNECTED_EVENT". it is executing p2p_peer command to get
> intended_addr and it is changing the state as "connected" in GUI. But
> as in AutoGO, we are not getting intended_addr in p2p_peer command
> it is not changing the state to connected and showing "available" in
I'm not sure what exactly this is trying use the intended_addr for, but
this field is not meant to be shown to end user and some other mechanism
needs to be used for this.
> When in case of Normal GO case, in p2p_peer command we are getting
> intended_addr. So At p2p_client and p2p_go side once it got connected
> it is showing correct status in UI.
This works by accident; not by design..
> what other command we can use to get peer information ?
What exactly is the information that is needed here? Is this on the GO?
And to display the P2P Interface Address? Or on the P2P client? On GO,
AP-STA-CONNECTED event should be used.
Jouni Malinen PGP id EFC895FA
More information about the HostAP