Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1550606pxb; Sun, 17 Jan 2021 13:11:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmtJ8FGAWBkettqs+TO87s22rFYzWyx4NM/8xU1yZjlalnATietxX0yTAZQEQZkNTsI0Mz X-Received: by 2002:a17:906:4106:: with SMTP id j6mr5757382ejk.369.1610917882978; Sun, 17 Jan 2021 13:11:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610917882; cv=none; d=google.com; s=arc-20160816; b=Pv0dobAaRc1u466BYZCza/sgENopZicGXcjV3hWklG2OQ+lWnmCAw+zjZcDIsiOqu/ uO50/M53JtYkYErxRGWy9eTvHWfQRgfyfvnVRb8YZmTl8NKffC67Vu2Vv1nWVBohk+r9 G6KPgT5NXj89tQlPoRIzzSTF/GdewkFWDbLppfz8Y5yBuP5IX+buNzxl6D6ccy9lcrQ3 95L3YPiN2Ky7HJKvYTAYRtBYDxX0zZ88jeab0kgkC4Se/JtJ8oOyoE2A2ngjiUw0eVzy 2tLRNQpUjAIoRzx1nQn3qQEVuyYux4e8ousjoOTG51kTDu1FgrNk8NxPxZnh+0VNTf5W JJWg== 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:date:from:dkim-signature; bh=LZAkrW2GaOmYJY0cBuwNbHMnIhbHp8r9sGi6wYfzRc0=; b=BRoqFXO1aLp+IHnCgAibhp3bc8Wx81J+HJju+QymqYvEPAkaiDXe+n5QsbGKQlLplk HqakpHKv5g7HIYd5lune0OT5fRQ/9EXtIf4dDCHSev0gFbYVaTxqS5P1vbWd7cni1XPY ULVxA45VamOLe6FMsf2mB1NzkY/4PvFg3iScrFDekPRUXaIFZfBK05nx4aEOZq+keIIn WGCmHc04vLs0VJqsw2UBTdu9S+JEedwtHBRhPgKki3e04v2kbDoMEAGzUyQrLsaNEZqg BubC8dea4VqNcizTRUKFSbO14EKvtciCC6iEQdQVQAL776zDSKJdaCPfbSzAArX1qrlD nhxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AtqLF0lD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb23si6887802edb.75.2021.01.17.13.11.00; Sun, 17 Jan 2021 13:11:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AtqLF0lD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730255AbhAQUcU (ORCPT + 99 others); Sun, 17 Jan 2021 15:32:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730254AbhAQUcS (ORCPT ); Sun, 17 Jan 2021 15:32:18 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90258C061573 for ; Sun, 17 Jan 2021 12:31:36 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id 6so7255587wri.3 for ; Sun, 17 Jan 2021 12:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LZAkrW2GaOmYJY0cBuwNbHMnIhbHp8r9sGi6wYfzRc0=; b=AtqLF0lD7ZhC1en73Gm/YzTq/C3i4SZFMYnsQs75Brpu6C+XpVn+t1ZwQ3vswEuuUr PiBzWazn0s4pk81ee9etn1ILJ508lbigatR99a+lxNB+f42aVFZDYRl2b52aN0C/Jdk6 432NLRqiHgpGVlNYpqLTBPTDP/8Va0N7L7GT+uVK/H4nuVlpAS3EoIMmk93xvnydaP9Z AXEpL4aGNQhQhcUoPbxd7lhWoGatjVznZTLKjC66ooZGpCw9MOjQjXkTwMqpQRLjZjht Ch4JTQ3SeUViUjNKsjr0yAgWRcJgs6XCWgOuD5fy8ELDTmrnn4g0c3azJlhYkM1l2YLf ofog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LZAkrW2GaOmYJY0cBuwNbHMnIhbHp8r9sGi6wYfzRc0=; b=SZhImBzWKV8xZbLCd1jEnI7rDd3ojNT7KZ8Hf1KnoiocD4JvCIe7Y0l2FySMsyY6HK m2BurDEX4bYa5QYEWwDHMZ3UejFJdjSWqXwZKn+3tvyHP7fTWb8ocJcWSetSjBtcmZPa wO859J0IZ0s42lVzCzp5akN0Fg8V1X1517t0v8zvWB7ChBPqXiCeXB71MIgG3RCFAg9m J3awqYPYLL4YQ2r+rz8AlgaJic/BXIvzcH5AbF/zyQ8Uh4LK3Q6hQGoisYuAN1pKTQBq 4NFMK1oQdfW6uesylh2R+JyDTdP3s0+ue0cHqEOJ/YxIoCPu3jn0g7hzjU541D674Ubl FaAw== X-Gm-Message-State: AOAM5336vqY24OoGsz4wTiGOV7R9HZJUfqwlDAZtgG+uiDNb4fiRqvXF zT9dPigONRgsT3M/RpVRYd8= X-Received: by 2002:a05:6000:1d2:: with SMTP id t18mr22660086wrx.412.1610915494756; Sun, 17 Jan 2021 12:31:34 -0800 (PST) Received: from medion (cpc83661-brig20-2-0-cust443.3-3.cable.virginm.net. [82.28.105.188]) by smtp.gmail.com with ESMTPSA id u13sm25188212wrw.11.2021.01.17.12.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 12:31:33 -0800 (PST) From: Alex Dewar X-Google-Original-From: Alex Dewar Date: Sun, 17 Jan 2021 20:29:36 +0000 To: Geoffrey Mon Cc: Alex Dewar , linux-wireless@vger.kernel.org Subject: Re: How to port rtl8xxxu to new device...? Message-ID: <20210117202936.oqdqcnzbui3nhjyn@medion> References: <20210117175533.ya3wcb6yyqfgwiln@medion> <20210117191434.GA688839@jumping-cholla> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210117191434.GA688839@jumping-cholla> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sun, Jan 17, 2021 at 02:14:34PM -0500, Geoffrey Mon wrote: > 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. This was really helpful. Thanks! The project seems somewhat up to date (although I did get a hard lockup when I tried to use it...), but it definitely seems a useful avenue to go down. Best, Alex > > Best, > Geoffrey > > [0] https://github.com/ulli-kroll/rtw88-usb