Delay between Association Resp and Eapol-Start

Konstantinos Georgantas k.georgantas at
Wed Oct 16 08:00:28 EDT 2013

I have been troubleshooting the above mentioned issue and I was 
wondering why not to use something like this in eapol_supp_sm.c:

@@ -288,7 +288,7 @@
  #ifdef CONFIG_WPS
          /* Reduce latency on starting WPS negotiation. */
-        sm->startWhen = 1;
+        sm->startWhen = 0;
  #else /* CONFIG_WPS */
          sm->startWhen = 3;
  #endif /* CONFIG_WPS */

What complications could such a change introduce when running wps? Is 
there an explicit reason for waiting 1 sec between Association Resp and 
Eapol-Start? I do not see any side-effects when setting startWhen to 0.

Thank you in advance for your help,

More information about the HostAP mailing list