/dragonfly/sbin/ifconfig/ |
H A D | regdomain.h | 66 struct country; 71 const struct country *cc; /* country code for 1-1/default map */ 84 struct country { struct 91 LIST_ENTRY(country) next; argument 103 LIST_HEAD(, country) countries; /* country code table */ 122 const struct country *lib80211_country_findbycc(const struct regdata *, 124 const struct country *lib80211_country_findbyname(const struct regdata *,
|
H A D | regdomain.c | 56 struct country *country; /* current country */ member 96 if (mt->country == NULL) { in start_element() 164 mt->country = calloc(1, sizeof(struct country)); in start_element() 166 mt->country->code = NO_COUNTRY; in start_element() 321 mt->country->name = strdup(p); in end_element() 377 mt->country = NULL; in end_element() 422 struct country *cp; in lib80211_regdomain_readconfig() 709 const struct country * 712 const struct country *cp; in lib80211_country_findbycc() 724 const struct country * [all …]
|
H A D | ifieee80211.c | 469 if (rd->country != NO_COUNTRY) { in setregdomain_cb() 470 const struct country *cc; in setregdomain_cb() 2220 const struct country *cc; in regdomain_makechannels() 2237 reg->country); in regdomain_makechannels() 2299 const struct country *cp; in list_countries() 2323 const struct country *cc; in defaultcountry() 2329 regdomain.country = cc->code; in defaultcountry() 2368 const struct country *cc; in set80211country() 2382 regdomain.country = cc->code; in set80211country() 4216 if (reg->country != 0 || verb) { in print_regdomain() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ |
H A D | ah_regdomain.c | 235 COUNTRY_CODE_TO_ENUM_RD *country; in getDefaultCountry() local 237 country = findCountry(cc); in getDefaultCountry() 238 if (country != AH_NULL) in getDefaultCountry() 265 COUNTRY_CODE_TO_ENUM_RD *country; in getregstate() local 283 country = findCountry(cc); in getregstate() 284 if (country == AH_NULL) { in getregstate() 289 regDmn = country->regDmnEnum; in getregstate() 308 country = findCountry(cc); in getregstate() 309 if (country == AH_NULL) { in getregstate() 315 regDmn = country->regDmnEnum; in getregstate() [all …]
|
/dragonfly/usr.bin/whois/ |
H A D | whois.c | 88 const char *country, *host; in main() local 96 country = host = qnichost = NULL; in main() 110 country = optarg; in main() 160 if (!argc || (country != NULL && host != NULL)) in main() 169 if (host == NULL && country == NULL) { in main() 176 if (country != NULL) { in main() 177 s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL); in main()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.c | 948 if (country == NULL) in country_match() 951 if (cc[i][0] == country[0] && cc[i][1] == country[1]) in country_match() 1183 if (country_match(us_op_class_cc, country)) { in ieee80211_chan_to_freq() 1189 if (country_match(eu_op_class_cc, country)) { in ieee80211_chan_to_freq() 1195 if (country_match(jp_op_class_cc, country)) { in ieee80211_chan_to_freq() 1201 if (country_match(cn_op_class_cc, country)) { in ieee80211_chan_to_freq() 1837 if (country_match(us_op_class_cc, country)) { in country_to_global_op_class() 1840 } else if (country_match(eu_op_class_cc, country)) { in country_to_global_op_class() 1843 } else if (country_match(jp_op_class_cc, country)) { in country_to_global_op_class() 1846 } else if (country_match(cn_op_class_cc, country)) { in country_to_global_op_class() [all …]
|
H A D | ieee802_11_common.h | 174 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan); 219 u8 country_to_global_op_class(const char *country, u8 op_class); 221 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
|
/dragonfly/share/zoneinfo/ |
H A D | iso3166.tab | 1 # ISO 3166 alpha-2 country codes 7 # This file contains a table of two-letter country codes. Columns are 11 # 1. ISO 3166-1 alpha-2 country code, current as of 18 # The table is sorted by country code. 24 #country- 25 #code name of country, territory, area, or subdivision
|
/dragonfly/test/test/ |
H A D | baaz | 8 their country. 10 their country.
|
/dragonfly/contrib/wpa_supplicant/src/p2p/ |
H A D | p2p_build.c | 85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel() argument 91 wpabuf_put_data(buf, country, 3); in p2p_buf_add_listen_channel() 99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel() argument 105 wpabuf_put_data(buf, country, 3); in p2p_buf_add_operating_channel() 151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list() argument 160 wpabuf_put_data(buf, country, 3); /* Country String */ in p2p_buf_add_channel_list() 370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_oob_go_neg_channel() argument 377 wpabuf_put_data(buf, country, 3); in p2p_buf_add_oob_go_neg_channel()
|
H A D | p2p_go_neg.c | 51 os_memcpy(dev->country, pos, 3); in p2p_peer_channels_check() 53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check() 55 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check() 184 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_req() 320 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 326 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 332 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 335 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 341 p2p_buf_add_channel_list(buf, p2p->cfg->country, &res); in p2p_build_go_neg_resp() 1115 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_conf() [all …]
|
H A D | p2p_invitation.c | 72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req() 77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req() 154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp() 159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp() 359 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_process_invitation_req()
|
H A D | p2p_i.h | 80 char country[3]; member 751 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, 753 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, 755 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, 769 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country,
|
H A D | p2p_pd.c | 128 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs() 133 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs() 157 p2p_buf_add_listen_channel(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs() 348 buf, p2p->cfg->country, in p2p_build_prov_disc_resp() 353 buf, p2p->cfg->country, in p2p_build_prov_disc_resp() 360 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_prov_disc_resp()
|
/dragonfly/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 309 struct country { struct 332 static struct country countries[NCOUNTRIES]; 344 struct country *cp; in read_iso3166_table() 392 struct country *cp; in add_zone_to_country() 447 const struct country *a = xa, *b = xb; in compare_countries() 524 struct country *cp; in make_menus() 624 struct country *cp = dmi->data; in set_zone_menu() 683 struct country *cp = dmi->data; in set_zone_whole_country()
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | mesh.c | 303 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { in wpa_supplicant_mesh_init() 306 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_mesh_init() 307 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_mesh_init() 308 conf->country[2] = ' '; in wpa_supplicant_mesh_init()
|
H A D | config.h | 300 char country[3]; member 736 char country[2]; member
|
H A D | rrm.c | 572 const char *country, const u8 *subelems, in wpas_channel_report_freqs() argument 594 op = get_oper_class(country, *pos); in wpas_channel_report_freqs() 638 const char *country = NULL; in wpas_beacon_request_freqs() local 646 country = (const char *) (elem + 2); in wpas_beacon_request_freqs() 648 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs() 676 ext_freqs = wpas_channel_report_freqs(wpa_s, active, country, subelems, in wpas_beacon_request_freqs()
|
H A D | wnm_sta.h | 33 char country[2]; /* valid if country_present=1 */ member
|
H A D | ap.c | 307 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { in wpa_supplicant_conf_ap() 310 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_conf_ap() 311 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_conf_ap() 312 conf->country[2] = ' '; in wpa_supplicant_conf_ap()
|
/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_regdomain.c | 71 ic->ic_regdomain.country == CTRY_DEFAULT) { in ieee80211_regdomain_attach() 72 ic->ic_regdomain.country = CTRY_UNITED_STATES; /* XXX */ in ieee80211_regdomain_attach() 264 rd->country); in ieee80211_alloc_countryie()
|
H A D | ieee80211_input.c | 563 scan->country = frm; in ieee80211_parse_beacon() 709 if (scan->country != NULL) { in ieee80211_parse_beacon() 717 IEEE80211_VERIFY_LENGTH(scan->country[1], 3 * sizeof(uint8_t), in ieee80211_parse_beacon() 718 scan->country = NULL); in ieee80211_parse_beacon()
|
/dragonfly/tools/tools/net80211/scripts/ |
H A D | setup.dfs | 17 ifconfig $WLAN country $COUNTRY
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 3342 char country[3]; in wpas_dbus_getter_country() local 3343 char *str = country; in wpas_dbus_getter_country() 3345 country[0] = wpa_s->conf->country[0]; in wpas_dbus_getter_country() 3346 country[1] = wpa_s->conf->country[1]; in wpas_dbus_getter_country() 3347 country[2] = '\0'; in wpas_dbus_getter_country() 3368 const char *country; in wpas_dbus_setter_country() local 3371 &country)) in wpas_dbus_setter_country() 3374 if (!country[0] || !country[1]) { in wpas_dbus_setter_country() 3380 if (wpa_s->drv_priv != NULL && wpa_drv_set_country(wpa_s, country)) { in wpas_dbus_setter_country() 3387 wpa_s->conf->country[0] = country[0]; in wpas_dbus_setter_country() [all …]
|
/dragonfly/contrib/file/ |
H A D | COPYING | 7 Department of Commerce, and may be exported to any country or planet.
|