Rabbit RabbitCore RCM4400W Product Manual - page 80
72
RabbitCore RCM4400W
WIFI_COUNTRY_SET
This command sets the channel range and maximum power limit for the country selected.
The country you select will set the maximum power limit and channel range automatically,
Rabbit Semiconductor strongly recommends checking the regulations for the country where
your wireless devices will be deployed for any specific requirements. Any attempt to oper-
ate a device outside the allowed channel range or power limits will void your regulatory
approval to operate the device in that country.
The following regions have macros and region numbers defined for convenience.
The following sample code shows how to set Australia.
auto int country;
country = _AUSTRALIA_REGION;
wifi_ioctl(IF_WIFI0, WIFI_COUNTRY_SET, &country, 0);
Table 5. Worldwide Wi-Fi Macros and Region Numbers
Region
Macro
Region Number
Channel Range
Americas
_AMERICAS_REGION
0
1–11
Mexico
_MEXICO_REGION_INDOORS
1
1–11 (indoors)
_MEXICO_REGION_OUTDOORS
2
9–11 (outdoors)
Canada
_CANADA_REGION
3
1–11
Europe, Middle East, Africa,
except France
_EMEA_REGION
4
1–13
France
_FRANCE_REGION
5
10–13
Israel
_ISRAEL_REGION
6
3–11
China
_CHINA_REGION
7
1–11
Japan
_JAPAN_REGION
8
1–13
Australia
_AUSTRALIA_REGION
9
1–11