From patchwork Thu Mar 1 14:18:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10251621 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 2C3B560211 for ; Thu, 1 Mar 2018 14:23:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B055268AE for ; Thu, 1 Mar 2018 14:23:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12A52204FB; Thu, 1 Mar 2018 14:23:04 +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 97AEC28609 for ; Thu, 1 Mar 2018 14:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031436AbeCAOW1 (ORCPT ); Thu, 1 Mar 2018 09:22:27 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:38596 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031424AbeCAOW0 (ORCPT ); Thu, 1 Mar 2018 09:22:26 -0500 Received: by mail-qt0-f194.google.com with SMTP id n12so7690550qtl.5 for ; Thu, 01 Mar 2018 06:22:25 -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=Y3MUSj8LSsrg+AibNE1kKQmKEllkZuWP6PJPV7TBp2k=; b=D76x0UPsvXeVtJDDLDBr/nuqghlAhRmY3ILDzZUDWFl2bO9Gd7TWYth+dpXAg1Jqx9 IkYkI8hsRhE0HR+qHunlf13CWeH85FoXp+JNtMT+Z0Uh7JxGdMte5eZkCoM6cUfYu1Ou Le4IZPgj+iv9S4VaJsRFgW3a80Fzdn5ry7vQ/DvcImUEIk8G9N+q2OCHVNPIsXcsft4f 3t70o/PqGWtiiGly4CJ4HYicpxY8qiit3cT/YyUMf/8u9FdxRKH0ffw9y4Cwq9wacllI T6xbRC5pLYwTY/+m3cELHj2O/OVI7zMpls/mU6cJTtQZRPetGwKHq4rUrfE96coja6PM 4jDg== 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=Y3MUSj8LSsrg+AibNE1kKQmKEllkZuWP6PJPV7TBp2k=; b=Bvyu5lo76GWr6g3oCDly+9DlyUmxj7rkX9zxgHQFpgtbMCeL5Eh+rPv/Nsrf3n9FNN gPHuoGVxAiLAloQW8TLTfzXOgCs78Ty/OWflDgdhEkPlJaTWtsiJj6elzlAOaXiqPO+2 tebgmOvFjW4qkZlFN6n04JDICDCNnGOiXuUpxG4ggBXq5AgWDNENIagwuXcyFfSSLRqx S/A36Rs+TuEahk/yNbS+H0iWSVYD2HeClNVadYKwolOEYTTEWsbTWeVwJkq91XotuPA9 6kspbBIlqGsNZx04gwrvCM8FgJ5DxLjsxqyEZyn1o608khV2nA7dXi8PKK3mUyH2wa3t VTmw== X-Gm-Message-State: AElRT7HahNDFTV38hDoZEUXqZpBQF0OqfCbCuOkuQ0hPOXNcHEh+htAb oq0GoxXhJad4cKa0OlD2Dje28jgfPhc= X-Google-Smtp-Source: AG47ELtQO/ScL5CjYmhHQ0D79tmejjnO442+OOIw1iS/qELYLFpBD5LzGzM4IN9akMVQ/15iCp6ZKA== X-Received: by 10.200.61.90 with SMTP id u26mr3129307qtf.168.1519914145339; Thu, 01 Mar 2018 06:22:25 -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 j1sm2696380qke.57.2018.03.01.06.22.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 06:22:24 -0800 (PST) From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: Kalle Valo , "Luis R. Rodriguez" , Sven Eckelmann Subject: [PATCH 47/52] ath: Map Taiwan to APL7_FCCA Date: Thu, 1 Mar 2018 15:18:57 +0100 Message-Id: <20180301141902.24824-48-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 f0b51858b965..a4a55663e58f 100644 --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -479,7 +479,7 @@ static struct country_code_to_enum_rd allCountries[] = { {CTRY_SWEDEN, ETSI1_WORLD, "SE"}, {CTRY_SWITZERLAND, ETSI1_WORLD, "CH"}, {CTRY_SYRIA, NULL1_WORLD, "SY"}, - {CTRY_TAIWAN, APL3_FCCA, "TW"}, + {CTRY_TAIWAN, APL7_FCCA, "TW"}, {CTRY_TANZANIA, APL1_WORLD, "TZ"}, {CTRY_THAILAND, FCC3_WORLD, "TH"}, {CTRY_TRINIDAD_Y_TOBAGO, FCC3_WORLD, "TT"},