Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15487002rwd; Sun, 25 Jun 2023 18:54:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5vaUNwdk1nYrC/usJToyHfiT0H7w+PGNscF/VhBBepF/wapWxI+EPGXkK9KOqn0epaSwBF X-Received: by 2002:aa7:d296:0:b0:51d:96f0:9012 with SMTP id w22-20020aa7d296000000b0051d96f09012mr1413912edq.10.1687744481579; Sun, 25 Jun 2023 18:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687744481; cv=none; d=google.com; s=arc-20160816; b=nM8LoX8m9mZzm+Sebyq7AX9V8vv5yqUvIp9I8Jp6TKlZM9U2FCUwOWW1ufVcCM15rk jZzzyznQPCEfIUgwIo3iA+LZUHxLWMbgeO6EP6A0wzLJrV+lHAt8fOT57AG+H704Quei Ru2W/l9Ymq3JvLoRChNt6svoMNc8mx99/69dp37vxchnVuyJpx+3GH5oQ3LF7CtfnACY wX6HHXSD9hTSxoAwoBJnBww1TfCP0FjjYBOpRPkn69uP3fZKOTRkmOLZDdSNPVCjYbtH hAZNsOgg94SbWgmO069SzRMVf+AAJM3vcY3/iafj6AC1P+BRyfv0CJuaZ/gmfbQxqPFD 8qFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=nSQfEekTc/PFX5nHS5R4bbgTiXBxLYjhM4U80NPwhy4=; fh=jupq4HX5E8eqvM+WNS67hA8iAsJfXpwlWXGwFnOq32s=; b=btaK1F1iE6m+8bNb0H3aDsHqWV/rK49abw5bXCms6hk6RFR1BMMNQuciUjsAjuMPDG MGVzZmYxk1ds54qFw/VvepUNpUiHhK6FrzTyZNA6/HCQFZ/43IvzPrB9R83aPBv1knQo 656rp4Yvt5zDVytdBLbFfEvKITQNq+iMqD6dRUvVuq3sOPN/0gf/MNrhkXGdpYwNPftu C9JJ9wi3ucVHjttAdDhiZ9oWK6/6gxvt2orxgdF5JwTGD3XbwMgdQLN5fRUud6OhPxLe kzAFSt/5lVber/fUUoNBqzVjjY9PkXvv8DrNnmfx0zfS6Q9Uhx3I8tiweNmynhd+SKxE NiNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020aa7c610000000b0051da01766a7si28615edq.325.2023.06.25.18.54.20; Sun, 25 Jun 2023 18:54:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjFZB06 convert rfc822-to-8bit (ORCPT + 58 others); Sun, 25 Jun 2023 21:26:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjFZB0y (ORCPT ); Sun, 25 Jun 2023 21:26:54 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C705DC6 for ; Sun, 25 Jun 2023 18:26:45 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 35Q1PFurC026641, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 35Q1PFurC026641 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 26 Jun 2023 09:25:15 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 26 Jun 2023 09:25:38 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 26 Jun 2023 09:25:37 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Mon, 26 Jun 2023 09:25:37 +0800 From: Ping-Ke Shih To: "petter@technux.se" CC: "Larry.Finger@lwfinger.net" , "kernel@pengutronix.de" , "kvalo@kernel.org" , "linux-wireless@vger.kernel.org" , "linux@ulli-kroll.de" , "morrownr@gmail.com" , "petter.mabacker@esab.se" , "s.hauer@pengutronix.de" Subject: RE: Linux mainline support for RTL8811AU/RTL8821AU Thread-Topic: Linux mainline support for RTL8811AU/RTL8821AU Thread-Index: AQHZnc5dl9i8HjN9rEOIrsiwl7X/wK+IiCyAgAFbh4CADZRgAIAE5PMA Date: Mon, 26 Jun 2023 01:25:37 +0000 Message-ID: <128d43c8d0134b5ea18cbb4497e03a6c@realtek.com> References: <20230623063528.472664-1-petter@technux.se> In-Reply-To: <20230623063528.472664-1-petter@technux.se> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: petter@technux.se > Sent: Friday, June 23, 2023 2:35 PM > To: Ping-Ke Shih > Cc: Larry.Finger@lwfinger.net; kernel@pengutronix.de; kvalo@kernel.org; linux-wireless@vger.kernel.org; > linux@ulli-kroll.de; morrownr@gmail.com; petter.mabacker@esab.se; petter@technux.se; > s.hauer@pengutronix.de > Subject: RE: Linux mainline support for RTL8811AU/RTL8821AU > > > >> -----Original Message----- > >> From: Larry Finger On Behalf Of Larry Finger > >> Sent: Wednesday, June 14, 2023 2:29 AM > >> To: petter@technux.se; linux-wireless@vger.kernel.org > >> Cc: Ping-Ke Shih ; morrownr@gmail.com; kernel@pengutronix.de; kvalo@kernel.org; > >> linux@ulli-kroll.de; petter.mabacker@esab.se; s.hauer@pengutronix.de > >> Subject: Re: Linux mainline support for RTL8811AU/RTL8821AU > >> > >> On 6/13/23 03:09, petter@technux.se wrote: > >> > Hi, > >> > > >> > I'm investigating a wifi dongle (LM808) that is based on the RTL8811AU chipset. > >> > > >> > $ lsusb > >> > .. > >> > Bus 003 Device 066: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter > >> > .. > >> > > >> > I cannot find any driver support in mainline for that chipset (8811cu/8821cu, seems to exists). Just > curious > >> if anyone knows if there are any ongoing efforts to get this driver included in mainline? > >> > > >> > I can see that both: > >> > > >> > https://www.lm-technologies.com/product/wifi-usb-adapter-433mbps-lm808/?template=driver > >> > > >> > and > >> > > >> > https://github.com/morrownr/8821au-20210708 > >> > > >> > exists for non-mainline support, so will play a bit with them. But for maintenance etc I'm interested > >> to learn about possible mainline efforts within this area. > >> > >> It seems that the RTW8821AE has never been built or released. If it had been, > >> then extending that driver to the 8821AU would be easy as there would be a file > >> rtw8821a.c that contained all the details of that chip. Without that, there is > >> little that anyone outside Realtek can do. The vendor driver, which is the one > >> in the link you posted, will likely work. > >> > > >rtlwifi can support RTL8821AE/RTL8812AE and basic USB infrastructure, so it looks > >like possible to support 8821AU by rtlwifi. > > > >Ping-Ke > > So since no rtw8821a.c is available, like Larry pointed out in another response. Then it sounds like > investigating > rtlwifi is the best way forward then. Do you mean that it should be possible to get the 8821AU up-and-running > just by > making use of the info in ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae then? Are there any plans to > release a rtl8821au fw through linux-firmware, since > I guess that will be needed also. Yes, rtlwifi/rtl8821ae + rtlwifi/usb.c should be possible to get 8821AU work, and the firmware is the same as 8821AE. Ping-Ke