wcn7850 issues
david Atkins
david at 3adesign.co.uk
Tue Aug 13 06:20:47 PDT 2024
Any thoughts on this, keen to at least replicate results that have been posted here
David
> -----Original Message-----
> From: ath12k <ath12k-bounces at lists.infradead.org> On Behalf Of david
> Atkins
> Sent: Tuesday, August 6, 2024 9:06 AM
> To: ath12k at lists.infradead.org
> Subject: wcn7850 issues
>
>
> Hi,
>
> I have updated the kernel we use for testing today to main from
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/, the base install
> is the ubuntu 24.04 desktop release
>
> Kernel reports as
>
>
> openwrt at wifi7-amd:~$ uname -a
> Linux wifi7-amd 6.11.0-rc2-wt-ath+ #2 SMP PREEMPT_DYNAMIC Mon Aug 5
> 12:02:22 BST 2024 x86_64 x86_64 x86_64 GNU/Linux
>
> Ath12k from Dmesg
>
> mailto:openwrt at wifi7-amd:~/datkins/kalo/ath/.git$ sudo dmesg | grep
> ath12k [ 3.823988] ath12k_pci 0000:01:00.0: BAR 0 [mem 0xfc600000-
> 0xfc7fffff 64bit]: assigned [ 3.824006] ath12k_pci 0000:01:00.0: enabling
> device (0000 -> 0002) [ 3.824305] ath12k_pci 0000:01:00.0: MSI vectors: 16
> [ 3.824310] ath12k_pci 0000:01:00.0: Hardware name: wcn7850 hw2.0
> [ 4.372789] ath12k_pci 0000:01:00.0: chip_id 0x2 chip_family 0x4 board_id
> 0x10e soc_id 0x40170200 [ 4.372796] 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
> [ 4.580233] ath12k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
>
> Ip a shows
>
> 3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> link/ether 00:03:7f:58:34:42 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.144/24 brd 192.168.1.255 scope global dynamic
> noprefixroute wlp1s0
> valid_lft 82448sec preferred_lft 82448sec
> inet6 fd78:4c15:7f9d::2cf/128 scope global dynamic noprefixroute
> valid_lft 82450sec preferred_lft 39250sec
> inet6 fd78:4c15:7f9d:0:3f2d:65f7:eb00:3928/64 scope global temporary
> dynamic
> valid_lft 600850sec preferred_lft 82358sec
> inet6 fd78:4c15:7f9d:0:a184:9d87:7861:846b/64 scope global mngtmpaddr
> noprefixroute
> valid_lft forever preferred_lft forever
> inet6 fe80::f662:5464:1669:4fab/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
>
> I have set region to GB
>
> sudo iw reg set GB
>
> so we get
>
> mailto:openwrt at wifi7-amd:~/datkins/kalo/ath/.git$ sudo iw reg get global
> country GB: 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 - 5730 @ 160), (N/A, 26), (0 ms), DFS
> (5725 - 5850 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
> (5925 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
> (57000 - 71000 @ 2160), (N/A, 40), (N/A)
>
> phy#0 (self-managed)
> country na: DFS-UNSET
> (2402 - 2472 @ 40), (N/A, 20), (N/A)
> (2457 - 2482 @ 20), (N/A, 20), (N/A), PASSIVE-SCAN
> (5170 - 5330 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
> (5490 - 5730 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
> (5735 - 5895 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
> (5945 - 7125 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
> (5945 - 7125 @ 320), (N/A, 30), (N/A), AUTO-BW, PASSIVE-SCAN
>
> Station dump gives me
>
> mailto:openwrt at wifi7-amd:~/datkins/kalo/ath/.git$ sudo iw dev wlp1s0
> station dump Station ac:91:9b:b7:05:b0 (on wlp1s0)
> inactive time: 1126 ms
> rx bytes: 4832450328
> rx packets: 3281108
> tx bytes: 4592467521
> tx packets: 3152967
> tx retries: 38
> tx failed: 0
> beacon loss: 0
> beacon rx: 3267
> rx drop misc: 1
> signal: 0 dBm
> beacon signal avg: -24 dBm
> tx duration: 0 us
> rx bitrate: 3602.9 MBit/s 160MHz HE-MCS 11 HE-NSS 3 HE-GI 0 HE-
> DCM 0
> rx duration: 0 us
> authorized: yes
> authenticated: yes
> associated: yes
> preamble: long
> WMM/WME: yes
> MFP: yes
> TDLS peer: no
> DTIM period: 2
> beacon interval:100
> short slot time:yes
> connected time: 4038 seconds
> associated at [boottime]: 13.805s
> associated at: 1722856637791 ms
> current time: 1722860675019 ms
>
>
> and iw dev wlp1s0 link gives me
>
> Connected to ac:91:9b:b7:05:b0 (on wlp1s0)
> SSID: EE-CN589H
> freq: 6295.0
> RX: 537531156 bytes (3281227 packets)
> TX: 297500287 bytes (3152968 packets)
> signal: 0 dBm
> rx bitrate: 3602.9 MBit/s 160MHz HE-MCS 11 HE-NSS 3 HE-GI 0 HE-DCM 0
> bss flags: short-slot-time
> dtim period: 2
> beacon int: 100
>
> Concerned we have a report of "HE-NSS 3", wifi 7 should be eht and we have
> a wcn7850 which has only 2 antenna ports.
>
> My understanding is that 160MHz HE-MCS 11 @ 160Mhz will give us 1200
> Mbit/s so the report of 3602 suggests its assuming it has 3 spatial streams
> which would be incorrect
>
> The signal level looks wrong
>
> signal: 0 dBm
> beacon signal avg: -24 dBm
>
> we would expect that to agree with the beacon level, we see the beacon
> change but the signal is always 0, I note from recent messages on the thread
> that this has been fixed, what branch should I use to check this?
>
> I have also seen this in dmesg during association with the AP,
>
> [ 13.049675] wlp1s0: required MCSes not supported, disabling EHT
> [ 13.304272] wlp1s0: authenticate with ac:91:9b:b7:05:b0 (local
> address=00:03:7f:58:34:42) [ 13.304281] wlp1s0: send auth to
> ac:91:9b:b7:05:b0 (try 1/3) [ 13.312345] wlp1s0: authenticate with
> ac:91:9b:b7:05:b0 (local address=00:03:7f:58:34:42) [ 13.312352] wlp1s0:
> send auth to ac:91:9b:b7:05:b0 (try 1/3) [ 13.314787] wlp1s0: authenticated
> [ 13.315249] wlp1s0: associate with ac:91:9b:b7:05:b0 (try 1/3)
> [ 13.321883] wlp1s0: RX AssocResp from ac:91:9b:b7:05:b0 (capab=0x1111
> status=0 aid=6) [ 13.334818] wlp1s0: associated
>
> Iw scan shows this for the AP in the 6Ghz band
>
> BSS ac:91:9b:b7:05:b0(on wlp1s0) -- associated
> TSF: 56186843682 usec (0d, 15:36:26)
> freq: 6135.0
> beacon interval: 100 TUs
> capability: ESS Privacy SpectrumMgmt RadioMeasure (0x1111)
> signal: -28.00 dBm
> last seen: 128 ms ago
> Information elements from Probe Response frame:
> SSID: EE-CN589H
> Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
> Country: GB Environment: bogus
> Extension ID: 201 Regulatory Class: 137 Coverage class: 0 (up
> to 0m)
> Power constraint: 0 dB
> Extended supported rates: 61.5*
> RSN: * Version: 1
> * Group cipher: CCMP
> * Pairwise ciphers: CCMP
> * Authentication suites: SAE
> * Capabilities: 16-PTKSA-RC 1-GTKSA-RC MFP-required MFP-
> capable (0x00cc)
> BSS Load:
> * station count: 1
> * channel utilisation: 3/255
> * available admission capacity: 0 [*32us]
> RM enabled capabilities:
> Capabilities: 0x72 0x00 0x00 0x00 0x00
> Neighbor Report
> Beacon Passive Measurement
> Beacon Active Measurement
> Beacon Table Measurement
> Nonoperating Channel Max Measurement Duration: 0
> Measurement Pilot Capability: 0
> Supported operating classes:
> * current operating class: 137
> Extended capabilities:
> * Extended Channel Switching
> * BSS Transition
> * Multiple BSSID
> * SSID List
> * Interworking
> * WNM-Notification
> * Operating Mode Notification
> * TWT Responder Support
> * 80
> * 83
> 802.11u Interworking:
> Network Options: 0x0
> Network Type: 0 (Private)
> 802.11u Advertisement:
> Query Response Info: 0x7f
> Query Response Length Limit: 127
> ANQP
> Transmit Power Envelope:
> Transmit Power Envelope:
> HE capabilities:
> HE MAC Capabilities (0x000d9a181840):
> +HTC HE Supported
> TWT Responder
> Dynamic BA Fragementation Level: 1
> BSR
> Broadcast TWT
> OM Control
> Maximum A-MPDU Length Exponent: 3
> RX Control Frame to MultiBSS
> A-MSDU in A-MPDU
> UL 2x996-Tone RU
> OM Control UL MU Data Disable RX
> HE PHY Capabilities: (0x0c634088fedb831c110c00):
> HE40/HE80/5GHz
> HE160/5GHz
> Punctured Preamble RX: 3
> LDPC Coding in Payload
> HE SU PPDU with 1x HE-LTF and 0.8us GI
> Full Bandwidth UL MU-MIMO
> DCM Max Constellation Rx: 1
> SU Beamformer
> MU Beamformer
> Beamformee STS <= 80Mhz: 7
> Beamformee STS > 80Mhz: 7
> Sounding Dimensions <= 80Mhz: 3
> Sounding Dimensions > 80Mhz: 3
> Ng = 16 SU Feedback
> Ng = 16 MU Feedback
> Codebook Size SU Feedback
> Codebook Size MU Feedback
> PPE Threshold Present
> HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
> Max NC: 3
> HE ER SU PPDU 4x HE-LTF 0.8us GI
> HE ER SU PPDU 1x HE-LTF 0.8us GI
> TX 1024-QAM
> RX 1024-QAM
> HE RX MCS and NSS set <= 80 MHz
> 1 streams: MCS 0-11
> 2 streams: MCS 0-11
> 3 streams: MCS 0-11
> 4 streams: MCS 0-11
> 5 streams: not supported
> 6 streams: not supported
> 7 streams: not supported
> 8 streams: not supported
> HE TX MCS and NSS set <= 80 MHz
> 1 streams: MCS 0-11
> 2 streams: MCS 0-11
> 3 streams: MCS 0-11
> 4 streams: MCS 0-11
> 5 streams: not supported
> 6 streams: not supported
> 7 streams: not supported
> 8 streams: not supported
> HE RX MCS and NSS set 160 MHz
> 1 streams: MCS 0-11
> 2 streams: MCS 0-11
> 3 streams: MCS 0-11
> 4 streams: MCS 0-11
> 5 streams: not supported
> 6 streams: not supported
> 7 streams: not supported
> 8 streams: not supported
> HE TX MCS and NSS set 160 MHz
> 1 streams: MCS 0-11
> 2 streams: MCS 0-11
> 3 streams: MCS 0-11
> 4 streams: MCS 0-11
> 5 streams: not supported
> 6 streams: not supported
> 7 streams: not supported
> 8 streams: not supported
> PPE Threshold 0x7b 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0xc7
> 0x71 0x1c 0xc7 0x71
> WMM: * Parameter version 1
> * u-APSD
> * BE: CW 15-1023, AIFSN 3
> * BK: CW 15-1023, AIFSN 7
> * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
> * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
>
> No support for EHT and therefore no MSC 12 or 13 which fits with the dmesg
> warning about it not being supported, is this a card firmware issue rather
> than the driver?
>
> I carried out some iperf tests with a server with 2.5gb ethernet to the AP,
>
>
> If I run iperf against the access point with one antenna at H and one at V,
> approx. 1000mm from the access point I see similar performance on up and
> down stream sessions, with single and multiple parallel streams.
>
> The iperf server is connected by 2.5gb ethernet to the access point and that
> has been tested to an aggregate of 3.6bit on wifi 7 using other cards.
>
> openwrt at wifi7-amd:~$ iperf3 -c 192.168.1.168 -p 5002 Connecting to host
> 192.168.1.168, port 5002 [ 5] local 192.168.1.144 port 46802 connected to
> 192.168.1.168 port 5002 [ ID] Interval Transfer Bitrate Retr Cwnd
> [ 5] 0.00-1.00 sec 142 MBytes 1.19 Gbits/sec 0 2.63 MBytes [ 5] 1.00-
> 2.00 sec 136 MBytes 1.14 Gbits/sec 0 2.63 MBytes [ 5] 2.00-
> 3.00 sec 134 MBytes 1.13 Gbits/sec 0 2.63 MBytes [ 5] 3.00-
> 4.00 sec 132 MBytes 1.10 Gbits/sec 0 2.63 MBytes [ 5] 4.00-
> 5.00 sec 136 MBytes 1.15 Gbits/sec 0 2.63 MBytes [ 5] 5.00-
> 6.00 sec 131 MBytes 1.10 Gbits/sec 0 2.63 MBytes [ 5] 6.00-
> 7.00 sec 130 MBytes 1.09 Gbits/sec 0 2.63 MBytes [ 5] 7.00-
> 8.00 sec 132 MBytes 1.10 Gbits/sec 0 2.63 MBytes [ 5] 8.00-
> 9.00 sec 134 MBytes 1.13 Gbits/sec 0 2.63 MBytes [ 5] 9.00-
> 10.00 sec 132 MBytes 1.11 Gbits/sec 0 2.63 MBytes
> - - - - - - - - - - - - - - - - - - - - - - - - - [ ID]
> Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.31
> GBytes 1.12 Gbits/sec 0 sender [ 5] 0.00-10.01 sec 1.31
> GBytes 1.12 Gbits/sec receiver
>
> Happy to run tests as needed to check but need input on what code to use
> etc.
>
> Should I try another branch, I note that results in this list do show signal levels
> so assume there may be a more advanced version.
>
> Can I access a more recent firmware build?
>
> Thanks in advance,
>
> David Atkins
>
More information about the ath12k
mailing list