Re: Any WiFi chipset - need testers for epoch change (main peferred)

From: Cheng Cui <cc_at_freebsd.org>
Date: Tue, 21 Nov 2023 19:36:46 UTC
On Tue, Nov 21, 2023 at 2:43 AM Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
wrote:

> 20.11.23 23:57, Bjoern A. Zeeb:
>
> Hi,
>
> if you are using WiFi on main can you please apply the patch from
> https://reviews.freebsd.org/D42427  (Download Raw Diff on the right side
> if you are not setup for Phabircator).
>
> I would greatly appreciate more people testing before I am going to push
> it into main.  In case you do please report back which driver you tested
> and whether you ran into any problems or not (in theory not).
>
>
> Nothing unusual with AX211.
> Thank you!
>

Looks good to me. The patch does not bring anything unusual for AX200.

root@n1_iwl_vm:~ # pciconf -lv | grep -B3 network
iwlwifi0@pci0:0:5:0:    class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086
device=0x2723 subvendor=0x8086 subdevice=0x0084
    vendor     = 'Intel Corporation'
    device     = 'Wi-Fi 6 AX200'
    class      = network

## test TCP throughput to my backbone station

## before patching D42427

root@n1_iwl_vm:~ # ifconfig
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu
16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether e0:2e:0b:92:e5:82
        inet 192.168.1.214 netmask 0xffffff00 broadcast 192.168.1.255
        groups: wlan
        ssid SpectrumSetup-0F channel 157 (5785 MHz 11a) bssid
f4:69:42:57:3f:0e
        regdomain FCC country US authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6
        mgmtrate 6 scanvalid 60 wme roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

root@n1_iwl_vm:~ # iperf3 -B 192.168.1.214 -c 192.168.1.46 -V
iperf 3.15
FreeBSD n1_iwl_vm 15.0-CURRENT FreeBSD 15.0-CURRENT #19 main-488bc7e9a: Tue
Nov 21 11:42:00 EST 2023
root@n1_iwl_vm:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64
Control connection MSS 1460
Time: Tue, 21 Nov 2023 16:53:48 UTC
Connecting to host 192.168.1.46, port 5201
      Cookie: htsuw6x73fjdck5ycr4bu4mdvmacat3e7q6j
      TCP MSS: 1460 (default)
[  5] local 192.168.1.214 port 44184 connected to 192.168.1.46 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0
seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   756 KBytes  6.19 Mbits/sec    0    259 KBytes

[  5]   1.00-2.00   sec   736 KBytes  6.02 Mbits/sec    0    513 KBytes

[  5]   2.00-3.00   sec   770 KBytes  6.32 Mbits/sec    0    755 KBytes

[  5]   3.00-4.00   sec   395 KBytes  3.24 Mbits/sec    0    998 KBytes

[  5]   4.00-5.00   sec   228 KBytes  1.86 Mbits/sec    0   1.22 MBytes

[  5]   5.00-6.00   sec   206 KBytes  1.69 Mbits/sec    0   1.45 MBytes

[  5]   6.00-7.00   sec   338 KBytes  2.76 Mbits/sec    0   1.82 MBytes

[  5]   7.00-8.00   sec   428 KBytes  3.50 Mbits/sec    0   2.28 MBytes

[  5]   8.00-9.00   sec   426 KBytes  3.49 Mbits/sec    0   2.73 MBytes

[  5]   9.00-10.00  sec   444 KBytes  3.63 Mbits/sec    0   3.00 MBytes

- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  4.61 MBytes  3.87 Mbits/sec    0             sender
[  5]   0.00-10.06  sec  4.61 MBytes  3.85 Mbits/sec
 receiver
CPU Utilization: local/sender 0.9% (0.1%u/0.8%s), remote/receiver 0.0%
(0.0%u/0.0%s)
snd_tcp_congestion cubic
rcv_tcp_congestion cubic

iperf Done.
root@n1_iwl_vm:~ #

## after patching D42427

root@n1_iwl_vm:~ # ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether e0:2e:0b:92:e5:82
        inet 192.168.1.214 netmask 0xffffff00 broadcast 192.168.1.255
        groups: wlan
        ssid SpectrumSetup-0F channel 1 (2412 MHz 11g) bssid
f4:69:42:57:3f:0d
        regdomain FCC country US authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
        protmode CTS wme roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

root@n1_iwl_vm:~ # iperf3 -B 192.168.1.214 -c 192.168.1.46 -V
iperf 3.15
FreeBSD n1_iwl_vm 15.0-CURRENT FreeBSD 15.0-CURRENT #20
main-488bc7e9a-dirty: Tue Nov 21 12:54:37 EST 2023
root@n1_iwl_vm:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64
Control connection MSS 1460
Time: Tue, 21 Nov 2023 19:31:57 UTC
Connecting to host 192.168.1.46, port 5201
      Cookie: sasceyrpsdt6jjdvxqpa24r5px2z5a73bjte
      TCP MSS: 1460 (default)
[  5] local 192.168.1.214 port 44215 connected to 192.168.1.46 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0
seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   829 KBytes  6.79 Mbits/sec    0    298 KBytes

[  5]   1.00-2.00   sec   714 KBytes  5.85 Mbits/sec    0    516 KBytes

[  5]   2.00-3.00   sec   424 KBytes  3.47 Mbits/sec    0    710 KBytes

[  5]   3.00-4.00   sec   631 KBytes  5.18 Mbits/sec    0    946 KBytes

[  5]   4.00-5.00   sec   192 KBytes  1.58 Mbits/sec    0   1.15 MBytes

[  5]   5.00-6.00   sec   248 KBytes  2.03 Mbits/sec    0   1.38 MBytes

[  5]   6.00-7.00   sec   303 KBytes  2.48 Mbits/sec    0   1.63 MBytes

[  5]   7.00-8.00   sec   450 KBytes  3.68 Mbits/sec    0   2.05 MBytes

[  5]   8.00-9.00   sec   541 KBytes  4.43 Mbits/sec    0   2.57 MBytes

[  5]   9.00-10.00  sec   393 KBytes  3.22 Mbits/sec    0   2.94 MBytes

- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  4.61 MBytes  3.87 Mbits/sec    0             sender
[  5]   0.00-10.02  sec  4.61 MBytes  3.86 Mbits/sec
 receiver
CPU Utilization: local/sender 1.2% (0.2%u/1.0%s), remote/receiver 0.0%
(0.0%u/0.0%s)
snd_tcp_congestion cubic
rcv_tcp_congestion cubic

iperf Done.

 Best Regards,
Cheng Cui