Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1756191rwb; Fri, 2 Dec 2022 00:12:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf5cuxzz+OSoJd2DOCKqQFWQ0D9ZC45r1LWCsHl8mBQdU5tpBgXjFjCYfMQcWefpTrnuJHOm X-Received: by 2002:a62:b417:0:b0:56b:b838:a4de with SMTP id h23-20020a62b417000000b0056bb838a4demr72373979pfn.73.1669968777526; Fri, 02 Dec 2022 00:12:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669968777; cv=none; d=google.com; s=arc-20160816; b=om50YnWl0jLweZityjJswyemAPfQ60gImSDL6kuZ9DquXrE+ojq4+gDuLI1PbiQumE tYnFSOOmiKC9ZCyUKZ3Oo+/LugGFYVXbdGGGA5ZaDJYh7Au33BGKNTHLEcV+mVjo/B20 WBrbmjsURwMCSFjquVZJ4WibusJjth2r28KqlYfvUa0mUywVLrHmf9jJUvaBVda5/rHp m0JW1vWc/JkcrvsZr8K0csd3b/BPT+QDRX0dMqIW3B91aPF6QDs57rYW0b9DZRaQulFM 8jeStKMzwZ7fqDyXmK7isegcHpKyfb9kld+G31tHS/A8mhg3eQSRqAel6Us9fC4kHCRp JXVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=5eMpevaI3G3wVxfngKnmgKKDJ+u6dyu7r9t27Ts1tgU=; b=JdN15OkoJRvVTqV6wvm32XARB5Sl76n4AMXAGJ5QUlFu8qpbGQ2znt4jnCvK42a3fL YGe6amZwurtMWrzcxGGqLgNqJbWlFmA2TtX17Wzc8OhzRiyVKYvZagLyy4fARy4fOKHE dcHmRXyjaasl5H/LzJObliVurL0awsWrxXM9aoaIn22IhoZp3RL6VynGTMkBCIGBUz4s qPBvtSDW6QOtVksZ7NF3YCJgkkFAZpRj7w1lK335GVjr7YBBItzGNxHbPEkPP3Zl1rie mW8+4xzro+cvhC3hMww+sh491VPlwEnWzCI7rG5laK/rTZT54qU5AKhSgA+XImkN3n3a MO4w== 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 x69-20020a638648000000b004769692fee2si6674658pgd.385.2022.12.02.00.12.49; Fri, 02 Dec 2022 00:12:57 -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 S232422AbiLBIKI (ORCPT + 66 others); Fri, 2 Dec 2022 03:10:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232438AbiLBIKE (ORCPT ); Fri, 2 Dec 2022 03:10:04 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C908AE4DD for ; Fri, 2 Dec 2022 00:10:03 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p117L-0004RO-0U; Fri, 02 Dec 2022 09:09:55 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1p117I-0004pi-Ez; Fri, 02 Dec 2022 09:09:52 +0100 Date: Fri, 2 Dec 2022 09:09:52 +0100 From: Sascha Hauer To: Jakub Kicinski Cc: linux-wireless@vger.kernel.org, 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 , Po-Hao Huang , Viktor Petrenko Subject: Re: [PATCH v4 08/11] wifi: rtw88: Add rtw8821cu chipset support Message-ID: <20221202080952.GG9130@pengutronix.de> References: <20221129100754.2753237-1-s.hauer@pengutronix.de> <20221129100754.2753237-9-s.hauer@pengutronix.de> <20221129081753.087b7a35@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221129081753.087b7a35@kernel.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 On Tue, Nov 29, 2022 at 08:17:53AM -0800, Jakub Kicinski wrote: > On Tue, 29 Nov 2022 11:07:51 +0100 Sascha Hauer wrote: > > +config RTW88_8821CU > > + tristate "Realtek 8821CU USB wireless network adapter" > > + depends on USB > > + select RTW88_CORE > > + select RTW88_USB > > + select RTW88_8821C > > + help > > + Select this option will enable support for 8821CU chipset > > + > > + 802.11ac USB wireless network adapter > > Those kconfig knobs add so little code, why not combine them all into > one? No point bothering the user with 4 different questions with amount > to almost nothing. I tend to agree here. I followed the pattern used with PCI support here, but I also think that we don't need to be able to select all chips individually. The following should be enough: config RTW88_PCI tristate depends on PCI default y config RTW88_USB tristate depends on USB default y Still I'd like to continue with the current pattern to not block merging of the USB support with this topic. I could create a follow up patch though if that's desired. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |