Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2036529rwb; Fri, 2 Dec 2022 04:47:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6OA8RD/pGLEsxm4Lhj2wIUaFWDQAAwbi+tpebrg2zk7sfO+aL5jqWsSX4/E6hUff9RFBeQ X-Received: by 2002:a05:6a00:22ca:b0:56e:64c8:f222 with SMTP id f10-20020a056a0022ca00b0056e64c8f222mr73744881pfj.71.1669985272942; Fri, 02 Dec 2022 04:47:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669985272; cv=none; d=google.com; s=arc-20160816; b=G2Jlho1lU0jSoS8zgnRapSR1GY+CeS41R0mUlZOEnv88L8zFh7G8wAj9LdvxuGXoWy lPbsrKsqtZJX5AavV1ugsxjanPy9y3892KHL+E2NDPzuGVnJuOE1WGtCBKww7BZtrDEp 2vPS17UiKlRkzkYAZleFvqObvMWlBvRLFNdXKV+mm2dZU0BEoupB5MHsGYxfl98AaiA7 AirgAWxBUwmDGKKmw6QHXRV8+6GMTePDvhOt1LKoimIDi4zZ+uSG1+nz2n1BT45NuX4q 4qpbX9TTPddOMlE1OjFczVpC+1hmNjE4AvGw6bNECPqmbP+ti5IKduhUhb9Q+m3YhXtV rk2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=7n7NE8dVYUvcQJ2JUht2K88rjndBrIbd3Ty91PR4ccw=; b=JhC2M4LcP3wU86l7+NhaGm969Lxl1JplqHtcSbwroFO+Xgjf2dA2RUh8/IfK5+71G/ iQLUQjYJU47j76FNeBn3vMdS816OzgVmy9TLFpQZ1s2lf2GNDti07O+39jOmX22/fiky JiPvTMtalGaVHbHE+mfzM2WrW/kLPFNJfrGpkeXxKXo9LqX6/WUdISws7O0vS1wgrSR8 cTrSkxjKlrKn4V3wlDJtH8tPOiwvZzbJcZmZ/7n3Iv9WskJqkFslEsUFNvjmYRJmoKiK lFdqBg6anmX8lTlMilX6jhfqf21BNighOQ6h7pv+vahAouZuxLB7T3+rUkmmJKahh/pT 6T9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Npr23a1v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o7-20020a056a0015c700b0056301324a24si7531468pfu.133.2022.12.02.04.47.41; Fri, 02 Dec 2022 04:47:52 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Npr23a1v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233525AbiLBMgw (ORCPT + 66 others); Fri, 2 Dec 2022 07:36:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233521AbiLBMgw (ORCPT ); Fri, 2 Dec 2022 07:36:52 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52E44A519C; Fri, 2 Dec 2022 04:36:51 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EFE8D622A8; Fri, 2 Dec 2022 12:36:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A557C433C1; Fri, 2 Dec 2022 12:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669984610; bh=JrVlUhmbfEf3yx1LFj69LbM293k8DEwjw6TruUjw5Dc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Npr23a1vBexZkiiLKy3Pnz3Iv7m20sJySy1/QsAPyn4jy1rtCIBih+QtA4/i/Siqi EsmR4Q5KzFygb4fiirPAavuVoN/7n9P2jJucnF4TQeJae8V9diRcZEdGelA8LV+n40 jWoXOF15N3xo3S3zSiA8m4aldXk6wcbJQZyisL3JAGqDTD/2RgYfOCaoOxLJ6HfSS3 4f2aWS7tp4sK+Tp+MSO3GJys4fHRh/DAnb7w1xPfjbNSTGqVh6E+3zeueJpTreyetK pNkwvLJyYM9vB3bmWfrLmICwMVuuDx3H07qZpaBbQPvypokaJyfSyzuZ3/W8eDNoEZ DymCxv0z3rMbA== From: Kalle Valo To: Sascha Hauer Cc: Jakub Kicinski , linux-wireless@vger.kernel.org, Neo Jou , Hans Ulli Kroll , Ping-Ke Shih , Yan-Hsuan Chuang , 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 References: <20221129100754.2753237-1-s.hauer@pengutronix.de> <20221129100754.2753237-9-s.hauer@pengutronix.de> <20221129081753.087b7a35@kernel.org> <20221202080952.GG9130@pengutronix.de> Date: Fri, 02 Dec 2022 14:36:41 +0200 In-Reply-To: <20221202080952.GG9130@pengutronix.de> (Sascha Hauer's message of "Fri, 2 Dec 2022 09:09:52 +0100") Message-ID: <87359y3rty.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Sascha Hauer writes: > 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. Yeah, a follow up patch is a good idea. Best to get USB support commited first, after that we can discuss improvements. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches