Bug 218246 - ath11k: WCN6855: stuck in 20Mhz channel on receive
Summary: ath11k: WCN6855: stuck in 20Mhz channel on receive
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-09 16:13 UTC by Yaroslav Isakov
Modified: 2023-12-13 05:21 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Yaroslav Isakov 2023-12-09 16:13:30 UTC
Hello! I bought Lenovo Thinkpad T14 Gen 4 AMD, with QCNFA765 WiFi adapter, and I found that on rx, it gives me only 20Mhz, when connected to AC AP with 80Mhz channel. But, on tx, it uses full 80Mhz:

freq: 5540
RX: 2592526811 bytes (2154928 packets)
TX: 68513814 bytes (467433 packets)
signal: -67 dBm
rx bitrate: 104.0 MBit/s VHT-MCS 5 VHT-NSS 2
tx bitrate: 702.0 MBit/s VHT-MCS 8 80MHz VHT-NSS 2

AP is TP-Link Archer C7 v4, with latest openwrt, and on router, bot tx and rx shows 80Mhz, on my laptop:
signal:  	-55 [-60, -59, -61] dBm
signal avg:	-52 [-57, -57, -58] dBm
tx bitrate:	526.6 MBit/s VHT-MCS 6 80MHz VHT-NSS 2
rx bitrate:	780.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 2

IPerf3 shows ~250mbit from router to laptop, which is bigger than 104 Mbit reported on laptop, but, lower than 526mbit reported on router.

One more strange thing: I started Wifi tethering on my phone (Pixel 7), and this time, on laptop, full 80MHz was shown (although, it was HE, not VHT).

Additional info:

Kernel version: 6.6.4 from gentoo-sources. I also tried 6.1.60, same issue.

Laptop: Lenovo Thinkpad T14 Gen 4 AMD

BIOS version: 1.13

How easy to reproduce: It is happening all the time I'm connected to AP, doesn't happen when I'm using WiFi tethering from my phone

uname: Linux thinkpad.lan 6.6.4-gentoo #2 SMP PREEMPT_DYNAMIC Fri Dec  8 16:18:45 CET 2023 x86_64 AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics AuthenticAMD GNU/Linux

lspci:
00:00.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14e8]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:00.2 "IOMMU [0806]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14e9]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:01.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ea]" -p00 "" ""
00:02.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ea]" -p00 "" ""
00:02.1 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ee]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:02.2 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ee]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:02.4 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ee]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:03.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ea]" -p00 "" ""
00:04.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ea]" -p00 "" ""
00:04.1 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Family 19h USB4/Thunderbolt PCIe tunnel [14ef]" -p00 "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [1453]"
00:08.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ea]" -p00 "" ""
00:08.1 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14eb]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:08.2 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14eb]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:08.3 "PCI bridge [0604]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14eb]" -p00 "Lenovo [17aa]" "Device [50d9]"
00:14.0 "SMBus [0c05]" "Advanced Micro Devices, Inc. [AMD] [1022]" "FCH SMBus Controller [790b]" -r71 -p00 "Lenovo [17aa]" "FCH SMBus Controller [50d9]"
00:14.3 "ISA bridge [0601]" "Advanced Micro Devices, Inc. [AMD] [1022]" "FCH LPC Bridge [790e]" -r51 -p00 "Lenovo [17aa]" "FCH LPC Bridge [50d9]"
00:18.0 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f0]" -p00 "" ""
00:18.1 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f1]" -p00 "" ""
00:18.2 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f2]" -p00 "" ""
00:18.3 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f3]" -p00 "" ""
00:18.4 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f4]" -p00 "" ""
00:18.5 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f5]" -p00 "" ""
00:18.6 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f6]" -p00 "" ""
00:18.7 "Host bridge [0600]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14f7]" -p00 "" ""
01:00.0 "Ethernet controller [0200]" "Realtek Semiconductor Co., Ltd. [10ec]" "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [8168]" -r0e -p00 "Lenovo [17aa]" "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [50d9]"
02:00.0 "Network controller [0280]" "Qualcomm Technologies, Inc [17cb]" "QCNFA765 Wireless Network Adapter [1103]" -r01 -p00 "Lenovo [17aa]" "QCNFA765 Wireless Network Adapter [9309]"
03:00.0 "Non-Volatile memory controller [0108]" "Samsung Electronics Co Ltd [144d]" "NVMe SSD Controller SM961/PM961/SM963 [a804]" -p02 "Samsung Electronics Co Ltd [144d]" "SM963 2.5\" NVMe PCIe SSD [a801]"
64:00.0 "VGA compatible controller [0300]" "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Phoenix1 [15bf]" -rdd -p00 "Lenovo [17aa]" "Phoenix1 [50d9]"
64:00.1 "Audio device [0403]" "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Rembrandt Radeon High Definition Audio Controller [1640]" -p00 "Lenovo [17aa]" "Rembrandt Radeon High Definition Audio Controller [50d9]"
64:00.2 "Encryption controller [1080]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Family 19h (Model 74h) CCP/PSP 3.0 Device [15c7]" -p00 "Lenovo [17aa]" "Device [50d9]"
64:00.3 "USB controller [0c03]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [15b9]" -p30 "Lenovo [17aa]" "Device [50d9]"
64:00.4 "USB controller [0c03]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [15ba]" -p30 "Lenovo [17aa]" "Device [50d9]"
64:00.5 "Multimedia controller [0480]" "Advanced Micro Devices, Inc. [AMD] [1022]" "ACP/ACP3X/ACP6x Audio Coprocessor [15e2]" -r63 -p00 "Lenovo [17aa]" "ACP/ACP3X/ACP6x Audio Coprocessor [50d9]"
64:00.6 "Audio device [0403]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Family 17h/19h HD Audio Controller [15e3]" -p00 "Lenovo [17aa]" "Family 17h/19h HD Audio Controller [50d9]"
65:00.0 "Non-Essential Instrumentation [1300]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ec]" -p00 "Lenovo [17aa]" "Device [50d9]"
65:00.1 "Signal processing controller [1180]" "Advanced Micro Devices, Inc. [AMD] [1022]" "AMD IPU Device [1502]" -p00 "Lenovo [17aa]" "Device [50d9]"
66:00.0 "Non-Essential Instrumentation [1300]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [14ec]" -p00 "Lenovo [17aa]" "Device [50d9]"
66:00.3 "USB controller [0c03]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [15c0]" -p30 "Lenovo [17aa]" "Device [50d9]"
66:00.4 "USB controller [0c03]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Device [15c1]" -p30 "Lenovo [17aa]" "Device [50d9]"
66:00.6 "USB controller [0c03]" "Advanced Micro Devices, Inc. [AMD] [1022]" "Pink Sardine USB4/Thunderbolt NHI controller #2 [1669]" -p40 "Lenovo [17aa]" "Device [50d9]"

Firmware (started with WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23, and then updated to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 - same issue): 
4298e2a37531489dfa7ef870b1568921  /lib/firmware/ath11k/WCN6855/hw2.0/amss.bin
a320612e0b0ccbc2c1e4531272c70f43  /lib/firmware/ath11k/WCN6855/hw2.0/board-2.bin
3002283083fb070927b5a149445634c9  /lib/firmware/ath11k/WCN6855/hw2.0/Notice.txt
f67be83659c790fe15d1e42af501e9fa  /lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin
d1460fc1c4595d0d22f82d5baeaabbd8  /lib/firmware/ath11k/WCN6855/hw2.0/m3.bin

Kernel log:
Dec 08 16:20:41 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0x78600000-0x787fffff 64bit]
Dec 08 16:20:41 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
Dec 08 16:20:41 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: MSI vectors: 32
Dec 08 16:20:41 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: wcn6855 hw2.1
Dec 08 16:20:42 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
Dec 08 16:20:42 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: fw_version 0x110b196e fw_build_timestamp 2022-12-22 12:54 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
Dec 08 16:20:42 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 16:20:42 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 16:22:10 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 16:37:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 16:48:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 16:58:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 17:14:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 17:25:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 17:40:46 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28
Dec 08 21:13:04 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0x78600000-0x787fffff 64bit]
Dec 08 21:13:04 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: MSI vectors: 32
Dec 08 21:13:04 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: wcn6855 hw2.1
Dec 08 21:13:05 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
Dec 08 21:13:05 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: fw_version 0x110b196e fw_build_timestamp 2022-12-22 12:54 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
Dec 08 21:13:05 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 21:13:05 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 21:49:57 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0x78600000-0x787fffff 64bit]
Dec 08 21:49:57 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: MSI vectors: 32
Dec 08 21:49:57 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: wcn6855 hw2.1
Dec 08 21:49:58 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
Dec 08 21:49:58 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: fw_version 0x110b196e fw_build_timestamp 2022-12-22 12:54 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
Dec 08 21:49:59 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 21:49:59 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 22:37:21 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0x78600000-0x787fffff 64bit]
Dec 08 22:37:21 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: MSI vectors: 32
Dec 08 22:37:21 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: wcn6855 hw2.1
Dec 08 22:37:22 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
Dec 08 22:37:22 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: fw_version 0x1106996e fw_build_timestamp 2023-10-13 07:30 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30
Dec 08 22:37:22 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 08 22:37:22 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: Failed to set the requested Country regulatory setting
Dec 09 12:33:13 thinkpad.lan kernel: ath11k_pci 0000:02:00.0: failed to enqueue rx buf: -28

Regulatory:
iw reg get
global
country CZ: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
	(5725 - 5875 @ 80), (N/A, 13), (N/A)
	(5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#3 (self-managed)
country DE: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 23), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5490 - 5590 @ 80), (N/A, 30), (0 ms), DFS, AUTO-BW
	(5590 - 5650 @ 40), (N/A, 30), (600000 ms), DFS, AUTO-BW
	(5650 - 5710 @ 40), (N/A, 30), (0 ms), DFS, AUTO-BW
	(5735 - 5855 @ 80), (N/A, 14), (N/A), AUTO-BW
	(5855 - 5875 @ 20), (N/A, 14), (N/A), AUTO-BW
	(5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW

Note You need to log in before you can comment on or make changes to this bug.