WiFi on 5ghz is slow

Hello,

I’ve already checked all the post in the forum, but I still don’t have any solution.
WiFi 6 on 5ghz is slow as hell on my dell xps 9350 (Intel AX200 chip).

I’m connected at 54mbps speed and only get 24mbps throughput (I also get 54% signal strength at 5meters from the WiFi …).

I’ve already added these options to modprobe:

options iwlwifi led_mode=1
options iwlwifi 11n_disable=1 swcrypto=1 bt_coex_active=0 power_save=0
options iwlmvm power_scheme=1
options iwlwifi d0i3_disable=1
options iwlwifi uapsd_disable=1
options iwlwifi lar_disable=1

Without 11n_disable=1 I can’t even connect. It doesn’t work with =8 as I’ve seen on some topics. The microcode crash and restart.

Any suggestions?

SystemInfo

System:
  Kernel: 5.11.6-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=1e1ed206-86f8-47d9-be31-d6504cc1bd2c rw quiet 
  cryptdevice=UUID=e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4:luks-e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4 
  root=/dev/mapper/luks-e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4 
  resume=/dev/mapper/luks-e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4 
  Console: tty pts/2 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux 
  base: Arch Linux 
Machine:
  Type: Laptop System: Dell product: XPS 13 9350 v: N/A serial: <filter> 
  Chassis: type: 9 serial: <filter> 
  Mobo: Dell model: 0JXC1H v: X00 serial: <filter> UEFI: Dell v: 1.13.0 
  date: 02/10/2020 
Battery:
  ID-1: BAT0 charge: 27.2 Wh (48.7%) condition: 55.9/55.9 Wh (100.0%) 
  volts: 7.6 min: 8.1 model: SMP DELL RWT1R43 type: Li-poly serial: <filter> 
  status: Discharging 
Memory:
  RAM: total: 7.5 GiB used: 2.3 GiB (30.7%) 
  Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB 
  note: est. 
  Device-1: System Board Memory size: 4 GiB speed: 1867 MT/s type: LPDDR3 
  detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Elpida 
  part-no: EDFA232A2MA-JD-F-R serial: <filter> 
  Device-2: System Board Memory size: 4 GiB speed: 1867 MT/s type: LPDDR3 
  detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Elpida 
  part-no: EDFA232A2MA-JD-F-R serial: <filter> 
CPU:
  Info: Dual Core model: Intel Core i7-6560U socket: U3E1 bits: 64 
  type: MT MCP arch: Skylake family: 6 model-id: 4E (78) stepping: 3 
  microcode: E2 cache: L1: 128 KiB L2: 4 MiB L3: 4 MiB bogomips: 17605 
  Speed: 500 MHz min/max: 400/3200 MHz base/boost: 2200/2200 volts: 0.8 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat 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 ept ept_ad erms est 
  f16c flexpriority 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 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  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: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Iris Graphics 540 vendor: Dell driver: i915 v: kernel 
  bus-ID: 00:02.0 chip-ID: 8086:1926 class-ID: 0300 
  Device-2: Microdia Integrated Webcam HD type: USB driver: uvcvideo 
  bus-ID: 1-5:3 chip-ID: 0c45:670c class-ID: 0e02 
  Display: server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: intel 
  unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP1 res: 1920x1080 dpi: 168 size: 290x170mm (11.4x6.7") 
  diag: 336mm (13.2") 
  OpenGL: renderer: Mesa Intel Iris Graphics 540 (SKL GT3) v: 4.6 Mesa 20.3.4 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes 
  Sound Server-2: sndio v: N/A running: no 
  Sound Server-3: JACK v: 0.125.0 running: no 
  Sound Server-4: PulseAudio v: 14.2 running: yes 
  Sound Server-5: PipeWire v: 0.3.23 running: yes 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f040 
  bus-ID: 3a:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp58s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-3:2 
  chip-ID: 8087:0029 class-ID: e001 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:
  Message: No LVM data was found. 
  Device-1: luks-917247d0-5f0d-4faf-9f2c-5f31d4bc488e maj-min: 254:1 
  type: LUKS dm: dm-1 size: 8.8 GiB 
  Components: 
  p-1: nvme0n1p3 maj-min: 259:3 size: 8.8 GiB 
  Device-2: luks-e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4 maj-min: 254:0 
  type: LUKS dm: dm-0 size: 223.79 GiB 
  Components: 
  p-1: nvme0n1p2 maj-min: 259:2 size: 223.79 GiB 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 232.89 GiB used: 112.76 GiB (48.4%) 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 960 EVO 250GB 
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 2B7QCXE7 temp: 31.9 C 
  scheme: GPT 
  SMART: yes health: PASSED on: 37d 5h cycles: 1,561 
  read-units: 22,407,781 [11.4 TB] written-units: 15,236,777 [7.80 TB] 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw-size: 223.79 GiB size: 219.27 GiB (97.98%) 
  used: 112.74 GiB (51.4%) fs: ext4 block-size: 4096 B dev: /dev/dm-0 
  maj-min: 254:0 mapped: luks-e0a657d9-c128-4ddb-a9ba-02a6dd6d58a4 label: N/A 
  uuid: 1e1ed206-86f8-47d9-be31-d6504cc1bd2c 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 22.2 MiB (7.4%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 
  maj-min: 259:1 label: N/A uuid: E6B4-35E7 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/dm-1 maj-min: 254:1 
  mapped: luks-917247d0-5f0d-4faf-9f2c-5f31d4bc488e label: N/A 
  uuid: d4058c08-92fb-4207-9a74-961cf44a75fd 
Unmounted:
  Message: No Unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-3:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Device-2: 1-5:3 info: Microdia Integrated Webcam HD type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0c45:670c class-ID: 0e02 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 44.0 C mobo: 35.0 C sodimm: SODIMM C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 211 Uptime: 7m wakeups: 11 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: pacman: 1430 lib: 416 flatpak: 0 
  Shell: Bash (sudo) v: 5.1.0 running-in: konsole inxi: 3.3.03

Thanks in advance,

Sorry,

I have edited with systeminfo.
Here is also the WiFi connection strenght and speed:

[nicolas@nicolas-XPS ~]$ sudo iw dev wlp58s0 link
Connected to 3c:7c:3f:87:a7:4c (on wlp58s0)
        SSID: SIMOND_5GHZ
        freq: 5500
        RX: 235447 bytes (843 packets)
        TX: 99821 bytes (696 packets)
        signal: -39 dBm
        rx bitrate: 54.0 MBit/s
        tx bitrate: 54.0 MBit/s

        bss flags:      short-slot-time
        dtim period:    1
        beacon int:     100

That only supports up to AC, not 6.

Where are you seeing that?

That is most excellent, you can’t get any better than that.

I have the same WiFi adapter in my laptop and get great speeds. I would perhaps change the 5GHz channel to something lower in your router settings. Also make sure it’s using 80MHz.channel bandwidth.

Here’s my output for comparison:

❯ iw dev wlan0 link
Connected to 3c:5c:f1:1e:14:45 (on wlan0)
	SSID: Ponderosa2
	freq: 5180
	RX: 137107373 bytes (148386 packets)
	TX: 20539347 bytes (108615 packets)
	signal: -60 dBm
	rx bitrate: 626.9 MBit/s 80MHz HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0
	tx bitrate: 592.1 MBit/s 80MHz HE-MCS 6 HE-NSS 2 HE-GI 1 HE-DCM 0

	bss flags:	short-preamble short-slot-time
	dtim period:	2
	beacon int:	100

That was the signal strenght when I was on the basement. It as nothing to two with my second post in terms of strenght.

The AX200 is a WiFi 6 card, check on intel ark

I’m alone on the 5Ghz bandwith and I wish to use 160mhz to transfer big files.

Edit: fixing channel on 52 doesn’t change (112 before)

Ah, you’re right. The Intel page and my laptop specs say it its, but your laptop specs only mention AC.

Well, I meant >=80MHz.

What’s your router make and model?

Yes, I have upgraded the original broadcom chip that was my worst nightmare under Windows / Manjaro for an AX200.

The actual router is an RT-AX82U, the old was a UNIFI AP AC LITE.

The behavior was the same with the broadcom and the UNIFI.
The behavior is the same on 2.4ghz and 5ghz network, the speed is capped at 54mbps.
The behavior is the same with a network sharing from my phone in both WiFi 2 / 5 (oneplus 5 at 5cm).

I think the problem came from a configuration in Manjaro / NetworkManager and not from the routeur or the AX200.

Like what? Manjaro doesn’t have any custom packages or settings that would affect that.

Maybe set your regulatory domain, that can help with some things.

I don’t know, I have this problem since I am under manjaro, without any link with the router or config / channel.

I have already set the regulatory domain to the right country (in both ap and laptop).

I also have an AX200 adapter. Not facing any issues though.

Did you try to delete the WiFi connection in NetworkManager and set it up again?

Which kernel version are you using?

You’re not using WEP encryption, are you? :hushed:

Yes, I have already deleted the connection to try.

I have tested with 4.19, 5.4, 5.9 and 5.11, it’s the same.

No wpa2 for the auth

Ok so I have made some additional test.

Live boot on Cinnamon : 24mbps, I divided the speed by two in 5ghz, but I get full speed on 2,4ghz …
Live boot on WIndows 10 : 2402mbps, I max out the WiFi chip and I max out the gigabit with a ipperf.

I think the problem comes from the firmware or NetworkManager, this last one is really pissing me off since I’ve been using linux with wifi…

Any idea?

Edit: still some tests in the night. I think the problem come from iwlwifi and Intel Microcode included in the kernel

Seems solved …

Two things:

1 - I took the microcode from Endavour with was giving me at least 300mbps out of the box and injected it into Manjaro.

2 - I updated the asus router config to this (disabled WiFi6 basically but stayed with 160mhz channel bandwidth):

Here is the result,

2021-04-08_19-02

Huh? Arch and all Manjaro branches have intel-ucode 20210216-1. I don’t see how Endeavour would have anything different.

I think he means linux-firmware, intel-ucode is CPU microcode.

Still there is no difference between the AX200 firmware files on arch and manjaro stable (iwlwifi-cc-a0-46.ucode)

1 Like

46 is not used anymore.
iwlwifi-cc-a0-59.ucode is loaded under Endeavour and Manjaro with kernel 5.10+

Ah, yeah. Still they are the same?

Could you post the output of:
sha256sum /usr/lib/firmware/iwlwifi-cc-a0-59.ucode

I didn’t check the one in Manjaro before, Endeavour was working, so I’ve taken the one from here.
Here it is:

e18cbc975bdde4f5bc14796f23ca19e712f05b4c365c4be0a19f1a2b3b768af8  iwlwifi-cc-a0-59.ucode

Same hash value for the Manjaro file. They are the same…

e18cbc975bdde4f5bc14796f23ca19e712f05b4c365c4be0a19f1a2b3b768af8  /usr/lib/firmware/iwlwifi-cc-a0-59.ucode

Maybe they were not on my install for some reason. I should have do the check.

But since I have had many troubles with the original broadcom chip on this laptop one year ago I have made a lot of modification and troubleshooting related to WiFi, maybe it came from this.