<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Thanks, Jouni.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jouni Malinen &lt;j@w1.fi&gt;<br><b><span style="font-weight: bold;">To:</span></b> hostap@lists.shmoo.com<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, March 17, 2010 12:29:12 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: eapol_test retransmits 10 times<br></font><br>On Mon, Mar 15, 2010 at 01:21:02PM -0700, R C wrote:<br><br>&gt; My eapol_test retransmits 10 times even though i set the<br>&gt; RADIUS_CLIENT_MAX_RETRIES to 0. How can i avoid it retransmitting 10<br>&gt; times? It
 retransmits 10 times totally, once every 3 seconds. Following is taken from src/radius/radius_client.c from wpa_supplicant.<br><br>&gt; /* Defaults for RADIUS retransmit values (exponential backoff) */<br>&gt; #define RADIUS_CLIENT_FIRST_WAIT 3 /* seconds */<br>&gt; #define RADIUS_CLIENT_MAX_WAIT 120 /* seconds */<br>&gt; #define RADIUS_CLIENT_MAX_RETRIES 0 /* maximum number of retransmit attempts<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  * before entry is removed from retransmit<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  * list */<br>&gt; #define RADIUS_CLIENT_MAX_ENTRIES 0 /* maximum number of entries in retransmit<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  *
 list (oldest will be removed, if this<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  * limit is exceeded) */<br><br><br>The current implementation does not like RADIUS_CLIENT_MAX_ENTRIES = 0<br>value at all, i.e., it depends on being able store at least one entry<br>even if it would not actually end up being used for a retry. Just<br>changing the RADIUS_CLIENT_MAX_RETRIES value and leaving everything else<br>unmodified should be enough. It may not currently prevent all retries,<br>but it did seem to limit retries when the max entries limit was not<br>changed.<br><br>-- <br>Jouni Malinen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PGP id EFC895FA<br>_______________________________________________<br>HostAP mailing list<br><a
 ymailto="mailto:HostAP@lists.shmoo.com" href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></div></div>
</div><br>

      </body></html>