P2P connect doesn't work
Thu Oct 14 01:32:24 PDT 2010
On Thu, Oct 14, 2010 at 09:08:55AM +0200, Fabien Marotte wrote:
> From WPA_supplicant (let's say left side), after a successful find
> phase, I do "p2p_prov_disc <MAC addr> display". On the right side
> wpa_supplicant, I get the message DISPLAY_PIN as expected and can see
> the computed pin. On the left side, I do p2p_connect <MAC addr> PIN_CODE.
> From my understanding, this sequence should lead to a a successful GO
> negotiation since the right side has the provision information.
> But I see that the right side still send 0x1 error in the GO negociation
> response. Is my understanding good according to you ?
There is no code in wpa_supplicant to automatically accept connections,
i.e., this is the part where you would need to have simple external
tool/script for accepting.. In other words, something will need to
convert that display PIN event into a p2p_connect command. This
particular p2p_connect command should use the "auth" parameter only to
authorize the connection, to to trigger immediate GO Negotiation (the
other end is expected to start that shortly).
Jouni Malinen PGP id EFC895FA
More information about the Hostap