On Wed, 2013-02-13 at 15:32 +0100, Johannes Berg wrote: > On Wed, 2013-02-13 at 15:23 +0100, Wojciech Dubowik wrote: > > > >> I have seen it before in my testing and it gets > > >> a lot worse with system load. Sometimes it can > > >> retry auth/assoc frames for 10 seconds before > > >> connecting. > > >> Anyway it always looses the first authentication frame. > > > I think I see what's happening -- can you try this patch? > > > > > > http://p.sipsolutions.net/61f4271fed0e446b.txt > > > > > I have tried and it doesn't do timeout anymore. I will continue > > testing with more load. > > Ok. I just realized that it needs to receive frames for this to happen, > which may not happen here because my environment is quiet. > > Let me know, I'll also try to test a bit more. Yep, I can reproduce it when I make the beacon interval very short and also let hostapd delay the auth and/or assoc response by 30ms. This patch fixes it for me, let me know how it goes in your test. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html