Date: Tue, 18 Feb 2025 07:29:25 +0200 From: Oleksandr Kryvulia <shuriku@shurik.kiev.ua> To: wireless@freebsd.org Subject: Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) Message-ID: <83f9fff0-d673-4727-977c-0a989dcc7780@shurik.kiev.ua> In-Reply-To: <o5965196-r5op-no6o-16ps-s094r7483p70@SerrOFQ.bet>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 18.02.25 06:01, Bjoern A. Zeeb: > Hi, > > 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 > Works good, thank you! iwlwifi0@pci0:0:20:3: class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x51f1 subvendor=0x8086 subdevice=0x0090 vendor = 'Intel Corporation' device = 'Raptor Lake PCH CNVi WiFi' class = network [-- Attachment #2 --] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">18.02.25 06:01, Bjoern A. Zeeb:<br> </div> <blockquote type="cite" cite="mid:o5965196-r5op-no6o-16ps-s094r7483p70@SerrOFQ.bet">Hi, <br> <br> with [1] I added HW_CRYPTO support to the build for all LinuxKPI based <br> drivers. This is a pre-condition to make HT/VHT work with drivers/fw <br> which support, e.g., A-MPDU offloading -- basically almost everything <br> modern. <br> <br> I will very likely MFC it at the end of the week if I didn't put in any <br> last minute bugs. <br> <br> As the commit message says it currently only supports CCMP. If you <br> still do WEP or TKIP please let me know and I'll add it to the list <br> though I'll then likely want your help to test (patches) as well. <br> <br> As also mentioned in the commit message I saw one specific panic in the <br> past which I no longer can reproduce. I am sure there's some other edge <br> cases on more devices so I need your help to test. <br> <br> While the code is compiled in now it is disabled behind a tunable until <br> there is sufficient feedback for iwlwifi, rtw88 and rtw89 that it works. <br> Once that happens I'll flip the default for the tunable at least to on <br> and eventually remove it alltogether and we can move to the next steps <br> of testing which is hopefully fully merged to git by then. <br> <br> So if you want some HT/VHT to work with at least modern iwlwifi, and then <br> also older iwlwifi, rtw88 and rtw89 in th enext steps please help testing <br> and report back the next days. <br> <br> To turn the code on add the following line to laoder.conf: <br> compat.linuxkpi.80211.hw_crypto=1 <br> <br> At runtime you can check the state by using: <br> sysctl compat.linuxkpi.80211.hw_crypto <br> <br> Also if you have any problems, then you can easily remove that line (or <br> unset it from loader) and boot with the support turned on. <br> <br> If you reply to this thread or me (positive or negative feedback), please <br> add the pciconf -l line for your wifi card so we known about the chipset. <br> <br> <br> Lots of joy, <br> Bjoern <br> <br> [1] <a class="moz-txt-link-freetext" href="https://cgit.FreeBSD.org/src/commit/?id=11db70b6057e41b259dc2245cd893d5b19179fcc">https://cgit.FreeBSD.org/src/commit/?id=11db70b6057e41b259dc2245cd893d5b19179fcc</a><br> <br> </blockquote> <br> Works good, thank you!<br> <br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">iwlwifi0@pci0:0:20:3: class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x51f1 subvendor=0x8086 subdevice=0x0090</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="color:#000000;background-color:#ffffff;"> vendor = 'Intel Corporation'</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="color:#000000;background-color:#ffffff;"> device = 'Raptor Lake PCH CNVi WiFi'</span><span style="color:#000000;background-color:#ffffff;"> </span><br> <span style="color:#000000;background-color:#ffffff;"> class = network</span><br> <br> </font> </body> </html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83f9fff0-d673-4727-977c-0a989dcc7780>
