Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2190846ybe; Sat, 7 Sep 2019 10:32:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkZJTVcWFIcRgDSEgtqxRv230+z8CmhhBX7eQJuHz4WNBAthA7EUnUozKW8+NVnjp+UW0H X-Received: by 2002:a65:621a:: with SMTP id d26mr13532299pgv.153.1567877544846; Sat, 07 Sep 2019 10:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567877544; cv=none; d=google.com; s=arc-20160816; b=i/++mgmC2BiDIGfVsICcwWjqd26ZAgjWDOV3gtEA2BsP/vpfWlmldrQcMKV0WYqAek ATJtOEJnsAX8RRzvJzkpDksrpM9GPC5aOjBACtq1z2o8GygpMj3lNZ/aDKecdYaOMbLs KhirN6yQTSJOGawHKYKgJ2Y358lB6Kk6ggiDpB/+c8LdKXnCVvV/TVDUo//+utzhyKQ2 h9DM6XBeqvrZhTqsVxmwi8HnrV+FeSFyGhku09/Hd3czjJkdwLddNDox9Rma9H0A1Ne/ YODCxx5elkodseFvAi1WEQGi3BSnMGQukZwpSecak0b/00y8T2qw1wPnS1e1BF8nsTt7 1Dig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=no7kS2T1qNHP9Zpdwy1E09Unjz4x2T2LCFjYktICQgk=; b=pBAkw1q3duXr5CGHvjr0nToG+ZO2oFQCOcj6oBPGXBFx+i2JJQl9xkIuiojZb72wIY lcAfCWgjGkzWMJdD83h0Ggmj6eh1LQ8P0friVdyk2oDobyWtG8MA+mRdYNZjTBjA9YO3 p3W3980L7oq9bQVt8yFFTN+1x6qQTf8If1ex2MIrGBaediS626FUfXvsfkZBgR3rLec9 07hN2LpsBhJYUMpQZ2+A91O2Mmq9n8dSAIef1paSfqsf7k/Z803wAIZLuIkA7M5Fd1Ba 8BnSQFj/7zarcgnofaKCBR/3teb3XgnskNdw4q+fHn7Ouvw240UhPFkyD48NZbFF3lad 9uEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=EvVkZs2J; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 83si9999543pfu.242.2019.09.07.10.31.58; Sat, 07 Sep 2019 10:32:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=EvVkZs2J; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393099AbfIFTYM (ORCPT + 99 others); Fri, 6 Sep 2019 15:24:12 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:38426 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391133AbfIFTYK (ORCPT ); Fri, 6 Sep 2019 15:24:10 -0400 Received: by mail-pf1-f195.google.com with SMTP id h195so5159965pfe.5 for ; Fri, 06 Sep 2019 12:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=no7kS2T1qNHP9Zpdwy1E09Unjz4x2T2LCFjYktICQgk=; b=EvVkZs2J1AZ9GTp9kf0rnbiW9t2ITXImmd49lXjLrxM2btzrl5yd/T4Hcqo/dKLr6y Q5j5C5pCfxhbgmewV0/bNfJQ11TPyEMOE3jrODvA82aEojWf9Qagh/WFcF6vaHbvq6Pv ev3h/NdCyySH/YJt+JjM3K4bz5MFm47zXRTobzyogztVYzdQs9Ly0u15OSUf5Lk/j6SB RG9fVhihQPPSJt2EGqZ3gtgMX2daLtUNhaDhavGZdofleGMAejroOkOi4OGSv8cP+w2i XxbWLbE+QmfgowhG25brlvJTcvLuXFDfSOxclhU2h1c30ee7cuEd8IGt1UjKfFDGlYwa Rd3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=no7kS2T1qNHP9Zpdwy1E09Unjz4x2T2LCFjYktICQgk=; b=dvvZqHLMJZdmkcABg7A+2vIjg0+frBHoDED65ctWNsAI9imoKBPmMA5rZS5Fps0+l8 czpo7uVD1TNoc1gD5Nc37Y53d7t7GcBzTx4n/PPJuXPTVjgyQaBX/QUNdTRDm7cTUvKK li41VJCj5YUO1dzhHrdoZP54zo8rXIXFZf4abpIOkNmCK9k5jOTB2Fk5Q4U89X6dZsNg m9YD4VzlXEEjrTXuiN86/tIj3C1LZC9bIlcx0U01WuKfEICyG5JQfzcituzmMGI2TTd5 EHqWQ3RHOqbbTTrH4KnAzTyx8BSMEy6avd6QtLegebM9drfD/56og7pud7BdFKTNtRU0 Z2VQ== X-Gm-Message-State: APjAAAVUd5teLdPky4ODVAArXVxX3DA7At8km9cYIGkzCSAlRejzrHAO ES9BWGoMkQG5y5AWcoAufXG/lA== X-Received: by 2002:a65:64c5:: with SMTP id t5mr9650538pgv.168.1567797849694; Fri, 06 Sep 2019 12:24:09 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([2620:15c:211:200:5404:91ba:59dc:9400]) by smtp.gmail.com with ESMTPSA id b24sm7024169pfi.75.2019.09.06.12.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2019 12:24:09 -0700 (PDT) From: Mark Salyzyn To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, Mark Salyzyn , Johannes Berg , "David S. Miller" , Marcel Holtmann , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2] net: enable wireless core features with LEGACY_WEXT_ALLCONFIG Date: Fri, 6 Sep 2019 12:24:00 -0700 Message-Id: <20190906192403.195620-1-salyzyn@android.com> X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org In embedded environments the requirements are to be able to pick and chose which features one requires built into the kernel. If an embedded environment wants to supports loading modules that have been kbuilt out of tree, there is a need to enable hidden configurations for legacy wireless core features to provide the API surface for them to load. Introduce CONFIG_LEGACY_WEXT_ALLCONFIG to select all legacy wireless extension core features by activating in turn all the associated hidden configuration options, without having to specifically select any wireless module(s). Signed-off-by: Mark Salyzyn Cc: kernel-team@android.com Cc: Johannes Berg Cc: "David S. Miller" Cc: Marcel Holtmann Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org # 4.19 --- v2: change name and documentation to CONFIG_LEGACY_WEXT_ALLCONFIG --- net/wireless/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 67f8360dfcee..0d646cf28de5 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig @@ -17,6 +17,20 @@ config WEXT_SPY config WEXT_PRIV bool +config LEGACY_WEXT_ALLCONFIG + bool "allconfig for legacy wireless extensions" + select WIRELESS_EXT + select WEXT_CORE + select WEXT_PROC + select WEXT_SPY + select WEXT_PRIV + help + Config option used to enable all the legacy wireless extensions to + the core functionality used by add-in modules. + + If you are not building a kernel to be used for a variety of + out-of-kernel built wireless modules, say N here. + config CFG80211 tristate "cfg80211 - wireless configuration API" depends on RFKILL || !RFKILL -- 2.23.0.187.g17f5b7556c-goog