[Bug 287349] regdomain.xml update for regdomain JAPAN

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Jun 2025 21:26:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287349

--- Comment #3 from Adrian Chadd <adrian@freebsd.org> ---
(In reply to Bjoern A. Zeeb from comment #2)

No, it's worse than that. :-)

Japan in particular doesn't back date its regulatory rules. So, NICs made
/before/ the rules changed aren't grandfathered into the new rules, you also
need to apply the old restrictions.

That's why when you eg look at linux:drivers/net/wireless/ath/[regd stuff],
you'll see JAPAN1 .. JAPAN40 or so, because even though CRDA knows about the
current rules, it doesn't have the fine grained SKU info anywhere.

Sam migrated some of it from the ath_hal regulatory code into net80211, which
is why we have both country codes and regdomain SKU codes. Linux doesn't expose
knobs to tweak the SKU regdomain (without extra diffs, like what openwrt does.)

So yeah, I don't mind correcting the Japan bands. But we just need to keep in
mind that whole SKU mess right now.

(yes, regulatory domain support in net80211 needs a proper and large overhaul,
and all of the drivers need updating to implement the SKU stuff properly.
Alas.)

-- 
You are receiving this mail because:
You are the assignee for the bug.