Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14151801rwb; Sun, 27 Nov 2022 18:41:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf61RG0AU7wiLV8B7Gf4lyM5JYhg0nZ5tG7L+SkxrULh6C0KOVmyR+RIfYTKS+Jpue7yKeUW X-Received: by 2002:a17:906:c251:b0:7be:88ed:3d4d with SMTP id bl17-20020a170906c25100b007be88ed3d4dmr5622040ejb.268.1669603307788; Sun, 27 Nov 2022 18:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669603307; cv=none; d=google.com; s=arc-20160816; b=GUgtfX/Pk2S7o+SgoJOkA/Poo4cmaoMSoxke08NN6eKum+HV6biyPkM5yLbxa3QZiJ GZ9zpT5ThGWX+elMa28OUTmblbvNO2WeaFKirqq0azKYkgq84Wv+1PFIDP6ozkN6dvv+ pDnILap4PEiId5JfygZRkTVZQxm4F7S+dC3pes398Fz6Hk/0i/OyDAtdjWd/eDDUjSXf sDLXnM2xEl0o66Uvj/sfV4a/csu6uG3dfyZ21R8cUcV0Xwh7ts5xKqf4jIyj7KMeOgIa kSjUxfKo5lkqh0L/Rlsn2ylWMRFhyiuy/ORSrPnFcFr4DOoNJQEI7sc2aO7ZAZ2q0pEe 06oQ== 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=svKxomH7kNJBS160x7KCWNbDyKB+qeyBbWDa5nt39lI=; b=kfxthwMh2IBZ9fjUQkRrxdTKbz/Nl8Po/UZ3SanqaDEL6IrPjDNhhl7aFlLIILYvu/ dWocOiRFYlt3FlMifElleDRpjHbFbTRYoQEvp1qSFtLBAS3hcJGZVTclQKS7c4m4B3Gm A+VNWE17rz5g9iqw3zu/09F/c/NWMddECBmcF+WzGBhiHc/xABbNDRxu77wtddYxv+4a 8TAWAbTEum7XcLoEhmPDCngw5TJJ5GgL1Sn1sFAq20TlIGtTKm53VGePUq2+i97R3KXH luZGqZJ715+shaW7L2BtrD9k5nfMxHHr70iUy9CJNTLNGe22CHKDqyJRZtzqxIUd7Lgm ygJA== 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 ho34-20020a1709070ea200b0078ddd8656d9si10064589ejc.9.2022.11.27.18.41.25; Sun, 27 Nov 2022 18:41:47 -0800 (PST) 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 S229706AbiK1COG convert rfc822-to-8bit (ORCPT + 67 others); Sun, 27 Nov 2022 21:14:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbiK1COF (ORCPT ); Sun, 27 Nov 2022 21:14:05 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5D929CFA; Sun, 27 Nov 2022 18:14:04 -0800 (PST) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 2AS2CoT62031913, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 2AS2CoT62031913 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 28 Nov 2022 10:12:50 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Mon, 28 Nov 2022 10:13:34 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 28 Nov 2022 10:13:34 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b]) by RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b%5]) with mapi id 15.01.2375.007; Mon, 28 Nov 2022 10:13:33 +0800 From: Ping-Ke Shih To: Sascha Hauer , "linux-wireless@vger.kernel.org" CC: Neo Jou , Hans Ulli Kroll , Yan-Hsuan Chuang , Kalle Valo , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Martin Blumenstingl" , "kernel@pengutronix.de" , Johannes Berg , Alexander Hochbaum , Da Xue , "Bernie Huang" , Viktor Petrenko Subject: RE: [PATCH v3 08/11] rtw88: Add rtw8821cu chipset support Thread-Topic: [PATCH v3 08/11] rtw88: Add rtw8821cu chipset support Thread-Index: AQHY/oJxlcE4AN1s7Ue+AOL9SzW7Xa5Tn5gw Date: Mon, 28 Nov 2022 02:13:33 +0000 Message-ID: <64d0d2c40be0404498cf09650d267320@realtek.com> References: <20221122145226.4065843-1-s.hauer@pengutronix.de> <20221122145226.4065843-9-s.hauer@pengutronix.de> In-Reply-To: <20221122145226.4065843-9-s.hauer@pengutronix.de> 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: RTEXDAG02.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2022/11/27_=3F=3F_10:48:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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: Sascha Hauer > Sent: Tuesday, November 22, 2022 10:52 PM > To: linux-wireless@vger.kernel.org > Cc: Neo Jou ; Hans Ulli Kroll ; Ping-Ke Shih ; > Yan-Hsuan Chuang ; Kalle Valo ; netdev@vger.kernel.org; > linux-kernel@vger.kernel.org; Martin Blumenstingl ; > kernel@pengutronix.de; Johannes Berg ; Alexander Hochbaum ; > Da Xue ; Bernie Huang ; Viktor Petrenko ; > Sascha Hauer > Subject: [PATCH v3 08/11] rtw88: Add rtw8821cu chipset support > > Add support for the rtw8821cu chipset based on > https://github.com/ulli-kroll/rtw88-usb.git > > Signed-off-by: Sascha Hauer > --- > > Notes: > Changes since v2: > - Fix txdesc checksum calculation. The checksum must be calculated over > a fixed number of words. > > drivers/net/wireless/realtek/rtw88/Kconfig | 11 ++++ > drivers/net/wireless/realtek/rtw88/Makefile | 3 ++ > drivers/net/wireless/realtek/rtw88/rtw8821c.c | 18 +++++++ > drivers/net/wireless/realtek/rtw88/rtw8821c.h | 21 ++++++++ > .../net/wireless/realtek/rtw88/rtw8821cu.c | 50 +++++++++++++++++++ > .../net/wireless/realtek/rtw88/rtw8821cu.h | 10 ++++ > 6 files changed, 113 insertions(+) > create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821cu.c > create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8821cu.h > [...] > --- /dev/null > +++ b/drivers/net/wireless/realtek/rtw88/rtw8821cu.h > @@ -0,0 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ > +/* Copyright(c) 2018-2019 Realtek Corporation > + */ > + > +#ifndef __RTW_8821CU_H_ > +#define __RTW_8821CU_H_ > + > +extern struct rtw_chip_info rtw8821c_hw_spec; This has been moved to rtw8821c.h by 89d8f53ff6e ("wifi: rtw88: Fix Sparse warning for rtw8821c_hw_spec") So, we don't need rtw8821cu.h anymore. Please apply this rule to other chips. > + > +#endif > -- > 2.30.2