From nobody Sat Mar 01 02:32:59 2025 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z4Tdf54gWz5VqGv for ; Sat, 01 Mar 2025 02:33:10 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z4Tdf4RHdz3ZZJ; Sat, 01 Mar 2025 02:33:10 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740796390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mtq4QhxnndEFo/YPi8FESO99hiXqwQ219B3JOO7ZNwU=; b=VRa67URADSi+NECXLEY5HjdLvvz5hjW4+9obIWn3Kw3HFeTaDjrnvTky4hhwYipAJDVJFF xXfvQmmiYlIvpktPgTTDUedrafz9atVWvQvLmx/X44QFQqVOtQh6gC3EXEn5t54SpVAWHs wCz9yfvcCcHnHvR8D4qzDydJt5p91Vp0EReymK5BrvhsRBkjdx3EQrEJRmMVvouRluU7yQ mEkd4t8Fif/oMxa6QV80ooqEaeHyuCWTgIdr64V6XoZ+3p7qebCdWa4aiajEunlM3IKR9l miqx67PJMXZYQCuoZSxyO8rphBixjmKYDEKZguIVkyg+n1kkfHxvmtnBAZ5tVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740796390; a=rsa-sha256; cv=none; b=LeiXfdGKdXbP70r0CjtMswLRMe76cQLbSfqk+Dm+77/6TC7K5s66ODqCKuZPEzLziOaTY2 vWNjoOkfdKIsuX8B+uwTY993XpEButrMQGmMiM3huPMMy+5h+W0t65UdEGZw5FJxEPVUkT +x1qTqu934OGIeCu2fL8KE7XUEVxrkh8FRH8zlloszezKL+UQOT15FeZnY0/iGpMAswarL Ei6WRkMEMyXC1Gt6ZUw5KSfpLB2JDFyvpQYnS6KP3jOPAsPRNdF3CsGoR3plXjsCa4HVwn 5SvmT5ifznf4gnmQLkIxkLXDjp9Gc1VOohd+t22wM4/1tyoLBCLIdTpsArlinA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740796390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mtq4QhxnndEFo/YPi8FESO99hiXqwQ219B3JOO7ZNwU=; b=LY8wi+taGRl74BeNiSne9e+2TjkJwmiwhQqldAxFsIsdL++bfLUh6AbH6tTdlWFZmvFEkO oGveW3X9qVJaqHrm0gGgCuaTNYyEfwUSY4itdieawdaMC2WzpPoMwkMPGs7ZJnOJ2xLlFy SnEOEg5ABJ+EGFwFLYJCaPjjuwqd93yzGC6/Zl9XfDfhJ2ytN3WCrjJAHnChzEOwHwIV/c 6gbeFsdP6WUC4iECPaU3lCJGC8MwPVUjRismegtP/YZkxYnEms6MgGea0rjVQG3jm0sYty CK8wWQmnNBL/W12e2y1/ng3MDoLEaxxy94HteooYt+nrucsCmpAYPDIcHZMjqg== Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Z4Tdf3W6ZzXY; Sat, 01 Mar 2025 02:33:10 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6e8965f8051so1526926d6.1; Fri, 28 Feb 2025 18:33:10 -0800 (PST) X-Gm-Message-State: AOJu0Ywo2NjjpjIcwhXkg3VTi1qOZ6VWJQhUnCT6fb0DivpGbD7sw0Tx 8cosDF5QS7miqH/rrGNzBR7gpxzq4xsBXgO2w720eEjq2CrM2MjE76EI0tnS5GnKnxG0N7JHCVa nMvH5oTrIty0jAZTP6oYNnD37TMY= X-Google-Smtp-Source: AGHT+IHPv4NDNKY4bivX0oEuCy7SzV1ei6TpQ59Y1WSXvB8N0AZ+LvEyjUnIWXA/qu8My4zaugz8LiDp9t3gAi2gRQ4= X-Received: by 2002:ac8:4883:0:b0:474:bc49:ee81 with SMTP id d75a77b69052e-474bc49f471mr23499771cf.0.1740796389979; Fri, 28 Feb 2025 18:33:09 -0800 (PST) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 References: <0r8nrq32-4980-r724-9snp-p9pqp2o50650@SerrOFQ.bet> In-Reply-To: <0r8nrq32-4980-r724-9snp-p9pqp2o50650@SerrOFQ.bet> From: Nuno Teixeira Date: Sat, 1 Mar 2025 02:32:59 +0000 X-Gmail-Original-Message-ID: X-Gm-Features: AQ5f1Jrsdlp9N92mtD-cCUnq2gGZgePSwh8MZ9yp_xS1t_-PNJm67ZnLw2-A-FA Message-ID: Subject: Re: HT and VHT testing for modern iwlwifi chipsets (notes about others) To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Content-Type: multipart/alternative; boundary="0000000000007384ac062f3ebe48" --0000000000007384ac062f3ebe48 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I see improvements on my side and connection stable: * main-n275735-457d745d90a6 compat.linuxkpi.80211.hw_crypto=3D1 compat.linuxkpi.iwlwifi_disable_11ac=3D0 compat.linuxkpi.iwlwifi_11n_disable=3D0 * iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz * iwlwifi0@pci0:0:20:3: class=3D0x028000 rev=3D0x00 hdr=3D0x00 vendor=3D0= x8086 device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x0074 vendor =3D 'Intel Corporation' device =3D 'Comet Lake PCH CNVi WiFi' class =3D network * wlan0: flags=3D8843 metric 0 mtu 1500 options=3D0 ether 6c:6a:77:df:09:21 inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255 groups: wlan ssid Vodafone-24EF21 channel 36 (5180 MHz 11a vht/80+) bssid 9c:b2:e8:fd:6c:90 regdomain ETSI country PT authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 -ampdutx ampdurx ampdulimit 64k -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160 -vht80p80 wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet VHT mode 11ac status: associated nd6 options=3D29 * i3status shows 360Mb/s * speedtest-go: =E2=9C=93 Test Server: [30945] 8.65km Gaia (Portugal) by MEO =E2=9C=93 Latency: 11.332168ms Jitter: 557.557=C2=B5s Min: 10.26886ms Max: = 12.366276ms =E2=9C=93 Packet Loss Analyzer: Running in background (<=3D 30 Secs) =E2=9C=93 Download: 203.72 Mbps (Used: 255.91MB) (Latency: 28ms Jitter: 8ms= Min: 11ms Max: 45ms) =E2=9C=93 Upload: 101.70 Mbps (Used: 129.93MB) (Latency: 24ms Jitter: 16ms = Min: 14ms Max: 73ms) =E2=9C=93 Packet Loss: 1.06% (Sent: 280/Dup: 0/Max: 282) Cheers, Bjoern A. Zeeb escreveu (sexta, 28/02/2025 =C3=A0(s) 21:35= ): > Hi, > > upfront: rtw88/rtw89 and older iwlwifi chipsets all need more work which > will continue. rtw88/rtw89 need LinuxKPI and net80211 changes, modern > iwlwifi chipsets will need a net80211 change for a clean solution which > is currently hardcoed in LinuxKPI, and older iwlwifi chipsets still need > driver changes due to GPL-only code. > > If you have an iwlwifi AX2xx or BExxx and you have successfully tested > HW_CYRPTO (see the other email thread here on wireless) then you have a > chance to test a first cut of HT20/40 and VHT20/40/80 (no 160 yet) > support by adding the following two tunables next to your hw_crypto one > in loader.conf: > > compat.linuxkpi.iwlwifi_11n_disable=3D0 > compat.linuxkpi.iwlwifi_disable_11ac=3D0 > > If you try this with any other (older) iwlwifi chipset (anything with > just numbers 3xxx, 7xxx, 8xxx, 9xxx etc.), with rtw88 or rtw89 it will > fail and I'll not provide support at this time unless you want to help > to make it work. Otherwise you'll have to wait a few days/weeks > longer -- sorry. > > Also if you try this without the hw_crypto tunable on, it'll fail badly, > so please test that (independently) *first* if you haven't as that will > be my first question. > > I am sure there'll be plenty of rough edges to fix for me... but I > wanted to get the code out at this point. > > The last bits of the code have been in stable/14 since yesterday [1] and > main since [2] (beware that main has more wireless changes I haven't > rebased to yet for extra testing but they should not interfere). > > Once we have sufficient confidence that things work well enough I will > likely add the tunables to the firmware ports so it'll do the right > thing out of the box like was done for the rtw88 skb tunable and > eventually slip the policy once the majority works. > > > If things work the thanks should go to The FreeBSD Foundation, > if things don't work the problem reports go to me. > > Happy testing and a blessed weekend, > Bjoern > > [1] stable/14 > https://cgit.freebsd.org/src/commit/?h=3Dstable/14&id=3D63c197298957c89fe= 3e7bd0c3392da74ed72a24b > [2] main: > https://cgit.freebsd.org/src/commit/?id=3D2c44f1ff6935e93f7774e526f2f1ab0= a2812eab5 > > -- > Bjoern A. Zeeb r15:7 > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000007384ac062f3ebe48 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I see improvements on= my side and connection stable:

* main-n275735-457= d745d90a6
compat.linuxkpi.80211.hw_crypto=3D1
compat.linuxkpi.= iwlwifi_disable_11ac=3D0
compat.linuxkpi.iwlwifi_11n_disable=3D0

* iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz
<= div>
* iwlwifi0@pci0:0:20:3: =C2=A0 class=3D0x028000 rev=3D0x= 00 hdr=3D0x00 vendor=3D0x8086 device=3D0x06f0 subvendor=3D0x8086 subdevice= =3D0x0074
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'Intel Corporation&= #39;
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'Comet Lake PCH CNVi WiF= i'
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D network
* wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST= > metric 0 mtu 1500
=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D0
=C2=A0= =C2=A0 =C2=A0 =C2=A0 ether 6c:6a:77:df:09:21
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 groups: wlan
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid Vodaf= one-24EF21 channel 36 (5180 MHz 11a vht/80+) bssid 9c:b2:e8:fd:6c:90
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country PT authmode WPA2/802.11i pr= ivacy ON
=C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF AES-CCM 2:128-bit tx= power 23 bmiss 7 mcastrate 6
=C2=A0 =C2=A0 =C2=A0 =C2=A0 mgmtrate 6 scan= valid 60 -ampdutx ampdurx ampdulimit 64k
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -am= sdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 -vht80p80 wme roaming MANUAL
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 parent interface: iwlwifi0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 media:= IEEE 802.11 Wireless Ethernet VHT mode 11ac
=C2=A0 =C2=A0 =C2=A0 =C2=A0= status: associated
=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERF= ORMNUD,IFDISABLED,AUTO_LINKLOCAL>

* i3status sh= ows 360Mb/s

* speedtest-go:

=E2=9C=93 Test = Server: [30945] 8.65km Gaia (Portugal) by MEO
=E2=9C=93 Latency: 11.3321= 68ms Jitter: 557.557=C2=B5s Min: 10.26886ms Max: 12.366276ms
=E2=9C=93 P= acket Loss Analyzer: Running in background (<=3D 30 Secs)
=E2=9C=93 D= ownload: 203.72 Mbps (Used: 255.91MB) (Latency: 28ms Jitter: 8ms Min: 11ms = Max: 45ms)
=E2=9C=93 Upload: 101.70 Mbps (Used: 129.93MB) (Latency: 24ms= Jitter: 16ms Min: 14ms Max: 73ms)
=E2=9C=93 Packet Loss: 1.06% (Sent: 2= 80/Dup: 0/Max: 282)

Cheers,

Hi,

upfront: rtw88/rtw89 and older iwlwifi chipsets all need more work which will continue. rtw88/rtw89 need LinuxKPI and net80211 changes, modern
iwlwifi chipsets will need a net80211 change for a clean solution which
is currently hardcoed in LinuxKPI, and older iwlwifi chipsets still need driver changes due to GPL-only code.

If you have an iwlwifi AX2xx or BExxx and you have successfully tested
HW_CYRPTO (see the other email thread here on wireless) then you have a
chance to test a first cut of HT20/40 and VHT20/40/80 (no 160 yet)
support by adding the following two tunables next to your hw_crypto one
in loader.conf:

compat.linuxkpi.iwlwifi_11n_disable=3D0
compat.linuxkpi.iwlwifi_disable_11ac=3D0

If you try this with any other (older) iwlwifi chipset (anything with
just numbers 3xxx, 7xxx, 8xxx, 9xxx etc.), with rtw88 or rtw89 it will
fail and I'll not provide support at this time unless you want to help<= br> to make it work.=C2=A0 Otherwise you'll have to wait a few days/weeks longer -- sorry.

Also if you try this without the hw_crypto tunable on, it'll fail badly= ,
so please test that (independently) *first* if you haven't as that will=
be my first question.

I am sure there'll be plenty of rough edges to fix for me... but I
wanted to get the code out at this point.

The last bits of the code have been in stable/14 since yesterday [1] and main since [2] (beware that main has more wireless changes I haven't rebased to yet for extra testing but they should not interfere).

Once we have sufficient confidence that things work well enough I will
likely add the tunables to the firmware ports so it'll do the right
thing out of the box like was done for the rtw88 skb tunable and
eventually slip the policy once the majority works.


If things work the thanks should go to The FreeBSD Foundation,
if things don't work the problem reports go to me.

Happy testing and a blessed weekend,
Bjoern

[1] stable/14
https://cgit.freebsd.org/src/commit/?h=3Dstable/14&id=3D6= 3c197298957c89fe3e7bd0c3392da74ed72a24b
[2] main: https://= cgit.freebsd.org/src/commit/?id=3D2c44f1ff6935e93f7774e526f2f1ab0a2812eab5<= /a>

--
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7



--
--0000000000007384ac062f3ebe48--