Home/Support/Support Forum/Wifi how to set regulatory domain
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Wifi how to set regulatory domain

0 votes
How can I set the registration domain or the country for the wirelles interface?
I tried to do it using 'iw' but only the 'global' country changes, the 'phy#0' is still 'US'. How can i change the 'phy#0' country?

root@ccimx6ulsbc:~# iw reg set DE
root@ccimx6ulsbc:~# iw reg get
country DE: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(57000 - 66000 @ 2160), (N/A, 40), (N/A)

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)
asked Dec 20, 2018 in Linux by mruetti New to the Community (2 points)
edited Dec 21, 2018 by LeonidM

Please log in or register to answer this question.

1 Answer

0 votes
Best answer
Cc6ul modules are manufactured for the US regulatory domain. Most countries will allow devices that work on this regulatory domain.

However, in some cases, this may cause radio missing some channels which may be required to certify in countries outside US. Those channels can be enabled by switching the US regulatory domain to Worldwide, which is set in the board data file BDF for the wireless chip in the firmware. This file is to be replaced by the 'bdwlan30_World.bin' Digi P/N 82002712. The incorrect use of this file may break conformance to regulations, therefore the customer is required to sign the CC6UL Software Control Declaration Agreement before this file is released.

Customers that require to change this to a worldwide setting would need to sign a "Software declaration of conformity" for Digi to release the relevant firmware binaries and instructions.
Once customer obtains the worldwide binaries and apply the changes to their software, there are two ways to change the regulatory domain to that of a specific country when working in station mode:
• Obtain the country code from the country IE on a 802.11d enabled access point. This is the default and what most customers want. The device will automatically change to the required country as provided by the access point.

• Change the regulatory domain from userspace using the "iw reg set" or the appropriate wpa_cli command. This will need to be done on each boot from the customer´s application.

For soft AP mode, once the worldwide binary changes are applied, the customer can just set the required country in the hostapd.conf file.
answered Dec 21, 2018 by LeonidM Veteran of the Digi Community (3,902 points)
selected Apr 4, 2019 by mruetti
What's the procedure to get those files? The ones to sign and the bin?

Found it!
--> https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.4/cc6ul/yocto-bsp_r_wifi-regulatory-domains