From nobody Fri Apr 19 15:27:54 2024
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 4VLdnX1bPKz5HDqr
	for <wireless@mlmmj.nyi.freebsd.org>; Fri, 19 Apr 2024 15:28:00 +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 "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4VLdnX0zdQz4RvP;
	Fri, 19 Apr 2024 15:28:00 +0000 (UTC)
	(envelope-from bz@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1713540480;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=yJ2ZsrF+eaVnu3Ir+ID47ckUPDdSpxrGkLTrr7c2JjI=;
	b=VvXWU6bLX56fcnWBcpwSuk0ZIPIDW8WDeXjSGllNBcFKUdojzIABxpJPkU9Ft/jN8cyj9T
	mKyF/4fhUlsG1sVaZ9lV41oa9rRyITY6TV/j0ZLWMDEHTxLSXDII+Y4ly8UbiEkvOg71ob
	xWh/07kT3MVZuMfQt14+kpX1dZpzXLkVwryctNFOqZ0RKV2vJPu7IeTA3iGBTWeIqe5Ui3
	6RiGHY7cQrT2AwvEASG1uk5jOhxPLKifLNG3uYXMSZmRHb/nePYM1547Xusg8ylPX2YgXW
	ohhlq5t0Key3VJfEJWC6vQJPb1CbQeI1VVY65Gq+bs/Nxl7nSLyTFvvUPaz77A==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713540480; a=rsa-sha256; cv=none;
	b=RzKWzPx6pmqbocrjU020GyIQo3eEaRggMPW1GWj/K8Ti4pquqBGcdAeVFkc0TAfGj9S6cY
	sOSXaHq3sVnXUW7pba76cl/HiYduOlW4ti178wcIo/cGzpOFjo6ZpVSl8ZTqfneWNzsjUa
	lEo/4SUG0Luu2K+s2VhKw9qgAyeBnRviNKcjTcwWFVpLRss3CzaAQTrvP4X8365KZiZPlm
	wNb8Lp5JKuywGVx/q0D/tcwxtQi70idmNNRGAymO5U6u5cJQRsKLtX9/kn9WpbWbkPZm4F
	T8udZksCeTl0Z4e9WDiSVh/zdK2zHF8Uik79FB+uU8h0G/LNaIePpAQeuaewIA==
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=1713540480;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=yJ2ZsrF+eaVnu3Ir+ID47ckUPDdSpxrGkLTrr7c2JjI=;
	b=ZfP4GNPjPRH/NASmJlIFWImum1QEnI9mpP9bXesK9HSJ9Cd4xjQhWr6BdHQfS7mCzMDL0+
	DWE3lJUmY5aK7Qg7lXOK8zupuOVYihqKcMEw1H5dJn1+UWitwjXPkyQ3+WiEKguQWMINyb
	EI+OnT8EWgYMtLGpEPIpV8AIBOafET9tRL+ZG0SovF0ay0xgrp09mH4N+TJOMFKmbnkM56
	+wr+e7hiV3bdUxMZJvNfS0dhvsBFqW/t0R/VjUjdqV2eBEFvydwgDTklgfR64px1mdGHoU
	yhMSSnoZy9IwXE4TwNNXzCzy3V+r6dxDpX17uHWfhceu4kVkCgZtl9dQd9d9LA==
Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified))
	(Authenticated sender: bz/mail)
	by smtp.freebsd.org (Postfix) with ESMTPSA id 4VLdnW6qdlzf6n;
	Fri, 19 Apr 2024 15:27:59 +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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.sbone.de (Postfix) with ESMTPS id 3FF9D8D4A169;
	Fri, 19 Apr 2024 15:27:57 +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 C5B552D029D8;
	Fri, 19 Apr 2024 15:27:56 +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 qSn1ToiiVizH; Fri, 19 Apr 2024 15:27:54 +0000 (UTC)
Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2])
	(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 A429D2D029D2;
	Fri, 19 Apr 2024 15:27:54 +0000 (UTC)
Date: Fri, 19 Apr 2024 15:27:54 +0000 (UTC)
From: "Bjoern A. Zeeb" <bz@FreeBSD.org>
To: void <void@f-m.fm>
cc: FreeBSD wireless mailing list <wireless@freebsd.org>
Subject: Re: Update of github "bz_wifi_drv_update" branch (all drivers updated
 to Linux v6.8)
In-Reply-To: <ZiG_IR-BkEtfPt7n@int21h>
Message-ID: <23853nsp-85s6-8pp3-5p75-7366833qr99q@SerrOFQ.bet>
References: <p197r6so-5q67-97n0-7np3-r3855o627sqq@SerrOFQ.bet> <ZiG_IR-BkEtfPt7n@int21h>
X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842
List-Id: Discussions <freebsd-wireless.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-wireless
List-Help: <mailto:wireless+help@freebsd.org>
List-Post: <mailto:wireless@freebsd.org>
List-Subscribe: <mailto:wireless+subscribe@freebsd.org>
List-Unsubscribe: <mailto:wireless+unsubscribe@freebsd.org>
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 Fri, 19 Apr 2024, void wrote:

> Hi,
>
> On Wed, Apr 17, 2024 at 09:00:30PM +0000, Bjoern A. Zeeb wrote:
>> 
>> In case you want to test an updated iwlwifi (incl. d3 compilable),
>> rtw88, rtw89, or ath10k please do and let us know.  It would help a lot
>> for merging it into the tree.
>> 
>> fd90bf90e67c rtw88: import driver based on Linux 6.8
>
> As these are LinuxKPI, are they usable in arm64.aarch64 ?
>
> I have an asus ac-53u nano wifi usb nib I'd like to get working
> on a rpi4 with -current. Possible?
>
> Linux will run it according to
> https://linux-hardware.org/?id=usb:0b05-184c using 
> drivers/net/wireless/realtek/rtw88/rtw8822bu.c

There is no USB support yet, given the USB support in LinuxKPI more than
a adecade ago was intermangled into native support and doesn't allow us
to extend it;  it needs a good re-write;  also almost nothing uses it
anymore these days so it could be done without breaking too much.

I had a talk with Hans in Vienna in 2022 about it about how to proceed.

I ripped things apart and made it compile, but that disconnected the
LinuxKPI from the actual USB stack and so far no one has done the works
to finish this.

I do have multiple USB rtw88 (and rtw89) sticks as well to test and keep
importing the USB bits into FreeBSD, as I assumed they'll be the new
"urun"/"urtwn" at some point.

Let me know if you want to hack a bit on this and I'll go and find the
old prototype.

/bz

-- 
Bjoern A. Zeeb                                                     r15:7