Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5776084rwb; Wed, 7 Sep 2022 07:52:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR6LkDS39se+rybUW8Jvec8ZajTbe8LNTHrQWi2u1vc5CqhsZTDSVykVuslGlRdTm/tPsnT3 X-Received: by 2002:a17:903:291:b0:172:f018:cdce with SMTP id j17-20020a170903029100b00172f018cdcemr4041009plr.91.1662562363233; Wed, 07 Sep 2022 07:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662562363; cv=none; d=google.com; s=arc-20160816; b=WQaZK7xIchccSmUw/c/ifS4fQCaNut9bdoAQa09k9vh77zk0X8rvizJR2qq75F9jZQ 61FIz1xOWs8j6z3ZuA9b/52myMJ1DPWdkz4VUdR+qQQaDXGMtXH4UeKvSmpSLxB4a0sS g9q7FcXLkQkM/Fm9jaI+M5QnK1dUlvNnxinSAn8GViPPHZ2C+csxhlPVOt97wXc7GFvq Hby347OvnkLDaGB/JIcyyjlZRT+DAthbctuNh0lb3YaulzJd3pY6SkWHOs7Ele+Iaabz ntwdHq8zn7yddNdcJSn7dU9Y2YYH8AlA3dxUJHsR1YvUvGXMjQ71LFxgBVnCY7OWcLEg HOOw== 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=iV4IvCyCgCGPKhx/MTJsXrOxV5Cra31npTkstWTWIcM=; b=tD11+9RxcHVwvkggWNKwYJ/eKbhJdmEUcOXYpWq4DVv6SXjmTPhbn14o9l6iFe1K3l 6KKmSrxikOBjCrb15gaUrgMtOyjqSxYUvxyIwhQsHsw0t3TcikXhPZULA4ow5ljbeshC yOkWYWA4fn91irhwr16phX3rsrYXHCwyZ5JQ4hqaEW+D1pkzDuto95ym+4KOY1rBhoxH d5Ej+8fIT+dhpBDntjNwQEyvrWwWe8nBKdNvRymBTIPScgqGodSBP7q6SXZRfGEYTL62 4nl2ajfcAEUsTxG/m2E98OBoU07QpqQtRc6pptT1NW/tqTHCk9vELr06tBO7g80i1FEf qaIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h5rHwJHL; 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 u6-20020a170903124600b0016d1a2523b0si1008381plh.204.2022.09.07.07.52.33; Wed, 07 Sep 2022 07:52:43 -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=h5rHwJHL; 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 S229503AbiIGOwL (ORCPT + 64 others); Wed, 7 Sep 2022 10:52:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbiIGOwK (ORCPT ); Wed, 7 Sep 2022 10:52:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6090A8CF7 for ; Wed, 7 Sep 2022 07:52:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 52667B81D78 for ; Wed, 7 Sep 2022 14:52:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCD88C433D6; Wed, 7 Sep 2022 14:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662562326; bh=hNX6u9VQGjSjzDeyqbMU5QyTbDfWFhE3B+VMFKnQlo4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h5rHwJHLKY3iLk32Yj7U8ZjrkNRf7e9vDEEwmcwl8XwiMvQt/25jB4wnQ9d1PtFeC WFUK1U0o6cqBIPpmUYRwavImE2l0296tfpFNQJmRoHNJZF2YX/oJGIKOfC6e6Isnks c1awQX1kkws4+ae6TH9iAU05WIvxTO6KanCB2Hg8lNGriqjyMcpINF7kyx/X6RfgAS XW+8WQEaHtZyK9IEIsHpU9qcVajsHnEB645MuFnkOUxZqwm7QuHqpWKLFAw1qfjKms tEMw9SPuLfFeUBH3Wrsr3PiROd+DbjZdJHiSEcKl3kL3hCMS+mdc/FqPwl3JANC9PC OtHsDWftdAHfA== Date: Wed, 7 Sep 2022 09:52:04 -0500 From: Seth Forshee To: Cesar Eduardo Barros Cc: Johannes Berg , wireless-regdb@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [wireless-regdb] [PATCH] wireless-regdb: Update regulatory rules for Brazil (BR) Message-ID: References: <20220901232734.5488-1-cesarb@cesarb.eti.br> <6b577581-9daf-ff11-1aaa-ff1243eb9c03@cesarb.eti.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b577581-9daf-ff11-1aaa-ff1243eb9c03@cesarb.eti.br> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, Sep 02, 2022 at 07:21:50PM -0300, Cesar Eduardo Barros wrote: > Em 02/09/2022 11:53, Johannes Berg escreveu: > > On Thu, 2022-09-01 at 20:27 -0300, Cesar Eduardo Barros wrote: > > > > > > + # This range ends at 5725 MHz, but channel 144 extends to 5730 MHz. > > > + # Since 5725 ~ 5730 MHz belongs to the next range which has looser > > > + # requirements, we can extend the range by 5 MHz to make the kernel > > > + # happy and be able to use channel 144. > > > + (5470 - 5730 @ 160), (27), DFS > > > + (5730 - 5850 @ 80), (30) > > > > > > > If you do the latter as 160 as well, and add AUTO-BW, couldn't you split > > them at 5725 correctly? But I guess it doesn't matter anyway. > > This was copied from the US rules (including the four-line comment), which > have an identical split. If AUTO-BW worked here, I'd expect the US rules to > use it. AUTO-BW would work, and we have countries using it for this case. Iirc for some countries we move the split to 5730 because even though 5725-5730 is at a lower power limit the rules allow channel 144 to be used at the power limit for 5710-5725. For the US though I think it's just historical -- it was done that way initially, and it isn't important enough that anyone has cared to change it. But we do generally try to keep the rules matching the official documents as much as possible, so for new rules we should split at 5725 and use AUTO-BW as Johannes suggested. Could you send a v2 with that change? Thanks, Seth