Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp468481rwo; Fri, 21 Jul 2023 15:10:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzW6kEJw2DJIFirJ53leTW9mm5huIg+orVflKlDMIPGsMuuAzkXrmNjY2fNZGyMoZjxMP9 X-Received: by 2002:a05:6512:742:b0:4f8:7528:50b5 with SMTP id c2-20020a056512074200b004f8752850b5mr2074888lfs.14.1689977435939; Fri, 21 Jul 2023 15:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689977435; cv=none; d=google.com; s=arc-20160816; b=PODAifm4Pu0ckSzG0uroFQAiBitZLYcHj0aitfdZC/HpfJIuESWZBQ/fd3zZp1x35R 6e9phK4fHsc6V2r/J87C79yDx6dO1DjCimhyCTZH/kzI43Yzy0031OUFrKuegKlTV1P+ RRHmlMfX/0ydOOKrGqXMupAMxk9RGNLQGjw2DM3d/OHpdWOAMlSLEmXoagElwV0A+2Eh nKCAJj7SVQA8oRGoVDHL1Vjge5H+Wr0MQw2xHDDWGjAZyTKVeMOCwuEPDY9u1vTfCpwu Fk6O8Q/nkG9pK2+/s4ki0zmlDMfqpe/r9g7Z2VB/dY4325R88lVzbBLfvvb4Str1eHzQ Itqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qn+cIJX6F8eUNDgtfZpQu1HXnxMZ8RlQMi0zfzuQSPk=; fh=PA5xJFkj8Py2zAlZSQI6aujciS5q5pdgYxrq4wgWIv4=; b=MgBafGsMaNG2ysCc+d4ciajQNsXGtoZLiMjyMMU5QO7UTOY8qDP+d/HU8Y/NbpSNZP wZ9muz35XzMumG5J3FbkWc+CdxYE8rtiLJlV6ceib7MsMQFFVsL43E2clR1tQwqSHLI1 KgGdZtdHyz2zM7S9iB9L9+Uk00HTF5GgmtjT//mrUBx5XtpQXhSFOUQT3mawdrUxaqLE pX1ho03EZiK/sos/HLs3BmJ4MnaIvfoRUyTA/0eA8Vc6lgzMm1ghdPKoLj31J/xTz/Yx Hs5M8aFJdUET8XlTg16u8DsQIEF6Ol7f0YYSQvnWhiSJ+0nM2CczRVp5SVpMcQJzlLsB AgBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EavCtw/s"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020aa7c690000000b0051c81230138si2709949edq.220.2023.07.21.15.10.10; Fri, 21 Jul 2023 15:10:35 -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=@kernel.org header.s=k20201202 header.b="EavCtw/s"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229704AbjGUWGb (ORCPT + 59 others); Fri, 21 Jul 2023 18:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjGUWGa (ORCPT ); Fri, 21 Jul 2023 18:06:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5810268F for ; Fri, 21 Jul 2023 15:06:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F244561DA5 for ; Fri, 21 Jul 2023 22:06:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4488DC433C8; Fri, 21 Jul 2023 22:06:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689977187; bh=ukK4C1TtAv03N/zjsKL30SJnWU+iFwxZPcWTZ+tEisk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EavCtw/smSdmVO86bB+TfVwszDVP74Qj1P6cLsIph3Ev//iQeNf4zW+EAoU98DQu/ qs5iSVgumIQXbfUmZ/SmqdueveIWcJfP1i3cptT7DNcyXXKSqPxfE0HkkEuZLivsw1 uvS1fso2pPk4VKLSbF6ZQ3ON8JDTLgix9LjFyTzJNX5ZOoxYNDvjU7aBDAylCdN0fR jjK34myhwc+l1lJ2Ip1LRzIKS8/KnVm9YZP7N3nhA4pzNtIQ+ZunTgteutD01XyD7O Y8auotTafNx58IYfQ8J8P5PDaynvBB14pg6JzcfUBuJsRjnUnWslr/b8Cu5cqHbtCn NB7GjquCEsJzw== Date: Fri, 21 Jul 2023 17:06:26 -0500 From: Seth Forshee To: Adam Nielsen Cc: wireless-regdb@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] wireless-regdb: Update regulatory rules for Australia (AU) for June 2023 Message-ID: References: <20230716225604.1d5a136a@vorticon.teln.shikadi.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230716225604.1d5a136a@vorticon.teln.shikadi.net> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Sun, Jul 16, 2023 at 10:56:04PM +1000, Adam Nielsen wrote: > - Update legislation link from March 2022 version to June 2023. > - Add comments for each frequency range referring back to legislation. > - Switch units from dBm to mW to match values listed in legislation. > - Allow 5850-5875 at low power, as this has always been permitted. > - Combine 5150-5350 bands to permit a 160 MHz channel. > > Signed-off-by: Adam Nielsen > --- > > Hi all, > > Just a few minor changes for AU. I have included (5150 - 5350 @ 160) which > overlaps two existing bands, however I am not sure if this is the correct way > to do it. From what I gather, having the two bands listed separately (items > 61 and 62 in the patch below) would prevent a single 160 MHz channel from > being spread across both bands. I figure adding another entry that covers > both frequency ranges (with the most restrictive limitations) would permit > the 160 MHz channel to be used, however please correct me if this is wrong. Unfortunately this does not work. However, with AUTO_BW I believe that the kernel does allow a larger bandwidth when it spans adjacent channels, so it probably isn't necessary. Otherwise this mostly looks good, but a few changes are needed. I added comments below. > > I added a bunch of comments pointing back to the relevant section of the > legislation document as I found it a bit of a challenge to work out where > each entry mapped back to. So hopefully this will make it easier for the > next person to work out where the rules are coming from. > > If there are any other issues with the patch let me know. > > Cheers, > Adam. > > db.txt | 46 +++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 37 insertions(+), 9 deletions(-) > > diff --git a/db.txt b/db.txt > index ef4e609..d0b7ec6 100644 > --- a/db.txt > +++ b/db.txt > @@ -124,20 +124,48 @@ country AT: DFS-ETSI > (57000 - 66000 @ 2160), (40) > > # Source: > -# https://www.legislation.gov.au/Details/F2022C00281 > +# 'Item' in the comments below refers to each numbered rule found at: > +# https://www.legislation.gov.au/Details/F2023C00524 > # Both DFS-ETSI and DFS-FCC are acceptable per AS/NZS 4268 Appendix B. > # The EIRP for DFS bands can be increased by 3dB if TPC is implemented. > # In order to allow 80MHz operation between 5650-5730MHz the upper boundary > # of this more restrictive band has been shifted up by 5MHz from 5725MHz. > country AU: DFS-ETSI > - (2400 - 2483.5 @ 40), (36) > - (5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW > - (5250 - 5350 @ 80), (20), NO-OUTDOOR, AUTO-BW, DFS > - (5470 - 5600 @ 80), (27), DFS > - (5650 - 5730 @ 80), (27), DFS > - (5730 - 5850 @ 80), (36) > - (5925 - 6425 @ 160), (24), NO-OUTDOOR > - (57000 - 66000 @ 2160), (43), NO-OUTDOOR > + # Item 58 > + (915 - 928 @ 4), (1000 mW) > + (920 - 928 @ 8), (1000 mW) I'm not sure if this is intentionally overlapping, or if 915-928 MHz is a typo and you meant 915-920 MHz. Either way, we can't have ranges overlapping like this. > + > + # Item 59 > + (2400 - 2483.5 @ 40), (4000 mW) > + > + # Item 61 > + (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW > + > + # Item 62 (200 mW allowed if TPC is used) > + (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, AUTO-BW, DFS > + > + # Combine the above two bands to get a 160 MHz channel. > + (5150 - 5350 @ 160), (100 mW), NO-OUTDOOR, AUTO-BW, DFS As stated above, this rule needs to be removed. > + > + # Item 63(a) (1000 mW with TPC) > + (5470 - 5600 @ 80), (500 mW), DFS > + > + # Item 63(b) (1000 mW with TPC) > + # The end is 5725 but we borrow 5 MHz from the following less restrictive band > + # so we can get an 80 MHz channel. > + (5650 - 5730 @ 80), (500 mW), DFS > + > + # Item 60 > + (5725 - 5850 @ 80), (4000 mW) Please adjust this up to 5730 MHz to not overlap with the rule above it. > + > + # Item 22 > + (5850 - 5875 @ 40), (25 mW) You can't have a rule whose bandwith is greater than the range. And I'd think you'd want to add AUTO_BW to this and the previous range to allow use of channel 169, etc. > + > + # Item 63AA (25 mW if outdoors) > + (5925 - 6425 @ 160), (250 mW), NO-OUTDOOR > + > + # Item 65 > + (57000 - 71000 @ 2160), (20000 mW), NO-OUTDOOR I'm surprised at 20W since it also specifies compliance with FCC rules which as a max EIRP of 10W (though it does give a peak power emission of 20W). But I guess that's what it says. Thanks, Seth > > country AW: DFS-ETSI > (2402 - 2482 @ 40), (20) > -- > 2.40.0