AndyPi
Posts: 83
Joined: Wed Feb 22, 2012 10:24 pm
Location: Gloucestershire,UK

Arch linux:set regulatory domain- SOLVED

Thu Jun 09, 2016 10:48 am

I am mildly irritated by all the cfg80211 messages at boot and set about seeing if I could reduce them.
I have a Pi3 and have uncommented the GB entry in /etc/conf.d/wireless-regdom.
I find that when I do

Code: Select all

 iw reg get
global
country GB: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
	(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

global
country GB: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
	(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

To be clear the information is repeated ! Is this normal ? If not is there a way to fix. I have tried uninstalling crda and wireless-regdb the reinstalling.
Im not suggesting this is causing the excessive boot messaging but it seems odd.
I have blacklisted the brcmfmac module and am using a usb edimax ac600 dongle. Only one wlan0 interface.
Any suggestions, either for double entry info or indeed the excessive cfg80211 messages.
Last edited by AndyPi on Thu Jun 09, 2016 12:23 pm, edited 1 time in total.

AndyPi
Posts: 83
Joined: Wed Feb 22, 2012 10:24 pm
Location: Gloucestershire,UK

Re: Arch linux:set regulatory domain SOLVED

Thu Jun 09, 2016 12:15 pm

Found this https://kernel.googlesource.com/pub/scm ... ea67e8057d and
iw: fix "iw reg get" double output

Axel reports that running "iw reg get" results in the (global)
output being printed twice. The reason for this is that we try
to use the dump facility, and if that succeeds we also do the
get command.

To prevent this, allow handlers to return HANDLER_RET_DONE, in
which case the command will be treated as successful but will
not actually execute another netlink command.

Reported-by: Axel Köllhofer <AxelKoellhofer@web.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
from April 13th last.
So looks like known (and fixed) buggette

Return to “Arch”