The ConnectCore MP13 is manufactured with a United States of America regulatory domain in accordance with Federal Communications Commission (FCC) regulations. By default, 802.11d protocol and "Additional regulatory domains" support is disabled.
Host product manufacturers using the ConnectCore MP13 on their own designs, and customers using the ConnectCore MP13 Development Kit outside of the United States can either use the default US regulatory domain when allowed by their own country regulations, or set a different regulatory domain region.
Set regulatory domain
If you plan to use that module in a different region, you need to override the wireless and Bluetooth binaries to be loaded using kernel command line parameters.
You can define them in U-Boot environment variable extra_bootargs
.
For the wireless driver:
=> setenv extra_bootargs brcmfmac.regdmn=World
=> saveenv
The brcmfmac.regdmn
parameter can be:
-
US
, for USA (default) -
World
, for worldwide
For the Bluetooth driver:
=> setenv extra_bootargs btbcm.regdmn=JRL
=> saveenv
The btbcm.regdmn
parameter can be:
-
FCC.CE
, for USA, Europe, and the rest of the world (default) -
JRL
, for Japan
When using the US regulatory domain in Japan, and according to current Japanese regulations, channels from 149 to 165, both inclusive, should not be used. |
Configuration modes
Digi Embedded Yocto provides the Wi-Fi interface functionality to use different network types:
-
Client infrastructure mode: Digi Embedded Yocto reads the certification region and configures the wireless interface for the specified region. When in worldwide mode, the wireless interface is initially configured in a highly restrictive world regulatory domain. It then listens for access point beacons with country identification elements. Once it connects to an access point with country identification, the wireless interface queries the wireless firmware, which scans the CLM (Country Locale Matrix) file database to return the country’s regulatory limitations.
-
Access point mode: Digi Embedded Yocto uses the hostapd user space daemon to manage access point mode. To work in worldwide regulatory domain, configure the country with the
wl
command. For instance, to configure for Spain (country codeES
):# wl country ES
After configuring the country, reset the wireless interface:
# ifconfig wlan0 down # ifconfig wlan0 up
Finally, bring up the SoftAP wireless interface:
# ifup wlan1
Change the country code to match your regulatory domain according to ISO/IEC 3166-1.