Home
last modified time | relevance | path

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

12345678910>>...20

/external/wpa_supplicant_8/src/ap/
Dap_config.c102 struct hostapd_config *conf; in hostapd_config_defaults() local
125 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
127 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
130 os_free(conf); in hostapd_config_defaults()
134 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
135 if (conf->bss == NULL) { in hostapd_config_defaults()
136 os_free(conf); in hostapd_config_defaults()
140 conf->bss[0] = bss; in hostapd_config_defaults()
144 os_free(conf->bss); in hostapd_config_defaults()
145 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.c75 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss()
78 ssid = &hapd->conf->ssid; in hostapd_reload_bss()
85 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
87 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss()
92 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
93 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
95 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
97 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss()
101 } else if (hapd->conf->wpa) { in hostapd_reload_bss()
113 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()
177 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte()
181 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte()
183 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte()
190 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte()
192 if (hapd->conf->interworking) in hostapd_ext_capab_byte()
196 if (hapd->conf->qos_map_set_len) in hostapd_ext_capab_byte()
198 if (hapd->conf->tdls & TDLS_PROHIBIT) in hostapd_ext_capab_byte()
[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()
380 if (hapd->conf->vendor_elements) in hostapd_gen_probe_resp()
381 buflen += wpabuf_len(hapd->conf->vendor_elements); in hostapd_gen_probe_resp()
382 if (hapd->conf->vendor_vht) { in hostapd_gen_probe_resp()
408 *pos++ = hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp()
409 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp()
[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 …]
Dwpa_auth_glue.c30 static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf, in hostapd_wpa_auth_conf() argument
35 wconf->wpa = conf->wpa; in hostapd_wpa_auth_conf()
36 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf()
37 wconf->wpa_pairwise = conf->wpa_pairwise; in hostapd_wpa_auth_conf()
38 wconf->wpa_group = conf->wpa_group; in hostapd_wpa_auth_conf()
39 wconf->wpa_group_rekey = conf->wpa_group_rekey; in hostapd_wpa_auth_conf()
40 wconf->wpa_strict_rekey = conf->wpa_strict_rekey; in hostapd_wpa_auth_conf()
41 wconf->wpa_gmk_rekey = conf->wpa_gmk_rekey; in hostapd_wpa_auth_conf()
42 wconf->wpa_ptk_rekey = conf->wpa_ptk_rekey; in hostapd_wpa_auth_conf()
43 wconf->rsn_pairwise = conf->rsn_pairwise; in hostapd_wpa_auth_conf()
[all …]
Dgas_serv.c151 if (hapd->conf->hs20_oper_friendly_name) in anqp_add_hs_capab_list()
153 if (hapd->conf->hs20_wan_metrics) in anqp_add_hs_capab_list()
155 if (hapd->conf->hs20_connection_capability) in anqp_add_hs_capab_list()
157 if (hapd->conf->nai_realm_data) in anqp_add_hs_capab_list()
159 if (hapd->conf->hs20_operating_class) in anqp_add_hs_capab_list()
161 if (hapd->conf->hs20_osu_providers_count) in anqp_add_hs_capab_list()
163 if (hapd->conf->hs20_icons_count) in anqp_add_hs_capab_list()
177 if (hapd->conf->venue_name) in anqp_add_capab_list()
179 if (hapd->conf->network_auth_type) in anqp_add_capab_list()
181 if (hapd->conf->roaming_consortium) in anqp_add_capab_list()
[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 …]
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 …]
Dieee802_1x.c60 xhdr->version = hapd->conf->eapol_version; in ieee802_1x_send()
160 if (hapd->conf->eapol_key_index_workaround) { in ieee802_1x_tx_key_one()
191 hdr->version = hapd->conf->eapol_version; in ieee802_1x_tx_key_one()
228 hapd->conf->default_wep_key_len); in ieee802_1x_tx_key()
231 if (hapd->conf->individual_wep_key_len > 0) { in ieee802_1x_tx_key()
233 ikey = os_malloc(hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
235 random_get_bytes(ikey, hapd->conf->individual_wep_key_len)) in ieee802_1x_tx_key()
244 ikey, hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
247 hapd->conf->individual_wep_key_len); in ieee802_1x_tx_key()
251 if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP, in ieee802_1x_tx_key()
[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()
135 void NCONF_free(CONF *conf) { in NCONF_free() argument
136 if (conf == NULL || conf->data == NULL) { in NCONF_free()
140 lh_CONF_VALUE_doall(conf->data, value_free_contents); 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()
64 conf->vht_oper_chwidth = 1; in wpas_conf_ap_vht()
65 conf->vht_oper_centr_freq_seg0_idx = center_chan; in wpas_conf_ap_vht()
69 conf->vht_oper_centr_freq_seg0_idx = in wpas_conf_ap_vht()
70 channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()
72 conf->vht_oper_centr_freq_seg0_idx = in wpas_conf_ap_vht()
73 conf->channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()
81 struct hostapd_config *conf) in wpa_supplicant_conf_ap_ht() argument
[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/wpa_supplicant_8/src/radius/
Dradius_client.c163 struct hostapd_radius_servers *conf; member
335 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local
344 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit()
352 conf->acct_server->requests++; in radius_client_retransmit()
354 conf->acct_server->timeouts++; in radius_client_retransmit()
355 conf->acct_server->retransmissions++; in radius_client_retransmit()
360 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit()
368 conf->auth_server->requests++; in radius_client_retransmit()
370 conf->auth_server->timeouts++; in radius_client_retransmit()
371 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/libvncserver/webclients/novnc/include/
Dinput.js19 conf = {}, // Configuration attributes
25 Util.conf_defaults(conf, that, defaults, [
296 if (! conf.focused) {
312 if (conf.onKeyPress && !ignoreKeyEvent(evt)) {
316 conf.onKeyPress(keysym, 1, evt);
339 if (! conf.focused) {
372 if (conf.onKeyPress && (keysym > 0)) {
376 conf.onKeyPress(keysym, 1, evt);
385 if (! conf.focused) {
403 if (conf.onKeyPress && (keysym > 0)) {
[all …]
Ddisplay.js16 conf = {}, // Configuration attributes
41 Util.conf_defaults(conf, that, defaults, [
82 if (! conf.target) { throw("target must be set"); }
84 if (typeof conf.target === 'string') {
88 c = conf.target;
104 conf.render_mode = "canvas rendering";
108 if (conf.prefer_js === null) {
110 conf.prefer_js = true;
126 changeCursor(conf.target, curDat, curDat, 2, 2, 8, 8);
128 if (conf.cursor_uri === null) {
[all …]
/external/chromium-trace/trace-viewer/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/dhcpcd/dhcpcd-hooks/
D20-resolv.conf53 if [ -f /etc/resolv.conf.head ]; then
54 cat /etc/resolv.conf.head >> "$cf"
59 if [ -f /etc/resolv.conf.tail ]; then
60 cat /etc/resolv.conf.tail >> "$cf"
64 cat "$cf" > /etc/resolv.conf
65 chmod 644 /etc/resolv.conf
71 local x= conf="$signature\n"
84 conf="${conf}domain $new_domain_name\n"
91 conf="${conf}search $new_domain_search\n"
94 conf="${conf}nameserver $x\n"
[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 …]

12345678910>>...20