From patchwork Tue Dec 22 19:17:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Illia Volochii X-Patchwork-Id: 346877 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 825E2C433E0 for ; Tue, 22 Dec 2020 19:20:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56CCC23130 for ; Tue, 22 Dec 2020 19:20:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727678AbgLVTUy (ORCPT ); Tue, 22 Dec 2020 14:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726500AbgLVTUy (ORCPT ); Tue, 22 Dec 2020 14:20:54 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0569C0613D3 for ; Tue, 22 Dec 2020 11:20:13 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id a12so34553108lfl.6 for ; Tue, 22 Dec 2020 11:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FPuCXixP7EtqyMJX4no93jVlw3DMMt3PppG42GBfh/4=; b=IRGfWo+e1q6FjJdcfQClxg/M0rEaEyLJpCNsBMzqKctyYFgBxAWn9NPQXvVoYKHq+n 17Ssd6PA4HJO6JrXpePTUpL7kvfmQHd+K57hJEWRWY9XWL9ZyuR5NsvbB48s9my4K91Y NnbkDhaEA06pGLAZdlGrEK17vuxE1fvBMyX/WjKrH0e8Ge/NMHJSjNe+PXKKoG9gFQzZ jMET0mzJWsKX0dD8B/oSDpv8EfH6KTaAU+yoc2oS1V2Dbh4BETlZ8QEHqoQgEG08QQT7 /RirANYKEc+bsrtPmFubaqo8umpyXgSSnuhHZ9/HSlzitDOv35aNSBvYykS/NzsN7Mkz CLnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FPuCXixP7EtqyMJX4no93jVlw3DMMt3PppG42GBfh/4=; b=kotOIr7Y6KwwlvU41aNjazBcO7IUQHsHSAJYVAlTSAzrqo5lb6mmHY69YS38kos0Cr jPMwJrhbd5eVq8EZKn1XC20+7xLRd+yhuc2OjpOe7PCv0qp3DyodvFlklDjBhiAsFfiL sLf7x0dO42pets0RvsgDCn/nBSmM41iZIpSuacUyvGVqtUWVvED0YKXKpT8oTt9ADHyz 3GwP4g4zvNJrgYgZjUoeXKNWKpEEDj9ErSz1jBQaY4ZZH+eeMrJbPDHLm0MRnUIAh0AU NV5s7a3IQa4/Sr/cGI8z7Y+yE7MwwjubQCB8oNBeBiD+N3PBLMVQ2SRQkqdeohmG4vU8 8oDQ== X-Gm-Message-State: AOAM532+WmjFjxY+9bsvtnuTj6e7g6HXwrzoGwlXA2l6HkXcyqlgURGP s22Z+72SpA6AWCbDK5ZL5vU= X-Google-Smtp-Source: ABdhPJyzhesWalWuq/bH9QwsK55pvlBVO03uLtBS7GcqJobHUzLRlafgNTMvJGyrTZJLUwh85bPsWg== X-Received: by 2002:ac2:5309:: with SMTP id c9mr9762695lfh.447.1608664812153; Tue, 22 Dec 2020 11:20:12 -0800 (PST) Received: from 5550.lan (host-91-243-31-214.la.net.ua. [91.243.31.214]) by smtp.googlemail.com with ESMTPSA id v7sm2954307ljk.60.2020.12.22.11.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 11:20:11 -0800 (PST) From: Illia Volochii To: illia.volochii@gmail.com Cc: linux-wireless@vger.kernel.org, seth.forshee@canonical.com, wireless-regdb@lists.infradead.org Subject: [PATCH] wireless-regdb: Update regulatory rules for Ukraine (UA) Date: Tue, 22 Dec 2020 21:17:38 +0200 Message-Id: <20201222191738.56240-1-illia.volochii@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201220212721.22450-1-illia.volochii@gmail.com> References: <20201220212721.22450-1-illia.volochii@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patch is based on the latest Ukrainian norms https://zakon.rada.gov.ua/laws/show/z0201-15#n48 and is an updated version of the one sent previously. * Extend some frequency ranges. * Provide some power limits in mW to be consistent with local norms. * Decrease EIRP on 60 GHz band channels to 20 dbm. * Set wmmrule=ETSI to frequency ranges that are related to EN 301 893. * Permit outdoor usage of 2.4 GHz band channels. * Prohibit outdoor usage of some 5 GHz and 60 GHz band channels. Signed-off-by: Illia Volochii --- db.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/db.txt b/db.txt index c71a03a..eaa3ea5 100644 --- a/db.txt +++ b/db.txt @@ -1548,21 +1548,22 @@ country TZ: (2402 - 2482 @ 40), (20) (5735 - 5835 @ 80), (30) -# Source: -# #914 / 06 Sep 2007: http://www.ucrf.gov.ua/uk/doc/nkrz/1196068874 -# #1174 / 23 Oct 2008: http://www.nkrz.gov.ua/uk/activities/ruling/1225269361 -# (appendix 8) -# Listed 5GHz range is a lowest common denominator for all related -# rules in the referenced laws. Such a range is used because of -# disputable definitions there. +# Source: https://zakon.rada.gov.ua/laws/show/z0201-15#n48 +# Power limit units are the same as provided in the source (i.e., mW for +2.4 and 5 GHz, dbm for 60 GHz). +# Although it is allowed to use up to 250 mW for some 5 GHz frequency ranges, +# all of them are limited to 100 mW for IEEE 802.11n and IEEE 802.11ac. +# 2.4 GHz band channels can be used outdoors when some requirements are met. +# 5 GHz band channels must be used only indoors in some cases. They are neither +# permitted nor denied outdoors in others. country UA: DFS-ETSI - (2400 - 2483.5 @ 40), (20), NO-OUTDOOR - (5150 - 5250 @ 80), (20), NO-OUTDOOR, AUTO-BW - (5250 - 5350 @ 80), (20), DFS, NO-OUTDOOR, AUTO-BW - (5490 - 5670 @ 160), (20), DFS - (5735 - 5835 @ 80), (20) + (2400 - 2483.5 @ 40), (100 mW) + (5150 - 5250 @ 80), (100 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI + (5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW, wmmrule=ETSI + (5470 - 5725 @ 160), (100 mW), DFS, NO-OUTDOOR, wmmrule=ETSI + (5725 - 5850 @ 80), (100 mW), NO-OUTDOOR # 60 GHz band channels 1-4, ref: Etsi En 302 567 - (57000 - 66000 @ 2160), (40) + (57000 - 66000 @ 2160), (20), NO-OUTDOOR country UG: DFS-FCC (2402 - 2482 @ 40), (20)