ath9k_htc doesn't work with TL-WN722N wifi USB

Bug #1687847 reported by Hồng Quân
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I tried to connect to a wifi network, with my TL-WN722N wifi USB dongle. But it failed with this log:

May 3 09:40:33 Zapus wpa_supplicant[1893]: wlxf81a670b94db: SME: Trying to authenticate with c4:a3:66:c1:03:54 (SSID='GUU MILK TEA' freq=2412 MHz)
May 3 09:40:33 Zapus kernel: [ 2999.716298] wlxf81a670b94db: authenticate with c4:a3:66:c1:03:54
May 3 09:40:33 Zapus NetworkManager[1140]: <info> [1493779233.6813] device (wlxf81a670b94db): supplicant interface state: scanning -> authenticating
May 3 09:40:33 Zapus kernel: [ 2999.937634] wlxf81a670b94db: send auth to c4:a3:66:c1:03:54 (try 1/3)
May 3 09:40:33 Zapus kernel: [ 2999.939494] wlxf81a670b94db: authenticated
May 3 09:40:38 Zapus kernel: [ 3004.942553] wlxf81a670b94db: aborting authentication with c4:a3:66:c1:03:54 by local choice (Reason: 3=DEAUTH_LEAVING)
May 3 09:40:38 Zapus NetworkManager[1140]: <info> [1493779238.7667] device (wlxf81a670b94db): supplicant interface state: authenticating -> disconnected
May 3 09:40:39 Zapus NetworkManager[1140]: <info> [1493779239.8373] device (wlxf81a670b94db): supplicant interface state: disconnected -> scanning
May 3 09:40:40 Zapus wpa_supplicant[1893]: wlxf81a670b94db: SME: Trying to authenticate with c4:a3:66:c1:03:54 (SSID='GUU MILK TEA' freq=2412 MHz)
May 3 09:40:40 Zapus kernel: [ 3007.235801] wlxf81a670b94db: authenticate with c4:a3:66:c1:03:54
May 3 09:40:41 Zapus kernel: [ 3007.457876] wlxf81a670b94db: send auth to c4:a3:66:c1:03:54 (try 1/3)
May 3 09:40:41 Zapus NetworkManager[1140]: <info> [1493779241.2027] device (wlxf81a670b94db): supplicant interface state: scanning -> authenticating
May 3 09:40:41 Zapus kernel: [ 3007.460138] wlxf81a670b94db: authenticated
May 3 09:40:44 Zapus NetworkManager[1140]: <warn> [1493779244.3108] device (wlxf81a670b94db): Activation: (wifi) association took too long, failing activation
May 3 09:40:44 Zapus NetworkManager[1140]: <info> [1493779244.3109] device (wlxf81a670b94db): state change: config -> failed (reason 'ssid-not-found') [50 120 53]
May 3 09:40:44 Zapus NetworkManager[1140]: <info> [1493779244.3114] manager: NetworkManager state is now DISCONNECTED
May 3 09:40:44 Zapus NetworkManager[1140]: <warn> [1493779244.3127] device (wlxf81a670b94db): Activation: failed for connection 'GUU MILK TEA 1'
May 3 09:40:44 Zapus kernel: [ 3010.567620] wlxf81a670b94db: aborting authentication with c4:a3:66:c1:03:54 by local choice (Reason: 3=DEAUTH_LEAVING)
May 3 09:40:44 Zapus NetworkManager[1140]: <info> [1493779244.3141] device (wlxf81a670b94db): state change: failed -> disconnected (reason 'none') [120 30 0]
May 3 09:40:44 Zapus wpa_supplicant[1893]: wlxf81a670b94db: CTRL-EVENT-DISCONNECTED bssid=c4:a3:66:c1:03:54 reason=3 locally_generated=1
May 3 09:40:44 Zapus kernel: [ 3010.646752] IPv6: ADDRCONF(NETDEV_UP): wlxf81a670b94db: link is not ready
May 3 09:40:44 Zapus NetworkManager[1140]: <info> [1493779244.4142] device (wlxf81a670b94db): set-hw-addr: set MAC address to F6:9B:02:95:1D:15 (scanning)
May 3 09:40:44 Zapus kernel: [ 3010.851793] IPv6: ADDRCONF(NETDEV_UP): wlxf81a670b94db: link is not ready
May 3 09:40:44 Zapus NetworkManager[1140]: <warn> [1493779244.6033] sup-iface[0x55d659f3ba10,wlxf81a670b94db]: connection disconnected (reason -3)
May 3 09:40:44 Zapus NetworkManager[1140]: <info> [1493779244.6038] device (wlxf81a670b94db): supplicant interface state: authenticating -> disconnected

My Ubuntu:

Ubuntu 17.04
$ uname -a
Linux Zapus 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-extra-4.10.0-20-generic 4.10.0-20.22
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: quan 2631 F.... pulseaudio
CurrentDesktop: Unity:Unity7
Date: Wed May 3 10:00:17 2017
HibernationDevice: RESUME=UUID=827a1ee9-650e-42f4-943f-0fe6852a69db
InstallationDate: Installed on 2017-04-14 (18 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: Hewlett-Packard HP 15 Notebook PC
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-20-generic.efi.signed root=UUID=2cea9e5f-d0a8-4d48-9218-6e48122a6f1e ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-20-generic N/A
 linux-backports-modules-4.10.0-20-generic N/A
 linux-firmware 1.164
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/17/2014
dmi.bios.vendor: Insyde
dmi.bios.version: F.10
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 21BC
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 39.15
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.10:bd03/17/2014:svnHewlett-Packard:pnHP15NotebookPC:pvr0975100000005F10000600087:rvnHewlett-Packard:rn21BC:rvr39.15:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP 15 Notebook PC
dmi.product.version: 0975100000005F10000600087
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc8

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

Hi, I upgraded to kernel v4.11:

$ uname -a
Linux Zapus 4.11.0-041100rc8-generic #201704232131 SMP Mon Apr 24 01:32:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

The problem still exists:

May 4 17:49:46 Zapus NetworkManager[1014]: <info> [1493894986.1889] device (wlxf81a670b94db): supplicant interface state: disconnected -> scanning
May 4 17:49:47 Zapus wpa_supplicant[1672]: wlxf81a670b94db: SME: Trying to authenticate with 18:a6:f7:d3:8b:b2 (SSID='X\xc3\xb3m nh\xc3\xa0 l\xc3\xa1' freq=2462 MHz)
May 4 17:49:47 Zapus kernel: [ 238.048186] wlxf81a670b94db: authenticate with 18:a6:f7:d3:8b:b2
May 4 17:49:47 Zapus kernel: [ 238.314481] wlxf81a670b94db: send auth to 18:a6:f7:d3:8b:b2 (try 1/3)
May 4 17:49:47 Zapus NetworkManager[1014]: <info> [1493894987.6765] device (wlxf81a670b94db): supplicant interface state: scanning -> authenticating
May 4 17:49:47 Zapus kernel: [ 238.317885] wlxf81a670b94db: authenticated
May 4 17:49:50 Zapus kernel: [ 240.853946] wlxf81a670b94db: aborting authentication with 18:a6:f7:d3:8b:b2 by local choice (Reason: 3=DEAUTH_LEAVING)
May 4 17:49:50 Zapus NetworkManager[1014]: <warn> [1493894990.2127] device (wlxf81a670b94db): Activation: (wifi) association took too long, failing activation
May 4 17:49:50 Zapus NetworkManager[1014]: <info> [1493894990.2128] device (wlxf81a670b94db): state change: config -> failed (reason 'ssid-not-found') [50 120 53]
May 4 17:49:50 Zapus NetworkManager[1014]: <info> [1493894990.2132] manager: NetworkManager state is now DISCONNECTED
May 4 17:49:50 Zapus NetworkManager[1014]: <warn> [1493894990.2144] device (wlxf81a670b94db): Activation: failed for connection 'Xóm nhà lá 1'
May 4 17:49:50 Zapus NetworkManager[1014]: <info> [1493894990.3047] device (wlxf81a670b94db): state change: failed -> disconnected (reason 'none') [120 30 0]
May 4 17:49:50 Zapus wpa_supplicant[1672]: wlxf81a670b94db: CTRL-EVENT-DISCONNECTED bssid=18:a6:f7:d3:8b:b2 reason=3 locally_generated=1
May 4 17:49:50 Zapus kernel: [ 240.947231] IPv6: ADDRCONF(NETDEV_UP): wlxf81a670b94db: link is not ready
May 4 17:49:50 Zapus NetworkManager[1014]: <info> [1493894990.3350] device (wlxf81a670b94db): set-hw-addr: set MAC address to AE:37:82:C3:B1:DF (scanning)
May 4 17:49:50 Zapus NetworkManager[1014]: <warn> [1493894990.5493] sup-iface[0x55a39b9bd160,wlxf81a670b94db]: connection disconnected (reason -3)
May 4 17:49:50 Zapus kernel: [ 241.187799] IPv6: ADDRCONF(NETDEV_UP): wlxf81a670b94db: link is not ready
May 4 17:49:50 Zapus NetworkManager[1014]: <info> [1493894990.5496] device (wlxf81a670b94db): supplicant interface state: authenticating -> disconnected

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

This issue starts appear when I use Ubuntu 17.04 (fresh install, not upgrade). Last time it works is Ubuntu 16.10.

Where to change tag to 'kernel-bug-exists-upstream'?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
summary: - ath9k_htc doesn't work with TL-WN722N wifi USB
+ ath9k_htc doesn't work with TL-WN722N wifi USB [kernel-bug-exists-
+ upstream]
tags: added: kernel-bug-exists-upstream
summary: - ath9k_htc doesn't work with TL-WN722N wifi USB [kernel-bug-exists-
- upstream]
+ ath9k_htc doesn't work with TL-WN722N wifi USB
Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

Found where tag is. Changed already.

Revision history for this message
Marcos Nascimento (wstlmn) wrote :

It also does not work in 17.10. He tries three times, but without success. In 16.04 it works perfectly.

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

This "ssid-not-found" error also happens with Tenda W311M.

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

Ok. Found that it is actually Network Manager's bug #1681513.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
tags: removed: kernel-bug-exists-upstream
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.