From patchwork Fri Jul 6 22:20:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Luis R. Rodriguez" X-Patchwork-Id: 1168321 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8B20A3FC33 for ; Fri, 6 Jul 2012 23:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932675Ab2GFWVH (ORCPT ); Fri, 6 Jul 2012 18:21:07 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:59172 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932984Ab2GFWUn (ORCPT ); Fri, 6 Jul 2012 18:20:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1341613244; x=1373149244; h=cc:from:to:subject:date:message-id:in-reply-to: references:mime-version; bh=o+YIvqCgwOGieRU3GtINBbKApGOpxE7PurladfYngrc=; b=CGqpCP2T+8I2bp3rAY0M5ZVje4/RQNfpeVK3jHOPJIHvOPdRNPD1ETFf skVf6PzY4ox90iVDLD8bG18sGDbdbXCdrokV5Sn/5dHL4boV3RrwM6XJo gywJs4K0m27tKxhOJiFwbz677QBOnZR5fCT2yeAqdQVF1+j6c/Vw8iLQ7 w=; X-IronPort-AV: E=McAfee;i="5400,1158,6764"; a="208179220" Received: from ironmsg03-r.qualcomm.com ([172.30.46.17]) by wolverine01.qualcomm.com with ESMTP; 06 Jul 2012 15:20:44 -0700 Cc: , , , , , "Luis R. Rodriguez" X-IronPort-AV: E=Sophos;i="4.77,540,1336374000"; d="scan'208";a="284892009" Received: from nasanexhc08.na.qualcomm.com ([172.30.39.7]) by Ironmsg03-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 06 Jul 2012 15:20:44 -0700 Received: from tux (172.30.39.5) by qcmail1.qualcomm.com (172.30.39.7) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 6 Jul 2012 15:20:41 -0700 Received: by tux (sSMTP sendmail emulation); Fri, 06 Jul 2012 15:20:40 -0700 From: "Luis R. Rodriguez" To: , Subject: [PATCH v3 1/3] cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS Date: Fri, 6 Jul 2012 15:20:24 -0700 Message-ID: <1341613226-11774-2-git-send-email-rodrigue@qca.qualcomm.com> X-Mailer: git-send-email 1.7.10.rc1.22.gf5241 In-Reply-To: <1341613226-11774-1-git-send-email-rodrigue@qca.qualcomm.com> References: <1341613226-11774-1-git-send-email-rodrigue@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [172.30.39.5] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: "Luis R. Rodriguez" This adds CONFIG_CFG80211_CERTIFICATION_ONUS which is to be used for features / code which require a bit of work on the system integrator's part to ensure that the system will still pass 802.11 regulatory certification. This option is also usable for researchers and experimenters looking to add code in the kernel without impacting compliant code. We'd use CONFIG_EXPERT alone but it seems that most standard Linux distributions are enabling CONFIG_EXPERT already. This allows us to define 802.11 specific kernel features under a flag that is intended by design to be disabled by standard Linux distributions, and only enabled by system integrators or distributions that have done work to ensure regulatory certification on the system with the enabled features. Signed-off-by: Luis R. Rodriguez --- net/wireless/Kconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 4d2b1ec..fe4adb1 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig @@ -74,6 +74,27 @@ config CFG80211_REG_DEBUG If unsure, say N. +config CFG80211_CERTIFICATION_ONUS + bool "cfg80211 certification onus" + depends on CFG80211 && EXPERT + default n + ---help--- + You should disable this option unless you are both capable + and willing to ensure your system will remain regulatory + compliant with the features available under this option. + Some options may still be under heavy development and + for whatever reason regulatory compliance has not or + cannot yet be verified. Regulatory verification may at + times only be possible until you have the final system + in place. + + This option should only be enabled by system integrators + or distributions that have done work necessary to ensure + regulatory certification on the system with the enabled + features. Alternatively you can enable this option if + you are a wireless researcher and are working in a controlled + and approved environment by your local regulatory agency. + config CFG80211_DEFAULT_PS bool "enable powersave by default" depends on CFG80211