Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1147836imm; Wed, 1 Aug 2018 10:59:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpefJTQbS3PFWOJnWOpCcLM8i7Wfkq9EJ2E7jpKeA52x5HfeV11Ey/LavcIPemSN9toXr1aG X-Received: by 2002:a63:a70f:: with SMTP id d15-v6mr25610430pgf.168.1533146381796; Wed, 01 Aug 2018 10:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146381; cv=none; d=google.com; s=arc-20160816; b=YK85qY9A9pVyGZ0usR/qzvIB+V4AGsav0PF8qLKAvpUgN7XyJF5Cpvmnc1CRHkig5o cMjATCNyenLnX17u7pGhSxMpwHuJmaQDYCaPWnchKrBOIgPlpgXsRCCKRm0cTY/38BxI 63PWdHdYhusaGvhIDWGv0P/hMLZlhgH2joG2HediPvcz0s5264iZuD2Y4uXYxY7iC2aH d6lAKknyDLH7ektkprNqRNSqLSlTf6PH4+ZZ/t/IDW0cA+kqJFsYuaCZH/rz1kxNOxu4 gQejddSzuSqm4gNYDfmLp/V54VXS1hcTSG1XDxlVvN+TxWepro+WRaw8wfmdgQPDdqPp QB3g== 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=n+K4K/7lTkI7ZNLPpGadWQ6jNWhXkdHQaHRlzozC3aE=; b=LudTCtHBEGlrTXTOQNDBFOTtMSVhW0CFnKJ5jE1MwRytm3T0AafATIs4gdpANUtheA yjwhbuA0j4JDimS6QN48LRD7cGfDN2+uuAK+OZ2VSjiov+3Y29rRZ9RV50asdXlmS+Pg WosLeC3ihEpAgzi+s6EM8P2ztuGAlTqW0Nf9goWZqSocR/KEwy7b7TSA2yDDod4WxCC+ yggFp7NVOBA5lKJj1y0aASlpwZa+eCSW04gljJLvOLzAgTAII/k2ZtrjIGYUaCBM+Ikw A/ai1jDnmdzO1eIZ0VdjyrtpfTmuoOruSli0IypTCDJCBOtted0GuE4tMAdjoZL+gw/I 9JCQ== 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 144-v6si14436583pfw.95.2018.08.01.10.59.27; Wed, 01 Aug 2018 10:59:41 -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 S2405969AbeHATIk (ORCPT + 99 others); Wed, 1 Aug 2018 15:08:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50120 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405920AbeHATIj (ORCPT ); Wed, 1 Aug 2018 15:08:39 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0C76E13ED; Wed, 1 Aug 2018 17:16:45 +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 098/246] ath: Add regulatory mapping for Bermuda Date: Wed, 1 Aug 2018 18:50:08 +0200 Message-Id: <20180801165016.410513002@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 9c790f2d234f65697e3b0948adbfdf36dbe63dd7 ] 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: FCC * 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 @@ -74,6 +74,7 @@ enum CountryCode { CTRY_BELARUS = 112, CTRY_BELGIUM = 56, CTRY_BELIZE = 84, + CTRY_BERMUDA = 60, CTRY_BOLIVIA = 68, CTRY_BOSNIA_HERZ = 70, CTRY_BRAZIL = 76, --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -313,6 +313,7 @@ static struct country_code_to_enum_rd al {CTRY_BELGIUM, ETSI1_WORLD, "BE"}, {CTRY_BELGIUM2, ETSI4_WORLD, "BL"}, {CTRY_BELIZE, APL1_ETSIC, "BZ"}, + {CTRY_BERMUDA, FCC3_FCCA, "BM"}, {CTRY_BOLIVIA, APL1_ETSIC, "BO"}, {CTRY_BOSNIA_HERZ, ETSI1_WORLD, "BA"}, {CTRY_BRAZIL, FCC3_WORLD, "BR"},