Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2452958rwb; Fri, 2 Dec 2022 09:58:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Nw23D4qf2BE1FHvhmEy8Pu7RebMi6dCZPRvOIyy5qfcvKWE/NSwWDjYFy0j/PCT3peHfx X-Received: by 2002:a17:902:c652:b0:177:e4c7:e8b7 with SMTP id s18-20020a170902c65200b00177e4c7e8b7mr55342308pls.118.1670003890338; Fri, 02 Dec 2022 09:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670003890; cv=none; d=google.com; s=arc-20160816; b=RnBXEcCERjdi4TNwpnoPBdAT7fhm0CBLaWOqOI/L2EcLuywUhkqpN0PPYAaDRH3uqf DEHWyw5Szh7hnVwFw6iVIRPr4k2Yob8GpMC1mqlmuS2Hi2sQD7eKmMoaDL3JJ+rLvG+i dtooqo8wIikRd0Yq4+zZnFI//6UrGZ0hmZk3d6WgEDvOSAhOBcJUE1z8yrEvIOa7Wayw 381jOJKlMTaTlj8nkM/keN8GoDp5htPQeQiKRvd5x001i3cRaJyFkl3bO+mWgAfc/Zkk mZGv0EapL4TfG/n36Tznt4rtfBEWTVu19ccJ/yoHa8Aye22D64Ch2/rbkPEtg1oRMBUm 7CpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=gB9nWBs+q6Ql1s/5AMfOH+/jTZRqcBwktlzUK8veqMQ=; b=NeKQRnORcucJXn0TjydkBU1NDLihfUhJjCPVs18uiUNE6iZh1A3qBp6ekAzAXXa0F7 4Dkv7/pHJN9CJzxFOIa17j8+kL0oJOhSt5/XKhmINyUonAVwDWyej511TN6kBqTAvOAp Z/NnVj/s+8nyod8KMV3Fnb8Zahii4SQsGpobgDSFYyujbszpUn3VLsiPsXUAcriOaz0t Z+fhAQPW0b9AJYi6ZWwb8jYdMzmC+9m8Ezak9dxOzzuyptUW2QpJlqPkYCaUSNQBqlS/ 6RwxGgAvuEE8htDgRiRc+RpCxh0qRNOr9nTy+h2q7lVLcqSgPUxWmfdpMRrHi8/g1Gtw 6alg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a656897000000b004785d1fa649si8044871pgt.432.2022.12.02.09.57.59; Fri, 02 Dec 2022 09:58:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234273AbiLBRrj convert rfc822-to-8bit (ORCPT + 66 others); Fri, 2 Dec 2022 12:47:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234336AbiLBRrW (ORCPT ); Fri, 2 Dec 2022 12:47:22 -0500 Received: from mail.holtmann.org (coyote.holtmann.net [212.227.132.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1C4D8E1195; Fri, 2 Dec 2022 09:46:39 -0800 (PST) Received: from smtpclient.apple (p4fefca0f.dip0.t-ipconnect.de [79.239.202.15]) by mail.holtmann.org (Postfix) with ESMTPSA id 9FA51CED00; Fri, 2 Dec 2022 18:46:38 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [regression] Bug 216753 - 6e 6 ghz bands are disabled since 5.16 on intel ax211 From: Marcel Holtmann In-Reply-To: Date: Fri, 2 Dec 2022 18:46:38 +0100 Cc: Thorsten Leemhuis , "Coelho, Luciano" , "Greenman, Gregory" , "linux-wireless@vger.kernel.org" , Johannes Berg , "regressions@lists.linux.dev" , "linux-kernel@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <457D8649-B855-43BB-B3AD-334E166FED31@holtmann.org> References: <14722778-dda0-cb9f-8647-892493d94a5c@leemhuis.info> <2026016246ef719605c9932feeb56b105833593b.camel@intel.com> <9a03c244-adff-afaf-7385-d8e89cd3f338@leemhuis.info> <02F8DDF1-EC0D-4EBD-88F5-7E000841C337@holtmann.org> To: Dave Chiluk X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 Hi Dave, > Running > $ iw reg set US > or > $ iw reg set DE > do not result in the bands becoming enabled. I should have included > that in the initial bug report. Additionally shouldn't the country > code should be getting gathered through 802.11d from the broadcast APs > within region? > > Also crda is now disabled in both debian and Ubuntu. > https://bugs.debian.org/1003903 > https://bugs.launchpad.net/ubuntu/jammy/+source/crda/+bug/1958918 > > I'm specifically on 22.04, and the 6ghz band works on the 5.15 ubuntu > kernel and the 5.15.79 linux-stable kernel. > The 6ghz band becomes disabled as soon as I upgrade to the 5.16+ > linux-stable kernels. So from a user perspective this really is a case > of a kernel upgrade breaking user-space. This is what led me down > this rabbit hole here. > > If there's something that needs to be done differently from a > userspace perspective I'm all ears, but this seems as if it's a hard > disable by the above mentioned commit. can you run iwd and set Country=DE (or US) in its main.conf. I think most distros have a 2.0 package of iwd available. With iwd we have implemented all the handling and re-scanning to make sure we actually get to use 6Ghz is available. Btw. you can run iwd from its source tree. No need to install it if You don’t want to mess up your system. Just make sure to disable wpa_supplicant so it doesn’t interfere. I have this working on 6.0 kernel (not with ax211 hardware though) and it needed some help to get the regdom loaded correctly. I think the key part was to install crda on Fedora. $ iw reg get global country DE: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR (57000 - 66000 @ 2160), (N/A, 40), (N/A) Unless you see it available in iw reg get, then it is also not available, but I remember that you also have per PHY regdom and other fun stuff. As I said, it was a breath to get it running with iwd once you set your country code in the config file. On a note, you could run iwmon and see what nl80211 related calls to regdom handling actually happen. Regards Marcel