From patchwork Thu Mar 1 14:18:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10251625 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6D4CD60211 for ; Thu, 1 Mar 2018 14:23:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B79A286EF for ; Thu, 1 Mar 2018 14:23:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57CDB28702; Thu, 1 Mar 2018 14:23:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 209A428524 for ; Thu, 1 Mar 2018 14:22:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031440AbeCAOWb (ORCPT ); Thu, 1 Mar 2018 09:22:31 -0500 Received: from mail-qk0-f196.google.com ([209.85.220.196]:41804 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031424AbeCAOW2 (ORCPT ); Thu, 1 Mar 2018 09:22:28 -0500 Received: by mail-qk0-f196.google.com with SMTP id w142so7688871qkb.8 for ; Thu, 01 Mar 2018 06:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openmesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ym0kSQnXKlcEMu+qD8ZTqE2m9wimKvrRObCvmG2YffM=; b=wHeLFj9PBUqrdhZMPhsL6cEraSzDuRzlv9LIHZMcbMEm7eKwBY4W08bMk4FgugD9dR 6ou9a6lEPHkVrrCSTGxmp5evOHesE9FP8isRZ1wPIJbD4Gfxl8xijBMDpNkF1BhGaOVR AVSWDb2kXeePTzcXxD9uIHw1S1xpCDL2/G7n0mdPGUzThNxGRdJAtfX3ktkINoMloxGI iU2v0H1kWl8QEJ+YdCaHgkdNXkr1fN6/WUVEJ9noydMqFdcedczRe+JHKUPfDeKXKz+k yKPTfeZn6a7GjOEJ8NlBOLAiMc5UP53RcxCuFh5rbrSamDfP3RN0xH8H+nb2SPGq6E9X +/0A== 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; bh=ym0kSQnXKlcEMu+qD8ZTqE2m9wimKvrRObCvmG2YffM=; b=TkiUtDYs4OTewdFuf/ow2Iw9KmB/OF4EGbeET8haAJekCQq1cJ+rND3sa02XQ03SPI /wPwGtBbRKgmv+aLQvZS7mM1eQpG2kPCkqDnaaRH/Dc8MqRSBSVydJuVGLTaayq2B/oV x6/nYAZBieR6qpofQiovFzyYtrmuYGyuiSLyX8CzBt9xTIJVXKDUyRAJAPCO7B6TFSHU JqG70OnSxrwBShMGN/Bk/JvIaBR2nhmB+NfuEchvovr50mUJAZ6Bg3jzwlW0/JrmBWGK LIgBJIjb00x4fDFBb+Bzfcxvcnf/k7TygLVwuYitEYMA5oSRdIox6lBo3S/PJpAn1Mw0 OLyA== X-Gm-Message-State: AElRT7EOqfU8E+W1mAgogUUlxDRctMdJMjOPr6Cl6+9g7nxy1eUBHSHB A9p/O6/cFsbqijMAVqEzf58bf3U3qn8= X-Google-Smtp-Source: AG47ELuuMOzx1zXfQYcDfsX+BekmJrRzVOBMPyKFya/EatitgUyQQr5s/wQxxZcB/gpcCwnbRZ0s8g== X-Received: by 10.55.192.144 with SMTP id v16mr3058915qkv.233.1519914147792; Thu, 01 Mar 2018 06:22:27 -0800 (PST) Received: from sven-desktop.home.narfation.org (p2003007C6F4301EA1FEAE4CE1DF3DE58.dip0.t-ipconnect.de. [2003:7c:6f43:1ea:1fea:e4ce:1df3:de58]) by smtp.gmail.com with ESMTPSA id u4sm2804036qtg.28.2018.03.01.06.22.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 06:22:27 -0800 (PST) From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: Kalle Valo , "Luis R. Rodriguez" , Sven Eckelmann Subject: [PATCH 48/52] ath: Map Ukraine to ETSI9_WORLD Date: Thu, 1 Mar 2018 15:18:58 +0100 Message-Id: <20180301141902.24824-49-sven.eckelmann@openmesh.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180301141902.24824-1-sven.eckelmann@openmesh.com> References: <20180301141902.24824-1-sven.eckelmann@openmesh.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code isn't correctly mapped to the actual CTL entries in EEPROM then it could happen that the device violates the regulations. But it can also happen that the device is then not able to be used with its full txpower on all rates. The CTL mappings for this regdomain code were now changed to: * 2.4GHz: ETSI * 5GHz: NO_CTL -> ETSI Signed-off-by: Sven Eckelmann --- drivers/net/wireless/ath/regd_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/regd_common.h b/drivers/net/wireless/ath/regd_common.h index a4a55663e58f..e41a0ce332a8 100644 --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -486,7 +486,7 @@ static struct country_code_to_enum_rd allCountries[] = { {CTRY_TUNISIA, ETSI3_WORLD, "TN"}, {CTRY_TURKEY, ETSI3_WORLD, "TR"}, {CTRY_UGANDA, FCC3_WORLD, "UG"}, - {CTRY_UKRAINE, NULL1_WORLD, "UA"}, + {CTRY_UKRAINE, ETSI9_WORLD, "UA"}, {CTRY_UAE, NULL1_WORLD, "AE"}, {CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"}, {CTRY_UNITED_STATES, FCC3_FCCA, "US"},