Bug 219751 - ath12k: statistics missing per chain rssi and signal
Summary: ath12k: statistics missing per chain rssi and signal
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: 2025-02-05 17:22 UTC by MHartman
Modified: 2025-02-05 17:22 UTC (History)
0 users

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


Attachments

Description MHartman 2025-02-05 17:22:36 UTC
When running "iw dev <ath12k_device> station dump" the ath12k driver does not report the per-chain RSSI in the "signal:" field, and is also missing the "signal avg:" line.  These are provided in response to NL80211_STA_INFO_CHAIN_SIGNAL and NL80211_STA_INFO_SIGNAL_AVG requests respectively.  These fields were provided in ath11k.

Expected:
 	signal:        -53 [-53, -53] dBm )
 	signal avg:    54dBm

Driver and kernel are self-compiled from ath12k repo master branch, no patches.  Observed this problem for several months, consistently reproducible, last observed at tag 'ath-pending-202412111922'.  Devices are Intel NUC-like derivatives running Ubuntu 24.04 in shielded WiFi testbed where accurate device signal reporting is critical.


Details:
Linux proto 6.13.0-wt-ath+ #2 SMP PREEMPT_DYNAMIC Tue Jan 28 19:20:19 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 "Network controller [0280]" "Qualcomm Technologies, Inc [17cb]" "WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [1107]" -r01 -p00 "Quectel Wireless Solutions Co., Ltd. [1eac]" "Device [8000]"

73056f1d2aff886ce9bff313f455e963  /lib/firmware/ath12k/WCN7850/hw2.0/m3.bin
d0ee61498bf1a205147cdbcf645391e7  /lib/firmware/ath12k/WCN7850/hw2.0/Notice.txt
ec6dfe7a067a3f4d067b811bd86cc853  /lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin
d3750b67b1013fe82358d0538fb131b0  /lib/firmware/ath12k/WCN7850/hw2.0/amss.bin

[    5.358823] ath12k_pci 0000:01:00.0: BAR 0 [mem 0x81000000-0x811fffff 64bit]: assigned
[    5.358857] ath12k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    5.359144] ath12k_pci 0000:01:00.0: MSI vectors: 16
[    5.359153] ath12k_pci 0000:01:00.0: Hardware name: wcn7850 hw2.0
[    5.918739] ath12k_pci 0000:01:00.0: qmi dma allocation failed (7077888 B type 1), will try later with small size
[    5.928658] ath12k_pci 0000:01:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200
[    5.928664] ath12k_pci 0000:01:00.0: fw_version 0x100301e1 fw_build_timestamp 2023-12-06 04:05 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

$ iw dev wlp1s0 station dump
Station 0c:7f:b2:b2:0b:70 (on wlp1s0)
	inactive time:	4621 ms
	rx bytes:	11436357
	rx packets:	127119
	tx bytes:	2866427868
	tx packets:	1868662
	tx retries:	173
	tx failed:	0
	beacon loss:	0
	beacon rx:	1168
	rx drop misc:	16
===>    signal:  	-38 dBm    <=== ( missing [chain0/chain1] )
===>    (signal avg:)              <=== ( missing )
	beacon signal avg:	-37 dBm
	tx bitrate:	2882.3 MBit/s 160MHz EHT-MCS 13 EHT-NSS 2 EHT-GI 0
	tx duration:	0 us
	rx bitrate:	2593.5 MBit/s 160MHz EHT-MCS 12 EHT-NSS 2 EHT-GI 0
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	DTIM period:	3
	beacon interval:100
	short slot time:yes
	connected time:	125 seconds
	associated at [boottime]:	87.894s
	associated at:	1737649716396 ms
	current time:	1737649838969 ms

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