Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2080101ybe; Sat, 7 Sep 2019 08:28:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnkTcdaWjmngqFjtIVQtr4BvsJ8ipH2No0KTY/i23raJa20nzE8ZUbKHOUP5iXE3bH7AAv X-Received: by 2002:a17:90a:cf8d:: with SMTP id i13mr15677592pju.63.1567870104340; Sat, 07 Sep 2019 08:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567870104; cv=none; d=google.com; s=arc-20160816; b=rdXqVCcMB6+9hpZGS+3eccKuBJLth/429lWtE1EhHKKhmU9GjqQz/0s0KTA5wr0HGH QE7Kf1fc3U7sAqqOgNLlvHK4dd2Tl47cpkOMm+31Lsd5rDlz6LO7rPqrGF7bpzw/rC5G yi0JZ88ulAs3G/4PfPToraW2OHejBClobU5Cfp1bkw88Eu1XaSU71hZHfEHfqNXQsHad +O4PhHhTEP4P2rbSvRsNAmnCpKXla8s81z7r3EVVIMEuZw8rDP09FzSIyqdWC6zyWqKU IuaFIeX9cGoFgh+6dE1nYs0vq2gX5LXjExZGpFiMf9gAoRMrKIsd7CGXUJEZFmkc7XY8 qi2A== 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=p8V7F8KyP/+hxEP3mQzxR8zQvVH94st7p5AqUmIp58o=; b=hDM8BT8OcB/Hd99j3OELMOq7jkDcG0mlG1rb4gA/Tf5AcX1BZrZw35EwGFKCJBroC9 ceVy5X8DzrqtEtnIf1+hD7eGEjymU0+Swr2/B2GRzmLJ8WyT585m3OpuMJz5uVzN6gLD e+gedLPl4Hm6MbsVytpNaMuL1fcKQI5l5/ELasg0jsCPv4rgXLUX0QixR8PUJNYV1kjW 1InQMY7rad0aghyXIH2WTTeQOQQvXIdXTlx/UCF9EG9A16YbtRo/KTqiPG9jH6qxMhF6 Cm4jZRBJ+NYvzazo1IgMs4DJvBvASmEr7z+4io2v24VnVnEWapMw4qk+WMPxsUutq4C+ kZ2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=KYxNmbyK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 h22si8959334pfn.182.2019.09.07.08.28.08; Sat, 07 Sep 2019 08:28:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=KYxNmbyK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2404243AbfIFSGA (ORCPT + 99 others); Fri, 6 Sep 2019 14:06:00 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36395 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733128AbfIFSGA (ORCPT ); Fri, 6 Sep 2019 14:06:00 -0400 Received: by mail-pg1-f193.google.com with SMTP id l21so3914343pgm.3 for ; Fri, 06 Sep 2019 11:06:00 -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=p8V7F8KyP/+hxEP3mQzxR8zQvVH94st7p5AqUmIp58o=; b=KYxNmbyKb7HyYEXpPpjDcy/Dpd9jCTYKt/74keKiG2/HtRpP/uMNQTR5+Px2Vx+XET v3M9kvYTm7v7Au7BLwR9NgPNnRdvjymJcNFDAmCW3GGUJiIFPQi33CQCppw0DXIooxcZ B5RxsyCrpNrhM0AS8Fg3xiZDSBNNvKcYUxgZ6DMZi2zLsZ9hwqhAkjsY73zk2HS2RDW9 ap56YyunzImXHMO9e48SVwU8uYB83UK8Zhfy27jG7ZV/74z200v2ARAckKv5L7zAKhCb WkQO1K3tNZgfZqJlRjDp6+BFvEw4lrOD2MQxe4MG5PRrdn+FRJdCVZnzwgos5+FqJS0Y tDgw== 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=p8V7F8KyP/+hxEP3mQzxR8zQvVH94st7p5AqUmIp58o=; b=EIGNqRQOKVZomL/4BiricMF4vGCA1YDV0DfBfGpgG7K19mw72yxeSvlkgTVtWEXUR/ TdPC358y7s5iYY8FiWiDd6A1MzvKfoEVUVQ7LbDecx3kvCUCCmvAjAjyeSxZ9CzaY+ia VNavb5sl+OxnAMFdk0OyMOgxxRKlItFwwg5xxRL6NkNs1MWuQuobXQ88y7uDCG0UpbXo +tECMMRk2dB5DCqAJDbN/pPnbkms9DbPFeIKSMjNAR3RDYK4tUg5IoD9+2OCkVBegNDX oi7fVOZbpVuG4cVaWFJrIuprfOA6veip0Mpl09UVEIvtZCkjlHTj89PcnC9QNqoud1U6 ZCCg== X-Gm-Message-State: APjAAAVPVKIJR+4QSA2xNWqllw55D6EUUlhHjHNr3x7dMtFfw0XLWuxJ ZQEbgrzsMOMuW1kjeiwZkj55DgOUI/IlPA== X-Received: by 2002:a62:60c7:: with SMTP id u190mr12406747pfb.54.1567793159283; Fri, 06 Sep 2019 11:05:59 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([2620:15c:211:200:5404:91ba:59dc:9400]) by smtp.gmail.com with ESMTPSA id b185sm8749287pfg.14.2019.09.06.11.05.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2019 11:05:58 -0700 (PDT) From: Mark Salyzyn To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, Mark Salyzyn , Johannes Berg , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] net: enable wireless core features with WIRELESS_ALLCONFIG Date: Fri, 6 Sep 2019 11:05:45 -0700 Message-Id: <20190906180551.163714-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 core features to provide the API surface for them to load. Introduce CONFIG_WIRELESS_ALLCONFIG to select all wireless core features by activating all the 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: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org # 4.19 --- net/wireless/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 67f8360dfcee..0d32350e1729 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig @@ -17,6 +17,20 @@ config WEXT_SPY config WEXT_PRIV bool +config WIRELESS_ALLCONFIG + bool "allconfig for wireless core" + select WIRELESS_EXT + select WEXT_CORE + select WEXT_PROC + select WEXT_SPY + select WEXT_PRIV + help + Config option used to enable all the wireless core functionality + used by 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