Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1143577imm; Wed, 1 Aug 2018 10:54:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc4Te6kQJu3PNLv3llkHWRSCE3bluMBn9nRdePIsnR7Dn+k92rdw3uTiUl9fklulIYenqTz X-Received: by 2002:a62:fc5:: with SMTP id 66-v6mr27979998pfp.237.1533146098185; Wed, 01 Aug 2018 10:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146098; cv=none; d=google.com; s=arc-20160816; b=WxLEdnpsUrw3O/r32G7chK1yYaJWzRAn75hhD3tssrJudZi7sVkC/q60UNmYEUXubw kp+0R3Gb20mlS6SMdNvXHr732jRiyHN/SYV6jgG2EjrICir3LlWcusBpCgqEbUIDrDiz +uYMvdHxQ6L7jFAyMnY/9K+IFVeOfbBeOVlcMgQKdx8JimehTbBRyoWP2hkQ/3o8SHow e0h+qhi57R+hOtn6fhoOVjZKew+cH6QrQLvpJrOlADuO3775HlkS6GHLpaEblkZ7igrC 8f5J10/bI529Fy9r1iWs/JlBB5RCWXAOX6L5iOImQKXUrHg00zWGcBNWABRqW0M04Dee +LJA== 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=4bHcCRF21iuAEytE3eayf4x1sfoydxk6GB19rKSiblE=; b=ndZ9nMgz+M0UEmJgzi2bpPmRhf87XVxOtkRO9vHywqPzAXhrRtLXMmlXQE8HclVpAR ePJH1CjdX7ouzO9pnHFbLTrK+OA7F8JqR6pUjCNkw+Uyj00bo8XkOnd3nAXRk/z1KYsZ u5QLcJz693u/3qx2lJCA5cYD/DLLtDKZBCPdmn9LCGdyKJBOtyWlpPy7A6os5bKCy+ZA 8YVO5QQOQ6//XZcrmGd44OdHuyDFfxS8X7ihXWXRhoSMVk8U2TULh9HfcluyOLQoSXsL yA3IuSReJR6BKWPkNMk+xhSwaaJNRjpqjuFKD9uDAUyt391x3NI8dj5MOFVRHVn22n6A /b/A== 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 z13-v6si15679660pgc.409.2018.08.01.10.54.43; Wed, 01 Aug 2018 10:54:58 -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 S2403938AbeHATjr (ORCPT + 99 others); Wed, 1 Aug 2018 15:39:47 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49926 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406013AbeHATIl (ORCPT ); Wed, 1 Aug 2018 15:08:41 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 48DB013E1; Wed, 1 Aug 2018 17:16:28 +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 092/246] ath: Add regulatory mapping for ETSI8_WORLD Date: Wed, 1 Aug 2018 18:50:02 +0200 Message-Id: <20180801165016.116839378@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 45faf6e096da8bb80e1ddf8c08a26a9601d9469e ] 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: 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_common.h | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/ath/regd_common.h +++ b/drivers/net/wireless/ath/regd_common.h @@ -45,6 +45,7 @@ enum EnumRd { ETSI4_ETSIC = 0x38, ETSI5_WORLD = 0x39, ETSI6_WORLD = 0x34, + ETSI8_WORLD = 0x3D, ETSI_RESERVED = 0x33, MKK1_MKKA = 0x40, @@ -181,6 +182,7 @@ static struct reg_dmn_pair_mapping regDo {ETSI4_WORLD, CTL_ETSI, CTL_ETSI}, {ETSI5_WORLD, CTL_ETSI, CTL_ETSI}, {ETSI6_WORLD, CTL_ETSI, CTL_ETSI}, + {ETSI8_WORLD, CTL_ETSI, CTL_ETSI}, /* XXX: For ETSI3_ETSIA, Was NO_CTL meant for the 2 GHz band ? */ {ETSI3_ETSIA, CTL_ETSI, CTL_ETSI},