Return-path: Received: from mail-bw0-f169.google.com ([209.85.218.169]:46119 "EHLO mail-bw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbZC0PHq (ORCPT ); Fri, 27 Mar 2009 11:07:46 -0400 Received: by bwz17 with SMTP id 17so1040689bwz.37 for ; Fri, 27 Mar 2009 08:07:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <2da21fe50903270754i26c8be08i206b12a268214f56@mail.gmail.com> References: <2da21fe50903270727m7b7007ctaa846aea61902436@mail.gmail.com> <87ljqr58oa.fsf@litku.valot.fi> <2da21fe50903270754i26c8be08i206b12a268214f56@mail.gmail.com> Date: Fri, 27 Mar 2009 16:07:28 +0100 Message-ID: <2da21fe50903270807t25962a00w1a5da870641421ea@mail.gmail.com> (sfid-20090327_160752_174631_F202D5AC) Subject: Re: ath9k and power management From: Davide Pesavento To: Kalle Valo Cc: linux-wireless Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Mar 27, 2009 at 15:54, Davide Pesavento wrote: > On Fri, Mar 27, 2009 at 15:42, Kalle Valo wrote: >> Davide Pesavento writes: >> >>> I'm running a 2.6.29-wl kernel, using ath9k and wpa_supplicant 0.6.9 >>> (with -Dnl80211). >>> Enabling power management when connected (i.e. 'iwconfig wlan0 power >>> on'), causes the currently established connection to break and the >>> machine is no longer able to reconnect to the AP. >> >> Try with a timeout, for example three seconds: >> >> iwconfig wlan0 power timeout 3 >> >> It might be that ath9k doesn't work when timeout is zero (which 'power >> on' effectively does). You need a fairly new wireless-tools to set the >> timeout, older versions had a bug with that. >> > > What do you mean by "fairly new"? I have wireless-tools version 29 > installed, which is the latest stable. Do I need to use version 30 > beta? > Nevermind, I guess I need the beta version... :-) # iwconfig wlan0 power timeout 3 Error for wireless request "Set Power Management" (8B2C) : invalid argument "3". Regards, Davide