From patchwork Tue Jul 10 17:23:07 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: 1178581 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 46774DFF34 for ; Tue, 10 Jul 2012 17:23:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756533Ab2GJRXt (ORCPT ); Tue, 10 Jul 2012 13:23:49 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:2451 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756419Ab2GJRXs (ORCPT ); Tue, 10 Jul 2012 13:23:48 -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=1341941029; x=1373477029; h=cc:from:to:subject:date:message-id:in-reply-to: references:mime-version; bh=o+YIvqCgwOGieRU3GtINBbKApGOpxE7PurladfYngrc=; b=NZZW71E+ssYo9eefgz7XlqXwgGQgwYnwphF1nnT6bjADkQrTDKsyJBtN E3COC7+gYQLrFmxLUU+biOI5/orhVdd7ncCER1jgGc7/uePQZ9Nvm03fU GFsr39uadxlP4WRDamchzmnR5BsPyg2IjUeDO+9WzGZ02ElljoPYy0Fzx 4=; X-IronPort-AV: E=McAfee;i="5400,1158,6768"; a="206784342" Received: from ironmsg02-r.qualcomm.com ([172.30.46.16]) by wolverine02.qualcomm.com with ESMTP; 10 Jul 2012 10:23:49 -0700 Cc: , , , , , "Luis R. Rodriguez" X-IronPort-AV: E=Sophos;i="4.77,560,1336374000"; d="scan'208";a="159990209" Received: from nasanexhc08.na.qualcomm.com ([172.30.39.7]) by ironmsg02-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 10 Jul 2012 10:23:49 -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; Tue, 10 Jul 2012 10:23:46 -0700 Received: by tux (sSMTP sendmail emulation); Tue, 10 Jul 2012 10:23:46 -0700 From: "Luis R. Rodriguez" To: , Subject: [PATCH v4 1/5] cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS Date: Tue, 10 Jul 2012 10:23:07 -0700 Message-ID: <1341940991-11234-2-git-send-email-rodrigue@qca.qualcomm.com> X-Mailer: git-send-email 1.7.10.rc1.22.gf5241 In-Reply-To: <1341940991-11234-1-git-send-email-rodrigue@qca.qualcomm.com> References: <1341940991-11234-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