wpa_supplicant Go Negotiation
Arend van Spriel
arend at broadcom.com
Tue May 20 03:38:44 EDT 2014
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
> 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 .
> *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,
> HostAP mailing list
> HostAP at lists.shmoo.com
More information about the HostAP