Home
last modified time | relevance | path

Searched refs:wep (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/base/platform/
Dcondition-variable.cc184 for (Event** wep = &waitlist_;; wep = &(*wep)->next_) {
185 DCHECK_NE(NULL, *wep);
186 if (*wep == event) {
187 *wep = event->next_;
/external/wpa_supplicant_8/src/ap/
Dap_config.c423 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss()
716 int wep, i; in hostapd_config_check_bss() local
718 wep = bss->default_wep_key_len > 0 || in hostapd_config_check_bss()
721 if (bss->ssid.wep.keys_set) { in hostapd_config_check_bss()
722 wep = 1; in hostapd_config_check_bss()
727 if (wep) { in hostapd_config_check_bss()
814 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss()
938 bss->ssid.wep.default_len = bss->default_wep_key_len; in hostapd_set_security_params()
942 } else if (full_config && bss->ssid.wep.keys_set) { in hostapd_set_security_params()
943 if (bss->ssid.wep.len[0] >= 13) in hostapd_set_security_params()
[all …]
Dhostapd.c245 idx = ssid->wep.idx; in hostapd_broadcast_wep_set()
246 if (ssid->wep.default_len && in hostapd_broadcast_wep_set()
249 1, NULL, 0, ssid->wep.key[idx], in hostapd_broadcast_wep_set()
250 ssid->wep.len[idx])) { in hostapd_broadcast_wep_set()
413 if (hapd->conf->ssid.wep.default_len) { in hostapd_setup_encryption()
425 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption()
427 i == hapd->conf->ssid.wep.idx, NULL, 0, in hostapd_setup_encryption()
428 hapd->conf->ssid.wep.key[i], in hostapd_setup_encryption()
429 hapd->conf->ssid.wep.len[i])) { in hostapd_setup_encryption()
434 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption()
[all …]
Dvlan_init.c895 if (hapd->conf->ssid.wep.key[i] && in vlan_setup_encryption_dyn()
897 i == hapd->conf->ssid.wep.idx, NULL, 0, in vlan_setup_encryption_dyn()
898 hapd->conf->ssid.wep.key[i], in vlan_setup_encryption_dyn()
899 hapd->conf->ssid.wep.len[i])) in vlan_setup_encryption_dyn()
Dwps_hostapd.c1100 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps()
1101 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_init_wps()
1104 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_init_wps()
1105 conf->ssid.wep.len[0]); in hostapd_init_wps()
1106 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_init_wps()
Dap_config.h94 struct hostapd_wep_keys wep; member
Dieee802_11.c153 privacy = hapd->conf->ssid.wep.keys_set; in hostapd_own_capab_info()
2334 if (ssid->wep.key[i] && in hostapd_set_wds_encryption()
2336 i == ssid->wep.idx, NULL, 0, in hostapd_set_wds_encryption()
2337 ssid->wep.key[i], ssid->wep.len[i])) { in hostapd_set_wds_encryption()
Dbeacon.c971 params->privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa || in ieee802_11_build_ap_params()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c247 struct hostapd_wep_keys *wep = &bss->ssid.wep; in wpa_supplicant_conf_ap() local
252 wep->key[i] = os_malloc(ssid->wep_key_len[i]); in wpa_supplicant_conf_ap()
253 if (wep->key[i] == NULL) in wpa_supplicant_conf_ap()
255 os_memcpy(wep->key[i], ssid->wep_key[i], in wpa_supplicant_conf_ap()
257 wep->len[i] = ssid->wep_key_len[i]; in wpa_supplicant_conf_ap()
259 wep->idx = ssid->wep_tx_keyidx; in wpa_supplicant_conf_ap()
260 wep->keys_set = 1; in wpa_supplicant_conf_ap()
299 bss->ssid.wep.default_len = bss->default_wep_key_len; in wpa_supplicant_conf_ap()
306 } else if (bss->ssid.wep.keys_set) { in wpa_supplicant_conf_ap()
308 if (bss->ssid.wep.len[0] >= 13) in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c749 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
754 if (keyidx < 0 || keyidx > 3 || wep->key[keyidx] != NULL) in hostapd_config_read_wep()
761 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
762 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
764 os_memcpy(wep->key[keyidx], val + 1, len); in hostapd_config_read_wep()
765 wep->len[keyidx] = len; in hostapd_config_read_wep()
770 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
771 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
773 wep->len[keyidx] = len; in hostapd_config_read_wep()
774 if (hexstr2bin(val, wep->key[keyidx], len) < 0) in hostapd_config_read_wep()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_ndis.c949 NDIS_802_11_WEP *wep; in wpa_driver_ndis_add_wep() local
954 wep = os_zalloc(len); in wpa_driver_ndis_add_wep()
955 if (wep == NULL) in wpa_driver_ndis_add_wep()
957 wep->Length = len; in wpa_driver_ndis_add_wep()
958 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep()
960 wep->KeyIndex |= 1 << 31; in wpa_driver_ndis_add_wep()
963 wep->KeyIndex |= 1 << 30; in wpa_driver_ndis_add_wep()
965 wep->KeyLength = key_len; in wpa_driver_ndis_add_wep()
966 os_memcpy(wep->KeyMaterial, key, key_len); in wpa_driver_ndis_add_wep()
969 (u8 *) wep, len); in wpa_driver_ndis_add_wep()
[all …]
/external/libedit/src/
Dvi.c1089 const Char *wep, *wsp; in vi_history_word() local
1097 wep = wsp = 0; in vi_history_word()
1106 wep = wp; in vi_history_word()
1114 len = (int)(wep - wsp); in vi_history_word()
1122 while (wsp < wep && cp < lim) in vi_history_word()