Return-path: Received: from nbd.name ([46.4.11.11]:48587 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757926Ab2DLSLP (ORCPT ); Thu, 12 Apr 2012 14:11:15 -0400 Message-ID: <4F871AB8.3070302@openwrt.org> (sfid-20120412_201134_058299_0C8FE0BD) Date: Thu, 12 Apr 2012 20:11:04 +0200 From: Felix Fietkau MIME-Version: 1.0 To: Michael Leun CC: Felipe Contreras , Michael Leun , Mohammed Shafi , Ben Greear , casteyde.christian@free.fr, Kelly Anderson , "ath9k-devel@lists.ath9k.org" , Linux Kernel Mailing List , linux-wireless Mailing List , Sergio Correia Subject: Re: 3.4-rc ath9k regression (Re: [ath9k-devel] 3.3.1 ath9k regression) References: <4F7A8EB7.4060200@silka.with-linux.com> <4F7AB6FE.3080009@silka.with-linux.com> <20120403200306.0afbb48b@xenia.leun.net> <20120404235104.682cfad3@xenia.leun.net> <4F7DE3A4.1040705@candelatech.com> <4F7F52BD.7060906@candelatech.com> <20120409010816.36244f17@xenia.leun.net> <20120409122549.7469543a@xenia.leun.net> <20120409160322.6b7b8c67@xenia.leun.net> <20120409172933.4ca4775a@xenia.leun.net> <4F86DCB1.20507@openwrt.org> <20120412173518.2ecd8418@xenia.leun.net> In-Reply-To: <20120412173518.2ecd8418@xenia.leun.net> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 2012-04-12 5:35 PM, Michael Leun wrote: > On Thu, 12 Apr 2012 16:58:34 +0300 > Felipe Contreras wrote: > >> On Thu, Apr 12, 2012 at 4:46 PM, Felix Fietkau >> wrote: >> > On 2012-04-09 5:29 PM, Michael Leun wrote: >> >> On Mon, 9 Apr 2012 19:52:45 +0530 >> >> >> Seems obvious to me, that this line >> >> >> >> if (sc->ps_idle && (sc->ps_flags & PS_WAIT_FOR_TX_ACK)) >> >> >> >> makes the real difference. >> > Please try this patch with plain 3.3.1 or 3.4-rc2 to see if it fixes >> > this issue: >> >> Nope, not here (3.3.1). > > Also negative for 3.4-rc2, but that SLEEP<>AWAKE noise at the end > stopped. Still need "iwconfig wlan0 essid " to make it ping > again (that not included in log below). OK, so my fix is definitely worth submitting, since it gets rid of some unnecessary sleep mode transitions. About the iwconfig command: are you not using wpa_supplicant? > Due to Felipes result and 3.4-rc2 didn't repeat my test with 3.3.1, if > you think it would add useful information I could. Maybe it would be useful to get some more detailed logs from that. - Felix