WPS PIN timeout in wpa_supplicant
Andriy Tkachuk
andrit
Tue Jun 22 03:20:32 PDT 2010
Hi M?rten,
Indeed the timeout for PIN connection is not clear for WPA WPS spec, but
how long do you propose to wait? There must be some timeout for it as
well as for PBC. The device shouldn't stuck in the loop forever trying
to connect to the AP, right?
Regards,
Andriy
On 2010-06-22 12:03, marten.wikstrom at keystream.se wrote:
> Hi!
>
> I have a question regarding the timeout of 120 seconds for wps_pin command
> in wpa_cli. Does this timeout come from the WPS specification or is it
> just chosen the same as the timeout for WPS PBC? Alas, I have not access
> to the specification so I can not check myself. I
>
> The reason for the question is that I'm trying to fit in wps support in an
> embedded system without user interface and a PIN printed on a label. As I
> understand WPS PIN, the user should only have to enter the PIN of the
> device in the AP and then everything should be configured automatically
> from there. But if I start wpa_supplicant and wps_pin when the device
> boots, it will stop working after two minutes. Am I missing something
> here? Is there another way to do it? Obviously I can make a two-minute
> loop and restart wps_pin every other minute, but to me it doesnt feel to
> be the right way.
>
> Regards,
>
> M?rten Wikstr?m
>
More information about the Hostap
mailing list