Re: HT and VHT testing for modern iwlwifi chipsets (notes about others)

From: Eirik_Øverby <ltning-freebsd-wireless_at_anduin.net>
Date: Sat, 01 Mar 2025 11:58:57 UTC
On 28.02.2025 22:35, Bjoern A. Zeeb wrote:
> 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

Well this was encouraging. :) I'm easily gettig 20MB/s transfer rates 
now, which is a helluva lot better than the 2.5 it maxed out at before:
https://www.speedtest.net/result/c/1285d96c-d3b7-4b84-89c2-3b25afeb2b66

Attached a dmesg (ac_n.log) which contains a number of 'service netif 
restart' and such. Order of events are roughly:
- boot with ifconfig_wlan0="mode 11a WPA DHCP"
   (Worked fine but speed increase was not quite what I expected, until 
I remembered the '11a' part)
- attempt to service netif restart after removing the '11a' part
- this caused loads of failures, and I could not get the link up after that

Also attached ac_n_no11a.log, which is the current boot giving good 
results. ifconfig wlan0 output also attached. Need anything else?

> 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.

There are some, but most importantly - it works? At least on the 
Framework 13:
iwlwifi0@pci0:170:0:0:	class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086 
device=0x2725 subvendor=0x8086 subdevice=0x0020


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

Well I'll be thanking you and the others on the wifi driver and linuxkpi 
contributors list, and all the other testers, and all the other 
individuals who's been supporting this effort anyway. And the 
Foundation, of course. :)

/Eirik