Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/external/wpa_supplicant_8/src/ap/
Dap_config.c105 struct hostapd_config *conf; in hostapd_config_defaults() local
128 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
130 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
133 os_free(conf); in hostapd_config_defaults()
137 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
138 if (conf->bss == NULL) { in hostapd_config_defaults()
139 os_free(conf); in hostapd_config_defaults()
143 conf->bss[0] = bss; in hostapd_config_defaults()
147 os_free(conf->bss); in hostapd_config_defaults()
148 os_free(conf); in hostapd_config_defaults()
[all …]
Dauthsrv.c100 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local
102 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv()
103 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv()
104 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv()
109 srv.pac_opaque_encr_key = conf->pac_opaque_encr_key; in hostapd_setup_radius_srv()
110 srv.eap_fast_a_id = conf->eap_fast_a_id; in hostapd_setup_radius_srv()
111 srv.eap_fast_a_id_len = conf->eap_fast_a_id_len; in hostapd_setup_radius_srv()
112 srv.eap_fast_a_id_info = conf->eap_fast_a_id_info; in hostapd_setup_radius_srv()
113 srv.eap_fast_prov = conf->eap_fast_prov; in hostapd_setup_radius_srv()
114 srv.pac_key_lifetime = conf->pac_key_lifetime; in hostapd_setup_radius_srv()
[all …]
Dhostapd.c77 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss()
80 ssid = &hapd->conf->ssid; in hostapd_reload_bss()
87 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
89 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss()
94 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
95 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
97 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
99 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss()
103 } else if (hapd->conf->wpa) { in hostapd_reload_bss()
115 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss()
[all …]
Dhw_features.c154 if (iface->conf->basic_rates) in hostapd_prepare_rates()
155 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates()
196 if (iface->conf->supported_rates && in hostapd_prepare_rates()
197 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates()
213 (!iface->conf->ieee80211n || !iface->conf->require_ht)) { in hostapd_prepare_rates()
229 if (!iface->conf->secondary_channel) in ieee80211n_allowed_ht40_channel_pair()
232 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair()
233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair()
242 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec()
243 iface->conf->channel += 4; in ieee80211n_switch_pri_sec()
[all …]
Dieee802_11_shared.c35 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time()
36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time()
39 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time()
179 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte()
183 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte()
185 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte()
192 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte()
194 if (hapd->conf->interworking) in hostapd_ext_capab_byte()
198 if (hapd->conf->qos_map_set_len) in hostapd_ext_capab_byte()
200 if (hapd->conf->tdls & TDLS_PROHIBIT) in hostapd_ext_capab_byte()
[all …]
Dwpa_auth_glue.c31 static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf, in hostapd_wpa_auth_conf() argument
36 wconf->wpa = conf->wpa; in hostapd_wpa_auth_conf()
37 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf()
38 wconf->wpa_pairwise = conf->wpa_pairwise; in hostapd_wpa_auth_conf()
39 wconf->wpa_group = conf->wpa_group; in hostapd_wpa_auth_conf()
40 wconf->wpa_group_rekey = conf->wpa_group_rekey; in hostapd_wpa_auth_conf()
41 wconf->wpa_strict_rekey = conf->wpa_strict_rekey; in hostapd_wpa_auth_conf()
42 wconf->wpa_gmk_rekey = conf->wpa_gmk_rekey; in hostapd_wpa_auth_conf()
43 wconf->wpa_ptk_rekey = conf->wpa_ptk_rekey; in hostapd_wpa_auth_conf()
44 wconf->rsn_pairwise = conf->rsn_pairwise; in hostapd_wpa_auth_conf()
[all …]
Dbeacon.c39 if (!hapd->conf->radio_measurements || len < 2 + 4) in hostapd_eid_rm_enabled_capab()
44 *eid++ = (hapd->conf->radio_measurements & BIT(0)) ? in hostapd_eid_rm_enabled_capab()
60 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load()
63 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load()
68 if (hapd->conf->bss_load_update_period) { in hostapd_eid_bss_load()
384 if (hapd->conf->vendor_elements) in hostapd_gen_probe_resp()
385 buflen += wpabuf_len(hapd->conf->vendor_elements); in hostapd_gen_probe_resp()
386 if (hapd->conf->vendor_vht) { in hostapd_gen_probe_resp()
415 *pos++ = hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp()
416 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp()
[all …]
Dwpa_auth_ie.c27 static int wpa_write_wpa_ie(struct wpa_auth_config *conf, u8 *buf, size_t len) in wpa_write_wpa_ie() argument
40 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, conf->wpa_group); in wpa_write_wpa_ie()
43 conf->wpa_group); in wpa_write_wpa_ie()
52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie()
55 conf->wpa_pairwise); in wpa_write_wpa_ie()
65 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
70 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
78 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
91 int wpa_write_rsn_ie(struct wpa_auth_config *conf, u8 *buf, size_t len, in wpa_write_rsn_ie() argument
105 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, conf->wpa_group); in wpa_write_rsn_ie()
[all …]
Ddfs.c28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
31 if (iface->conf->ieee80211ac) { in dfs_get_used_n_chans()
32 switch (iface->conf->vht_oper_chwidth) { in dfs_get_used_n_chans()
168 if (!iface->conf->acs_ch_list.num) in is_in_chanlist()
171 return freq_range_list_includes(&iface->conf->acs_ch_list, chan->chan); in is_in_chanlist()
198 if (iface->conf->ieee80211n && in dfs_find_channel()
199 iface->conf->secondary_channel && in dfs_find_channel()
228 if (!iface->conf->ieee80211ac) in dfs_adjust_vht_center_freq()
236 switch (iface->conf->vht_oper_chwidth) { in dfs_adjust_vht_center_freq()
268 int channel_no = iface->conf->channel; in dfs_get_start_chan_idx()
[all …]
Dwps_hostapd.c65 (hapd->conf->wps_independent || in wps_for_each()
66 data->calling_hapd->conf->wps_independent)) in wps_for_each()
101 struct hostapd_ssid *ssid = &hapd->conf->ssid; in hostapd_wps_new_psk_cb()
191 if (hapd->conf->wps_pin_requests) { in hostapd_wps_pin_needed_cb()
194 f = fopen(hapd->conf->wps_pin_requests, "a"); in hostapd_wps_pin_needed_cb()
322 struct hostapd_bss_config *bss = hapd->conf; in hapd_wps_reconfig_in_memory()
428 if ((hapd->conf->wps_cred_processing == 1 || in hapd_wps_cred_cb()
429 hapd->conf->wps_cred_processing == 2) && cred->cred_attr) { in hapd_wps_cred_cb()
431 } else if (hapd->conf->wps_cred_processing == 1 || in hapd_wps_cred_cb()
432 hapd->conf->wps_cred_processing == 2) { in hapd_wps_cred_cb()
[all …]
Dieee802_1x.c63 xhdr->version = hapd->conf->eapol_version; in ieee802_1x_send()
166 if (hapd->conf->eapol_key_index_workaround) { in ieee802_1x_tx_key_one()
197 hdr->version = hapd->conf->eapol_version; in ieee802_1x_tx_key_one()
234 hapd->conf->default_wep_key_len); in ieee802_1x_tx_key()
237 if (hapd->conf->individual_wep_key_len > 0) { in ieee802_1x_tx_key()
239 ikey = os_malloc(hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
241 random_get_bytes(ikey, hapd->conf->individual_wep_key_len)) in ieee802_1x_tx_key()
250 ikey, hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
253 hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
257 if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP, in ieee802_1x_tx_key()
[all …]
Dgas_serv.c152 if (hapd->conf->hs20_oper_friendly_name) in anqp_add_hs_capab_list()
154 if (hapd->conf->hs20_wan_metrics) in anqp_add_hs_capab_list()
156 if (hapd->conf->hs20_connection_capability) in anqp_add_hs_capab_list()
158 if (hapd->conf->nai_realm_data) in anqp_add_hs_capab_list()
160 if (hapd->conf->hs20_operating_class) in anqp_add_hs_capab_list()
162 if (hapd->conf->hs20_osu_providers_count) in anqp_add_hs_capab_list()
164 if (hapd->conf->hs20_icons_count) in anqp_add_hs_capab_list()
176 dl_list_for_each(elem, &hapd->conf->anqp_elem, struct anqp_element, in get_anqp_elem()
229 if (hapd->conf->venue_name || get_anqp_elem(hapd, ANQP_VENUE_NAME)) in anqp_add_capab_list()
233 if (hapd->conf->network_auth_type || in anqp_add_capab_list()
[all …]
/external/boringssl/src/crypto/conf/
Dconf.c94 CONF *conf; in NCONF_new() local
100 conf = OPENSSL_malloc(sizeof(CONF)); in NCONF_new()
101 if (conf == NULL) { in NCONF_new()
105 conf->data = lh_CONF_VALUE_new(conf_value_hash, conf_value_cmp); in NCONF_new()
106 if (conf->data == NULL) { in NCONF_new()
107 OPENSSL_free(conf); in NCONF_new()
111 return conf; in NCONF_new()
145 void NCONF_free(CONF *conf) { in NCONF_free() argument
146 if (conf == NULL || conf->data == NULL) { in NCONF_free()
150 lh_CONF_VALUE_doall(conf->data, value_free); in NCONF_free()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c71 struct mesh_conf *conf; in mesh_config_create() local
73 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create()
74 if (!conf) in mesh_config_create()
77 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create()
78 conf->meshid_len = ssid->ssid_len; in mesh_config_create()
81 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create()
84 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create()
87 conf->mesh_pp_id = MESH_PATH_PROTOCOL_HWMP; in mesh_config_create()
88 conf->mesh_pm_id = MESH_PATH_METRIC_AIRTIME; in mesh_config_create()
89 conf->mesh_cc_id = 0; in mesh_config_create()
[all …]
Dap.c49 struct hostapd_config *conf, in wpas_conf_ap_vht() argument
54 u8 channel = conf->channel; in wpas_conf_ap_vht()
56 if (!conf->secondary_channel) in wpas_conf_ap_vht()
59 switch (conf->vht_oper_chwidth) { in wpas_conf_ap_vht()
73 conf->vht_oper_chwidth = VHT_CHANWIDTH_160MHZ; in wpas_conf_ap_vht()
76 conf->vht_oper_chwidth = VHT_CHANWIDTH_80MHZ; in wpas_conf_ap_vht()
85 conf->vht_oper_centr_freq_seg0_idx = center_chan; in wpas_conf_ap_vht()
89 conf->vht_oper_centr_freq_seg0_idx = in wpas_conf_ap_vht()
90 channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()
92 conf->vht_oper_centr_freq_seg0_idx = in wpas_conf_ap_vht()
[all …]
/external/mesa3d/src/egl/main/
Deglconfig.c57 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) in _eglInitConfig() argument
59 memset(conf, 0, sizeof(*conf)); in _eglInitConfig()
61 conf->Display = dpy; in _eglInitConfig()
64 conf->ConfigID = id; in _eglInitConfig()
65 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig()
66 conf->TransparentType = EGL_NONE; in _eglInitConfig()
67 conf->NativeVisualType = EGL_NONE; in _eglInitConfig()
68 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig()
79 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument
81 _EGLDisplay *dpy = conf->Display; in _eglLinkConfig()
[all …]
/external/selinux/libsemanage/src/
Dconf-parse.y338 static int semanage_conf_init(semanage_conf_t * conf)
340 conf->store_type = SEMANAGE_CON_DIRECT;
341 conf->store_path = strdup(basename(selinux_policy_root()));
342 conf->ignoredirs = NULL;
343 conf->store_root_path = strdup("/var/lib/selinux");
344 conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll");
345 conf->policyvers = sepol_policy_kern_vers_max();
346 conf->target_platform = SEPOL_TARGET_SELINUX;
347 conf->expand_check = 1;
348 conf->handle_unknown = -1;
[all …]
DMakefile24 DEFAULT_SEMANAGE_CONF_LOCATION=$(DESTDIR)/etc/selinux/semanage.conf
56 OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o
57 LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo
70 GENERATED=$(SWIGCOUT) $(SWIGRUBYCOUT) $(wildcard conf-*.[ch])
104 conf-scan.c: conf-scan.l conf-parse.h
107 conf-parse.c: conf-parse.y
110 conf-parse.h: conf-parse.c
118 conf-parse.o: conf-parse.c
121 conf-parse.lo: conf-parse.c
124 conf-scan.o: conf-scan.c
[all …]
/external/autotest/client/common_lib/
Dglobal_config_unittest.py75 conf = global_config.global_config variable in global_config_test
84 self.conf.set_config_files(self.global_temp.name, self.shadow_temp.name,
93 self.conf.set_config_files(global_config.DEFAULT_CONFIG_FILE,
100 val = self.conf.get_config_value("SECTION_A", "value_1", float)
107 val = self.conf.get_config_value("SECTION_B", "value_1", int)
110 val = self.conf.get_config_value("SECTION_B", "value_3", int)
112 val = self.conf.get_config_value("SECTION_B", "value_4", int)
118 val = self.conf.get_config_value("SECTION_A", "value_2")
137 self.conf.reset_config_values()
140 val = self.conf.get_config_value("SECTION_C", "value_1")
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius_client.c163 struct hostapd_radius_servers *conf; member
364 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local
375 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit()
383 conf->acct_server->requests++; in radius_client_retransmit()
385 conf->acct_server->timeouts++; in radius_client_retransmit()
386 conf->acct_server->retransmissions++; in radius_client_retransmit()
391 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit()
399 conf->auth_server->requests++; in radius_client_retransmit()
401 conf->auth_server->timeouts++; in radius_client_retransmit()
402 conf->auth_server->retransmissions++; in radius_client_retransmit()
[all …]
/external/selinux/policycoreutils/mcstrans/share/util/
Dtry-all15 …rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setran…
18 if [ -e $d/setrans.conf ]; then
19 mv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.conf.bak
23 if [ -e /etc/selinux/mls/secolor.conf ]; then
24 mv /etc/selinux/mls/secolor.conf /etc/selinux/mls/secolor.conf.bak
31 if [ -e $d/setrans.conf ]; then
32 cp -L $d/setrans.conf /etc/selinux/mls/setrans.conf
34 if [ -e $d/secolor.conf ]; then
35 cp -L $d/secolor.conf /etc/selinux/mls
49 if [ -e /etc/selinux/mls/setrans.conf.bak ]; then
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Dconfig.py26 def push_thread_config(self, conf): argument
41 self._push_object(conf)
43 def pop_thread_config(self, conf=None): argument
49 self._pop_object(conf)
51 def push_process_config(self, conf): argument
56 self._process_configs.append(conf)
58 def pop_process_config(self, conf=None): argument
59 self._pop_from(self._process_configs, conf)
61 def _pop_from(self, lst, conf): argument
63 if conf is not None and popped is not conf:
[all …]
/external/clang/bindings/python/clang/
Dcindex.py153 conf.lib.clang_disposeString(self)
158 return conf.lib.clang_getCString(res)
170 conf.lib.clang_getInstantiationLocation(self, byref(f), byref(l),
185 return conf.lib.clang_getLocation(tu, file, line, column)
195 return conf.lib.clang_getLocationForOffset(tu, file, offset)
218 return conf.lib.clang_equalLocations(self, other)
245 return conf.lib.clang_getRange(start, end)
253 return conf.lib.clang_getRangeStart(self)
261 return conf.lib.clang_getRangeEnd(self)
264 return conf.lib.clang_equalRanges(self, other)
[all …]
/external/dhcpcd-6.8.2/dhcpcd-hooks/
D20-resolv.conf54 if [ -f /etc/resolv.conf.head ]; then
55 cat /etc/resolv.conf.head >> "$cf"
60 if [ -f /etc/resolv.conf.tail ]; then
61 cat /etc/resolv.conf.tail >> "$cf"
65 if change_file /etc/resolv.conf "$cf"; then
66 chmod 644 /etc/resolv.conf
73 local x= conf="$signature$NL" i=${ra_count:-0} ra= warn=true
105 conf="${conf}domain $1$NL"
117 conf="${conf}search $new_domain_search$NL"
124 conf="${conf}nameserver $x$NL"
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c219 struct hostapd_bss_config *conf) in hostapd_config_read_eap_user() argument
231 os_free(conf->eap_user_sqlite); in hostapd_config_read_eap_user()
232 conf->eap_user_sqlite = os_strdup(fname + 7); in hostapd_config_read_eap_user()
525 user = conf->eap_user; in hostapd_config_read_eap_user()
533 conf->eap_user = new_user; in hostapd_config_read_eap_user()
789 static int hostapd_parse_chanlist(struct hostapd_config *conf, char *val) in hostapd_parse_chanlist() argument
800 if (freq_range_list_parse(&conf->acs_ch_list, val)) in hostapd_parse_chanlist()
846 static int hostapd_config_bss(struct hostapd_config *conf, const char *ifname) in hostapd_config_bss() argument
853 all = os_realloc_array(conf->bss, conf->num_bss + 1, in hostapd_config_bss()
860 conf->bss = all; in hostapd_config_bss()
[all …]

12345678910>>...25