# Country code management Source: [https://docs.qualcomm.com/doc/80-58740-4/topic/country-code-management.html](https://docs.qualcomm.com/doc/80-58740-4/topic/country-code-management.html) This section explains how to set and retrieve the country code for a Wi-Fi device. The country code is used to determine the available Wi-Fi channels. ## Setting the country code Use the following function to set the country code: int wifi_mgmr_set_country_code(char *country_code);Copy to clipboard Function parameter - `country_code`: A pointer to a string representing the country code. ## Retrieving the country code Use the following function to retrieve the currently set country code: int wifi_mgmr_get_country_code(char *country_code);Copy to clipboard Function parameter - `country_code`: A character array with enough space to receive the current country code. ## Supported country codes When setting the country code for a Wi-Fi device, it is important to note the range of country codes supported by the current API. The country code is primarily used to determine the number of available Wi-Fi channels for the device in different countries or regions. Here are some supported country codes and their corresponding channel numbers. ## List of country codes | Country code | Number of channels | | :---: | :---: | | CN | 13 | | JP | 14 | | US | 11 | | EU | 13 | **Parent Topic:** [Wi-Fi 6](https://docs.qualcomm.com/doc/80-58740-4/topic/wifi6.html) Last Published: Feb 10, 2025 [Previous Topic Retrieve PowerTable](https://docs.qualcomm.com/bundle/publicresource/80-58740-4/topics/retrieve-powertable.md) [Next Topic Examples](https://docs.qualcomm.com/bundle/publicresource/80-58740-4/topics/examples.md)