All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k_hci deauth after a few hours in a TL_WN722N usb card
Date: Sat, 05 Oct 2013 17:01:51 +0200	[thread overview]
Message-ID: <525029DF.1080006@rempel-privat.de> (raw)
In-Reply-To: <CAHKC3898oYZpsPmBqQKTDkxr1L3Nu7o3uB5nFUihSJO_U9wCmg@mail.gmail.com>

Am 05.10.2013 14:23, schrieb Pere Castanyer Sard?:
> Hello all,
> 
> I'm wondering if it's a known issue that the ath9k_hci driver is
> performing unstable or is something on my hardware or system.

Hmm... if there is no other errors, then this problem is new for me.
Try fallowing  options:
- change encryption. If you use WEB you can disable encryption at all -
it is same. In case there is hardware enc., it may fail. (WEP isn't
encryption any more ;))
- try to reset wifi adapter. Unplug and plug it again.
- update firmware. If you can compile it, then use this one
https://github.com/qca/open-ath9k-htc-firmware


> Anyway perhaps some of this info could be of help.
> 
> Regards
> -----------------------------------------------------------------------
> 
> Summary: 
> 
> Device deauthenticate with this message in syslog:
> 
> "Oct  5 06:10:50 xarz-hole kernel: [70326.767749] wlan4: deauthenticated
> from 00:23:69:1a:d7:eb (Reason: 7)"
> 
> And after this the device remains disconnected unable to associate again.
> 
> 
> All info about my system setup:
> 
> Ubuntu 12.04
> Kernel 3.11
> Using WEP encription:
> 
> lspci -tv:
> 
> pere at xarz-hole:/var/log$ lspci -tv
> -[0000:00]-+-00.0  Advanced Micro Devices, Inc. [AMD/ATI]
> RS480/RS482/RS485 Host Bridge
>            +-01.0-[01]----05.0  Advanced Micro Devices, Inc. [AMD/ATI]
> RS482/RS485 [Radeon Xpress 1100/1150]
>            +-12.0  Advanced Micro Devices, Inc. [AMD/ATI] SB600
> Non-Raid-5 SATA
>            +-13.0  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI0)
>            +-13.1  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI1)
>            +-13.2  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI2)
>            +-13.3  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI3)
>            +-13.4  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI4)
>            +-13.5  Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
> Controller (EHCI)
>            +-14.0  Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus
> Controller
>            +-14.1  Advanced Micro Devices, Inc. [AMD/ATI] SB600 IDE
>            +-14.2  Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
> (Intel HDA)
>            +-14.3  Advanced Micro Devices, Inc. [AMD/ATI] SB600 PCI to
> LPC Bridge
>            +-14.4-[02]----06.0  Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+
>            +-18.0  Advanced Micro Devices, Inc. [AMD] K8
> [Athlon64/Opteron] HyperTransport Technology Configuration
>            +-18.1  Advanced Micro Devices, Inc. [AMD] K8
> [Athlon64/Opteron] Address Map
>            +-18.2  Advanced Micro Devices, Inc. [AMD] K8
> [Athlon64/Opteron] DRAM Controller
>            \-18.3  Advanced Micro Devices, Inc. [AMD] K8
> [Athlon64/Opteron] Miscellaneous Control
> 
> 
> lshw:
>  *-network
>        description: Wireless interface
>        physical id: 2
>        bus info: usb at 1:1
>        logical name: wlan4
>        serial: f8:1a:67:21:a7:16
>        capabilities: ethernet physical wireless
>        configuration: broadcast=yes driver=ath9k_htc
> driverversion=3.11.0-031100-generic firmware=1.3 ip=192.168.0.195
> link=yes multicast=yes wireless=IEEE 802.11bgn
> 
> scan dump with associated wlan:
> 
> pere at xarz-hole:/var/log$ iw dev wlan4 scan dump
> BSS 00:23:69:1a:d7:eb (on wlan4) -- associated
> TSF: 17105923539 usec (0d, 04:45:05)
> freq: 2437
> beacon interval: 100
> capability: ESS Privacy ShortSlotTime (0x0411)
> signal: -62.00 dBm
> last seen: 2356420 ms ago
> Information elements from Probe Response frame:
> SSID: XaRz-Hole
> Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
> DS Parameter set: channel 6
> ERP: <no flags>
> Extended supported rates: 6.0 9.0 12.0 48.0 
> HT capabilities:
> Capabilities: 0x186c
> HT20
> SM Power Save disabled
> RX HT20 SGI
> RX HT40 SGI
> No RX STBC
> Max AMSDU length: 7935 bytes
> DSSS/CCK HT40
> Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
> Minimum RX AMPDU time spacing: 8 usec (0x06)
> HT RX MCS rate indexes supported: 0-15
> HT TX MCS rate indexes are undefined
> HT operation:
> * primary channel: 6
> * secondary channel offset: no secondary
> * STA channel width: 20 MHz
> * RIFS: 0
> * HT protection: non-HT mixed
> * non-GF present: 0
> * OBSS non-GF present: 1
> * dual beacon: 0
> * dual CTS protection: 0
> * STBC beacon: 0
> * L-SIG TXOP Prot: 0
> * PCO active: 0
> * PCO phase: 0
> 
> 
> dmesg part with successfull association:
> 
> [   55.190095] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
> [   55.190566] usbcore: registered new interface driver ath9k_htc
> [   55.230191] input: HDA ATI SB Front Headphone as
> /devices/pci0000:00/0000:00:14.2/sound/card0/input2
> [   55.231772] input: HDA ATI SB Line Out as
> /devices/pci0000:00/0000:00:14.2/sound/card0/input3
> [   55.232670] input: HDA ATI SB Line as
> /devices/pci0000:00/0000:00:14.2/sound/card0/input4
> [   55.232760] input: HDA ATI SB Rear Mic as
> /devices/pci0000:00/0000:00:14.2/sound/card0/input5
> [   55.232835] input: HDA ATI SB Front Mic as
> /devices/pci0000:00/0000:00:14.2/sound/card0/input6
> [   55.614521] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> [   55.826334] EXT3-fs (sda1): using internal journal
> [   55.850797] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
> [   56.050452] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
> [   56.050460] ath: EEPROM regdomain: 0x809c
> [   56.050462] ath: EEPROM indicates we should expect a country code
> [   56.050464] ath: doing EEPROM country->regdmn map search
> [   56.050466] ath: country maps to regdmn code: 0x52
> [   56.050468] ath: Country alpha2 being used: CN
> [   56.050469] ath: Regpair used: 0x52
> [   56.097885] ieee80211 phy0: Atheros AR9271 Rev:1
> [   56.097913] cfg80211: Calling CRDA for country: CN
> [   56.116199] cfg80211: Regulatory domain changed to country: CN
> [   56.116206] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> [   56.116208] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz),
> (N/A, 2000 mBm)
> [   56.116210] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz),
> (N/A, 3000 mBm)
> [   56.264808] IPv6: ADDRCONF(NETDEV_UP): wlan4: link is not ready
> [   57.272118] wlan4: authenticate with 00:23:69:1a:d7:eb
> [   57.342520] RPC: Registered named UNIX socket transport module.
> [   57.342525] RPC: Registered udp transport module.
> [   57.342527] RPC: Registered tcp transport module.
> [   57.342529] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [   57.389036] init: failsafe main process (1183) killed by TERM signal
> [   57.389701] FS-Cache: Loaded
> [   57.499761] FS-Cache: Netfs 'nfs' registered for caching
> [   57.539264] type=1400 audit(1380875981.410:10): apparmor="STATUS"
> operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=1326
> comm="apparmor_parser"
> [   57.540331] type=1400 audit(1380875981.414:11): apparmor="STATUS"
> operation="profile_load" name="/usr/sbin/cupsd" pid=1326
> comm="apparmor_parser"
> [   57.590810] Bluetooth: Core ver 2.16
> [   57.590844] NET: Registered protocol family 31
> [   57.590846] Bluetooth: HCI device and connection manager initialized
> [   57.590858] Bluetooth: HCI socket layer initialized
> [   57.590862] Bluetooth: L2CAP socket layer initialized
> [   57.590870] Bluetooth: SCO socket layer initialized
> [   57.620467] wlan4: send auth to 00:23:69:1a:d7:eb (try 1/3)
> [   57.624223] wlan4: authenticated
> [   57.624262] ath9k_htc 1-1:1.0 wlan4: disabling HT/VHT due to WEP/TKIP use
> [   57.624265] ath9k_htc 1-1:1.0 wlan4: disabling HT as WMM/QoS is not
> supported by the AP
> [   57.624268] ath9k_htc 1-1:1.0 wlan4: disabling VHT as WMM/QoS is not
> supported by the AP
> [   57.628123] wlan4: associate with 00:23:69:1a:d7:eb (try 1/3)
> [   57.630231] wlan4: RX AssocResp from 00:23:69:1a:d7:eb (capab=0x411
> status=0 aid=7)
> [   57.637423] wlan4: associated
> 
> 
> 
> -- 
> Pere Castanyer Sard?
> Cap Tecnol?gic a Netnerd  -  http://www.netnerd.cat 
> Solucions en Tecnologia.
> 
> 
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> 


-- 
Regards,
Oleksij

  reply	other threads:[~2013-10-05 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05 12:23 [ath9k-devel] ath9k_hci deauth after a few hours in a TL_WN722N usb card Pere Castanyer Sardà
2013-10-05 15:01 ` Oleksij Rempel [this message]
2013-10-05 16:55   ` Pere Castanyer Sardà
2013-10-06  6:05     ` Oleksij Rempel
2013-10-07 14:53       ` Pere Castanyer Sardà
2013-10-07 15:11         ` Oleksij Rempel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525029DF.1080006@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.