Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp545571rwr; Wed, 3 May 2023 02:33:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/2HONcWawLZBsBJltvoxl5cXotCraegva9uUUkCWDJ8nuHZwxANgXiawuu3GvHPw+ILJJ X-Received: by 2002:a17:902:b106:b0:1a9:8769:36bd with SMTP id q6-20020a170902b10600b001a9876936bdmr1513897plr.36.1683106429047; Wed, 03 May 2023 02:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683106429; cv=none; d=google.com; s=arc-20160816; b=GI0ZOiNXV1645L8PP9SWIH+pPPkiLafUchYPkoSJpiSIryj7nLYYEdk+Tniv3EAWwo wH2UlH53+ehRBcHHdYlWjG1fo/gF15rLk9z63eC75WvyouGAUtfkR7lD5WUzMeQAJsZU kka8kdX5YnBXBdtNF8vRW8le7A0d5WXLgWkmScb0FqLXN1s60slEldpsNNrA5tkTg732 NH0I4l5N0EMa1dKsO0N1/bekUxFbmwmU7efuPTkFKslanh4GZO283Dm5F5yZ8hMvVM9e /AsF1Gc0VBGYSUUb0u8pV8RmZLBW+KEfm5Ae9fjrX22JqaUcAfcZKQP+OhxxwUd1UDme ea7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=Ch7Js4LwpxWgEApSVDo0p2YeOdsTQaqATpugOSUrSrQ=; b=Qv9yUs5MGVJx8d6Fvn0/eGw5gitrld9e6QlFMIHnPpi8mSrV2ZHY826HCiIzD1gFs/ MSvL9pEm79KEne4PeETFHOKLh9UBh/gQejb9i4/HES729jfIVhh7LUEx2OAij4Ib3nEd Q+2JvDBp+N2L6tzniNKP9YTqmetmCSIHGjGm8hbZFuQNzEg4bGllv4z3n6gF9SQv68no rQt6OL8aXWmQhlriBkG9haLF3gv52ar8EQS5T2SZ/dUUbs+KF+NiDWVwL+wT7PYpHquf 4NUV3lG8zvI0oXlfap0k3LKrxu4PuRh2NI4GEypQBL7sGmNUMDKJr2mxf3jOfCZ1bCzn LzeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="E/gEMDpt"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a1709027c9500b001ab197cb503si1692669pll.355.2023.05.03.02.33.35; Wed, 03 May 2023 02:33:49 -0700 (PDT) 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; dkim=pass header.i=@web.de header.s=s29768273 header.b="E/gEMDpt"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbjECJbo (ORCPT + 62 others); Wed, 3 May 2023 05:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjECJbm (ORCPT ); Wed, 3 May 2023 05:31:42 -0400 Received: from mout.web.de (mout.web.de [212.227.15.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D33F740FD for ; Wed, 3 May 2023 02:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1683106281; i=jwollrath@web.de; bh=meJGLqfs/Wce4lHXFEvwEhruuhZllUgWWjK8q6/Zt08=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=E/gEMDptCwGz1rUV07Um3IlL37ErP3+Wc3ieV5QvTVC/Jo/k2gfbV1rja5mpnhef6 EIrLF+n0mxpJ25zwfVvLGO0cHH1ssR31mhyusMmECDMXzlnunWJvWi/gKjyYiMrcX3 s5CaK/IqeVlaaxfu+ymyQZ2u44g+WRo4utReEcxBSXb4rZdmH2IP4LqSGjHl4Q32xE vYYqfkF1Ob4ttLshSBys00tafUsEzK0r5f/L8Ntqc7hUH3HLqWUrlqbb4WSmF/fHyv 7w/8MVGtLSafUJ0W6dPrGwWEFyX1FvbIZ/3jDpTRl4hu8iPqmQXXjk+M/5DQwe3Pbo aTAK73KyT09+Q== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from schienar ([128.141.229.137]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M6091-1prfzW1pgh-007UVk; Wed, 03 May 2023 11:31:21 +0200 Date: Wed, 3 May 2023 11:31:20 +0200 From: Julian Wollrath To: linux-wireless@vger.kernel.org Cc: gregory.greenman@intel.com Subject: iwlwifi: AX200 wrong regulatory domain information content Message-ID: <20230503113120.583bc327@schienar> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fEEMiD2CpnkzgFBndWTBdZBtTdXTxn5uu895HzUf+Brpoqv0/mF pM9Mw0DEKzbF3bORhsIieN9KgR0ysK4ZA2EiY3N8kllTuxI32oheeR0q0qB+36IPjqQXwNf lduJUZIQ+JCzDWx6gYthfTiNu69re/nfmT4A3kU0ki8bsuI9S8GK85ihu8RaGhlFI7rM/ZF 5E1SJJO9s33Gw3PewG21A== UI-OutboundReport: notjunk:1;M01:P0:r98r9Hgug6I=;x+ZZ05Rk/dVmSOcXWeE/bTK5LnP IFOdTdEeIdLDkdTe2jNzgilsXHyfrDFjJPYqSDYsEsctb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3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Dear intel wireless maintainers, I am on kernel version 6.3.1 with a Intel AX200 (8086:2723) WLAN device on firmware version 71.058653f6.0 (see details below). I am in Switzerland and the country code is also set by the device (see output of iw reg get below). But the regulatory domain information is wrong, i.e. i.e. in some bands the allowed transmission power is wrong (e.g. 5725 - 5875, compare with the info frow iw reg get under global or the official information under https://www.ofcomnet.ch/api/rir/1008/12). Since the device is self-managed, the correct information from the regulatory domain database is not used. Can the deviced be forced to use the correct regulatory domain information from the database or the self-managed values be changed to be correct? With best regards, Julian Wollrath $ ls /lib/firmware/iwlwifi-cc-a0-* /lib/firmware/iwlwifi-cc-a0-50.ucode /lib/firmware/iwlwifi-cc-a0-59.ucode /lib/firmware/iwlwifi-cc-a0-66.ucode /lib/firmware/iwlwifi-cc-a0-72.ucode /lib/firmware/iwlwifi-cc-a0-73.ucode /lib/firmware/iwlwifi-cc-a0-74.ucode /lib/firmware/iwlwifi-cc-a0-77.ucode $ grep iwlwifi /var/log/messages kernel: [ 10.319490] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002= ) kernel: [ 10.341786] iwlwifi 0000:01:00.0: Direct firmware load for iwlw= ifi-cc-a0-72.ucode failed with error -2 kernel: [ 10.345771] iwlwifi 0000:01:00.0: api flags index 2 larger than= supported by driver kernel: [ 10.345793] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Ver= sion: 89.3.35.37 kernel: [ 10.346281] iwlwifi 0000:01:00.0: loaded firmware version 71.05= 8653f6.0 cc-a0-71.ucode op_mode iwlmvm kernel: [ 10.500275] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX2= 00 160MHz, REV=3D0x340 $ iw reg get global country CH: 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 - 71000 @ 2160), (N/A, 40), (N/A) phy#0 (self-managed) country CH: DFS-UNSET (2402 - 2437 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-80MHZ, NO-1= 60MHZ (2422 - 2462 @ 40), (6, 22), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ (2447 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-16= 0MHZ (5170 - 5190 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, = NO-HT40MINUS, PASSIVE-SCAN (5190 - 5210 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, = NO-HT40PLUS, PASSIVE-SCAN (5210 - 5230 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, = NO-HT40MINUS, PASSIVE-SCAN (5230 - 5250 @ 160), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, = NO-HT40PLUS, PASSIVE-SCAN (5250 - 5270 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5270 - 5290 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5290 - 5310 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5310 - 5330 @ 160), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5490 - 5510 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5510 - 5530 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5530 - 5550 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5550 - 5570 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5570 - 5590 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5590 - 5610 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5610 - 5630 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, PASSIVE= -SCAN (5630 - 5650 @ 240), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, PASSIVE-= SCAN (5650 - 5670 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MH= Z, PASSIVE-SCAN (5670 - 5690 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ= , PASSIVE-SCAN (5690 - 5710 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40MINUS, NO-160MH= Z, PASSIVE-SCAN (5710 - 5730 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ= , PASSIVE-SCAN (5735 - 5755 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-160MHZ (5755 - 5775 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ (5775 - 5795 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-160MHZ (5795 - 5815 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ (5815 - 5835 @ 20), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-HT40PLUS, N= O-80MHZ, NO-160MHZ =2D- () ascii ribbon campaign - against html e-mail /\ - against proprietary attachments