[SOLVED] Qualcomm Atheros AR9285 Wireless Driver ath9k Slow all distros

cencar

New Member
Joined
Nov 15, 2022
Messages
17
Reaction score
2
Credits
156
Connection Information
Interface: 802.11 Wi-Fi (wlan0)
Hardware Address: 74:2F:68:6F:C7:36
Driver: ath9k
Speed: 52 Mb/s
Security: WPA/WPA2
Speed test 5 Mb/s. Hotspot my phone speed test 60 Mb/s

Code:
lspci -k -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
    Subsystem: ASUSTeK Computer Inc. Family 12h Processor Root Complex
    Flags: bus master, 66MHz, medium devsel, latency 0

04:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at fe900000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: ath9k
    Kernel modules: ath9k, wl
Code:
 iwconfig

lo        no wireless extensions.


eth0      no wireless extensions.


wlan0     IEEE 802.11  ESSID:"BLINK-16F6" 

          Mode:Managed  Frequency:2.437 GHz  Access Point: 0C:D6:BD:17:16:F6   

          Bit Rate=52 Mb/s   Tx-Power=15 dBm   

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:off

          Link Quality=61/70  Signal level=-49 dBm 

          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:55   Missed beacon:0
I tried Manjaro, Mint, Mx, and Unbuntu the speeds were all under 5 Mb/s.
 


What is the output of
Code:
sudo dkms status
and
Code:
sudo dmesg | grep ath
 
What is the output of
Code:
sudo dkms status
and
Code:
sudo dmesg | grep ath
Code:
sudo dkms status

broadcom-sta, 6.30.223.271, 5.10.0-18-amd64, x86_64: installed

broadcom-sta, 6.30.223.271, 5.10.0-19-amd64, x86_64: installed

rtl8812au, 5.6.4.2~ppa, 5.10.0-18-amd64, x86_64: installed

rtl8812au, 5.6.4.2~ppa, 5.10.0-19-amd64, x86_64: installed

rtl8821ce, 5.5.2.1, 5.10.0-18-amd64, x86_64: installed

rtl8821ce, 5.5.2.1, 5.10.0-19-amd64, x86_64: installed

rtl8821cu, 5.4.1, 5.10.0-18-amd64, x86_64: installed

rtl8821cu, 5.4.1, 5.10.0-19-amd64, x86_64: installed

Code:
 sudo dmesg | grep ath
[   19.661449] ath9k 0000:04:00.0: enabling device (0000 -> 0002)
[   19.709689] ath: phy0: Enable LNA combining
[   19.720618] ath: phy0: ASPM enabled: 0x42
[   19.720626] ath: EEPROM regdomain: 0x60
[   19.720628] ath: EEPROM indicates we should expect a direct regpair map
[   19.720632] ath: Country alpha2 being used: 00
[   19.720633] ath: Regpair used: 0x

Thanks, Lord Boltar for the reply. I had a quick look at Expirion, phew way above my pay rate.
 
Last edited:
Before we go any farther - I would look at your router WiFi settings - If you use 2.4 Ghz broadcasting radio, you should use 20 Mhz for the channel width. The simple reason is that 20 Mhz is really a supportive measure for your older device. Using 20 Mhz on a 5 Ghz radio setting defeats the purpose of actually using 5 Ghz radio setting. Also switch it to channel 11 or channel 6 or channel 1 there is no frequency overlap on these channel for 2.4Ghz - if this does not work we will move on to something else
 
Last edited by a moderator:
Ok my mistake, I neglected to say my wifi is sim card Huawei v E5573 Modem. I also have a HP probook 470 g3 and I get a constant 50 Mb/s download and 35 Mb/s upload. I did follow another forum where the suggestion was to limit the connection to set the band 2.4 GHz, instead of automatic. This did nothing but increased ping over 30ms. I have tried to include the same outputs you requested for my Asus by way of comparison. But Arch seems (to me) a more difficult syntax to follow.
Code:
System:
  Kernel: 5.15.78-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=2b3f64a3-6e55-4ab7-aa36-d576f361a51b rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ProBook 470 G3 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8102 v: KBC Version 40.73 serial: <superuser required>
    UEFI: HP v: N78 Ver. 01.53 date: 11/24/2021
Battery:
  ID-1: BAT0 charge: 34.5 Wh (71.9%) condition: 48.0/55.1 Wh (87.2%)
    volts: 11.2 min: 10.7 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: discharging cycles: 434
Memory:
  RAM: total: 7.66 GiB used: 3.49 GiB (45.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x4E (78) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 645 high: 1072 min/max: 400/3100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 500 2: 500 3: 509 4: 1072
    bogomips: 20810
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb erms est f16c flush_l1d fma fpu fsgsbase fxsr ht hwp
    hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
    nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
    pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap
    smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tsc
    tsc_adjust tsc_deadline_timer vme x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:1916 class-ID: 0300
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
    620/625 Mobile] vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN-3 code: Volcanic Islands process: TSMC 28nm built: 2014-19 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 1002:6900 class-ID: 0380 temp: 36.0 C
  Device-3: Cheng Uei Precision Industry (Foxlink) HP HD Camera type: USB
    driver: uvcvideo bus-ID: 1-6:3 chip-ID: 05c8:0383 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
    compositor: xfwm v: 4.16.1 driver: X: loaded: amdgpu,modesetting
    alternate: fbdev,vesa dri: iris,radeonsi gpu: i915 display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
    s-diag: 485mm (19.11")
  Monitor-1: eDP-1 model: AU Optronics 0x219e built: 2015 res: 1600x900
    hz: 60 dpi: 106 gamma: 1.2 size: 382x214mm (15.04x8.43") diag: 438mm (17.2")
    ratio: 16:9 modes: 1600x900
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d70 class-ID: 0403
  Sound API: ALSA v: k5.15.78-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: Unknown
    lanes: 63 link-max: gen: 6 speed: 64 GT/s port: 4000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24f3 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:4 chip-ID: 8087:0a2b class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 931.51 GiB used: 15.71 GiB (1.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT
  Optical-1: /dev/sr0 vendor: hp model: DVDRW DU8A6SH rev: DH61
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) used: 15.71 GiB (1.7%)
    fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 2b3f64a3-6e55-4ab7-aa36-d576f361a51b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: BE39-D070
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: USB OPTICAL MOUSE type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 0000:3825 class-ID: 0301
  Device-2: 1-6:3 info: Cheng Uei Precision Industry (Foxlink) HP HD Camera
    type: Video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 05c8:0383 class-ID: 0e02
  Device-3: 1-7:4 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2b class-ID: e001
  Device-4: 1-8:5 info: Validity Sensors VFS495 Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 138a:003f class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 33.0 C pch: 35.0 C mobo: N/A gpu: amdgpu
    temp: 36.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 247 Uptime: 20h 50m wakeups: 13 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: pm: pacman pkgs: 1204 libs: 364 tools: pamac pm: flatpak pkgs: 0
  Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.23
Code:
nmcli
wlp3s0: connected to BLINK-16F6
        "Intel 8260"
        wifi (iwlwifi), A4:34:D9:3D:B2:BF, hw, mtu 1500
        ip4 default
        inet4 192.168.8.100/24
        route4 192.168.8.0/24 metric 600
        route4 default via 192.168.8.1 metric 600
        inet6 fe80::71f0:fa8f:669a:2ca0/64
        route6 fe80::/64 metric 1024

p2p-dev-wlp3s0: disconnected
        "p2p-dev-wlp3s0"
        wifi-p2p, hw

enp2s0: unavailable
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), DC:4A:3E:DC:5F:35, hw, mtu 1500

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
        servers: 192.168.8.1
        interface: wlp3s0
Code:
nmcli connection show
NAME                UUID                                  TYPE      DEVICE
BLINK-16F6          6685e883-621d-483a-b9ab-a77cd6606b0a  wifi      wlp3s0
Wired connection 1  4559070b-a45c-35f3-9e6e-af5f80de4422  ethernet  --
As I said at the top of the post Arch is, for me, a steep learning curve. Therefore, if this is not necessary information, just post and I will follow up. Thanks again Cencar.
 
Last edited:
Welcome
"confused " your INXI report shows an intel wireless with the correct drivers installed, the Huawei is a mobile router of some sort of which I am not familiar,
I will do some digging around and see if I can find anything later today
 
ok after digging around,
Intel Wi-Fi do not usually cause problems with the kernel drivers, I am not too much up on Arch based distributions, So by doing a general search for poor Wi-Fi I found one possibility, is power management applied to your Wi-Fi, if so try turning it off
 
So the Huawei E5573 Modem is working fine on the HP Probook 470 but is real slow on your ASUS - is my understanding correct on this
 
So the HP is running Manjaro and the ASUS is running Debian I am guessing because of the kernel I am seeing or an OS based on Debian is that also correct?
If it is correct - on the ASUS machine in the terminal
Code:
sudo apt purge bcmwl-kernel-source
Code:
sudo apt purge backport-iwlwifi-dkms
Code:
sudo dkms remove rtl8821ce/5.5.2.1 --all
reboot and check the WiFi
 
System:
Kernel: 5.15.0-41-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 wm: xfwm dm: LightDM
Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: ASUSTeK product: K73TA
Mobo: ASUSTeK model: K73TA UEFI:
American Megatrends v: 214 date: 04/06/2012
Code:
sudo apt purge bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'bcmwl-kernel-source' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 147 not to upgrade.


sudo apt purge backport-iwlwifi-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'backport-iwlwifi-dkms' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 147 not to upgrade.

sudo dkms remove rtl8821ce/5.5.2.1 --all
Error! The module/version combo: rtl8821ce-5.5.2.1 is not located in the DKMS tree.
 
System:
Kernel: 5.15.0-41-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 wm: xfwm dm: LightDM
Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: ASUSTeK product: K73TA
Mobo: ASUSTeK model: K73TA UEFI:
American Megatrends v: 214 date: 04/06/2012
Code:
sudo apt purge bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'bcmwl-kernel-source' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 147 not to upgrade.


sudo apt purge backport-iwlwifi-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'backport-iwlwifi-dkms' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 147 not to upgrade.

sudo dkms remove rtl8821ce/5.5.2.1 --all
Error! The module/version combo: rtl8821ce-5.5.2.1 is not located in the DKMS tree.
Did you change distros the kernel is different because earlier you posted in #3
rtl8821ce, 5.5.2.1, 5.10.0-18-amd64, x86_64: installed
rtl8821ce, 5.5.2.1, 5.10.0-19-amd64, x86_64: installed
which 5.10.0-18 and -19 are Debian Kernels so the commands I gave you won't work on Canonical Ubuntu Kernel since the bcmwl-kernel is not installed
 
Yes I got the same negative result from Mx linux so I installed Mint to verify the same errors
 
Replaced Qualcomm Atheros AR9285 Half-size Mini PCIe Card 5 Mbps.
Realtek 802.11n USB WiFi 25 Mbps. Some times it is a hardware issue and for a cheap and simple fix, I now have a reasonable internet connection.
 
Thanks for letting us know what worked.

And, yeah, those aren't expensive.
 

Staff online


Top