Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1154931imm; Wed, 1 Aug 2018 11:05:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdJEJU9A1qRKQ19JEJUx46g9z1e8vHVHEto9fIhXhLaK6Kwr+yAORWkaLLN8tnEDOD9c1hf X-Received: by 2002:a17:902:4401:: with SMTP id k1-v6mr23532500pld.97.1533146729108; Wed, 01 Aug 2018 11:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146729; cv=none; d=google.com; s=arc-20160816; b=Cg73VEfjm59EkE/wV1hdu7sLOj4qrfVg2YQHbPnLDZFbQHDTfuH8SSmG8zBwW74BwO bPdqgpifrxdLRlGrS4+bA8QAfCEbYtzHqSEvVAqEE+lDoa5TPrA0TebtoxOLgjWOBTKA HvcuPr9gSPkEJ1/oq4E6hMVR014oMj4sFvkYp9xy2dFzZCVqBLAzOiO6+t6T6Sv0Qvt5 E/SdUPKEDUxbu3hAzTgvP/V8o0d0nKSzC1dE3l5OylglMrKE/SI4v+IiBKIeYzNTc7XY vm1HNy3AQ7W/NbkjipLTHCmVqh0jXejBpwoCd6uUHx0+Cp9xxCavOuewDWLp9Riic7T3 rXpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=E2BLNZ3LRM96hNYLNuvHZW6LaVuScfFYIda5MMow/H4=; b=xaBm9/s0gLaFi26EKII1SifDZxuD/Kz/lIBiy9C7BHzY7YEASLwcgWpbiQGzKh2fFf SS7wAchcNxuxv1ce1dEEoYt+3JDdTtptrWvEjloZKg9+XplJ5sycFza4h8ffStfUzhvs aLUQaWtSMHWRSyEzM7TkMf6guxXJvTg0Nmhpt+pabYYvkknmFcKY2NUliqb9fFENmU9Z owNi21KtFX67hNzn9Mba2HMyenSYXMTDjKYRredXxX8fLMhD0h9ptrYT0Z380znIioBU NtCH0VsXNpyPY6IB/Yhl0e3PeQzLkxQUmdrIr87cDPZ542aXgxt9vIyeQzxBmeNTDBRR ufPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32-v6si15683587pgl.622.2018.08.01.11.05.14; Wed, 01 Aug 2018 11:05:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732188AbeHATvJ (ORCPT + 99 others); Wed, 1 Aug 2018 15:51:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50224 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405835AbeHATIh (ORCPT ); Wed, 1 Aug 2018 15:08:37 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5B14513E7; Wed, 1 Aug 2018 17:16:37 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sven Eckelmann , Kalle Valo , Sasha Levin Subject: [PATCH 4.14 095/246] ath: Add regulatory mapping for Uganda Date: Wed, 1 Aug 2018 18:50:05 +0200 Message-Id: <20180801165016.263239136@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801165011.700991984@linuxfoundation.org> References: <20180801165011.700991984@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sven Eckelmann [ Upstream commit 1ea3986ad2bc72081c69f3fbc1e5e0eeb3c44f17 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test limits (CTL) for a country. If the country isn't available and it is still programmed in the EEPROM then it will cause an error and stop the initialization with: Invalid EEPROM contents The current CTL mappings for this country are: * 2.4GHz: ETSI * 5GHz: FCC Signed-off-by: Sven Eckelmann Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/ath/regd.h | 1 + drivers/net/wireless/ath/regd_common.h | 1 + 2 files changed, 2 insertions(+) --- a/drivers/net/wireless/ath/regd.h +++ b/drivers/net/wireless/ath/regd.h @@ -175,6 +175,7 @@ enum CountryCode { CTRY_TUNISIA = 788, CTRY_TURKEY = 792, CTRY_UAE = 784, + CTRY_UGANDA = 800, CTRY_UKRAINE = 804, CTRY_UNITED_KINGDOM = 826, CTRY_UNITED_STATES = 840, --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -467,6 +467,7 @@ static struct country_code_to_enum_rd al {CTRY_TRINIDAD_Y_TOBAGO, FCC3_WORLD, "TT"}, {CTRY_TUNISIA, ETSI3_WORLD, "TN"}, {CTRY_TURKEY, ETSI3_WORLD, "TR"}, + {CTRY_UGANDA, FCC3_WORLD, "UG"}, {CTRY_UKRAINE, NULL1_WORLD, "UA"}, {CTRY_UAE, NULL1_WORLD, "AE"}, {CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"},