<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Thanks all,</div><div><br></div>So, there is only a way to set go_intent on a device and it is through interactive mode, otherwise automatically the default intent is used, right?<div>No way to set it through android method, a part when a device wants to start a connection, right?<br><br><br><br><br><div>> Date: Tue, 20 May 2014 09:38:44 +0200<br>> From: arend@broadcom.com<br>> To: andrea.chittano@hotmail.it<br>> CC: ilan.peer@intel.com; hostap@lists.shmoo.com<br>> Subject: Re: wpa_supplicant Go Negotiation<br>> <br>> On 05/19/14 22:08, Peer, Ilan wrote:<br>> > Hi Andrea,<br>> ><br>> > The wpa_supplicant allows to set the GO intent in the configuration file<br>> > or by using the control interface commands that support it:<br>> ><br>> > ·The default intent in 7<br>> ><br>> > ·In configuration file u can set it by: p2p_go_intent=<0..15><br>> ><br>> > ·From the control interface the intent can be changed as follows (also<br>> > see here<br>> > <http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git;a=blob;f=wpa_supplicant/README-P2P;hb=HEAD>)<br>> ><br>> > oP2p_connect … go_intent=<val><br>> ><br>> > oSet p2p_go_intent <val><br>> <br>> However, there is no android application level api to set this before <br>> doing a P2P connect attempt. Indeed wpa_supplicant has interface support <br>> in place so probably it would be better to have this discussion on <br>> android developers group [1].<br>> <br>> Regards,<br>> Arend<br>> <br>> [1] https://groups.google.com/forum/#!forum/android-developers<br>> <br>> > Regards,<br>> ><br>> > Ilan.<br>> ><br>> > *From:*Andrea Chittano [mailto:andrea.chittano@hotmail.it]<br>> > *Sent:* Monday, May 19, 2014 15:55<br>> > *To:* Peer, Ilan<br>> > *Subject:* wpa_supplicant Go Negotiation<br>> ><br>> > Hi Ilan, I'm a member of HostAP.<br>> ><br>> > I've seen that you are working on wpa_supplicant, so may be you can<br>> > clarify some doubts regarding it.<br>> ><br>> > I'm interested in GO negotiation procedure between 2 devices which want<br>> > to perform a p2p wifi direct connection.<br>> ><br>> > Let's suppose that device 1 (D1) starts a connection with device 2 (D2).<br>> ><br>> > So GO negotiation must be performed. D1 sends a GO negotiation request<br>> > containing its own GO Intent to D2.<br>> ><br>> > Now, D2 after receiving the request, should compare its own GO intent<br>> > (local GO intent) with which one received from D1, in order to build a<br>> > response containing device info of which one with the highest GO intent.<br>> ><br>> > I wish to know where devices set their GO intent before starting any action.<br>> ><br>> > I've found only a point where GO intent is setted and it happens when<br>> > the wpa_supplincant on the device starting a connection calls the<br>> > function p2p_connect().<br>> ><br>> > I get the impression that the whole GO negotiation is done between<br>> > wpa_supplicants on D1 and D2.<br>> ><br>> > My question is:<br>> ><br>> > how does the device receiving the request acquire its local GO intent?<br>> ><br>> > Thanks for your help,<br>> ><br>> > Andrea<br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > HostAP mailing list<br>> > HostAP@lists.shmoo.com<br>> > http://lists.shmoo.com/mailman/listinfo/hostap<br>> <br></div></div>                                            </div></body>
</html>