qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
428 stars 182 forks source link

Frequent connection drops. #107

Closed pkgodara closed 7 years ago

pkgodara commented 7 years ago

I am using TP-Link WN722N usb wireless adaptor on ubuntu 16.04( latest ). Device 011: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n .

It is working good on windows but on ubuntu , connection drops frequently and I have to replug or restart network manager to make it work fine again. I thing it doesn't update connection and also signal strength doesn't update on desktop. Whatever is the problem , please try to fix is.

It also asks for wifi-password again and again on auto - disconnecting.

olerem commented 7 years ago

I have ubuntu 16.04 and use this adapter for long distance connections, in places where my build in adapter is not able to get good signal. It works perfectly... so What i'm doing wrong? Wrong encryption, too new kernel? Too recent firmware?

Is your linux installed directly on HW or in VirtualBox?

pkgodara commented 7 years ago

Its dual booted with windows 8.1 , i.e. directly installed on HW. I am using it on HP 15-ac053tx notebook.

This is output for command: lshw *-network description: Wireless interface physical id: 1 bus info: usb@1:3 logical name: wlxec086b17d6e4 capabilities: ethernet physical wireless configuration: broadcast=yes driver=ath9k_htc driverversion=4.4.0-43-generic firmware=1.4 ip=xxx.xxx.xxx.xxx link=yes multicast=yes wireless=IEEE 802.11bgn

And : iwconfig Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=58/70 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:25 Missed beacon:0

olerem commented 7 years ago

Please, try fallowing, take this file https://github.com/olerem/ath9k-htc-firmware-blob/blob/master/htc_9271.fw and put it instead of /lib/firmware/ath9k_htc/htc_9271-1.4.0.fw on you notebook. Make a backup of original fw first. then reload ath9k_htc driver or restart notebook. If no changes, please try some recent kernel, for example this one: http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/