From patchwork Thu Mar 1 14:18:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10251639 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 CE19860211 for ; Thu, 1 Mar 2018 14:24:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A73842854F for ; Thu, 1 Mar 2018 14:24:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A39A92842A; Thu, 1 Mar 2018 14:24:01 +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 19DC3285EA for ; Thu, 1 Mar 2018 14:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031396AbeCAOV6 (ORCPT ); Thu, 1 Mar 2018 09:21:58 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:36642 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031389AbeCAOV4 (ORCPT ); Thu, 1 Mar 2018 09:21:56 -0500 Received: by mail-qk0-f195.google.com with SMTP id d206so7690404qkb.3 for ; Thu, 01 Mar 2018 06:21:56 -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=vR0+hq73MWYPAE0ZcwjVDzMMSzcHMiUeDtbxUsoEYa4=; b=vb9/gUZKfNkSz2lIG9UyJfVhZF6qb05TOgrr0lY39x0d4N0tyAb5pvJG/hblql6V0l 7SrT7l76G4U9lxY8f0/mN5MEnFd6WjzhU9g2jbKQXvqxV059tZisxZkkzb3x+9bG8dfk ZcRZ1WmxnY6ZgaIehzQUCFuEIsoAnrIv4LT8srq6HOHpKZt4jliymI3eKWso/F0BOZRO JQqKtqQdbAio8IiQZ5DsPIZ5X3zO3zke0JKQmOfDOGEJaBEANgSZnxt9/Ozg7TK4XgDm 7F1cAR06BiAFTuanP+wyzxsQkt5UXIx6heetZ4Rg8fOaQEuvro5ZmNRUym0pzRIt4afU xbKQ== 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=vR0+hq73MWYPAE0ZcwjVDzMMSzcHMiUeDtbxUsoEYa4=; b=BXxNERrhcTtK5kUTTIEgG4qoCe4mIViblZteDZvfUDmrYh/J3SdBzxO+80b3/4T0QA 9vCP3hm6j16F5J9qFjalRtyHJ83iyEhGa7Y/VcRk13aAl9Y2eJ+kQuqK4Yj4zuW7Ln2o zgv+FK3iHK0tzvLnuNkrwGQma7hyUdvEDc/21bVsYkL2gTIeyrQVJL9LThbJNI4mS+yq aqpQgtXKItvDYkhqglO3IyPzcNjpwP9yWYWNh45gLnqdnqVNSly5m+DlwNvEpfNivCXu o2yqlRojc49HSUPHFGaYlTC0QFUk6GK8HFyZ5mAeP+uTHp5w6/Felb8ltAh6kYpIVHCW 0dSQ== X-Gm-Message-State: AElRT7GPDLTJOq/8O5OOT5XQsNXlZ19JikJk3rTy1HEsqStRMUDYqzeG SyronGb3FyfO53S3C2FTzXbyHcYihwQ= X-Google-Smtp-Source: AG47ELt7Yz6+1hbMPjeO6lMDgbwe4cvwCFjJ6TNynW1dTw5/WoSgMGdygHX+Rby3XQ2o6+qGNmbmAg== X-Received: by 10.55.164.85 with SMTP id n82mr3043908qke.342.1519914115581; Thu, 01 Mar 2018 06:21:55 -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 t60sm2876978qtd.68.2018.03.01.06.21.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 06:21:54 -0800 (PST) From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: Kalle Valo , "Luis R. Rodriguez" , Sven Eckelmann Subject: [PATCH 35/52] ath: Map Lebanon to APL1_WORLD Date: Thu, 1 Mar 2018 15:18:45 +0100 Message-Id: <20180301141902.24824-36-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 -> FCC 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 dee9db074d84..1b69849b4727 100644 --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -434,7 +434,7 @@ static struct country_code_to_enum_rd allCountries[] = { {CTRY_KOREA_ROC3, APL9_MKKC, "K3"}, {CTRY_KUWAIT, ETSI3_WORLD, "KW"}, {CTRY_LATVIA, ETSI1_WORLD, "LV"}, - {CTRY_LEBANON, NULL1_WORLD, "LB"}, + {CTRY_LEBANON, APL1_WORLD, "LB"}, {CTRY_LIECHTENSTEIN, ETSI1_WORLD, "LI"}, {CTRY_LITHUANIA, ETSI1_WORLD, "LT"}, {CTRY_LUXEMBOURG, ETSI1_WORLD, "LU"},