The mapping was being done from interface address to device address (using p2p_peer) at time of client disconnects/connects since those events did not provide device address information for a peer.<div><br></div><div>Going forward, this should go away since we now have device address from those events.</div>

<div><br></div><div>Thanks<br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 9:54 AM, hardik patel <span dir="ltr">&lt;<a href="mailto:hk5patel@gmail.com">hk5patel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Jouni,<br>
<br>
Now we did change in GUI so instead of executing p2p_peer command to<br>
get peer address. we are using address which is come in &quot;<br>
AP-STA-CONNECTED 00:0a:bf:45:56:78 &quot; event message. Now it is working<br>
fine.<br>
<br>
thanks for giving information for p2p_peer command use.<br>
<br>
Thanks,<br>
Hardik<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 20, 2011 at 12:49 AM, Jouni Malinen &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt; wrote:<br>
&gt; On Mon, Dec 19, 2011 at 11:28:13PM +0530, hardik patel wrote:<br>
&gt;&gt; Android Icream sandwich GUI is using this p2p_peer command to get p2p<br>
&gt;&gt; interface address and return that address if it got intended_addr in<br>
&gt;&gt; output.<br>
&gt;<br>
&gt; If it uses intended_addr, it is quite broken.<br>
&gt;<br>
&gt;&gt; In Autonomous GO case, Once client get connected with AutoGO and as it<br>
&gt;&gt; got &quot;AP_STA_CONNECTED_EVENT&quot;. it is executing p2p_peer command to get<br>
&gt;&gt; intended_addr and it is changing the state as &quot;connected&quot; in GUI. But<br>
&gt;&gt; as in AutoGO, we are not getting  intended_addr  in p2p_peer command<br>
&gt;&gt; it is not changing the state to connected and showing &quot;available&quot; in<br>
&gt;&gt; UI.<br>
&gt;<br>
&gt; I&#39;m not sure what exactly this is trying use the intended_addr for, but<br>
&gt; this field is not meant to be shown to end user and some other mechanism<br>
&gt; needs to be used for this.<br>
&gt;<br>
&gt;&gt; When in case of Normal GO case, in p2p_peer command we are getting<br>
&gt;&gt; intended_addr. So At p2p_client and p2p_go side once it got connected<br>
&gt;&gt; it is showing correct status in UI.<br>
&gt;<br>
&gt; This works by accident; not by design..<br>
&gt;<br>
&gt;&gt; what other command we can use to get peer information ?<br>
&gt;<br>
&gt; What exactly is the information that is needed here? Is this on the GO?<br>
&gt; And to display the P2P Interface Address? Or on the P2P client? On GO,<br>
&gt; AP-STA-CONNECTED event should be used.<br>
&gt;<br>
&gt; --<br>
&gt; Jouni Malinen                                            PGP id EFC895FA<br>
&gt; _______________________________________________<br>
&gt; HostAP mailing list<br>
&gt; <a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
&gt; <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
<br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
Regards,<br>
Hardik<br>
<br>
&quot;If you are doing what you have always been doing then expect what you<br>
have always been getting.&quot;<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br></div>