From nobody Wed Feb 26 01:18:28 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 4Z2c6x3hgTz5pLXn for ; Wed, 26 Feb 2025 01:18:33 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Z2c6x37drz3QSB for ; Wed, 26 Feb 2025 01:18:33 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740532713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VvIRW+jNTVMz3cnpr305EdUtXIf/lIQIpOFp6JBdtfU=; b=GVsDf6DZ1E0pCZhk44f/lH2+c/1xKQ7J8fuZs+fKLItqnFF0EVOU5Vtz7kX/S6F5BU1vVx kJQ90UIj4F2s7wSX4cw2EIAvlG0JkLBMXT0OprDNVuhZUW2sWQ9rCVNvU26QBsVlaC1Q3T iB1TQtycpHKKdWuqqArR1S1VgXjn7vOwKHoOHVEsz17yrAB3BDB7tFoMo0TIC1d9VDNiLb ZQbPyUkcAzTeX6DZ5SFEuxCL/39ioLrHn0IRFePRwCnBlSY1wkFfLvYt9fcg49bPq1TI+q Da2oEoILDPeLAx4pXQTwGO0y5a9zM4qLy5KVOX+nhsOjNjFW9N02HsbcD23rmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740532713; a=rsa-sha256; cv=none; b=PZkOlsRGihW+b2CiUAQvCdxP8SdlDYeck18kbHTrjUDK6QZtJ6J3p8tXmeTn2iMeE/bCW8 kQ0QX1gILTOsXeG4h6wMspC5KJUD2Qm6UHjNk3dMe7cModdfwy1jgIVTikFWMHKbz0yTCm cQWquSNIH2Nyuhn850Tq0mx7+BRXcoz5KMx/EvF76pcThdc445HZSjG53mbsKXd3zRxled leHf+b3dPpO+ilXhgDdJIi4dMv7FotxlHxZ3g9cmwxmFzW3JApzALugl1aBtB3JKaygSrx 9osYwCtLZIpIhpmvpcDFT/jXI/nvZDFxVC/e/2U98NJ+x2K6hWEbT9nWsKjhxw== 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=1740532713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VvIRW+jNTVMz3cnpr305EdUtXIf/lIQIpOFp6JBdtfU=; b=q7bXFtKl2xOF9jNoDnWVr+C/KqzROPzaWa0Y2NLglxOScqNU3KrP6jKxaPm7QmuccDiKFu TwBdvkiXfC78RF0Buzvq9F3VK5BSJhuwJJIJzxAmx0C23vccdsCvFeTrbwmP/07FLNwzqA b1iRlHbutl/ZvvU8oE7m9OA7xIs1ZNfB71KwLZdO07m85gaHCfSV00oZvd1+JlhzWd/kOC /sxr27lg5Lxeok1KveT69DwVZdpnBU7zymLhJvoAlRLkGWiv7M/pfHcDWBPoEM73QQu3An xd1cd+bAQKZFrAP/f8ZpEwSC0i2sANvifwAFH8kuCL9JeYEBBcEgwvlHS0wEow== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Z2c6x1cg1zKXj for ; Wed, 26 Feb 2025 01:18:33 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id A0C87A64805 for ; Wed, 26 Feb 2025 01:18:28 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 01BD72D029E0 for ; Wed, 26 Feb 2025 01:18:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id c476pVu1bo_3 for ; Wed, 26 Feb 2025 01:18:28 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:da44:89ff:fedd:d5ab]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id B84B52D029D8 for ; Wed, 26 Feb 2025 01:18:28 +0000 (UTC) Date: Wed, 26 Feb 2025 01:18:28 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD wireless mailing list Subject: Re: [iwlwifi /] rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) In-Reply-To: Message-ID: <6q6p8pn5-898r-9qs1-46qs-72o8q912120o@SerrOFQ.bet> References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: text/plain; charset=US-ASCII; format=flowed 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