#ifndef COUNTRY_CODES_H
#define COUNTRY_CODES_H

#ifdef __cplusplus
extern "C"
{
#endif


/*ad*
 * These are listed wireless country codes. The left coulmn of the table has
 * the country code value and the right column of the table has the country
 * string value. Refer the links below to find the supported countries for 
 * your product. 
 *
 * @since 7.2
 * @category BSP:Device_Drivers:wireless
 * @include "country_codes.h"
 * @external
 * @see @link wln_supported_countries_wime
 * @see @link wln_supported_countries_wiem
 * @see @link wln_supported_countries_wisp
 * @see @link wln_supported_countries_arm9
 * @see @link wln_get_country_code
 * @see @link wln_set_country_code
 * @see @link wln_get_supported_country_list
 * @see @link wln_setup_supported_countries
 *
 * @param COUNTRY_UNITED_STATES                              United States
 * @param COUNTRY_AFGHANISTAN                                Afghanistan
 * @param COUNTRY_ALBANIA                                    Albania
 * @param COUNTRY_ALGERIA                                    Algeria
 * @param COUNTRY_AMERICAN_SAMOA                             American Samoa
 * @param COUNTRY_ANDORRA                                    Andorra
 * @param COUNTRY_ANGOLA                                     Angola
 * @param COUNTRY_ANGUILLA                                   Anguilla
 * @param COUNTRY_ANTARCTICA                                 Antarctica
 * @param COUNTRY_ANTIGUA_AND_BARBUDA                        Antigua and Barbuda
 * @param COUNTRY_ARGENTINA                                  Argentina
 * @param COUNTRY_ARMENIA                                    Armenia
 * @param COUNTRY_ARUBA                                      Aruba
 * @param COUNTRY_AUSTRALIA                                  Australia
 * @param COUNTRY_AUSTRIA                                    Austria
 * @param COUNTRY_AZERBAIJAN                                 Azerbaijan
 * @param COUNTRY_BAHAMAS                                    Bahamas
 * @param COUNTRY_BAHRAIN                                    Bahrain
 * @param COUNTRY_BANGLADESH                                 Bangladesh
 * @param COUNTRY_BARBADOS                                   Barbados
 * @param COUNTRY_BELARUS                                    Belarus
 * @param COUNTRY_BELGIUM                                    Belgium
 * @param COUNTRY_BELIZE                                     Belize
 * @param COUNTRY_BENIN                                      Benin
 * @param COUNTRY_BERMUDA                                    Bermuda
 * @param COUNTRY_BHUTAN                                     Bhutan
 * @param COUNTRY_BOLIVIA                                    Bolivia
 * @param COUNTRY_BOSNIA_AND_HERZEGOVINA                     Bosnia and Herzegovina
 * @param COUNTRY_BOTSWANA                                   Botswana
 * @param COUNTRY_BOUVET_ISLAND                              Bouvet Island
 * @param COUNTRY_BRAZIL                                     Brazil
 * @param COUNTRY_BRITISH_INDIAN_OCEAN_TERRITORY             British Indian Ocean Territory
 * @param COUNTRY_BRUNEI                                     Brunei
 * @param COUNTRY_BULGARIA                                   Bulgaria
 * @param COUNTRY_BURKINA_FASO                               Burkina Faso
 * @param COUNTRY_BURUNDI                                    Burundi
 * @param COUNTRY_CAMBODIA                                   Cambodia
 * @param COUNTRY_CAMEROON                                   Cameroon
 * @param COUNTRY_CANADA                                     Canada
 * @param COUNTRY_CAPE_VERDE                                 Cape Verde
 * @param COUNTRY_CAYMAN_ISLANDS                             Cayman Islands
 * @param COUNTRY_CENTRAL_AFRICAN_REPUBLIC                   Central African Republic
 * @param COUNTRY_CHAD                                       Chad
 * @param COUNTRY_CHILE                                      Chile
 * @param COUNTRY_CHINA                                      China
 * @param COUNTRY_CHRISTMAS_ISLAND                           Christmas Island
 * @param COUNTRY_COCOS_ISLANDS                              Cocos Islands
 * @param COUNTRY_COLOMBIA                                   Colombia
 * @param COUNTRY_COMOROS                                    Comoros
 * @param COUNTRY_CONGO                                      Congo
 * @param COUNTRY_CONGO_DEMOCRATIC_REPUBLIC_OF               Congo, Democratic Republic of
 * @param COUNTRY_COOK_ISLANDS                               Cook Islands
 * @param COUNTRY_COSTA_RICA                                 Costa Rica
 * @param COUNTRY_COTE_D_IVOIRE                              Cote d'Ivoire
 * @param COUNTRY_CROATIA                                    Croatia
 * @param COUNTRY_CUBA                                       Cuba
 * @param COUNTRY_CYPRUS                                     Cyprus
 * @param COUNTRY_CZECH_REPUBLIC                             Czech Republic
 * @param COUNTRY_DENMARK                                    Denmark
 * @param COUNTRY_DJIBOUTI                                   Djibouti
 * @param COUNTRY_DOMINICA                                   Dominica
 * @param COUNTRY_DOMINICAN_REPUBLIC                         Dominican Republic
 * @param COUNTRY_EAST_TIMOR                                 East Timor
 * @param COUNTRY_ECUADOR                                    Ecuador
 * @param COUNTRY_EGYPT                                      Egypt
 * @param COUNTRY_EL_SALVADOR                                El Salvador
 * @param COUNTRY_EQUATORIAL_GUINEA                          Equatorial Guinea
 * @param COUNTRY_ERITREA                                    Eritrea
 * @param COUNTRY_ESTONIA                                    Estonia
 * @param COUNTRY_ETHIOPIA                                   Ethiopia
 * @param COUNTRY_FALKLAND_ISLANDS                           Falkland Islands (Islas Malvinas)
 * @param COUNTRY_FAROE_ISLANDS                              Faroe Islands
 * @param COUNTRY_FIJI_ISLANDS                               Fiji Islands
 * @param COUNTRY_FINLAND                                    Finland
 * @param COUNTRY_FRANCE                                     France
 * @param COUNTRY_FRENCH_GUIANA                              French Guiana
 * @param COUNTRY_FRENCH_POLYNESIA                           French Polynesia
 * @param COUNTRY_FRENCH_SOUTHERN_TERRITORIES                French Southern Territories
 * @param COUNTRY_GABON                                      Gabon
 * @param COUNTRY_GAMBIA                                     Gambia
 * @param COUNTRY_GEORGIA                                    Georgia
 * @param COUNTRY_GERMANY                                    Germany
 * @param COUNTRY_GHANA                                      Ghana
 * @param COUNTRY_GIBRALTAR                                  Gibraltar
 * @param COUNTRY_GREECE                                     Greece
 * @param COUNTRY_GREENLAND                                  Greenland
 * @param COUNTRY_GRENADA                                    Grenada
 * @param COUNTRY_GUADELOUPE                                 Guadeloupe
 * @param COUNTRY_GUAM                                       Guam
 * @param COUNTRY_GUATEMALA                                  Guatemala
 * @param COUNTRY_GUINEA                                     Guinea
 * @param COUNTRY_GUINEA_BISSAU                              Guinea-Bissau
 * @param COUNTRY_GUYANA                                     Guyana
 * @param COUNTRY_HAITI                                      Haiti
 * @param COUNTRY_HEARD_AND_MCDONALD_ISLANDS                 Heard and McDonald Islands
 * @param COUNTRY_VATICAN_CITY                               Vatican City
 * @param COUNTRY_HONDURAS                                   Honduras
 * @param COUNTRY_HONG_KONG                                  Hong Kong
 * @param COUNTRY_HUNGARY                                    Hungary
 * @param COUNTRY_ICELAND                                    Iceland
 * @param COUNTRY_INDIA                                      India
 * @param COUNTRY_INDONESIA                                  Indonesia
 * @param COUNTRY_IRAN                                       Iran
 * @param COUNTRY_IRAQ                                       Iraq
 * @param COUNTRY_IRELAND                                    Ireland
 * @param COUNTRY_ISRAEL                                     Israel
 * @param COUNTRY_ITALY                                      Italy
 * @param COUNTRY_JAMAICA                                    Jamaica
 * @param COUNTRY_JAPAN                                      Japan
 * @param COUNTRY_JORDAN                                     Jordan
 * @param COUNTRY_KAZAKHSTAN                                 Kazakhstan
 * @param COUNTRY_KENYA                                      Kenya
 * @param COUNTRY_KIRIBATI                                   Kiribati
 * @param COUNTRY_KOREA_NORTH                                Korea, North
 * @param COUNTRY_KOREA_SOUTH                                Korea (South)
 * @param COUNTRY_KUWAIT                                     Kuwait
 * @param COUNTRY_KYRGYZSTAN                                 Kyrgyzstan
 * @param COUNTRY_LAOS                                       Laos
 * @param COUNTRY_LATVIA                                     Latvia
 * @param COUNTRY_LEBANON                                    Lebanon
 * @param COUNTRY_LESOTHO                                    Lesotho
 * @param COUNTRY_LIBERIA                                    Liberia
 * @param COUNTRY_LIBYA                                      Libya
 * @param COUNTRY_LIECHTENSTEIN                              Liechtenstein
 * @param COUNTRY_LITHUANIA                                  Lithuania
 * @param COUNTRY_LUXEMBOURG                                 Luxembourg
 * @param COUNTRY_MACAU                                      Macau S.A.R.
 * @param COUNTRY_MACEDONIA                                  Macedonia, Former Yugoslave Republic of
 * @param COUNTRY_MADAGASCAR                                 Madagascar
 * @param COUNTRY_MALAWI                                     Malawi
 * @param COUNTRY_MALAYSIA                                   Malaysia
 * @param COUNTRY_MALDIVES                                   Maldives
 * @param COUNTRY_MALI                                       Mali
 * @param COUNTRY_MALTA                                      Malta
 * @param COUNTRY_MARSHALL_ISLANDS                           Marshall Islands
 * @param COUNTRY_MARTINIQUE                                 Martinique
 * @param COUNTRY_MAURITANIA                                 Mauritania
 * @param COUNTRY_MAURITIUS                                  Mauritius
 * @param COUNTRY_MAYOTTE                                    Mayotte
 * @param COUNTRY_MEXICO                                     Mexico
 * @param COUNTRY_MICRONESIA_FEDERATED_STATES_OF             Micronesia, Federated States of
 * @param COUNTRY_MOLDOVA                                    Moldova
 * @param COUNTRY_MONACO                                     Monaco
 * @param COUNTRY_MONGOLIA                                   Mongolia
 * @param COUNTRY_MONTSERRAT                                 Montserrat
 * @param COUNTRY_MOROCCO                                    Morocco
 * @param COUNTRY_MOZAMBIQUE                                 Mozambique
 * @param COUNTRY_MYANMAR                                    Myanmar
 * @param COUNTRY_NAMIBIA                                    Namibia
 * @param COUNTRY_NAURU                                      Nauru
 * @param COUNTRY_NEPAL                                      Nepal
 * @param COUNTRY_NETHERLANDS                                Netherlands
 * @param COUNTRY_NETHERLANDS_ANTILLES                       Netherlands Antilles
 * @param COUNTRY_NEW_CALEDONIA                              New Caledonia
 * @param COUNTRY_NEW_ZEALAND                                New Zealand
 * @param COUNTRY_NICARAGUA                                  Nicaragua
 * @param COUNTRY_NIGER                                      Niger
 * @param COUNTRY_NIGERIA                                    Nigeria
 * @param COUNTRY_NIUE                                       Niue
 * @param COUNTRY_NORFOLK_ISLAND                             Norfolk Island
 * @param COUNTRY_NORTHERN_MARIANA_ISLANDS                   Northern Mariana Islands
 * @param COUNTRY_NORWAY                                     Norway
 * @param COUNTRY_OMAN                                       Oman
 * @param COUNTRY_PAKISTAN                                   Pakistan
 * @param COUNTRY_PALAU                                      Palau
 * @param COUNTRY_PANAMA                                     Panama
 * @param COUNTRY_PAPUA_NEW_GUINEA                           Papua New Guinea
 * @param COUNTRY_PARAGUAY                                   Paraguay
 * @param COUNTRY_PERU                                       Peru
 * @param COUNTRY_PHILIPPINES                                Philippines
 * @param COUNTRY_PITCAIRN                                   Pitcairn
 * @param COUNTRY_POLAND                                     Poland
 * @param COUNTRY_PORTUGAL                                   Portugal
 * @param COUNTRY_PUERTO_RICO                                Puerto Rico
 * @param COUNTRY_QATAR                                      Qatar
 * @param COUNTRY_REUNION                                    Reunion
 * @param COUNTRY_ROMANIA                                    Romania
 * @param COUNTRY_RUSSIA                                     Russia
 * @param COUNTRY_RWANDA                                     Rwanda
 * @param COUNTRY_SAINT_HELENA                               Saint Helena
 * @param COUNTRY_SAINT_KITTS_AND_NEVIS                      Saint Kitts and Nevis
 * @param COUNTRY_SAINT_LUCIA                                Saint Lucia
 * @param COUNTRY_SAINT_PIERRE_AND_MIQUELON                  Saint Pierre and Miquelon
 * @param COUNTRY_SAINT_VINCENT_AND_THE_GRENADINES           Saint Vincent and the Grenadines
 * @param COUNTRY_SAMOA                                      Samoa
 * @param COUNTRY_SAN_MARINO                                 San Marino
 * @param COUNTRY_SAO_TOME_AND_PRINCIPE                      Sao Tome and Principe
 * @param COUNTRY_SAUDI_ARABIA                               Saudi Arabia
 * @param COUNTRY_SENEGAL                                    Senegal  
 * @param COUNTRY_SEYCHELLES                                 Seychelles
 * @param COUNTRY_SIERRA_LEONE                               Sierra Leone
 * @param COUNTRY_SINGAPORE                                  Singapore
 * @param COUNTRY_SLOVAKIA                                   Slovakia
 * @param COUNTRY_SLOVENIA                                   Slovenia
 * @param COUNTRY_SOLOMON_ISLANDS                            Solomon Islands
 * @param COUNTRY_SOMALIA                                    Somalia
 * @param COUNTRY_SOUTH_AFRICA                               South Africa
 * @param COUNTRY_SOUTH_GEORGIA_AND_THE_SANDWICH_ISLANDS     South Georgia and the Sandwich Islands
 * @param COUNTRY_SPAIN                                      Spain
 * @param COUNTRY_SRI_LANKA                                  Sri Lanka
 * @param COUNTRY_SUDAN                                      Sudan
 * @param COUNTRY_SURINAME                                   Suriname
 * @param COUNTRY_SVALBARD_AND_JAN_MAYEN_ISLANDS             Svalbard and Jan Mayen Islands
 * @param COUNTRY_SWAZILAND                                  Swaziland
 * @param COUNTRY_SWEDEN                                     Sweden
 * @param COUNTRY_SWITZERLAND                                Switzerland
 * @param COUNTRY_SYRIA                                      Syria
 * @param COUNTRY_TAIWAN                                     Taiwan
 * @param COUNTRY_TAJIKISTAN                                 Tajikistan
 * @param COUNTRY_TANZANIA                                   Tanzania
 * @param COUNTRY_THAILAND                                   Thailand
 * @param COUNTRY_TOGO                                       Togo
 * @param COUNTRY_TOKELAU                                    Tokelau
 * @param COUNTRY_TONGA                                      Tonga
 * @param COUNTRY_TRINIDAD_AND_TOBAGO                        Trinidad and Tobago
 * @param COUNTRY_TUNISIA                                    Tunisia
 * @param COUNTRY_TURKEY                                     Turkey
 * @param COUNTRY_TURKMENISTAN                               Turkmenistan
 * @param COUNTRY_TURKS_AND_CAICOS_ISLANDS                   Turks and Caicos Islands
 * @param COUNTRY_TUVALU                                     Tuvalu
 * @param COUNTRY_UGANDA                                     Uganda
 * @param COUNTRY_UKRAINE                                    Ukraine
 * @param COUNTRY_UNITED_ARAB_EMIRATES                       United Arab Emirates
 * @param COUNTRY_UNITED_KINGDOM                             United Kingdom
 * @param COUNTRY_UNITED_STATES_MINOR_OUTLYING_ISLANDS       United States Minor Outlying Islands
 * @param COUNTRY_URUGUAY                                    Uruguay
 * @param COUNTRY_UZBEKISTAN                                 Uzbekistan
 * @param COUNTRY_VANUATU                                    Vanuatu
 * @param COUNTRY_VENEZUELA                                  Venezuela
 * @param COUNTRY_VIETNAM                                    Vietnam
 * @param COUNTRY_VIRGIN_ISLANDS_BRITISH                     Virgin Islands, British
 * @param COUNTRY_VIRGIN_ISLANDS_US                          Virgin Islands, U.S.
 * @param COUNTRY_WALLIS_AND_FUTUNA_ISLANDS                  Wallis and Futuna Islands
 * @param COUNTRY_WESTERN_SAHARA                             Western Sahara
 * @param COUNTRY_YEMEN                                      Yemen
 * @param COUNTRY_YUGOSLAVIA                                 Yugoslavia
 * @param COUNTRY_ZAMBIA                                     Zambia
 * @param COUNTRY_ZIMBABWE                                   Zimbabwe
 * @param COUNTRY_NOTFOUND                                   Country not in the list
*ad*/
typedef enum
{
    COUNTRY_UNITED_STATES,        
    COUNTRY_AFGHANISTAN,
    COUNTRY_ALBANIA,
    COUNTRY_ALGERIA,
    COUNTRY_AMERICAN_SAMOA,
    COUNTRY_ANDORRA,
    COUNTRY_ANGOLA,
    COUNTRY_ANGUILLA,
    COUNTRY_ANTARCTICA,
    COUNTRY_ANTIGUA_AND_BARBUDA,
    COUNTRY_ARGENTINA,
    COUNTRY_ARMENIA,
    COUNTRY_ARUBA,
    COUNTRY_AUSTRALIA,
    COUNTRY_AUSTRIA,
    COUNTRY_AZERBAIJAN,
    COUNTRY_BAHAMAS,
    COUNTRY_BAHRAIN,
    COUNTRY_BANGLADESH,
    COUNTRY_BARBADOS,
    COUNTRY_BELARUS,
    COUNTRY_BELGIUM,
    COUNTRY_BELIZE,
    COUNTRY_BENIN,
    COUNTRY_BERMUDA,
    COUNTRY_BHUTAN,
    COUNTRY_BOLIVIA,
    COUNTRY_BOSNIA_AND_HERZEGOVINA,
    COUNTRY_BOTSWANA,
    COUNTRY_BOUVET_ISLAND,
    COUNTRY_BRAZIL,
    COUNTRY_BRITISH_INDIAN_OCEAN_TERRITORY,
    COUNTRY_BRUNEI,
    COUNTRY_BULGARIA,
    COUNTRY_BURKINA_FASO,
    COUNTRY_BURUNDI,
    COUNTRY_CAMBODIA,
    COUNTRY_CAMEROON,
    COUNTRY_CANADA,
    COUNTRY_CAPE_VERDE,
    COUNTRY_CAYMAN_ISLANDS,
    COUNTRY_CENTRAL_AFRICAN_REPUBLIC,
    COUNTRY_CHAD,
    COUNTRY_CHILE,
    COUNTRY_CHINA,
    COUNTRY_CHRISTMAS_ISLAND,
    COUNTRY_COCOS_ISLANDS,
    COUNTRY_COLOMBIA,
    COUNTRY_COMOROS,
    COUNTRY_CONGO,
    COUNTRY_CONGO_DEMOCRATIC_REPUBLIC_OF,
    COUNTRY_COOK_ISLANDS,
    COUNTRY_COSTA_RICA,
    COUNTRY_COTE_D_IVOIRE,
    COUNTRY_CROATIA,
    COUNTRY_CUBA,
    COUNTRY_CYPRUS,
    COUNTRY_CZECH_REPUBLIC,
    COUNTRY_DENMARK,
    COUNTRY_DJIBOUTI,
    COUNTRY_DOMINICA,
    COUNTRY_DOMINICAN_REPUBLIC,
    COUNTRY_EAST_TIMOR,
    COUNTRY_ECUADOR,
    COUNTRY_EGYPT,
    COUNTRY_EL_SALVADOR,
    COUNTRY_EQUATORIAL_GUINEA,
    COUNTRY_ERITREA,
    COUNTRY_ESTONIA,
    COUNTRY_ETHIOPIA,
    COUNTRY_FALKLAND_ISLANDS,
    COUNTRY_FAROE_ISLANDS,
    COUNTRY_FIJI_ISLANDS,
    COUNTRY_FINLAND,
    COUNTRY_FRANCE,
    COUNTRY_FRENCH_GUIANA,
    COUNTRY_FRENCH_POLYNESIA,
    COUNTRY_FRENCH_SOUTHERN_TERRITORIES,
    COUNTRY_GABON,
    COUNTRY_GAMBIA,
    COUNTRY_GEORGIA,
    COUNTRY_GERMANY,
    COUNTRY_GHANA,
    COUNTRY_GIBRALTAR,
    COUNTRY_GREECE,
    COUNTRY_GREENLAND,
    COUNTRY_GRENADA,
    COUNTRY_GUADELOUPE,
    COUNTRY_GUAM,
    COUNTRY_GUATEMALA,
    COUNTRY_GUINEA,
    COUNTRY_GUINEA_BISSAU,
    COUNTRY_GUYANA,
    COUNTRY_HAITI,
    COUNTRY_HEARD_AND_MCDONALD_ISLANDS,
    COUNTRY_VATICAN_CITY,
    COUNTRY_HONDURAS,
    COUNTRY_HONG_KONG,
    COUNTRY_HUNGARY,
    COUNTRY_ICELAND,
    COUNTRY_INDIA,
    COUNTRY_INDONESIA,
    COUNTRY_IRAN,
    COUNTRY_IRAQ,
    COUNTRY_IRELAND,
    COUNTRY_ISRAEL,
    COUNTRY_ITALY,
    COUNTRY_JAMAICA,
    COUNTRY_JAPAN,
    COUNTRY_JORDAN,
    COUNTRY_KAZAKHSTAN,
    COUNTRY_KENYA,
    COUNTRY_KIRIBATI,
    COUNTRY_KOREA_NORTH,
    COUNTRY_KOREA_SOUTH,
    COUNTRY_KUWAIT,
    COUNTRY_KYRGYZSTAN,
    COUNTRY_LAOS,
    COUNTRY_LATVIA,
    COUNTRY_LEBANON,
    COUNTRY_LESOTHO,
    COUNTRY_LIBERIA,
    COUNTRY_LIBYA,
    COUNTRY_LIECHTENSTEIN,
    COUNTRY_LITHUANIA,
    COUNTRY_LUXEMBOURG,
    COUNTRY_MACAU,
    COUNTRY_MACEDONIA,
    COUNTRY_MADAGASCAR,
    COUNTRY_MALAWI,
    COUNTRY_MALAYSIA,
    COUNTRY_MALDIVES,
    COUNTRY_MALI,
    COUNTRY_MALTA,
    COUNTRY_MARSHALL_ISLANDS,
    COUNTRY_MARTINIQUE,
    COUNTRY_MAURITANIA,
    COUNTRY_MAURITIUS,
    COUNTRY_MAYOTTE,
    COUNTRY_MEXICO,
    COUNTRY_MICRONESIA_FEDERATED_STATES_OF,
    COUNTRY_MOLDOVA,
    COUNTRY_MONACO,
    COUNTRY_MONGOLIA,
    COUNTRY_MONTSERRAT,
    COUNTRY_MOROCCO,
    COUNTRY_MOZAMBIQUE,
    COUNTRY_MYANMAR,
    COUNTRY_NAMIBIA,
    COUNTRY_NAURU,
    COUNTRY_NEPAL,
    COUNTRY_NETHERLANDS,
    COUNTRY_NETHERLANDS_ANTILLES,
    COUNTRY_NEW_CALEDONIA,
    COUNTRY_NEW_ZEALAND,
    COUNTRY_NICARAGUA,
    COUNTRY_NIGER,
    COUNTRY_NIGERIA,
    COUNTRY_NIUE,
    COUNTRY_NORFOLK_ISLAND,
    COUNTRY_NORTHERN_MARIANA_ISLANDS,
    COUNTRY_NORWAY,
    COUNTRY_OMAN,
    COUNTRY_PAKISTAN,
    COUNTRY_PALAU,
    COUNTRY_PANAMA,
    COUNTRY_PAPUA_NEW_GUINEA,
    COUNTRY_PARAGUAY,
    COUNTRY_PERU,
    COUNTRY_PHILIPPINES,
    COUNTRY_PITCAIRN,
    COUNTRY_POLAND,
    COUNTRY_PORTUGAL,
    COUNTRY_PUERTO_RICO,
    COUNTRY_QATAR,
    COUNTRY_REUNION,
    COUNTRY_ROMANIA,
    COUNTRY_RUSSIA,
    COUNTRY_RWANDA,
    COUNTRY_SAINT_HELENA,
    COUNTRY_SAINT_KITTS_AND_NEVIS,
    COUNTRY_SAINT_LUCIA,
    COUNTRY_SAINT_PIERRE_AND_MIQUELON,
    COUNTRY_SAINT_VINCENT_AND_THE_GRENADINES,
    COUNTRY_SAMOA,
    COUNTRY_SAN_MARINO,
    COUNTRY_SAO_TOME_AND_PRINCIPE,
    COUNTRY_SAUDI_ARABIA,
    COUNTRY_SENEGAL,
    COUNTRY_SEYCHELLES,
    COUNTRY_SIERRA_LEONE,
    COUNTRY_SINGAPORE,
    COUNTRY_SLOVAKIA,
    COUNTRY_SLOVENIA,
    COUNTRY_SOLOMON_ISLANDS,
    COUNTRY_SOMALIA,
    COUNTRY_SOUTH_AFRICA,
    COUNTRY_SOUTH_GEORGIA_AND_THE_SANDWICH_ISLANDS,
    COUNTRY_SPAIN,
    COUNTRY_SRI_LANKA,
    COUNTRY_SUDAN,
    COUNTRY_SURINAME,
    COUNTRY_SVALBARD_AND_JAN_MAYEN_ISLANDS,
    COUNTRY_SWAZILAND,
    COUNTRY_SWEDEN,
    COUNTRY_SWITZERLAND,
    COUNTRY_SYRIA,
    COUNTRY_TAIWAN,
    COUNTRY_TAJIKISTAN,
    COUNTRY_TANZANIA,
    COUNTRY_THAILAND,
    COUNTRY_TOGO,
    COUNTRY_TOKELAU,
    COUNTRY_TONGA,
    COUNTRY_TRINIDAD_AND_TOBAGO,
    COUNTRY_TUNISIA,
    COUNTRY_TURKEY,
    COUNTRY_TURKMENISTAN,
    COUNTRY_TURKS_AND_CAICOS_ISLANDS,
    COUNTRY_TUVALU,
    COUNTRY_UGANDA,
    COUNTRY_UKRAINE,
    COUNTRY_UNITED_ARAB_EMIRATES,
    COUNTRY_UNITED_KINGDOM,
    COUNTRY_UNITED_STATES_MINOR_OUTLYING_ISLANDS,
    COUNTRY_URUGUAY,
    COUNTRY_UZBEKISTAN,
    COUNTRY_VANUATU,
    COUNTRY_VENEZUELA,
    COUNTRY_VIETNAM,
    COUNTRY_VIRGIN_ISLANDS_BRITISH,
    COUNTRY_VIRGIN_ISLANDS_US,
    COUNTRY_WALLIS_AND_FUTUNA_ISLANDS,
    COUNTRY_WESTERN_SAHARA,
    COUNTRY_YEMEN,
    COUNTRY_YUGOSLAVIA,
    COUNTRY_ZAMBIA,
    COUNTRY_ZIMBABWE,
    COUNTRY_NOTFOUND = 0xFFFF
}wln_country_code_t;

/*ad*
 * This anonymous enumeration specifies a set of Wireless Regulatory Region 
 * code values.
 * A Wireless Regulatory Region is a Regulatory domain that is specified
 * in the 802.11 specification, and which identifies one or more countries
 * in which regulation of 802.11 is cohesive. 
 *
 * @since 7.4
 * @category BSP:Device_Drivers:wireless
 * @include "country_codes.h"
 * @external
 * @see @link wln_get_country_code
 * @see @link wln_set_country_code
 * @see @link wln_get_supported_country_list
 * @see @link wln_setup_supported_countries
 *
 * @param WLN_LOCATION_MIN             [0] minimum region value
 * @param WLN_LOCATION_AUTO_DETECT     [0] auto detect region using 802.11d
 * @param WLN_LOCATION_NORTH_AMERICA   [1] region is US, Canada
 * @param WLN_LOCATION_EUROPE          [2] region is EUROPE, excluding France and Spain
 * @param WLN_LOCATION_FRANCE          [3] region is FRANCE
 * @param WLN_LOCATION_SPAIN           [4] region is SPAIN
 * @param WLN_LOCATION_JAPAN           [5] region is JAPAN
 * @param WLN_LOCATION_WORLD_OTHER     [6] region is World-Other
 * @param WLN_LOCATION_MAX             [6] maximum region value
 * @param WLN_LOCATION_NOT_SELECTED    [255] region is not selected (wireless radio wil be disabled)
 *
*ad*/
typedef enum {
	WLN_LOCATION_MIN = 0,
	WLN_LOCATION_AUTO_DETECT = 0,
	WLN_LOCATION_NORTH_AMERICA = 1,
	WLN_LOCATION_EUROPE = 2,
	WLN_LOCATION_FRANCE = 3,
	WLN_LOCATION_SPAIN = 4,
	WLN_LOCATION_JAPAN = 5,
	WLN_LOCATION_WORLD_OTHER = 6,
	WLN_LOCATION_MAX = 6,
	WLN_LOCATION_NOT_SELECTED = 253
} wln_region_value_t;

/*
 * Macros related to 802.11a channel mask for different region based on the 
 * region and hardware restriction.
 *
 * bits: 31  30  29  28  27  26  25  24  23  22  21  20  19  18  17  16  15  14  13  12  11  10  09  08  07  06  05  04  03  02  01  00
 * mskl: 52  48  46  44  42  40  38  36  34  16  12  08 196 192 188 184   0   0  14  13  12  11  10   9   8   7   6   5   4   3   2   1
 * msk2:  0   0   0   0   0   0   0   0   0   0   0   0   0 165 161 157 153 149 140 136 132 128 124 120 116 112 108 104 100  64  60  56
 *
 */
#define WLN_802_11A_MASKL_NORTH_AMERICA 0xD5000000  // 36-52
#define WLN_802_11A_MASKH_NORTH_AMERICA 0x0007FFFF  // 56-64, 100-140, 149-165

#define WLN_802_11A_MASKL_EUROPE        0xD5000000  // 36-52
#define WLN_802_11A_MASKH_EUROPE        0x00003FFF  // 56-64, 100-140

#define WLN_802_11A_MASKL_SPAIN         0xD5000000  // 36-52
#define WLN_802_11A_MASKH_SPAIN         0x00001FFF  // 56-64, 100-136

#define WLN_802_11A_MASKL_JAPAN         0xD57F0000  // 184-196, 8-16, 36-52
#define WLN_802_11A_MASKH_JAPAN         0x00003FFF  // 56-64, 100-140

#define WLN_802_11A_MASKL_WORLD_OTHER   0xD5000000  // 36-52
#define WLN_802_11A_MASKH_WORLD_OTHER   0x0007FFFF  // 56-64, 100-140, 149-165

#define WLN_802_11A_MASKL_ALL           0xFFFF0000  // All h/w supported channels
#define WLN_802_11A_MASKH_ALL           0x0007FFFF  // All hardware supported channels


/* from country_codes.c */
void wln_setup_supported_countries(void);
wln_country_code_t wln_get_country_code(void);
int wln_set_country_code(wln_country_code_t country_code);
wln_country_code_t * wln_get_supported_country_list(int *list_len);

const char* wln_get_country_string_from_code(wln_country_code_t country_code);
wln_country_code_t wln_get_country_code_from_string(char *country_string);
int wln_is_country_valid(wln_country_code_t country_code);
int wln_get_channel_mask(wln_country_code_t country_code, unsigned long *chan_mask);
void wln_print_supported_countries(void);
wln_region_value_t wln_get_region(wln_country_code_t country_code);
#ifdef __cplusplus
}
#endif

#endif /* COUNTRY_CODES_H */
