From nobody Sun Apr 27 18:36:50 2025 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZlwKW4qDgz5vB9n for ; Sun, 27 Apr 2025 18:37:03 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZlwKW1nD0z3G0F; Sun, 27 Apr 2025 18:37:03 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 53RIao29047891; Sun, 27 Apr 2025 11:36:56 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ultimatedns.net; s=mx99; t=1745779016; x=1745779616; r=y; bh=PHlub1KfQJEu5x20Ons2COhczSSTplzE/aH2tw7qzv0=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=CTpXoSK2l8OCVrjf8ptmr8wYqtKTnQRhDCQQcXqUXCn5/LCRrjYuVIajPnxgfptxv qRRmk7FaFtN3GGis2F7eEyjmGq86PkbfvIAKbpmsEnhGdBpyNp+62GH9poJdlC9hrx fTs1k3ZP8Sx8su1XPMjR049+6c7V7ZTunXUcETzgsW/0SXyWfuskU1NBqJbHgXIuzS aGDIRE+aDYbg48TUCA+OqDhGKvD4ONNNDHTb7Z6H/3+EewE11hZuSlNq1ok/2fAkRA w7Qv2ye9BRZjvZ66k/RkKSy0QmljzjgfYjZOTcl8VqR+fhwQM6M+wt0U69vVwjQeGg sG8jBSI7bk3Dg== List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Date: Sun, 27 Apr 2025 11:36:50 -0700 From: Chris To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Subject: Re: Experimental regdomain.xml update In-Reply-To: <06r42394-21p6-93os-84r1-1r936qs00or7@SerrOFQ.bet> References: <06r42394-21p6-93os-84r1-1r936qs00or7@SerrOFQ.bet> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: multipart/mixed; boundary="=_2eb6bd164fe778309d155a8314eb4f15" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Queue-Id: 4ZlwKW1nD0z3G0F X-Spamd-Bar: ---- --=_2eb6bd164fe778309d155a8314eb4f15 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2025-04-27 11:26, Bjoern A. Zeeb wrote: > Hi Bjoern. Thanks for all the work you're doing here! I have the time to devote to this to perform a complete rewrite for you. So as to free some of your time for other things. Would you consider the Linux wireless-regdb to be the defacto on this? Or should other sources also be considered to better reconcile? Thanks again. --Chris Hi, > > after having done multiple countries by hand I sat down and wrote the > hack of a perl script and used the Linux wireless-regdb db.txt file as > input. > > This "explodes" the regdomain to countries only so there's no more FCC > or ETSI in there; there's also some other bits missing as I only did > 2.4Ghz and 5Ghz bands so far. SKUs are also gone. The DEBUG entry is > missing. > > I have no idea if or how much I got it right. I tried to resolve > AUTO-BW for larger channel widths (so that we do not lose a few 160Mhz > channels) but I am sure I missed subtleties. > > You can fetch an initial experimental snapshot at: > https://people.freebsd.org/~bz/wireless/regdomain-20250427.xml > (md5: f3a6497490ae8bd615e1d536e941a2f6) > > Please review your country data and give it a try; especially if you > are in a country which wasn't updated in a decade or longer... > > After manually putting the file in as /etc/regdomain.xml (make a copy of > the original first!) you will need to > (1) ifconfig wlan0 down > (2) ifconfig wlan0 country <00> regdomain <00> > (3) ifconifg wlan0 up > > Then you can check: > > ifconfig -v wlan0 list countries > ifconfig -v wlan0 list regdomain > ifconfig -v wlan0 list channels > > Lots of health, > Bjoern > > FAQ: > Q: This is great! How can I keep it? > A: By manually making sure you re-install it or not overwriting it > with etcupdate. > A: Also make sure to make your regdomain/country entries permanent > (in rc.conf or wpa_supplicant.conf). > > Q: is this going to be the new format? > A: no, this is likely not going to solve all our problems, like the > original db.txt also cannot represent everything. > > Q: Things no longer work. What do I do? > A: First install the regdomain.xml you saved a copy of or grab one > from the freebsd repository source tree and do the down/up dance > again. > A: The please email me with the output of the above ifconfig commands > and a detailed description of your problem, > > Q: Regulatory information is wrong for my country. What do I do? > A: Check upstream first. If it is correct there let me know as that > means I need to fix the hack of a perl script. > A: Otherwise? Good question. In theory we should get it fixed > upstream but there is no worklfow yet given this is experimental. > Let us know and if you want please also submit it upstream > yourself as you are more likely to understand legal documents > in your language. > > Q: my country name changed - why? It's not correct! > A: This is based on the UN list as quoted in the top comment of the > file. I did not review it for anything but the three problems I > hit. Please don't start a flame war. Just drop me a private > email and I'll put the old entry back in for now. -- sent from hardware written from and running on FreeBSD --=_2eb6bd164fe778309d155a8314eb4f15 Content-Transfer-Encoding: 7bit Content-Type: application/pgp-keys; name=0xE512722F.asc Content-Disposition: attachment; filename=0xE512722F.asc; size=3074 -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBGf/G0IBCADARuJc6IcwOe3jv7dQsP1X/EIHvCFExPbTmlMNFMXbMMccQUnV o8ayEn+wmTvPhw7uL3PDk7DQs16W1sN2b8UMFc804cVWNGtoG3rA+Np+TFEYlXJx eh5Q42VHptkuwzHKl+q2utkpRl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