You are not logged in.

#1 2021-05-10 19:32:39

ray.s.whiteside
Member
Registered: 2021-05-10
Posts: 6

[SOLVED] AX201 Slow Wi-Fi

I am seeing 75 +/- 15 Mpbs down and 20 +/-5 Mbps on my new laptop on intranet to wired targets.

Internet has been working for a few weeks and the connection is reliable, but just noticed the speed isn't what it should be. My phone in the same location on the same network maxes out my connection (200 down/10 up) on speedtest.net. The laptop on speedtest saturates the upload but not the download, where it sees the same speeds as intranet.

iperf run on the with a wired connection to the laptop results:

❯ iperf -c laptop --dualtest
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to laptop, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.desktop port 38286 connected with 192.168.1.laptop port 5001
[  4] local 192.168.1.desktop port 5001 connected with 192.168.1.laptop port 59566
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.1 sec  22.6 MBytes  18.8 Mbits/sec
[  4]  0.0-10.4 sec  82.1 MBytes  66.5 Mbits/sec

New laptop:

> neofetch
...
Host: 20XWCTO1WW ThinkPad X1 Carbon Gen 9
Kernel: 5.12.2-arch1-1
CPU: 11th Gen Intel i7-1185G7 (8) @ 4.800GHz
...

Network controller via lspci

> lspci -k -v
...
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
	Subsystem: Intel Corporation Device 0070
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 11
	Memory at 603d1dc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

...
❯ dmesg | grep iwlwifi
[    3.731455] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    3.735538] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    3.735550] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[    3.735788] iwlwifi 0000:00:14.3: loaded firmware version 62.49eeb572.0 QuZ-a0-hr-b0-62.ucode op_mode iwlmvm
[    3.886827] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[    4.074868] iwlwifi 0000:00:14.3: base HW address: 80:45:dd:32:86:a1
[    4.090683] Modules linked in: snd_soc_hdac_hda pcc_cpufreq(-) kvm(+) snd_hda_ext_core acpi_cpufreq(-) snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus irqbypass crct10dif_pclmul crc32_pclmul aesni_intel snd_soc_core crypto_simd intel_cstate snd_compress intel_uncore iwlmvm ac97_bus ghash_generic gf128mul snd_pcm_dmaengine ghash_clmulni_intel cryptd snd_hda_intel gcm snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec ccm mac80211 psmouse pcspkr snd_hda_core algif_aead snd_hwdep snd_pcm des_generic libdes libarc4 i2c_i801 snd_timer i2c_smbus iwlwifi cbc ecb algif_skcipher mei_me mei cfg80211 cmac md4 intel_lpss_pci intel_lpss idma64 algif_hash intel_ish_ipc(+) af_alg processor_thermal_device intel_ishtp processor_thermal_rfim processor_thermal_mbox processor_thermal_rapl intel_rapl_common thunderbolt tpm_crb intel_pmt intel_soc_dts_iosf tpm_tis tpm_tis_core ucsi_acpi tpm typec_ucsi typec rng_core roles wmi i2c_hid_acpi i2c_hid thinkpad_acpi platform_profile ledtrig_audio rfkill snd
❯

Full dmesg

❯ systool -v -m iwlwifi
Module = "iwlwifi"

  Attributes:
    coresize            = "421888"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "1"
    srcversion          = "63DF1443704028DD5C294C6"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    11n_disable         = "0"
    amsdu_size          = "0"
    bt_coex_active      = "Y"
    debug               = "0"
    disable_11ac        = "N"
    disable_11ax        = "N"
    enable_ini          = "Y"
    fw_restart          = "Y"
    led_mode            = "0"
    nvm_file            = "(null)"
    power_level         = "0"
    power_save          = "N"
    remove_when_gone    = "N"
    swcrypto            = "0"
    uapsd_disable       = "3"

  Sections:
❯ iw wlan0 info
Interface wlan0
	ifindex 3
	wdev 0x2
	addr 80:45:dd:32:86:a1
	ssid method_one_clinic
	type managed
	wiphy 0
	channel 3 (2422 MHz), width: 20 MHz, center1: 2422 MHz
	txpower 22.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
❯ iw wlan0 link
Connected to d2:40:d0:55:c1:f2 (on wlan0)
	SSID: method_one_clinic
	freq: 2422
	RX: 422869873 bytes (47961544 packets)
	TX: 958854568 bytes (5749423 packets)
	signal: -47 dBm
	rx bitrate: 144.4 MBit/s MCS 15 short GI
	tx bitrate: 144.4 MBit/s MCS 15 short GI

	bss flags:	short-preamble short-slot-time
	dtim period:	4
	beacon int:	200
❯ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 80:45:dd:32:86:a1 brd ff:ff:ff:ff:ff:ff

I found this issue regarding the PCIE link speed

But the provided one-liner yielded this:

❯ sudo lspci -vv | grep -P "[0-9a-f]{2}:[0-9a-f]{2}\.[0-9a-f]|LnkSta:"

00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Iris Xe Graphics (rev 01) (prog-if 00 [VGA controller])
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01) (prog-if 00 [Normal decode])
		LnkSta:	Speed 8GT/s (downgraded), Width x4 (ok)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01) (prog-if 00 [Normal decode])
		LnkSta:	Speed 2.5GT/s (ok), Width x0 (downgraded)
00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01) (prog-if 00 [Normal decode])
		LnkSta:	Speed 2.5GT/s (ok), Width x0 (downgraded)
00:08.0 System peripheral: Intel Corporation Device 9a11 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01) (prog-if 30 [XHCI])
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01) (prog-if 40 [USB4 Host Interface])
00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01) (prog-if 40 [USB4 Host Interface])
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20) (prog-if 00 [8250])
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20) (prog-if 30 [XHCI])
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:16.3 Serial controller: Intel Corporation Device a0e3 (rev 20) (prog-if 02 [16550])
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) (prog-if 80)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
04:00.0 Non-Volatile memory controller: SK hynix Device 174a (prog-if 02 [NVM Express])
		LnkSta:	Speed 8GT/s (ok), Width x4 (ok)

Which shows that some interfaces are in a "downgraded" state but the AX201 controller doesn't have a "LinkSta:" line or anything that looks remotely like it:

00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
        Subsystem: Intel Corporation Device 0070
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        IOMMU group: 11
        Region 0: Memory at 603d1dc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE- FLReset+
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
                DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
                         10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix-
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                         FRS-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis- LTR+ OBFF Disabled,
                         AtomicOpsCtl: ReqEn-
        Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
                Vector table: BAR=0 offset=00002000
                PBA: BAR=0 offset=00003000
        Capabilities: [100 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [164 v1] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

So maybe it's a PCIE problem of some kind?

I booted Windows once and then I immediately swapped the SSD and installed arch. I have the Windows drive it came with, but would have to physically swap it in to test.

I have also tried the LTS kernel with no better results, but variables are all over the place at this point so I'm happy to perform any experiments.

Appreciate any ideas!

Last edited by ray.s.whiteside (2021-05-14 21:53:07)

Offline

#2 2021-05-14 21:52:21

ray.s.whiteside
Member
Registered: 2021-05-10
Posts: 6

Re: [SOLVED] AX201 Slow Wi-Fi

Found the solution to my issue here.

On my router I deselected "Enable 20/40 MHz Coexistance". Now I get 230 Mbps down via Speedtest and 350-400 Mbps on LAN to a wired target.

Offline

Board footer

Powered by FluxBB