From patchwork Mon Nov 23 18:27:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Sojka X-Patchwork-Id: 7684811 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 65B9DBF90C for ; Mon, 23 Nov 2015 18:28:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0E5C207C2 for ; Mon, 23 Nov 2015 18:28:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B27BA207F1 for ; Mon, 23 Nov 2015 18:28:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752457AbbKWS14 (ORCPT ); Mon, 23 Nov 2015 13:27:56 -0500 Received: from max.feld.cvut.cz ([147.32.192.36]:54732 "EHLO max.feld.cvut.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbbKWS1y (ORCPT ); Mon, 23 Nov 2015 13:27:54 -0500 Received: from localhost (unknown [192.168.200.7]) by max.feld.cvut.cz (Postfix) with ESMTP id E31B519F44AA; Mon, 23 Nov 2015 19:27:52 +0100 (CET) X-Virus-Scanned: IMAP STYX AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, port 10044) with ESMTP id skmcwmksDPHE; Mon, 23 Nov 2015 19:27:51 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 537BB19F44A0; Mon, 23 Nov 2015 19:27:51 +0100 (CET) Received: from wsh by steelpick.2x.cz with local (Exim 4.86) (envelope-from ) id 1a0vqA-0007Fh-4O; Mon, 23 Nov 2015 19:27:50 +0100 From: Michal Sojka To: linux-wireless@vger.kernel.org Cc: bernd.lehmann@volkswagen.de, s.sander@nordsys.de, wireless-regdb@lists.infradead.org, ath9k-devel@lists.ath9k.org, ath9k-devel@qca.qualcomm.com, =?UTF-8?q?Jan=20Kaisrl=C3=ADk?= , Michal Sojka Subject: [PATCH v2 7/8] cfg80211: Add Kconfig option for ITS-G5 band (5.9 GHz) Date: Mon, 23 Nov 2015 19:27:20 +0100 Message-Id: <1448303241-27747-8-git-send-email-sojkam1@fel.cvut.cz> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1448303241-27747-1-git-send-email-sojkam1@fel.cvut.cz> References: <1448303241-27747-1-git-send-email-sojkam1@fel.cvut.cz> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This option is meant for use by drivers and other subsystems to enable support for the Intelligent Transportation System (ITS-G5) band. The option depends on CFG80211_CERTIFICATION_ONUS as the use of this band is restricted. EU allows using it only for certain applications, USA require certification. Signed-off-by: Michal Sojka --- net/wireless/Kconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index da72ed3..faa0ab1 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig @@ -132,6 +132,33 @@ config CFG80211_REG_RELAX_NO_IR support this feature by declaring the appropriate channel flags and capabilities in their registration flow. +config CFG80211_REG_ITSG5_BAND + bool "cfg80211 support for ITS-G5 band (5.9 GHz)" + def_bool n + depends on CFG80211_CERTIFICATION_ONUS + ---help--- + This option enables support for Inteligent Transportation System (ITS) + band i.e. frequencies from 5.850 to 5.925 GHz. In Europe, the band is + standardized in the ETSI EN 302 663 standard. The use of this band is + restricted by regulatory documents mentioned below. Enable this option + only if you comply with them. + + In Europe, the band is split into several sub-bands regulated by + separate documents: + + - ITS-G5A (5.875 to 5.905 GHz) band is reserved for ITS road safety + related applications and is regulated by Commission Decision + 2008/671/EC. + + - ITS-G5B (5.855 to 5.875 GHz) band is reserved for ITS non-safety + applications and is regulated by ECC Recommendation ECC/REC/(08)01. + + - ITS-G5D (5.905 to 5.925 GHz) band is reserved for future ITS + applications and is regulated by ECC Decision ECC/DEC(02)01. + + In the US, the band is regulated by FCC 03-324 and the devices using it + must be certified. + config CFG80211_DEFAULT_PS bool "enable powersave by default" depends on CFG80211