There is a regression introduced with this patch. On my ath9k AP + ath9k STA I get timeout for management frames even when they are acked. Attached syslog and iw event before and after this patch. 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. Wojtek On 02/04/2013 04:43 PM, Johannes Berg wrote: > On Thu, 2013-01-31 at 14:28 +0100, Johannes Berg wrote: >> From: Johannes Berg >> >> When sending authentication/association frames they >> might take a bit of time to go out because we may >> have to synchronise with the AP, in particular in >> the case where it's really a P2P GO. In this case >> the 200ms fixed timeout could potentially be too >> short if the beacon interval is relatively large. >> >> For drivers that report TX status we can do better. >> Instead of starting the timeout directly, start it >> only when the frame status arrives. Since then the >> frame was out on the air, we can wait shorter (the >> typical response time is supposed to be 30ms, wait >> 100ms.) Also, if the frame failed to be transmitted >> try again right away instead of waiting. > Applied. > > johannes > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html