Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1145328imm; Wed, 1 Aug 2018 10:57:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdTX4lQ5QQnAr8U7d7rhTvW/FTaU5yobIsBndpcqoShdY/3i3IN8HoaD0yXgrCy3f1Y1IRK X-Received: by 2002:a63:ab4c:: with SMTP id k12-v6mr25157641pgp.386.1533146221440; Wed, 01 Aug 2018 10:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146221; cv=none; d=google.com; s=arc-20160816; b=fA3d4DEUrX+Vs5ncoD0guuUk2NONPcKnbk0IKxMDL3Ic2v1D1jVDkD8fDhYV9VuW7J sxORFa7NFoo/U6GeviWuh9ykUU3+ODT6Vabc4fR7s3D03Ox+s5czGxM14rux3raIhkkz Ksrh7PUXsZVVVVpomqtTV8W55XybZ2sdG5WQahsFOERVb5MzTtCPDm+pE3I7+sg5YFin CmNwrZchDMV13wJDAh3fEDCYd6F5rmeaxaeZPYQ2lbgExdsJnBYPLASISbIpity05rBn e6a6fpFJTRShq/nPxN1hpavHctEwHRWXqzjCconXwVP7FvV0PyQubaNqoroLbFc6gpPf YBMw== 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=zlwtu5PioBltUwjknRw/ps/Wq0rZsRK4hz+b76iX13Q=; b=fbi9hYJpgVoF7wFBkWkOxBt6HV2QLlvYmkU5gQgQHHNEaauTrx9kn24xiZq3MAM+ZI 5gPxPZnGwSyBKgyfrMoEQ00Gzw6a2UfCs6mJ7OaYDngEYQvc7nwvNnF967q7Vq2PyU6U PrNFchEkxmTixg+4QzUYw014y/3/PdjtFkzSoSLC8FxKjVgfFv0ojTmO86FWyaKSd63s NyYw/NRwrmvlfvHv5gTBUgMWpo9SIiwvh+FCPr14IK/6ou0sxi98VsGwGz9xpATzwejf vwpPS5bfKAmQInNILITBgugXnhv7Pi0TXk7BhbsxcpHNqqEzcB/daFl0JbVj9936BJfH 4YzA== 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 h2-v6si76480pgj.550.2018.08.01.10.56.47; Wed, 01 Aug 2018 10:57:01 -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 S1731555AbeHATmr (ORCPT + 99 others); Wed, 1 Aug 2018 15:42:47 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50242 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405970AbeHATIk (ORCPT ); Wed, 1 Aug 2018 15:08:40 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2251913EB; Wed, 1 Aug 2018 17:16:42 +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 097/246] ath: Add regulatory mapping for Serbia Date: Wed, 1 Aug 2018 18:50:07 +0200 Message-Id: <20180801165016.365276995@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 2a3169a54bb53717928392a04fb84deb765b51f1 ] 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: ETSI 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 @@ -159,6 +159,7 @@ enum CountryCode { CTRY_ROMANIA = 642, CTRY_RUSSIA = 643, CTRY_SAUDI_ARABIA = 682, + CTRY_SERBIA = 688, CTRY_SERBIA_MONTENEGRO = 891, CTRY_SINGAPORE = 702, CTRY_SLOVAKIA = 703, --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -452,6 +452,7 @@ static struct country_code_to_enum_rd al {CTRY_ROMANIA, NULL1_WORLD, "RO"}, {CTRY_RUSSIA, NULL1_WORLD, "RU"}, {CTRY_SAUDI_ARABIA, NULL1_WORLD, "SA"}, + {CTRY_SERBIA, ETSI1_WORLD, "RS"}, {CTRY_SERBIA_MONTENEGRO, ETSI1_WORLD, "CS"}, {CTRY_SINGAPORE, APL6_WORLD, "SG"}, {CTRY_SLOVAKIA, ETSI1_WORLD, "SK"},