From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1250?Q?Peter_V=E1gner?= Date: Tue, 18 Jun 2013 20:20:01 +0200 Subject: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee) In-Reply-To: <51AB7A41.9050206@rempel-privat.de> References: <1370191178.3980.4.camel@melech-server.localdomain> <51AB7A41.9050206@rempel-privat.de> Message-ID: <51C0A4D1.1050604@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hello, I do also have similar device and am facing a strange problem with it. After booting up the machine I am unable to connect to certain wireless AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA encryption. After connecting to another AP e.g. non encrypted AP made up of my Android phone or even encrypted AP created on an iphone I can then connect to the problematic AP. I am on arch linux currently with kernel 3.9.6. The issue started happening as I have updated my kernel to 3.9.1. Previously everything has been working fine wor me. Here are some more details $ lsusb | grep Ather Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n $ iw dev wlp0s26u1u6 get power_save Power save: off $ dmesg | grep 00:4f:62:05:df:2d [ 23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d [ 23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3) [ 26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3) [ 28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by local choice (reason=3) --- snip --- This is repeating over and over again until I connect to something else. And then the final successfull connection to this AP looks like... [ 252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d [ 252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3) [ 252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3) [ 252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d (capab=0x411 status=0 aid=3) $ dmesg | grep ath9k_htc [ 7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested [ 7.353772] usbcore: registered new interface driver ath9k_htc [ 7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272 [ 8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33 credits [ 8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3 [ 252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS is not supported by the AP [ 252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS is not supported by the AP $ sudo iw dev wlp0s26u1u6 scan dump BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated TSF: 254735798022 usec (2d, 22:45:35) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -61.00 dBm last seen: 103493 ms ago Information elements from Probe Response frame: SSID: predok Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 DS Parameter set: channel 1 ERP: Extended supported rates: 24.0 36.0 48.0 54.0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: (0x0000) $ sudo iw dev wlp0s26u1u6 scan dump [sudo] password for peto: BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) TSF: 255417536590 usec (2d, 22:56:57) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -59.00 dBm last seen: 386 ms ago Information elements from Probe Response frame: SSID: predok Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 DS Parameter set: channel 1 ERP: Extended supported rates: 24.0 36.0 48.0 54.0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: (0x0000) Thanks and greetings Peter On 02.06.2013 19:00, Oleksij Rempel wrote: > Can you please do some test: > - disable STBC on access point. You will probably need to edit > hostapd.conf manually. > - change or disable encryption type. > > > Am 02.06.2013 18:39, schrieb Mark E. Lee: >> Access Point Firmware: DD-WRT v24-sp2 (03/19/12) std >> Access Point Hardware: netgear-wnr2000v3 >> >> Output of # iw dev wlan0 get power_save : >> Power save: off >> >> Output of $ iw dev wlan0 scan dump : >> Attached log file (unix ending) >> >> On Sun, 2013-06-02 at 12:00 +0200, ath9k-devel-request at lists.ath9k.org >> wrote: >>> Send ath9k-devel mailing list submissions to >>> ath9k-devel at lists.ath9k.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >>> or, via email, send a message with subject or body 'help' to >>> ath9k-devel-request at lists.ath9k.org >>> >>> You can reach the person managing the list at >>> ath9k-devel-owner at lists.ath9k.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of ath9k-devel digest..." >>> >>>