Date: Wed, 26 Feb 2025 07:43:12 +0200 From: Oleg Nauman <oleg.nauman@gmail.com> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: FreeBSD wireless mailing list <wireless@freebsd.org> Subject: Re: [iwlwifi /] rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) Message-ID: <CAC5YPTtDbGdPpc_c6Gs6jqnXtkfRJFb-iLhqqfdd3C8Hd_79eQ@mail.gmail.com> In-Reply-To: <6q6p8pn5-898r-9qs1-46qs-72o8q912120o@SerrOFQ.bet> References: <o5965196-r5op-no6o-16ps-s094r7483p70@SerrOFQ.bet> <6q6p8pn5-898r-9qs1-46qs-72o8q912120o@SerrOFQ.bet>
index | next in thread | previous in thread | raw e-mail
Hello Bjoern,
Seems to be working with rtw88:
# sysctl compat.linuxkpi.80211.hw_crypto
compat.linuxkpi.80211.hw_crypto: 1
# ifconfig wlan2
wlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 80:91:33:4b:4a:d1
inet 192.168.0.41 netmask 0xffffff00 broadcast 192.168.0.255
groups: wlan
ssid .... channel 9 (2452 MHz 11g) bssid a8:5e:45:47:0d:b8
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 7
scanvalid 60 protmode CTS wme roaming MANUAL
parent interface: rtw880
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
Thank you
On Wed, Feb 26, 2025 at 3:18 AM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>
> On Tue, 18 Feb 2025, Bjoern A. Zeeb wrote:
>
> Hi,
>
> anyone with rtw88 or especially rtw89 around to test this as well?
>
> The change is in stable/14 now as well.
>
> Thanks
> Bjoern
>
>
> > with [1] I added HW_CRYPTO support to the build for all LinuxKPI based
> > drivers. This is a pre-condition to make HT/VHT work with drivers/fw
> > which support, e.g., A-MPDU offloading -- basically almost everything
> > modern.
> >
> > I will very likely MFC it at the end of the week if I didn't put in any
> > last minute bugs.
> >
> > As the commit message says it currently only supports CCMP. If you
> > still do WEP or TKIP please let me know and I'll add it to the list
> > though I'll then likely want your help to test (patches) as well.
> >
> > As also mentioned in the commit message I saw one specific panic in the
> > past which I no longer can reproduce. I am sure there's some other edge
> > cases on more devices so I need your help to test.
> >
> > While the code is compiled in now it is disabled behind a tunable until
> > there is sufficient feedback for iwlwifi, rtw88 and rtw89 that it works.
> > Once that happens I'll flip the default for the tunable at least to on
> > and eventually remove it alltogether and we can move to the next steps
> > of testing which is hopefully fully merged to git by then.
> >
> > So if you want some HT/VHT to work with at least modern iwlwifi, and then
> > also older iwlwifi, rtw88 and rtw89 in th enext steps please help testing
> > and report back the next days.
> >
> > To turn the code on add the following line to laoder.conf:
> > compat.linuxkpi.80211.hw_crypto=1
> >
> > At runtime you can check the state by using:
> > sysctl compat.linuxkpi.80211.hw_crypto
> >
> > Also if you have any problems, then you can easily remove that line (or
> > unset it from loader) and boot with the support turned on.
> >
> > If you reply to this thread or me (positive or negative feedback), please
> > add the pciconf -l line for your wifi card so we known about the chipset.
> >
> >
> > Lots of joy,
> > Bjoern
> >
> > [1]
> > https://cgit.FreeBSD.org/src/commit/?id=11db70b6057e41b259dc2245cd893d5b19179fcc
> >
> >
>
> --
> Bjoern A. Zeeb r15:7
>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC5YPTtDbGdPpc_c6Gs6jqnXtkfRJFb-iLhqqfdd3C8Hd_79eQ>
