Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1159991imm; Wed, 1 Aug 2018 11:10:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe5/TND7xgmG/Vvx1hsUxrSOsqS29JT33peUTPFB/VaCdZwyK3aTSp9KBxWbMUY76AnmZC7 X-Received: by 2002:a17:902:65:: with SMTP id 92-v6mr7359912pla.318.1533147020320; Wed, 01 Aug 2018 11:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533147020; cv=none; d=google.com; s=arc-20160816; b=YsqGypOsHW8PHePGDorTnUU9lkF9tBGayHTp8Q2Sk/ANf02EasgGUDUincZBT7fM8V a5AsPh92YhnxZMjg9uCMxut6fK8wob3irOImopEeBa3o2JiTnAEHyAZYauVZWISvSgRw snnztw3mvHn7lPAb/w3FrcB7vafjYi4TeaTX8v0V4fixdQz60ugIcWYX2EZ7v8/9IzFM mx4YPUBiUMMmebKA1lbrgWApebMOmj5Iuz52t8LHHOKJoHjzvoNfDmRVYs/eOACHsQ6P d+HMGlcVdxzP+TIqwo+y4QolvTceGZmbJI34LIXhgdjgtlWOxx8S5+0ZOWEXI1Rzn7Ts 6sPw== 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=MjzrWbWVG3ZZz2NvYuCcgl3J073qWIA79+MPSBmNtLY=; b=XBiMX/b9BVEqGm0Xd6A4O8x8ED3wUWDW5IUY9KpxSKYRlWFor2IiJ6ZDTyWGm4FkoU VewI3zizrF1yELD+YpqYuA9SNHjLv3MtQ2Luwgc1D/QO9WK1QH4nR+f2NqXVDWqSwjPO n7FTkQ1y2hLG+z0Gyp71FdS8DsggIapELiJzorU8dV8XyHUnZJN47tTDW16I7Ed4sAB+ GOLxTgUKPMHbPkeBWWOqwRNmdLKTTRU1YXgyKCqHbAYNYZznbomI5poAm/Sr4Aw1pVg7 Rs9Asio5PHH0N+uSaAiVQY/aHSUe7WZL8We3cmfzILPvIXkF2Kn/pr54JM4J/sjoA0VY xAkg== 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-v6si15966513plh.339.2018.08.01.11.10.05; Wed, 01 Aug 2018 11:10: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 S1732940AbeHAT4O (ORCPT + 99 others); Wed, 1 Aug 2018 15:56:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50156 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405751AbeHATIg (ORCPT ); Wed, 1 Aug 2018 15:08:36 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 655F913DF; Wed, 1 Aug 2018 17:16:25 +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 091/246] ath: Add regulatory mapping for FCC3_ETSIC Date: Wed, 1 Aug 2018 18:50:01 +0200 Message-Id: <20180801165016.066428940@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 01fb2994a98dc72c8818c274f7b5983d5dd885c7 ] 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: 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_common.h | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -35,6 +35,7 @@ enum EnumRd { FRANCE_RES = 0x31, FCC3_FCCA = 0x3A, FCC3_WORLD = 0x3B, + FCC3_ETSIC = 0x3F, ETSI1_WORLD = 0x37, ETSI3_ETSIA = 0x32, @@ -168,6 +169,7 @@ static struct reg_dmn_pair_mapping regDo {FCC2_ETSIC, CTL_FCC, CTL_ETSI}, {FCC3_FCCA, CTL_FCC, CTL_FCC}, {FCC3_WORLD, CTL_FCC, CTL_ETSI}, + {FCC3_ETSIC, CTL_FCC, CTL_ETSI}, {FCC4_FCCA, CTL_FCC, CTL_FCC}, {FCC5_FCCA, CTL_FCC, CTL_FCC}, {FCC6_FCCA, CTL_FCC, CTL_FCC},