From patchwork Thu Jul 12 18:49:17 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: 1190281 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 EEE23DFFFE for ; Thu, 12 Jul 2012 18:49:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934162Ab2GLSti (ORCPT ); Thu, 12 Jul 2012 14:49:38 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:33467 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932810Ab2GLSth (ORCPT ); Thu, 12 Jul 2012 14:49:37 -0400 Received: by yenl2 with SMTP id l2so2763781yen.19 for ; Thu, 12 Jul 2012 11:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=ppqR8N5tvO48G7Rr171j6a0kD1een192gbXZzG0rS0w=; b=CvV2teZSpp4ogLIQld/xM21tBNUGZnuoZy8VUAUdgedWm00WPwv8grAU2zxjIq4iPs o9f38PO0gI8CZbeKvdIBQ4aotG0r57M5gvihq0UfzfhaS152r3DveXOIjuNcKBF+FRHi i/IlCLCysXRIcMb6qBTgHJXDlknhhVzHCz2zFr2Js/GQIzqVgUr0YT06PThbtrvtiSUK bbJq1mjXEjBfL97YJygswUZfhwzBLIqjtoAuSKjanQbtPv8Esl7PCaxUB1ZCMtD/5Nxk 9pTGhVM6nXAd85TF02jmKwFcai2BKbKevFUDVj0NVy4oY0gaTJvVQEvTBuMPP1xT68TZ 1OyA== Received: by 10.68.226.102 with SMTP id rr6mr7652931pbc.99.1342118976504; Thu, 12 Jul 2012 11:49:36 -0700 (PDT) Received: from mcgrof@gmail.com (c-24-7-61-223.hsd1.ca.comcast.net. [24.7.61.223]) by mx.google.com with ESMTPS id ms1sm4333840pbb.63.2012.07.12.11.49.34 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 11:49:35 -0700 (PDT) Received: by mcgrof@gmail.com (sSMTP sendmail emulation); Thu, 12 Jul 2012 11:49:28 -0700 From: "Luis R. Rodriguez" To: johannes@sipsolutions.net, linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, "Luis R. Rodriguez" Subject: [PATCH v5 1/5] cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS Date: Thu, 12 Jul 2012 11:49:17 -0700 Message-Id: <1342118961-13008-2-git-send-email-mcgrof@qca.qualcomm.com> X-Mailer: git-send-email 1.7.10.rc1.22.gf5241 In-Reply-To: <1342118961-13008-1-git-send-email-mcgrof@qca.qualcomm.com> References: <1342118961-13008-1-git-send-email-mcgrof@qca.qualcomm.com> 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