From nobody Wed Feb 26 05:43:12 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 4Z2k0Y2S13z5pLjG for ; Wed, 26 Feb 2025 05:43:25 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z2k0Y0QQXz49nF; Wed, 26 Feb 2025 05:43:25 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-e60957e0fa6so50436276.1; Tue, 25 Feb 2025 21:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740548604; x=1741153404; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XrC0uQ98ew4taRMxYjPbDXSJ/lXWJkGvlk9AKWIohzE=; b=OOYmQCP8WubAHFVmDfJ1RoYvi5lMjMbuxL/UhUWoMggmS6w1tNxfvPMkJHdL04NliQ OYEIhKTnPKixQg6E9rfKSI1W8LeVuTzVPY6ITYXVBPkB5yPk5Plk/ZjUjyZq9amHqqEF gbWl3xQYAJe7A0kpsbQNkYaCpQg/74PJBOeNWevK8b39wWMk7xQBtbECepuooXPRfozI tJGNKsFMi8/aRbkAItdsmSjWWMyQKuDQ9ifeEIozO31RJDsnE1+Qxn3glSCwvxa2W1eY zyFH+nDNYIr0/pxtclh3viN61on+vXoUjTaCvMVAsTlIWTU//oq5HhHw//bFSFGlBPtn f+UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740548604; x=1741153404; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XrC0uQ98ew4taRMxYjPbDXSJ/lXWJkGvlk9AKWIohzE=; b=aKSVVjSLgAw7kYpwm0y7nU2XryWtUrmTlEVuEx3DBnMXG5PJs696V6AxXWkyMkbJ8U J4OOwsMHg+C+foug8aYN6rKioxVIcTVjzoTvNR/CuVx5Hh0+LJv3hv9QZt1PD3mgm/89 YUnaRjPj/qHiWie5EDvSdrWbe5v0JIPyfJZ74qz0J7FuFjKVRYSJ2igQDxRF7fm4500U 2LNBWSaJJ+rvz5V0a4HMMu6FI5QkNxVq3GKT4kepvIhSZuf/Yb3JsZl8kCOtl1+/UbHB NEpLlvV+ilJyxGnH1lsA0NlsDo7scn00rGODL/BISXeRxiRkKTk+xl03D1kWkEYGfWMC 5Urg== X-Gm-Message-State: AOJu0YyeiKLTlEcCLVhYkhKbQV1mHqIsseZyZvZf6Nb2utHQyxzF2NTR bTrLvEitkjxGWvELYYrpgbZlcOi2bdheghBZ25HAZyF1yvJPzAnj2xa6e0XOdITqqvtl/QduiBn o68q8elhuo6YpFU3RlhlsxeNH38ltVoLm5Uc= X-Gm-Gg: ASbGncuoT3Ylla10bS65tYiaSwfD4VV5gARv8Slv12SoVTsbUPUYmJ+I1iL/Uul/yKu lwkjYA0PX+WaMa1zwIuBKV3UvMaU2EHuH/8S2wOMNBPnXI5mTeT9NgtW00k6VWZONNSeY1DqKo7 zgJp6P X-Google-Smtp-Source: AGHT+IHtRjqWX/4T/DxpOcSFK0oVW+IR4bk5YMdAKKiJkFwR8CoXJ78i4MN5l98XHERYrUTaJpjH+LRbNOJXWN6xUMk= X-Received: by 2002:a05:6902:2785:b0:e49:5f2d:e722 with SMTP id 3f1490d57ef6-e5e24885b7dmr17789719276.14.1740548603616; Tue, 25 Feb 2025 21:43:23 -0800 (PST) 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 References: <6q6p8pn5-898r-9qs1-46qs-72o8q912120o@SerrOFQ.bet> In-Reply-To: <6q6p8pn5-898r-9qs1-46qs-72o8q912120o@SerrOFQ.bet> From: Oleg Nauman Date: Wed, 26 Feb 2025 07:43:12 +0200 X-Gm-Features: AWEUYZkkWUqFUvPSm7y46WAoztfz4dAGkpoGL2SOoW7n1Zg-85WiFOsbOyohEoM Message-ID: Subject: Re: [iwlwifi /] rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Z2k0Y0QQXz49nF X-Spamd-Bar: ---- Hello Bjoern, Seems to be working with rtw88: # sysctl compat.linuxkpi.80211.hw_crypto compat.linuxkpi.80211.hw_crypto: 1 # ifconfig wlan2 wlan2: flags=3D8843 metric 0 mtu 15= 00 options=3D0 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=E2=80=AFAM Bjoern A. Zeeb wro= te: > > 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 edg= e > > 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 th= en > > also older iwlwifi, rtw88 and rtw89 in th enext steps please help testi= ng > > and report back the next days. > > > > To turn the code on add the following line to laoder.conf: > > compat.linuxkpi.80211.hw_crypto=3D1 > > > > 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), plea= se > > add the pciconf -l line for your wifi card so we known about the chipse= t. > > > > > > Lots of joy, > > Bjoern > > > > [1] > > https://cgit.FreeBSD.org/src/commit/?id=3D11db70b6057e41b259dc2245cd893= d5b19179fcc > > > > > > -- > Bjoern A. Zeeb r15:7 >