From patchwork Tue Jul 3 23:15:12 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: 1153431 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 06D183FE4F for ; Tue, 3 Jul 2012 23:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932137Ab2GCXP2 (ORCPT ); Tue, 3 Jul 2012 19:15:28 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:17540 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452Ab2GCXP1 (ORCPT ); Tue, 3 Jul 2012 19:15:27 -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=1341357328; x=1372893328; h=cc:from:to:subject:date:message-id:in-reply-to: references:mime-version; bh=o+YIvqCgwOGieRU3GtINBbKApGOpxE7PurladfYngrc=; b=MWis9yNhClcfKklcaKf2hntaViS1Gggc6Sdlm177gDdxuhLoZDRZ4UXb eXfhVHIB89XU05+5ZZl+icE71r6tNXD2Z3ykLgAvtFWMIa5rJCLy0WnMq EZoPVZXjtTq7woX4HXituhpFToCf+dSPffhzmFR4aYzDCoZ3UXyoSumZ1 M=; X-IronPort-AV: E=McAfee;i="5400,1158,6761"; a="204910188" Received: from ironmsg03-l.qualcomm.com ([172.30.48.18]) by wolverine02.qualcomm.com with ESMTP; 03 Jul 2012 16:15:28 -0700 Cc: , , , , , "Luis R. Rodriguez" X-IronPort-AV: E=Sophos;i="4.77,518,1336374000"; d="scan'208";a="278147478" Received: from nasanexhc07.na.qualcomm.com ([172.30.39.190]) by Ironmsg03-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 03 Jul 2012 16:15:28 -0700 Received: from tux (172.30.39.5) by qcmail1.qualcomm.com (172.30.39.190) with Microsoft SMTP Server (TLS) id 14.2.283.3; Tue, 3 Jul 2012 16:15:25 -0700 Received: by tux (sSMTP sendmail emulation); Tue, 03 Jul 2012 16:15:23 -0700 From: "Luis R. Rodriguez" To: , Subject: [PATCH 1/4] cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS Date: Tue, 3 Jul 2012 16:15:12 -0700 Message-ID: <1341357315-8053-2-git-send-email-rodrigue@qca.qualcomm.com> X-Mailer: git-send-email 1.7.10.rc1.22.gf5241 In-Reply-To: <1341357315-8053-1-git-send-email-rodrigue@qca.qualcomm.com> References: <1341357315-8053-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