Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1149866imm; Wed, 1 Aug 2018 11:01:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfctgWwL2Ed2cvKhWMxohy7uxSJbyKbXoB0u9R71m7fdmTFGi+h0V83VpTvkMrphyV72xyw X-Received: by 2002:a65:6086:: with SMTP id t6-v6mr25959209pgu.424.1533146481026; Wed, 01 Aug 2018 11:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146481; cv=none; d=google.com; s=arc-20160816; b=lvY5HXdx9kasVHJ9ZM9aCe09RcRwbIPjR2HSMOZ5//eSKxranvewm8ceuAkgMSQEgD vnmmN0iK9D9aK7DbWZcXcQvqxYQOgp+F4JQg7394pZomctjIPMPW1zIhYXX2N0QcOHAp deLr+coMqg6vuarli+z1tovlYJM1jlb6HTPjO/NI0DmXPthmKhM3yxyigr33D4+K2C3u Vr++qo9VhQBlPoXlL7Y9T9xrvlaHTS0Zv0FtVReG/auC/+SBLOmeAPx9GTRQFB3nLllf CLOND7rdgDfH8FINg9G89RuK5zzb3RaqVu+gG3QukcFUlY6ZRR2deAHFXKMcwciPeyGf 4DSg== 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=Jfvx8v2C9v3Rk+fCLvs1vGpZdJRptIbRYD0HfCxGgjQ=; b=DbuNUMVVRP8r71Kf4JP36LOsVW6oTSiwD9R11QISiemYPOcXzk0sAaeLIapgBmuLD4 Nz95iR3qheyRmDOS7MlC6CZBh045AQ/XfsXtNVUBONAXQouB1ceAUZ8m0URfOVLE/1PE ivqEZUyPcFjWBqRQ+FRxgSPL1BCPyTsmto7BuPEB2QCAIglN2uAl/TisBOYrwT6fA+5w rg0lw06La0NrXwjtQoQML7P0lyQPFK+rkPThL+HgSu1QcBgPmIvl7r9poDpyCcc0cPRY Nl4D466wnHqFue2IgI1JLkJqUtgj/b12yKvwGXsHVJIIrp9VNshMVXodHgScBe38ljSE D69w== 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 w13-v6si14730791pgr.229.2018.08.01.11.01.06; Wed, 01 Aug 2018 11:01:20 -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 S1732654AbeHATpj (ORCPT + 99 others); Wed, 1 Aug 2018 15:45:39 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50082 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405728AbeHATIj (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 00BF013EF; Wed, 1 Aug 2018 17:16:48 +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 099/246] ath: Add regulatory mapping for Bahamas Date: Wed, 1 Aug 2018 18:50:09 +0200 Message-Id: <20180801165016.452416399@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 699e2302c286a14afe7b7394151ce6c4e1790cc1 ] 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 @@ -68,6 +68,7 @@ enum CountryCode { CTRY_AUSTRALIA = 36, CTRY_AUSTRIA = 40, CTRY_AZERBAIJAN = 31, + CTRY_BAHAMAS = 44, CTRY_BAHRAIN = 48, CTRY_BANGLADESH = 50, CTRY_BARBADOS = 52, --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -306,6 +306,7 @@ static struct country_code_to_enum_rd al {CTRY_AUSTRALIA2, FCC6_WORLD, "AU"}, {CTRY_AUSTRIA, ETSI1_WORLD, "AT"}, {CTRY_AZERBAIJAN, ETSI4_WORLD, "AZ"}, + {CTRY_BAHAMAS, FCC3_WORLD, "BS"}, {CTRY_BAHRAIN, APL6_WORLD, "BH"}, {CTRY_BANGLADESH, NULL1_WORLD, "BD"}, {CTRY_BARBADOS, FCC2_WORLD, "BB"},