Return-path: Received: from mail-qa0-f49.google.com ([209.85.216.49]:63179 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754238Ab2EDKOo convert rfc822-to-8bit (ORCPT ); Fri, 4 May 2012 06:14:44 -0400 Received: by qabj40 with SMTP id j40so1429177qab.1 for ; Fri, 04 May 2012 03:14:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 4 May 2012 12:14:43 +0200 Message-ID: (sfid-20120504_121447_749953_B816A6F8) Subject: Re: AR9285 (ath9k) network adapter often deauthenticates from a certain network From: Bartosz Brachaczek To: Mohammed Shafi Cc: linux-wireless Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2012/4/30 Mohammed Shafi : > On Sat, Apr 28, 2012 at 3:01 AM, Bartosz Brachaczek > wrote: >> Hi, >> >> I am often deauthenticated from my network at home. When >> NetworkManager reconnects after this, the connection sometimes is >> unusable until full reconnect is manually requested. These >> deauthendications happen only with my home network (I have a custom >> "Netia Spot" wireless router from my ISP at home), I have no problems >> with my university networks. > > providing some information regarding the difference between your home > network and university > network would be useful, like which is more congested and does your > home network has some > sort of security. > >> >> I'm attaching syslog output which shows kernel and NetworkManager >> messages. Kernel was compiled with debugging output enabled for >> mac80211 and Atheros. As can be seen (use `grep '\(Reason: >> 6\|user-req\)'`), deauthentications happen quite often but only after >> two of them my connection was unusable - they are followed by manual >> disconnect+connect through nm-applet. >> >> When connection breaks, `ping` running in the background outputs >> nothing for a while, and then outputs "Destination Host Unreachable" >> messages. Trying to run `ping` when the connection is already broken >> ends in ping exiting after timeout or something. >> >> I don't have any problems on Windows 7 on the same machine, although I >> don't know whether it doesn't have problems with deauthentications or >> if it is able to always quickly restore the connection. >> >> I reported it also to NetworkManager as I suppose that >> deauthentications are driver bug and failures to restore the >> connection are NetworkManager bug: >> https://bugzilla.gnome.org/show_bug.cgi?id=674996 > > if you can disable the NM and see using supplicant with bg scan enabled helps > also pls try with the latest compat build > http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge > > >> >> NetworkManager version: 0.9.4.0 (0.9.2.0 had the same problem, earlier >> not tested) >> Kernel version: 3.3.3 (3.0 had the same problem, earlier not tested) >> >> Wireless network adapter (lspci -vnn): >> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless >> Network Adapter (PCI-Express) [168c:002b] (rev 01) >>        Subsystem: AzureWave AW-NB037H 802.11bgn Wireless Half-size >> Mini PCIe Card [AR9002WB-1NGCD] [1a3b:2c37] >>        Flags: bus master, fast devsel, latency 0, IRQ 17 >>        Memory at dea00000 (64-bit, non-prefetchable) [size=64K] >>        Capabilities: [40] Power Management version 3 >>        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- >>        Capabilities: [60] Express Legacy Endpoint, MSI 00 >>        Capabilities: [100] Advanced Error Reporting >>        Capabilities: [140] Virtual Channel >>        Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12 >>        Capabilities: [170] Power Budgeting >>        Kernel driver in use: ath9k >> >> >> >> Bartosz Brachaczek > > > > -- > thanks, > shafi I tried disabling NM and using just wpa_supplicant and it seems it solves the problem -- I tried multiple times with and without NM and with it I can always reproduce the problem after at least one hour, and without it I wasn't able to reproduce it even after many hours. So I guess I don't need to provide more information here, I'll keep working with the NetworkManager guys. Thanks, Bartosz Brachaczek