Searched refs:country (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-9.3-release/sbin/ifconfig/
H A Dregdomain.h66 struct country;
71 const struct country *cc; /* country code for 1-1/default map */
82 struct country { struct
89 LIST_ENTRY(country) next;
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 Dregdomain.c56 struct country *country; /* current country */ member in struct:mystate
96 if (mt->country == NULL) {
102 mt->country->rd = (void *)strdup(ref);
152 if (iseq(name, "country") && mt->country == NULL) {
153 mt->country = calloc(1, sizeof(struct country));
154 mt->country
[all...]
H A Difieee80211.c450 if (rd->country != NO_COUNTRY) {
451 const struct country *cc;
453 * Check current country seting to make sure it's
455 * override it with any default country for this
458 cc = lib80211_country_findbycc(rdp, rd->country);
460 errx(1, "unknown ISO country code %d", rd->country);
464 * Check if country is incompatible with regdomain.
465 * To enable multiple regdomains for a country code
467 * the country'
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dkeymap.c72 const char *country, *lang; member in struct:__anon11089
91 const char *country, *lang; local
96 if ((country = variable_get(VAR_COUNTRY)) != NULL)
98 lang = country;
99 for (i = 0; map[i].country; ++i)
100 if (!strcmp(country, map[i].country))
/freebsd-9.3-release/sys/dev/ath/ath_hal/
H A Dah_regdomain.c75 * This table maps country ISO codes from net80211 into regulatory
153 * Return whether or not the regulatory domain/country in EEPROM
173 "%s: invalid regulatory domain/country code 0x%x\n", __func__, rd);
178 * Find the pointer to the country element in the country table
179 * corresponding to the country code
220 * Calculate a default country based on the EEPROM setting.
230 COUNTRY_CODE_TO_ENUM_RD *country; local
232 country = findCountry(cc);
233 if (country !
260 COUNTRY_CODE_TO_ENUM_RD *country; local
691 COUNTRY_CODE_TO_ENUM_RD *country; local
722 COUNTRY_CODE_TO_ENUM_RD *country; local
[all...]
/freebsd-9.3-release/tools/tools/net80211/scripts/
H A Dsetup.dfs17 ifconfig $WLAN country $COUNTRY
/freebsd-9.3-release/usr.bin/whois/
H A Dwhois.c97 const char *country, *host; local
105 country = host = qnichost = NULL;
119 country = optarg;
156 country = "ru";
172 if (!argc || (country != NULL && host != NULL))
176 * If no host or country is specified determine the top level domain
181 if (host == NULL && country == NULL) {
188 if (country != NULL) {
189 s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL);
363 "usage: whois [-aAbfgiIklmQrR6] [-c country
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dap_drv_ops.h46 int hostapd_set_country(struct hostapd_data *hapd, const char *country);
H A Dhostapd.c644 char country[4]; local
658 if (hapd->iconf->country[0] && hapd->iconf->country[1]) {
659 os_memcpy(country, hapd->iconf->country, 3);
660 country[3] = '\0';
661 if (hostapd_set_country(hapd, country) < 0) {
662 wpa_printf(MSG_ERROR, "Failed to set country code");
H A Dap_config.h350 char country[3]; /* first two octets: country code as described in member in struct:hostapd_config
H A Dap_drv_ops.c515 int hostapd_set_country(struct hostapd_data *hapd, const char *country) argument
520 return hapd->driver->set_country(hapd->drv_priv, country);
H A Dbeacon.c135 os_memcpy(pos, hapd->iconf->country, 3); /* e.g., 'US ' */
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dconfig.h318 * country - Country code
320 * This is the ISO/IEC alpha2 country code for which we are operating
323 char country[2]; member in struct:wpa_config
H A Dconfig_file.c350 wpa_printf(MSG_DEBUG, "Invalid country set");
353 config->country[0] = pos[0];
354 config->country[1] = pos[1];
355 wpa_printf(MSG_DEBUG, "country='%c%c'",
356 config->country[0], config->country[1]);
460 { FUNC(country) },
890 if (config->country[0] && config->country[1]) {
891 fprintf(f, "country
[all...]
H A Dwpa_supplicant.c2040 if (wpa_s->conf->country[0] && wpa_s->conf->country[1] &&
2041 wpa_drv_set_country(wpa_s, wpa_s->conf->country)) {
2042 wpa_printf(MSG_DEBUG, "Failed to set country");
/freebsd-9.3-release/usr.sbin/tzsetup/
H A Dtzsetup.c267 /* Short cut -- if there's only one country, don't post a menu. */
275 snprintf(prompt, sizeof(prompt), "Select a country or region");
301 struct country { struct
319 * This is the easiest organization... we use ISO 3166 country codes,
324 static struct country countries[NCOUNTRIES];
329 * Read the ISO 3166 country code database in _PATH_ISO3166
336 struct country *cp;
374 errx(1, "%s:%d: country code `%s' multiply defined: %s",
392 struct country *cp;
395 errx(1, "%s:%d: country cod
[all...]
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_regdomain.c69 ic->ic_regdomain.country == CTRY_DEFAULT) {
70 ic->ic_regdomain.country = CTRY_UNITED_STATES; /* XXX */
113 * country code, and operating modes. This interface is used
247 "%s: unable to allocate memory for country ie\n", __func__);
254 if_printf(ic->ic_ifp, "no ISO country string for cc %d; "
255 "using blanks\n", rd->country);
262 * Indoor/Outdoor portion of country string:
292 if_printf(ic->ic_ifp, "%s: country ie too big, "
H A D_ieee80211.h380 uint16_t country; /* ISO country code */ member in struct:ieee80211_regdomain
383 char isocc[2]; /* country code string */
H A Dieee80211_input.c485 * [tlv] country information
520 scan->country = frm;
656 if (scan->country != NULL) {
659 * the country code. Not sure if we should return an
664 IEEE80211_VERIFY_LENGTH(scan->country[1], 3 * sizeof(uint8_t),
665 scan->country = NULL);
H A Dieee80211_scan.h203 uint8_t *country; member in struct:ieee80211_scanparams
246 uint8_t se_cc[2]; /* captured country code */
H A Dieee80211_scan_sta.c127 #define MATCH_CC 0x00200 /* country code mismatch */
337 if (sp->country != NULL) {
339 (const struct ieee80211_country_ie *) sp->country;
342 * that advertises it's country code then compare our
343 * current settings to what we fetched from the country ie.
344 * If our country code is unspecified or different then
346 * country code so our regdomain config can be changed.
351 (ic->ic_regdomain.country == CTRY_DEFAULT ||
1047 * that advertises it's country code then compare our
1048 * current settings to what we fetched from the country i
[all...]
H A Dieee80211_scan.c1058 printf(" <bogus country ie, len %d>", cie->len);
1061 printf(" country [%c%c%c", cie->cc[0], cie->cc[1], cie->cc[2]);
1091 if (sp->country != NULL)
1092 dump_country(sp->country);
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Dconfig_file.c1109 if (conf->ieee80211d && (!conf->country[0] || !conf->country[1])) {
1270 os_memcpy(conf->country, pos, 2);
1272 conf->country[2] = ' ';
/freebsd-9.3-release/usr.bin/calendar/calendars/
H A Dcalendar.music169 09/23 "Paul is dead" rumors sweep the country, 1969
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dwindmc.c812 n->lang->lang_info.country, n->lang->lang_info.name,

Completed in 342 milliseconds

12