Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3566149rdh; Thu, 28 Sep 2023 16:09:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdlwqejilEpAAacQgn6Aywqbe4ooJcfEaTMjKfMcaWlBpB/78JZ0ROpO2+9cajfmv00l0U X-Received: by 2002:a17:903:2305:b0:1c6:e4b:bbeb with SMTP id d5-20020a170903230500b001c60e4bbbebmr2716777plh.56.1695942546654; Thu, 28 Sep 2023 16:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695942546; cv=none; d=google.com; s=arc-20160816; b=qcqUFmqf5osfJQHU2vQ4BvnKkiNpCeOcEFpw6TL+aZFicW6S5yVAGEZFUgk5JtcXT0 Qwxmace5MGs877LSkhT/Y7dvOzX4idoHi20OWwbOm59krUaEr0c5Q3lV0QnkOg5nwmWX rr0anyGFPPKTpsozVw5ptXE7kAG5gs8FATmDMdhM3z0TIQh0wit8+4KsgaJMf6BCvoJC JlJT+nkqoEreQK26t6wCYoCu4LLIcgiZTlloFNFiwjFv4MhSkgTY5OH7Yehr31k5Adji mUB4rszgg4uVtn42DiV8IC6jaWe6RxlufFo4VbzOoS60T/96zCkGRm5Q18N4qW0o3WzQ ARyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rRGyPPTCRKp5eQqCYMzRAPBjj1EpU5tRBJLZ6jSFUXM=; fh=/GEb7gVUqTR6q5QKTfw0XUP5VVlqVBkkw8R/kfrGqdo=; b=h9wloMUqcrmoMsfJ1i0Odvk4xMKMFy+Rlrewmd6XYTnskbBTh/wl+FroMkIihRoNTz 8LIvvsm1uHKpEchZFY9/lm/Qk+70RJqsJnyw7JugzxmB0iPfnJWlXzLvoNsqZOD+5Ekk Rx1R/pjYFQiWkOyeEkDieOFZyeH6M2elEIVulCk6E2lxZiXAzVXwuakWCweV0IgXAkTs 4PQaqWOe5PVe2HY5c0IdJu8oiB36/aU+NDhqOtkvF/z6+Wzvm/Pbabc+wUpniS7ghmVj TN6CSYb2eoYINi6KYw5vigh8SglmZIvvvifb+l3M5l+LiSedqk78VQb4Ots4ScaI0BWb jSHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PmYoA2eH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id m1-20020a170902db0100b001c61923a58esi11980735plx.137.2023.09.28.16.09.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 16:09:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PmYoA2eH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9CA9D831922F; Thu, 28 Sep 2023 07:36:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231388AbjI1OgN (ORCPT + 55 others); Thu, 28 Sep 2023 10:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbjI1OgL (ORCPT ); Thu, 28 Sep 2023 10:36:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE3A1B0 for ; Thu, 28 Sep 2023 07:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695911769; x=1727447769; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8tXViS708a7TfCFN4yFbLDVwzfi29rj/GC+3aKEVPTQ=; b=PmYoA2eH4YDYmARmZn6kclKSn08/GIxADTnYS9lw9bw5KqsJ/c5qbYFL 2Mi4uYPLqX3LGWGC6kY9UfDSvH37C5/tyT7djYotzuyDj3V81DcYhwTf8 PJ3BFTgXXCMBrtk1ODzUZnh3Qjirk81xRmF6bxm6wEIImHlN19LjAvdaP hCSHTCbecg24qUJ2S6Lo2JHu+kntCH1ZvmyqHPQdh6ndxP2gPolSxhLRk EqgtuO4lF7fxjra921HtUoeYbRP9xk/cns7UrHh2kAXU4nq299r7q49iJ F9Tjt1/4u1M2AfnoXbyuVdh6k9L8eHW2+l/2OQrwyFwEQrYQFpmSwxZCF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="688443" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="688443" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 07:36:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="996590429" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="996590429" Received: from smoriles-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.intel.com) ([10.249.92.89]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 07:36:07 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Ilan Peer , Gregory Greenman Subject: [PATCH 07/18] wifi: cfg80211: Include operating class 137 in 6GHz band Date: Thu, 28 Sep 2023 17:35:28 +0300 Message-Id: <20230928172905.bed4a007d81b.I3eb4b8fe39c0c1a988c98a103b11a9f45a92b038@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230928143539.1037500-1-gregory.greenman@intel.com> References: <20230928143539.1037500-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 07:36:17 -0700 (PDT) From: Ilan Peer Draft P802.11be_D3.1 added operating class to describe 320 MHz operation in the 6GHz band. Include this new operating class in ieee80211_operating_class_to_band(). Signed-off-by: Ilan Peer Signed-off-by: Gregory Greenman --- net/wireless/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless/util.c b/net/wireless/util.c index 213c9405e645..0893b7f57832 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -1999,6 +1999,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class, *band = NL80211_BAND_5GHZ; return true; case 131 ... 135: + case 137: *band = NL80211_BAND_6GHZ; return true; case 81: -- 2.38.1