Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1154194imm; Wed, 1 Aug 2018 11:04:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfILelNbKKuo599UyHNwhksQtJjIsfeVxAW0eNaKX6zs0vHjso42aF7cRYM6P5trBMXpKuV X-Received: by 2002:a63:fd52:: with SMTP id m18-v6mr20805638pgj.304.1533146686953; Wed, 01 Aug 2018 11:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146686; cv=none; d=google.com; s=arc-20160816; b=FNLfQCri+rIH2UAiqczU/pYBaWzSmHH+dkpFvAbTziyX5BBbB4yC9S3vKfrXkSJgr1 NiSgA/Y+fa9jParaHF6TJfCBt3elko6MxxEtGa1J4xAjiOzGkC51ydzt0bdyxzKPLmwJ +N2EHdHnrAyqqzn/sGztZzAyj+VXuwH6WEQUc0306K63p1tYEqJRcVv768/NJDc0kPBH PNp1W6goZd2TCduNGwKIFsvjMv1oojfStOoZT9rCdZqzsc3zO3C0lgt9ghW0Y0CB23tA F0O7F8rtdR+N0WGPnTTFTP2a12RTCwbrOA3emReptV4LE50OdCXtJp73/enamjcwEOmN molQ== 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=lW1Q8axl4j7Fu8ew56EC5JTj43z/DhwgD0usfayR7Xg=; b=rU1j7tYRyMDIxOjQSMDKiUfKjdK8ZWgJ9P495Sgj95MrxILafz1AhLmkacagO7kIZB uzACX6aZtHGfR2Nb5T1Z42Q1gpSnnrzyJX8QOhtTC2Wn+OhTdn7Ic/BqzxgzmfkyaWv4 7yYNKPAM+yY4c+0fU4ba588MmKZkUUdV7pEtH6yKvLN19BbpR8mjshr3COU1kKPE21x7 FKiZjLrIDwXkZkoZRRroikkARcyc7I6dhGLiYD7oFMQA28YC3qAHk+X5weokwKX5O/1n bkIPQUik30HgeOn/X+G6CUNBrsM1t0SKk5HHjJa/FvV6WK7hoqCE0rKo81oCOg8v6k5f sXXg== 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 h25-v6si16458438pgh.119.2018.08.01.11.04.32; Wed, 01 Aug 2018 11:04:46 -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 S1732606AbeHATuf (ORCPT + 99 others); Wed, 1 Aug 2018 15:50:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50270 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405089AbeHATIh (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 1444913E5; Wed, 1 Aug 2018 17:16:33 +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 094/246] ath: Add regulatory mapping for APL2_FCCA Date: Wed, 1 Aug 2018 18:50:04 +0200 Message-Id: <20180801165016.215780010@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 4f183687e3fad3ce0e06e38976cad81bc4541990 ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the regdomain code 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 regdomain code 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_common.h | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -61,6 +61,7 @@ enum EnumRd { MKK1_MKKA1 = 0x4A, MKK1_MKKA2 = 0x4B, MKK1_MKKC = 0x4C, + APL2_FCCA = 0x4D, APL3_FCCA = 0x50, APL1_WORLD = 0x52, @@ -193,6 +194,7 @@ static struct reg_dmn_pair_mapping regDo {FCC1_FCCA, CTL_FCC, CTL_FCC}, {APL1_WORLD, CTL_FCC, CTL_ETSI}, {APL2_WORLD, CTL_FCC, CTL_ETSI}, + {APL2_FCCA, CTL_FCC, CTL_FCC}, {APL3_WORLD, CTL_FCC, CTL_ETSI}, {APL4_WORLD, CTL_FCC, CTL_ETSI}, {APL5_WORLD, CTL_FCC, CTL_ETSI},