From patchwork Thu Mar 1 14:18:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10251589 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 EB3B060211 for ; Thu, 1 Mar 2018 14:22:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D26A928437 for ; Thu, 1 Mar 2018 14:22:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D047628236; Thu, 1 Mar 2018 14:22:10 +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 DBD6E283C9 for ; Thu, 1 Mar 2018 14:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031379AbeCAOVn (ORCPT ); Thu, 1 Mar 2018 09:21:43 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:44732 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031181AbeCAOVl (ORCPT ); Thu, 1 Mar 2018 09:21:41 -0500 Received: by mail-qk0-f194.google.com with SMTP id v124so7675216qkh.11 for ; Thu, 01 Mar 2018 06:21:41 -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=Nim+SQsQZPHec23gmtdOAOnaaagFxbkKJG0Q5AKN6tA=; b=i6giADqu+aJSi5B1kBTMztf+u4hCnjIBe4gAt6+L2yjI+siipn0IVvBguiF6E6GpsZ IVqu+evL84f7ZXMhIqnWIEahrxTfAy2QpYmwcOfhlFYDx8rhmUxDBBB4xL8dVGdFgIKU zrMovie2gEIPUQ8RYRZ0K7pVmcoMW60qalGRYK8WCwbGhwrgbFM34j4O54Ck0NIkH9Gx V6xF+c1s04/sdH+N3tR7cG+2rSznukp36uXc7AWBSmrZT5o8HTfspDinks/jDp0OAxQJ 3gQV9mrcFsO7ybU0elXmmjxiQiroHqiEH+8X61TST7gdV73c8OarTg2qJzd+ymPBhX9X f4nw== 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=Nim+SQsQZPHec23gmtdOAOnaaagFxbkKJG0Q5AKN6tA=; b=Uk6D8MvMqtNTSZ4ycSLHcCJLpcQB0U6+Py+IrPmL8M2HAtBV4Bx6fq+t7x1jtTvkHq kJ6QrmNWGEgbS+ZYu1skU8MqQkJjne8/nroBdFLlM7t/rqLcmaoO5rCqPNu+nBlUR8ph uz8PK3hxCw1pVl9bcWIA2PVggUeJmuqLo//oxZOB6qGFalk5OV+hQ8LtekK/Yb3yRP6u 5kCDNT55xNwmiYcdsz6a1cv3KBtd4f7X/PO8BXaY4B0sJc8hmNDtdHL0wRC83+AKHaLh Uet3vik8jd2mEzDZmRrrUYfjCv5bMxtMFLNyhnLxomUc7RM9GgzLRcb35+73tgJS1L6o NUVQ== X-Gm-Message-State: AElRT7H6INw5TyFMwqY/5+aZhrjkEIdTcpYumM/vC9zToqwhSafbTnZ4 p77mDMsZnkMO8yURQaeboHv6iZkbjhA= X-Google-Smtp-Source: AG47ELuaAH1OfgWdWfl1e10ICkEdFRtdyko1pUrsQH62z2eOPMzKX0oM8fCouy/8X6K6dv8cxI1aIQ== X-Received: by 10.233.220.6 with SMTP id q6mr3124783qkf.157.1519914100802; Thu, 01 Mar 2018 06:21:40 -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 u4sm2802937qtg.28.2018.03.01.06.21.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 06:21:40 -0800 (PST) From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: Kalle Valo , "Luis R. Rodriguez" , Sven Eckelmann Subject: [PATCH 29/52] ath: Map Czech to ETSI1_WORLD Date: Thu, 1 Mar 2018 15:18:39 +0100 Message-Id: <20180301141902.24824-30-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. This change itself doesn't change the selected CTL of this country and is only required to stay in sync with the QCA mappings. 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 c28347fac774..29021bf28b89 100644 --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -335,7 +335,7 @@ static struct country_code_to_enum_rd allCountries[] = { {CTRY_COSTA_RICA, FCC1_WORLD, "CR"}, {CTRY_CROATIA, ETSI1_WORLD, "HR"}, {CTRY_CYPRUS, ETSI1_WORLD, "CY"}, - {CTRY_CZECH, ETSI3_WORLD, "CZ"}, + {CTRY_CZECH, ETSI1_WORLD, "CZ"}, {CTRY_DENMARK, ETSI1_WORLD, "DK"}, {CTRY_DOMINICAN_REPUBLIC, FCC1_FCCA, "DO"}, {CTRY_ECUADOR, FCC1_WORLD, "EC"},