Re: Experimental regdomain.xml update
- In reply to: Bjoern A. Zeeb: "Experimental regdomain.xml update"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Apr 2025 18:36:50 UTC
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