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