Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1476510pxb; Sun, 17 Jan 2021 10:14:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpnRJz3eJx42kD5TN92v08znvdxm/6Rw852QwiOSdGxa1NqA0WEtGlLNA+O8TIXsN+J1Da X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr17096554edu.316.1610907284312; Sun, 17 Jan 2021 10:14:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610907284; cv=none; d=google.com; s=arc-20160816; b=m2K61Ya0GEhFaXXC3ZWQYtNlOnaIQgtFvd2ENTdinDjNo+y7e8lQAQDrpV5J+0IN29 4fkkRSifpgv6DcH5xMErzJnToe/KZZgblu1JhyZza5MRZMY9c+M33rTimssQ3OHn02FM WSI3MmOEnJlxOxaRyNtOBzpD7RzBFTbvPOE9isxJcPRkvxfROc+LY5s8QvcL7FvDNamt 5Jia17PE533P8NoirlWnZ/uTj7rlt0ubypBDLppC8uN2cXw4XIRP+neBLU5AlSuLB29r aX1A5HJvHjU+ljsVP+UnRddvUqnWBRVKb2xHxzexqjrBIlZSUFjM81SjaFczaiKeNFAI agGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:date:from:dkim-signature; bh=fvHzBYZV8x8XbF+aJQXnA43cGURhKXftc1C9GinwpVY=; b=ugx2u7pBbCzDaHcNv3ugw/KZ0NJB1+IdDpAgvJ5jvvCMSO13XqUCai1Jz/81lHOEyw biyatk/rq9KyRJjZ960R11BJrYkuZXXyqa/vM8xCH8I6FbfOmcTqMXwFvt9GjwJAr7zz zErCkBJScvmm2vB7N26Bk2f9zUOQc356lThxCu0mwhJJLkrtNIc6TZi5JaWXOWVOmS6Z 4t05bJo7LiriaAxhscnD8G1fRwuYsG1op3WJGCo3GpVIP9iA3aIzJ2VZOGiQwV/XIYYt pMH87117M6y6+PMhONXD38gkRFOtlBKIqecuT+tSgmhKcmo88IkRWOQkXUORsxmdxT1M +knQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YzMh16er; 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 f15si1104842edt.366.2021.01.17.10.14.19; Sun, 17 Jan 2021 10:14:44 -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=YzMh16er; 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 S1729392AbhAQR6N (ORCPT + 99 others); Sun, 17 Jan 2021 12:58:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728498AbhAQR6M (ORCPT ); Sun, 17 Jan 2021 12:58:12 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A1ECC061573; Sun, 17 Jan 2021 09:57:32 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id a12so14287916wrv.8; Sun, 17 Jan 2021 09:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mime-version:content-disposition; bh=fvHzBYZV8x8XbF+aJQXnA43cGURhKXftc1C9GinwpVY=; b=YzMh16erNxjWlLJA9m4ixIEo3WA/8yp4beEnQznj+TmxwWn+RoljgsIGOgyUHuL0m4 eX2zbm6VHtIC8BRz/qZxshqqB81j/Q5djJv9zG43T4Fhzd5nJnLPG4N1lyB2qrLJewHF FOQCQAx3FvKQnnKcg8wCrpuvaoi6rF+H2nYJIQAkTbV1WEx4c+otD31RW34zxuc78QD6 Om0ezjJvovyH+bzB/q8BbzDB5Wvcrxy0svWegDBU+M967sDFtvyjQFnWlYPiwK+SZxyC meLIwnT8tU9LGxJlH9y0WCX0+EVaiNCdaFJ93c30p6HvzrMbARRc8PEBVYgc+8vPl99Z X/sQ== 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:subject:message-id:mime-version :content-disposition; bh=fvHzBYZV8x8XbF+aJQXnA43cGURhKXftc1C9GinwpVY=; b=NIsDuiNDIeNA0VR4zla/RK+pQByxRoWF7zD2N+yQ3A0KDEjuKqk1nxBu7CsdDgwvgp 9A4yuUk4uTo6Uo2JtXqYfd53HDK2mmsS3CawlJ0v8gTaLBfbk5k9U0i5142n7j05vd72 Ty9RvFGZ+YDhxJ0JzemuCLx5Dh2UyUO0Wxqp/okOCWu1tWUadki8Mj+zBYc+zVFT8XSw LX3VltfIK1hAl5oo21fx8oPqLES2KnuHpzhy3ITFJEdp9A+SojYK3cOMDTu3YeuS/w68 RLEAfwPCJpvqpGmACiGFNnVST09z2I2JvDJs8Ht5GIRQ+vcWBEv2Vlh+G+1PWM3dJAhw NTjw== X-Gm-Message-State: AOAM533cT7Sw9+qkqqotgjc21ijX4z4BTsFVJSrrYXqSa+9rnBCOXVln WxfNI7FXGDcjHC+G//o9aXQWuspm8ICVMg== X-Received: by 2002:a5d:62c7:: with SMTP id o7mr22085360wrv.257.1610906250713; Sun, 17 Jan 2021 09:57:30 -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 k9sm21782546wma.17.2021.01.17.09.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 09:57:29 -0800 (PST) From: Alex Dewar X-Google-Original-From: Alex Dewar Date: Sun, 17 Jan 2021 17:55:33 +0000 To: davem@davemloft.net, Jakub@medion, Kicinski@medion, kuba@kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: How to port rtl8xxxu to new device...? Message-ID: <20210117175533.ya3wcb6yyqfgwiln@medion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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. I've managed to get as far as reading and writing to various registers as part of the device setup, but the dongle appears to crash at the downloading firmware stage. At the moment it just feels like I'm changing random bits and pieces to see what happens. I'm using this downstream driver for reference: https://github.com/RinCat/RTL88x2BU-Linux-Driver Does anyone know of any documentation or anything that could be useful for working on this? Best, Alex