Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1546638pxb; Sun, 17 Jan 2021 13:02:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyL1h0aBm59LxKBARTjDI5S33yXm/3NWazXq2+eWdGvxSfZl3Fv6u4Xfi6aM4XKZ/kepj6S X-Received: by 2002:a17:906:6846:: with SMTP id a6mr10580705ejs.470.1610917358303; Sun, 17 Jan 2021 13:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610917358; cv=none; d=google.com; s=arc-20160816; b=sf1txGplJMBU8TliTP4Btc6ixAUy0LUbldzPCeREKUI40hYFkC/2IIaIN2iaK/li6Z w7ZiTIsqj5bI5/Fr7iV6/PQ+utUNeLU4+3S7jFOx4Al46MkBzS3Tr05B6A48Qnk2eJE2 rijn8hQ1cIBjKnwalscJ5QBure3FELin2NpcJO2vTBYmDAPamItY6/AP3P2EnCmyETQH 6VJ9h2wD3JWBtmRFtQbph0Dv6ZTspMWVe3G2Zd/U3aNfnJgkAj9tKKHDeV2A/lVlEAn0 NEB0RMX0FJYQViDoFnsLH7AdmV5FBUCdKwK/1x9An/5GYHyAZgEHHmH17pyVQbfyB3vY CZ+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=M7lBAulJy8jpcjGvHmdUY3XtzXQTGPEj1weoI8emR5c=; b=nMkaHMOYdLwf+luzb8mXe0YmQ5I06Xz3s0U/ljBqWVsPu4P6yywlr/WQKDJbgeL9Wf OaEv6/Gkaa8DQbRdx2BJA0BfaP2nMNcUbjpbwGP6kUVgBy1/bzvPfHRN3y+kR0+lFSrE id2W0zBvWVdu8hH00kMO3ECHRl0OGE3v1cKhDTTGuIZU7yw5ynBTdvlufGA3kKfde45u YgkyAFscjl4aAuW5QZ+Urw084SATJhGd30IXzlKeecu4LUBACZQIcpRfUle/BLqDmIBz UIoZnlYp97AmIKM1ZSr62tJ+0DgSB0nbSuODTULRDhIjCs1GXTa89T2xWwm9f5Th/LAM oizQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si6277244ejh.685.2021.01.17.13.02.11; Sun, 17 Jan 2021 13:02:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730087AbhAQTPn (ORCPT + 99 others); Sun, 17 Jan 2021 14:15:43 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:33606 "EHLO mail-qt1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730079AbhAQTPT (ORCPT ); Sun, 17 Jan 2021 14:15:19 -0500 Received: by mail-qt1-f170.google.com with SMTP id z6so2824596qtn.0 for ; Sun, 17 Jan 2021 11:15:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=M7lBAulJy8jpcjGvHmdUY3XtzXQTGPEj1weoI8emR5c=; b=D8ZlW58UrKuW7rAOVIjt0ymZNkGGXFYhezZNm1NonrkFFdPIu8uHMWWV1Ypbz8CZGP FpfFRwteZMi/nDfR4hu5vQrY6qAd/yc+ar3yGF9dOGD1h8YaANHJEqbWIIXgx05dk962 N4R1T1MGbh9LXkbHwq7kG3wJjtGoJEVC3ObpGN5yhmgK1dYZqCm/OpsJmCtacwQdm5Gq b7b4TcIhqGnPmQQww+zWn8FxfN6EoxqOX7aR7djr9ZU2pSXa70o0zFp2mPBqO62+YBf4 SFIahhBEDS4DJqAGHZaG1XFGMegcw7caUgRQ6Mr3QYVPXvnth4CSuKkhz+4kXso3hghi sKgQ== X-Gm-Message-State: AOAM532tt2OEHgbWXYMjBwpNrnsvv6NnthHKhRD8KnKRuRlK+ULjeaUG alZks7MoJNeJqDndtGWYwKU= X-Received: by 2002:ac8:5359:: with SMTP id d25mr20588019qto.132.1610910877239; Sun, 17 Jan 2021 11:14:37 -0800 (PST) Received: from jumping-cholla (155-186-132-033.res.spectrum.com. [155.186.132.33]) by smtp.gmail.com with ESMTPSA id s186sm9183228qka.98.2021.01.17.11.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 11:14:36 -0800 (PST) Date: Sun, 17 Jan 2021 14:14:34 -0500 From: Geoffrey Mon To: Alex Dewar Cc: linux-wireless@vger.kernel.org Subject: Re: How to port rtl8xxxu to new device...? Message-ID: <20210117191434.GA688839@jumping-cholla> References: <20210117175533.ya3wcb6yyqfgwiln@medion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210117175533.ya3wcb6yyqfgwiln@medion> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sun, Jan 17, 2021 at 05:55:33PM +0000, Alex Dewar wrote: > Hi all, > > I'm currently trying to port the rtl8xxxu driver to RTL8822u chips (one > of which I own), but I'm finding it hard to figure out where to start > and I figured that some wiser minds could maybe help steer me in the > right direction. > Hi Alex, I am not very knowledgeable since I've only just started looking into adding support for some older Realtek USB adapters, but another starting point for adding rtl8822bu support might be the rtw88 driver, which is specifically built for rtl88xx chips and which has support for rtl8822be (which uses PCIe); in principle a lot of code can be shared between 8822b{e,u}. However, although rtw88 includes some structure to support USB devices in the future, this support hasn't been added yet. There is at least one project[0] that I've come across trying to add that support. I'm not sure how active this project is but it does look like they have some work in progress for rtl8822bu. Best, Geoffrey [0] https://github.com/ulli-kroll/rtw88-usb