Date: Sat, 1 Mar 2025 02:32:59 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: FreeBSD wireless mailing list <wireless@freebsd.org> Subject: Re: HT and VHT testing for modern iwlwifi chipsets (notes about others) Message-ID: <CAFDf7UK99M_nmP5gP=sSo%2BOacfY6eh60pukWh5m6LUU-DDjY3g@mail.gmail.com> In-Reply-To: <0r8nrq32-4980-r724-9snp-p9pqp2o50650@SerrOFQ.bet>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hello,
I see improvements on my side and connection stable:
* main-n275735-457d745d90a6
compat.linuxkpi.80211.hw_crypto=1
compat.linuxkpi.iwlwifi_disable_11ac=0
compat.linuxkpi.iwlwifi_11n_disable=0
* iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz
* iwlwifi0@pci0:0:20:3: class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086
device=0x06f0 subvendor=0x8086 subdevice=0x0074
vendor = 'Intel Corporation'
device = 'Comet Lake PCH CNVi WiFi'
class = network
* wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=0
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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
* i3status shows 360Mb/s
* speedtest-go:
✓ Test Server: [30945] 8.65km Gaia (Portugal) by MEO
✓ Latency: 11.332168ms Jitter: 557.557µs Min: 10.26886ms Max: 12.366276ms
✓ Packet Loss Analyzer: Running in background (<= 30 Secs)
✓ Download: 203.72 Mbps (Used: 255.91MB) (Latency: 28ms Jitter: 8ms Min:
11ms Max: 45ms)
✓ Upload: 101.70 Mbps (Used: 129.93MB) (Latency: 24ms Jitter: 16ms Min:
14ms Max: 73ms)
✓ Packet Loss: 1.06% (Sent: 280/Dup: 0/Max: 282)
Cheers,
Bjoern A. Zeeb <bz@freebsd.org> escreveu (sexta, 28/02/2025 à(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=0
> compat.linuxkpi.iwlwifi_disable_11ac=0
>
> 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=stable/14&id=63c197298957c89fe3e7bd0c3392da74ed72a24b
> [2] main:
> https://cgit.freebsd.org/src/commit/?id=2c44f1ff6935e93f7774e526f2f1ab0a2812eab5
>
> --
> Bjoern A. Zeeb r15:7
>
>
--
Nuno Teixeira
FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org
[-- Attachment #2 --]
<div dir="ltr"><div>Hello,</div><div><br></div><div>I see improvements on my side and connection stable:</div><div><br></div><div>* main-n275735-457d745d90a6</div><div>compat.linuxkpi.80211.hw_crypto=1<br>compat.linuxkpi.iwlwifi_disable_11ac=0<br>compat.linuxkpi.iwlwifi_11n_disable=0</div><div><br></div><div>* iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz</div><div><br></div><div>* iwlwifi0@pci0:0:20:3: class=0x028000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06f0 subvendor=0x8086 subdevice=0x0074<br> vendor = 'Intel Corporation'<br> device = 'Comet Lake PCH CNVi WiFi'<br> class = network</div><div><br></div><div>* wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br> options=0<br> ether 6c:6a:77:df:09:21<br> inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255<br> groups: wlan<br> ssid Vodafone-24EF21 channel 36 (5180 MHz 11a vht/80+) bssid 9c:b2:e8:fd:6c:90<br> regdomain ETSI country PT authmode WPA2/802.11i privacy ON<br> deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6<br> mgmtrate 6 scanvalid 60 -ampdutx ampdurx ampdulimit 64k<br> -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160<br> -vht80p80 wme roaming MANUAL<br> parent interface: iwlwifi0<br> media: IEEE 802.11 Wireless Ethernet VHT mode 11ac<br> status: associated<br> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL></div><div><br></div><div>* i3status shows 360Mb/s</div><div><br></div><div>* speedtest-go:<br><br>✓ Test Server: [30945] 8.65km Gaia (Portugal) by MEO<br>✓ Latency: 11.332168ms Jitter: 557.557µs Min: 10.26886ms Max: 12.366276ms<br>✓ Packet Loss Analyzer: Running in background (<= 30 Secs)<br>✓ Download: 203.72 Mbps (Used: 255.91MB) (Latency: 28ms Jitter: 8ms Min: 11ms Max: 45ms)<br>✓ Upload: 101.70 Mbps (Used: 129.93MB) (Latency: 24ms Jitter: 16ms Min: 14ms Max: 73ms)<br>✓ Packet Loss: 1.06% (Sent: 280/Dup: 0/Max: 282)</div><div><br></div><div>Cheers,</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Bjoern A. Zeeb <<a href="mailto:bz@freebsd.org">bz@freebsd.org</a>> escreveu (sexta, 28/02/2025 à(s) 21:35):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
upfront: rtw88/rtw89 and older iwlwifi chipsets all need more work which<br>
will continue. rtw88/rtw89 need LinuxKPI and net80211 changes, modern<br>
iwlwifi chipsets will need a net80211 change for a clean solution which<br>
is currently hardcoed in LinuxKPI, and older iwlwifi chipsets still need<br>
driver changes due to GPL-only code.<br>
<br>
If you have an iwlwifi AX2xx or BExxx and you have successfully tested<br>
HW_CYRPTO (see the other email thread here on wireless) then you have a<br>
chance to test a first cut of HT20/40 and VHT20/40/80 (no 160 yet)<br>
support by adding the following two tunables next to your hw_crypto one<br>
in loader.conf:<br>
<br>
compat.linuxkpi.iwlwifi_11n_disable=0<br>
compat.linuxkpi.iwlwifi_disable_11ac=0<br>
<br>
If you try this with any other (older) iwlwifi chipset (anything with<br>
just numbers 3xxx, 7xxx, 8xxx, 9xxx etc.), with rtw88 or rtw89 it will<br>
fail and I'll not provide support at this time unless you want to help<br>
to make it work. Otherwise you'll have to wait a few days/weeks<br>
longer -- sorry.<br>
<br>
Also if you try this without the hw_crypto tunable on, it'll fail badly,<br>
so please test that (independently) *first* if you haven't as that will<br>
be my first question.<br>
<br>
I am sure there'll be plenty of rough edges to fix for me... but I<br>
wanted to get the code out at this point.<br>
<br>
The last bits of the code have been in stable/14 since yesterday [1] and<br>
main since [2] (beware that main has more wireless changes I haven't<br>
rebased to yet for extra testing but they should not interfere).<br>
<br>
Once we have sufficient confidence that things work well enough I will<br>
likely add the tunables to the firmware ports so it'll do the right<br>
thing out of the box like was done for the rtw88 skb tunable and<br>
eventually slip the policy once the majority works.<br>
<br>
<br>
If things work the thanks should go to The FreeBSD Foundation,<br>
if things don't work the problem reports go to me.<br>
<br>
Happy testing and a blessed weekend,<br>
Bjoern<br>
<br>
[1] stable/14 <a href="https://cgit.freebsd.org/src/commit/?h=stable/14&id=63c197298957c89fe3e7bd0c3392da74ed72a24b" rel="noreferrer" target="_blank">https://cgit.freebsd.org/src/commit/?h=stable/14&id=63c197298957c89fe3e7bd0c3392da74ed72a24b</a><br>
[2] main: <a href="https://cgit.freebsd.org/src/commit/?id=2c44f1ff6935e93f7774e526f2f1ab0a2812eab5" rel="noreferrer" target="_blank">https://cgit.freebsd.org/src/commit/?id=2c44f1ff6935e93f7774e526f2f1ab0a2812eab5</a><br>
<br>
-- <br>
Bjoern A. Zeeb r15:7<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UK99M_nmP5gP=sSo%2BOacfY6eh60pukWh5m6LUU-DDjY3g>
