4.5.1 WILCS02 Regulatory Domain Commands
The WILCS02 firmware powers ON with the GEN regulatory
domain configuration by default, allowing 11 channels, which is accepted worldwide. The
driver debug message displays all supported regulatory domains in the firmware, with GEN
selected by default when the WLAN interface is up. To capture the output, use the
ifconfig wlan0 up
command.The regulatory domain can be switched to other supported regulatory domains at run-time.
This is facilitated by the iw reg set
command, which accepts ISO 3166-1
compliant two-letter country codes to configure the region. The WILCS02 supports a subset of these country codes for configuration.
To update the country code to the United States (US), use the
iw reg set
US
command. Switch the regulatory domain to the US, which can be confirmed
by the following logs (see Figure 4-5), as it switches
the platform-supported country code.To update the country code to Europe, Middle East, and Africa (EMEA), use the
iw
reg set EU
command. Switch the regulatory domain to EMEA, which can be
confirmed by the following logs (see Figure 4-6), as it switches
the platform-supported country code.