From patchwork Thu Mar 1 14:18:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10251627 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 14A2060211 for ; Thu, 1 Mar 2018 14:23:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0388E286DA for ; Thu, 1 Mar 2018 14:23:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 019AF24B5B; 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 03FC224B5B for ; Thu, 1 Mar 2018 14:22:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031441AbeCAOWd (ORCPT ); Thu, 1 Mar 2018 09:22:33 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36979 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031438AbeCAOWb (ORCPT ); Thu, 1 Mar 2018 09:22:31 -0500 Received: by mail-qt0-f194.google.com with SMTP id r16so7698418qtm.4 for ; Thu, 01 Mar 2018 06:22:30 -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=4BJdd34BBCGkm4RfJ/PBcYEUpi21/6INr5AHN7xTiEA=; b=f8NxSXKjNv2JI+YcCaBLARHqlE7DqtzPIN4njsbQVuCRjocpfY1K9f0/jlEozU0w39 gg1vvthKsuIT8I6QtLhMTCI42+HCqNLws+tkDNYfOjz2Hr9FP/fmbvDjnst/z6PZVBI3 xfpM6nq5q9gKlZNlcjVkxSxfnYo6nIxULuBst4jkLvEodFqBxxyRkMC+v1qky1kmSmiV 5BCD3of5w6euQKkijyco/OWcIgcmFz8Yd4cgMwfufiwRBSyKH3d/BlrGD3Vfp9ohb7i2 CjezSOamWI2UQz/8VBDlvq6c/WxbKY2JIJcd6V8widHuJOhWBj8UzoriWLBPKHlx8tdN C4tA== 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=4BJdd34BBCGkm4RfJ/PBcYEUpi21/6INr5AHN7xTiEA=; b=V4UpUdWbFlfbK9veRpYp5KIIDkKCBtXC4eC9Xasl7Ex+t9K/3YEUoY8uOhbYCZkqid XKovwRhVNwhNOzZH9nyP5+AfXR71b+1snf3zvTAaKeKuiQhmPSf+F2/HRiGdkzAprZsL f3NtEVg5g1g9nane4KE6YA6Rts99N3G8YFlmXXe2K98i9k/nN14ma1sZAqD2obTy3bp1 wtFntm/EhiP/5KqZuN42dLbp74Hwlei9sxoIG6YNTlyenKSF6IJGLntDXLDbze73iy50 gM1FCs8OWLiiPjXwdnTglVENM2Ij39owYZyJcUYdLl1wH4s9uy++pEdFdG5d/2K7KItg JVxw== X-Gm-Message-State: AElRT7GhUAZtFNqOeXzWE4fFM4aCJkp8JiMT4u/NQgmIGsXwoOJxzR8B 3s81ktjG7oeAw4zOsh+BhukHJP4ZGtc= X-Google-Smtp-Source: AG47ELtVxOirz95MPiXBmjZ8zMgzc8VFQFcg7F3FREkiF3BTc/wWRzJbrVi4XiIQxh4P7iHZKVGrBw== X-Received: by 10.200.16.19 with SMTP id z19mr3342840qti.10.1519914150210; Thu, 01 Mar 2018 06:22:30 -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 z5sm2658683qka.31.2018.03.01.06.22.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 06:22:29 -0800 (PST) From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: Kalle Valo , "Luis R. Rodriguez" , Sven Eckelmann Subject: [PATCH 49/52] ath: Map U.A.E. to ETSI1_WORLD Date: Thu, 1 Mar 2018 15:18:59 +0100 Message-Id: <20180301141902.24824-50-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 e41a0ce332a8..aba44cffce3d 100644 --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -487,7 +487,7 @@ static struct country_code_to_enum_rd allCountries[] = { {CTRY_TURKEY, ETSI3_WORLD, "TR"}, {CTRY_UGANDA, FCC3_WORLD, "UG"}, {CTRY_UKRAINE, ETSI9_WORLD, "UA"}, - {CTRY_UAE, NULL1_WORLD, "AE"}, + {CTRY_UAE, ETSI1_WORLD, "AE"}, {CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"}, {CTRY_UNITED_STATES, FCC3_FCCA, "US"}, {CTRY_UNITED_STATES2, FCC6_FCCA, "US"},