/freebsd/lib/lib80211/ |
H A D | regdomain.xml | 1484 <country-codes> 1486 ISO 3166 Country/Region codes and regdomain mapping. 1492 <country id="AL"> 1494 </country> 1495 <country id="DZ"> 1497 </country> 1498 <country id="AR"> 1500 </country> 1501 <country id="AM"> 1503 </country> [all …]
|
H A D | lib80211_regdomain.c | 54 struct country *country; /* current country */ member 64 enum { DOMAIN, COUNTRY, FREQBAND } type; enumerator 94 if (mt->country == NULL) { in start_element() 100 mt->country->rd = (void *)strdup(ref); in start_element() 154 if (iseq(name, "country") && mt->country == NULL) { in start_element() 155 mt->country = calloc(1, sizeof(struct country)); in start_element() 156 mt->country->isoname = strdup(id); in start_element() 157 mt->country->code = NO_COUNTRY; in start_element() 159 LIST_INSERT_HEAD(&mt->rdp->countries, mt->country, next); in start_element() 310 /* <country>...</country> */ in end_element() [all …]
|
H A D | lib80211_regdomain.h | 64 struct country; 69 const struct country *cc; /* country code for 1-1/default map */ 82 struct country { struct 89 LIST_ENTRY(country) next; argument 95 LIST_HEAD(, country) countries; /* country code table */ 114 const struct country *lib80211_country_findbycc(const struct regdata *, 116 const struct country *lib80211_country_findbyname(const struct regdata *,
|
H A D | lib80211.3 | 95 functions look up a country information entry by ISO country enum and 96 ISO country code string respectively.
|
/freebsd/usr.sbin/bsdconfig/timezone/share/ |
H A D | menus.subr | 47 # continent and country menus. 59 # Space-separated list of 2-character country codes. 61 # Desired menu text for the country-zone represented by *, the 2- 62 # character country code. 67 # Number of zones for the country represented by *, the 2- 68 # character country code. Should be -1 if the country has only 70 # zones the country has. 72 # Principal continent (or ocean) in which the country-zone 73 # represented by *, the 2-character country code, resides. 75 # Principal continent (or ocean) in which zone-N of the country [all …]
|
H A D | countries.subr | 32 # Returns a single property of a given country. Available properties are: 34 # name Name of the country as read from _PATH_ISO3166. 35 # nzones Number of zones within the country (-1 if country has 39 # cont The principal continent in which the country lies (appears 41 # filename_N Like filename, but for the Nth zone when the country has 43 # cont_N Like cont, but for the Nth zone when the country has 45 # descr_N Like name, but for the Nth zone when the country has 59 # Sorts alphabetically the 2-character country codes listed in $COUNTRIES based 60 # on the name of each country.
|
H A D | iso3166.subr | 55 # Read the ISO 3166 country code database in _PATH_ISO3166: 68 # two ISO 3166 2-character country code 69 # three ISO 3166 3-character country code (if provided) 70 # number ISO 3166 numeric country code (if provided) 71 # name Human-readable country name (may contain spaces) 76 # A space-separated list of 2-character country codes. 78 # The country `name' (as described above). 80 # where CODE is the 2-character country code. 132 # Get the ISO3166-1 (Alpha 1) 2-letter country code 136 # Validate the two-character country code
|
H A D | zones.subr | 77 # The ISO 3166 2-character country code. 86 # Comments; present if and only if the country has multiple rows. 99 # Country name of the country represented by CODE, the 2- 100 # character country code. 105 # Either set to `-1' to indicate that the 2-character country 109 # iated with the given country code. When multiple zones are 125 # NOTE: CODE is the 2-character country code. 166 # Validate the two-character country code 266 # Get the ISO3166-1 (Alpha 1) 2-letter country code 270 # Validate the two-character country code
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 334 * - We enable initiating radiation if the country IE says its fine: 335 * - If no country IE has been processed and a we determine we have 363 * @reg: regulatory structure - used for country selection 366 * If no country IE has been received always enable passive scan 370 * If a country IE has been received check its rule for this 557 /* EEPROM value is a country code */ in ath_regd_is_eeprom_valid() 561 "a country code\n"); in ath_regd_is_eeprom_valid() 575 "ath: invalid regulatory domain/country code 0x%x\n", rd); in ath_regd_is_eeprom_valid() 579 /* EEPROM country code to regpair mapping */ 605 /* Returns the map of the EEPROM set RD to a country code */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_regdomain.c | 75 * This table maps country ISO codes from net80211 into regulatory 155 * Return whether or not the regulatory domain/country in EEPROM 180 "%s: invalid regulatory domain/country code 0x%x\n", __func__, rd); in isEepromValid() 185 * Find the pointer to the country element in the country table 186 * corresponding to the country code 227 * Calculate a default country based on the EEPROM setting. 237 COUNTRY_CODE_TO_ENUM_RD *country; in getDefaultCountry() local 239 country = findCountry(cc); in getDefaultCountry() 240 if (country != AH_NULL) in getDefaultCountry() 244 * Check reg domains that have only one country in getDefaultCountry() [all …]
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | wlanconfig | 46 [ "$2" ] && ifconfig_args="$ifconfig_args country $2" 51 # Regdomain/country cannot be applied while interface is running 82 local input regdomains countries regdomain country prompt 99 sub(/Country codes:/, ""), sub(/Regulatory.*/, "") { 101 country = substr($0, RSTART) 103 country) 104 code = substr(country, 1, 2) 105 desc = substr(country, 4) 130 f_dialog_title "Country selection" 131 prompt="Select your country." [all …]
|
/freebsd/contrib/tzcode/ |
H A D | tzselect.ksh | 60 Instead of asking for continent and then country and then city, 198 # Awk script to output a country list. 242 country = cc_list[i] 243 if (cc_elsewhere[country]) 245 if (cc_name[country]) 246 country = cc_name[country] 247 print country 269 country[$1] = $2 271 country["U [all...] |
H A D | tzselect.8 | 44 Instead of asking for continent and then country and then city, 109 Table of ISO 3166 2-letter country codes and country names. 112 Table of country codes, latitude and longitude, timezones, and
|
/freebsd/tools/tools/ath/athrd/ |
H A D | athrd.1 | 34 .Nd list channels and transmit power for a country/regulatory domain 40 .Op Ar country 45 power permitted within a regulatory domain and/or country. 47 If no command line options are given, a default country (\c 50 Country and regulatory names are case insensitive. 68 Provide a list of all known country and regulatory domain names. 142 Various diagnostics about unknown regulatory domains and/or country
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | nvm-reg.h | 279 * regulatory profile according to the given MCC (Mobile Country Code). 283 * @mcc: given mobile country code 311 * (mobile country code). 338 * (mobile country code). 367 * (mobile country code). 402 * regulatory profile according to the given MCC (Mobile Country Code). 406 * @mcc: given mobile country code 535 * For each supported country, a pair of regulatory override bit and 11ax mode exist 550 * per country, one to indicate whether to override and the other to 553 * per country, on [all...] |
/freebsd/tools/tools/net80211/scripts/ |
H A D | setup.dfs | 10 COUNTRY=dk 16 ifconfig $WLAN country $COUNTRY 17 ifconfig $WLAN ssid $SSID-$COUNTRY channel $CHANNEL mtu 1500
|
/freebsd/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 225 snprintf(prompt, sizeof(prompt), "Select a country or region"); in continent_country_menu() 274 struct country { struct 292 * This is the easiest organization... we use ISO 3166 country codes, argument 297 static struct country countries[NCOUNTRIES]; 302 * Read the ISO 3166 country code database in _PATH_ISO3166 309 struct country *cp; in read_iso3166_table() 347 errx(1, "%s:%d: country code `%s' multiply defined: %s", in read_iso3166_table() 360 static struct country * 363 struct country *cp; in find_country() 367 errx(1, "%s:%d: country code `%s' invalid", path_zonetab, in find_country() [all …]
|
/freebsd/usr.sbin/bsdconfig/timezone/include/ |
H A D | messages.subr | 43 msg_country_code_invalid="%s:%d: country code \`%s' invalid" 44 msg_country_code_multiply_defined="%s:%d: country code \`%s' multiply defined: %s" 45 msg_country_code_unknown="%s:%d: country code \`%s' unknown" 56 msg_invalid_country_code="%s:%d: invalid country code \`%s'" 67 msg_select_country="Select a country"
|
/freebsd/contrib/tzdata/ |
H A D | zone1970.tab | 12 # of ISO 3166 2-character country codes. 20 # If multiple timezones overlap a country, each has a row in the 21 # table, with each column 1 containing the country code. 28 # and that country is listed first in column 1; any other countries 29 # are listed alphabetically by country code. The table is sorted 30 # first by country code, then (if possible) by an order within the 31 # country that (1) makes some geographical sense, and (2) puts the 38 #country- 356 # For example, the comment "#@AQ<tab>Antarctica/" means the country code 359 # under the Pacific because its line's country code [all...] |
H A D | checktab.awk | 36 printf "%s:%d: invalid country code '%s'\n", \ 47 printf "%s:%d: country code '%s' is %s\n", \ 89 # Or at least put just "XX" in its country-code column. 93 printf "%s:%d: country code '%s' is out of order\n", \ 106 printf "%s:%d: %s: unknown country code\n", \
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | brcm,bcm4329-fmac.yaml | 84 description: Multiple strings for translating ISO3166 country code to 85 brcmfmac firmware country code and revision. 91 Use a trivial mapping of ISO3166 country codes to brcmfmac firmware 92 country code and revision: cc -> { cc, 0 }. In other words, assume that 93 the CLM blob firmware uses ISO3166 country codes as well, and that all
|
/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 71 ic->ic_regdomain.country == CTRY_DEFAULT) { in ieee80211_regdomain_attach() 109 * country code, and operating modes. This interface is used 230 * Allocate and construct a Country Information IE. 268 ic_printf(ic, "%s: unable to allocate memory for country ie\n", in ieee80211_alloc_countryie() 276 ic_printf(ic, "no ISO country string for cc %d; using blanks\n", in ieee80211_alloc_countryie() 277 rd->country); in ieee80211_alloc_countryie() 284 * Indoor/Outdoor portion of country string: in ieee80211_alloc_countryie() 314 ic_printf(ic, "%s: country ie too big, " in ieee80211_alloc_countryie()
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | p.27 | 1 maxpop < $3 { maxpop = $3; country = $1 } 2 END { print country, maxpop }
|
H A D | p.38 | 3 country = $1 6 END { print country, maxpop }
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | core.h | 198 /* disable country code setting from SMBIOS */ 201 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */ 216 /* To set specific country, you need to set country code 217 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United 218 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'= 219 * 0x53). To set country to INDONESIA, then country code value = 220 * 0x4944 ("IN", 'I'=0x49, 'D'=0x44). If country code flag = 943 /* This regd is set during dynamic country setting
|