I'm using 0.4.8, kind of outdate.<br>For problem 1, I agree Uri explaination, deauth to <tt><tt>an already deauthenticated station will cause gNoStations goes to -1.<br>Problem 2:<br>1. If client went away 1 minute ago, and come back now when rekey is happenning.<br><br>2. hostapd will set gsm-&gt;state as REKEYNEGOTIATING, then client rejoin again and reset timer but not </tt></tt><tt><tt>gsm-&gt;state.<br><br>3. From now on, hostapd ask this client to send GTK1 but state is wrong, G1 never get send out.<br><br>4. gNoStations is 1 always and rekey won't be successful<br><br>We should clean WPA state machine whatever reauth or not.<br><br>Miles<br></tt></tt><tt><tt><br><br></tt></tt><b><i>Jouni Malinen &lt;j@w1.fi&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Sun, Mar 16, 2008 at 12:56:30PM -0700, Miles wrote:<br><br>&gt; I found GNoStations some time is not syncronized with
 hapd-&gt;num_sta, then it can be -1.<br>&gt; Do you know what scenarios can make it happen?<br><br>Which version of hostapd are you using? This should be fixed in 0.5.10<br>which replaces GNoStations with a more robust mechanism.<br><br>&gt; Also, if client doesn't send deauth and come back within age out time, it will jump to  AUTHENTICATION2 directly and GTK state machine doens't get re-initialized, it will cause problem.<br><br>Could you please be more specific on what kind of problems you are<br>seeing? Debug log from hostapd showing this could also be helpful.<br><br>-- <br>Jouni Malinen                                            PGP id EFC895FA<br>_______________________________________________<br>HostAP mailing list<br>HostAP@lists.shmoo.com<br>http://lists.shmoo.com/mailman/listinfo/hostap<br></blockquote><br><p>&#32;



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>