I am stuck on a regulatory domain that is not my country for a card which has never been present in the united states. Wasn’t purchased there, wasn’t shipped there. Took me some time to figure out why my wireless signal became sub-par. CONFIG_CFG80211_INTERNAL_REGDB has been removed as an option from new kernels. This also under-powers the card based on what it was sold for. Also, it is just plain annoying that everything wants to assume everyone is USA. I would update the firmware on the card to the country I’m in if that was an option. Any suggestions before I start O/S shopping? Which may include running an outdated linux behind a FreeBSD for wireless only(and a waste of power).
I would technically prefer it if ‘default country code’ was something user-set for when the factory doesn’t set one.
iw reg get
global
country CA: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5470 - 5600 @ 80), (N/A, 24), (0 ms), DFS
(5650 - 5730 @ 80), (N/A, 24), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
phy#0
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#1
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
dmesg|grep ath
10.226224] ath10k_pci 0000:06:00.0: enabling device (0000 -> 0002)
10.226643] ath10k_pci 0000:06:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
10.228489] ath9k 0000:01:00.0: enabling device (0000 -> 0002)
10.236693] ath: EEPROM regdomain: 0x0
10.236696] ath: EEPROM indicates default country code should be used
10.236697] ath: doing EEPROM country->regdmn map search
10.236699] ath: country maps to regdmn code: 0x3a
10.236700] ath: Country alpha2 being used: US
10.236701] ath: Regpair used: 0x3a
10.434689] ath10k_pci 0000:06:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 19b6:d03c
10.434694] ath10k_pci 0000:06:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
10.435007] ath10k_pci 0000:06:00.0: firmware ver 10.2.4-1.0-00037 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
10.582644] ath10k_pci 0000:06:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
10.656028] ath9k 0000:01:00.0 wlp1s0: renamed from wlan0
11.726097] ath10k_pci 0000:06:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
11.805494] ath: EEPROM regdomain: 0x0
11.805499] ath: EEPROM indicates default country code should be used
11.805501] ath: doing EEPROM country->regdmn map search
11.805504] ath: country maps to regdmn code: 0x3a
11.805506] ath: Country alpha2 being used: US
11.805507] ath: Regpair used: 0x3a
11.815632] ath10k_pci 0000:06:00.0 wlp6s0: renamed from wlan0