Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:51548 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932899Ab3BMOVU (ORCPT ); Wed, 13 Feb 2013 09:21:20 -0500 Message-ID: <1360765274.8868.13.camel@jlt4.sipsolutions.net> (sfid-20130213_152123_388799_692B876A) Subject: Re: [PATCH] mac80211: start auth/assoc timeout on frame status From: Johannes Berg To: Wojciech Dubowik Cc: linux-wireless@vger.kernel.org Date: Wed, 13 Feb 2013 15:21:14 +0100 In-Reply-To: <511B9807.6000200@neratec.com> References: <1359638935-16613-1-git-send-email-johannes@sipsolutions.net> (sfid-20130131_142837_609017_1B1D23D2) <1359992600.10311.25.camel@jlt4.sipsolutions.net> <511B9807.6000200@neratec.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2013-02-13 at 14:41 +0100, Wojciech Dubowik wrote: > 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. I think I see what's happening -- can you try this patch? http://p.sipsolutions.net/61f4271fed0e446b.txt