/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ap_config.c | 767 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss() 1227 int wep, i; in hostapd_config_check_bss() local 1229 wep = bss->default_wep_key_len > 0 || in hostapd_config_check_bss() 1232 if (bss->ssid.wep.keys_set) { in hostapd_config_check_bss() 1233 wep = 1; in hostapd_config_check_bss() 1238 if (wep) { in hostapd_config_check_bss() 1369 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss() 1549 bss->ssid.wep.default_len = bss->default_wep_key_len; in hostapd_set_security_params() 1553 } else if (full_config && bss->ssid.wep.keys_set) { in hostapd_set_security_params() 1554 if (bss->ssid.wep in hostapd_set_security_params() [all...] |
H A D | wps_hostapd.c | 1237 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps() 1238 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_init_wps() 1241 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_init_wps() 1242 conf->ssid.wep.len[0]); in hostapd_init_wps() 1243 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_init_wps() 1487 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_update_wps() 1488 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_update_wps() 1491 os_memcpy(wps->network_key, conf->ssid.wep in hostapd_update_wps() [all...] |
H A D | hostapd.c | 343 idx = ssid->wep.idx; in hostapd_broadcast_wep_set() 344 if (ssid->wep.default_len && ssid->wep.key[idx] && in hostapd_broadcast_wep_set() 347 1, NULL, 0, ssid->wep.key[idx], in hostapd_broadcast_wep_set() 348 ssid->wep.len[idx], in hostapd_broadcast_wep_set() 579 if (hapd->conf->ssid.wep.default_len) { in hostapd_setup_encryption() 591 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption() 593 i == hapd->conf->ssid.wep.idx, NULL, 0, in hostapd_setup_encryption() 594 hapd->conf->ssid.wep.key[i], in hostapd_setup_encryption() 595 hapd->conf->ssid.wep in hostapd_setup_encryption() [all...] |
H A D | vlan_init.c | 30 if (!hapd->conf->ssid.wep.key[i]) in vlan_if_add()
|
H A D | ap_config.h | 111 struct hostapd_wep_keys wep; member
|
H A D | ieee802_11.c | 262 privacy = hapd->conf->ssid.wep.keys_set; in hostapd_own_capab_info() 3615 "auth_transaction=%d status_code=%d wep=%d%s " in handle_auth() 6427 if (ssid->wep.key[i] && in hostapd_set_wds_encryption() 6429 0, i == ssid->wep.idx, NULL, 0, in hostapd_set_wds_encryption() 6430 ssid->wep.key[i], ssid->wep.len[i], in hostapd_set_wds_encryption() 6431 i == ssid->wep.idx ? in hostapd_set_wds_encryption()
|
H A D | beacon.c | 1693 params->privacy |= hapd->conf->ssid.wep.keys_set || in ieee802_11_build_ap_params()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ap_config.c | 677 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss() 1042 int wep, i; in hostapd_config_check_bss() local 1044 wep = bss->default_wep_key_len > 0 || in hostapd_config_check_bss() 1047 if (bss->ssid.wep.keys_set) { in hostapd_config_check_bss() 1048 wep = 1; in hostapd_config_check_bss() 1053 if (wep) { in hostapd_config_check_bss() 1159 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss() 1317 bss->ssid.wep.default_len = bss->default_wep_key_len; in hostapd_set_security_params() 1321 } else if (full_config && bss->ssid.wep.keys_set) { in hostapd_set_security_params() 1322 if (bss->ssid.wep in hostapd_set_security_params() [all...] |
H A D | hostapd.c | 330 idx = ssid->wep.idx; in hostapd_broadcast_wep_set() 331 if (ssid->wep.default_len && in hostapd_broadcast_wep_set() 334 1, NULL, 0, ssid->wep.key[idx], in hostapd_broadcast_wep_set() 335 ssid->wep.len[idx])) { in hostapd_broadcast_wep_set() 547 if (hapd->conf->ssid.wep.default_len) { in hostapd_setup_encryption() 559 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption() 561 i == hapd->conf->ssid.wep.idx, NULL, 0, in hostapd_setup_encryption() 562 hapd->conf->ssid.wep.key[i], in hostapd_setup_encryption() 563 hapd->conf->ssid.wep.len[i])) { in hostapd_setup_encryption() 568 if (hapd->conf->ssid.wep in hostapd_setup_encryption() [all...] |
H A D | wps_hostapd.c | 1151 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps() 1152 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_init_wps() 1155 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_init_wps() 1156 conf->ssid.wep.len[0]); in hostapd_init_wps() 1157 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_init_wps()
|
H A D | vlan_init.c | 28 if (!hapd->conf->ssid.wep.key[i]) in vlan_if_add()
|
H A D | ap_config.h | 103 struct hostapd_wep_keys wep; member
|
H A D | ieee802_11.c | 196 privacy = hapd->conf->ssid.wep.keys_set; in hostapd_own_capab_info() 2076 "auth_transaction=%d status_code=%d wep=%d%s " in handle_auth() 4783 if (ssid->wep.key[i] && in hostapd_set_wds_encryption() 4785 i == ssid->wep.idx, NULL, 0, in hostapd_set_wds_encryption() 4786 ssid->wep.key[i], ssid->wep.len[i])) { in hostapd_set_wds_encryption()
|
H A D | beacon.c | 1318 params->privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa || in ieee802_11_build_ap_params()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ap.c | 396 struct hostapd_wep_keys *wep = &bss->ssid.wep; in wpa_supplicant_conf_ap() local 401 wep->key[i] = os_memdup(ssid->wep_key[i], in wpa_supplicant_conf_ap() 403 if (wep->key[i] == NULL) in wpa_supplicant_conf_ap() 405 wep->len[i] = ssid->wep_key_len[i]; in wpa_supplicant_conf_ap() 407 wep->idx = ssid->wep_tx_keyidx; in wpa_supplicant_conf_ap() 408 wep->keys_set = 1; in wpa_supplicant_conf_ap() 469 bss->ssid.wep.default_len = bss->default_wep_key_len; in wpa_supplicant_conf_ap() 476 } else if (bss->ssid.wep.keys_set) { in wpa_supplicant_conf_ap() 478 if (bss->ssid.wep in wpa_supplicant_conf_ap() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ap.c | 576 struct hostapd_wep_keys *wep = &bss->ssid.wep; in wpa_supplicant_conf_ap() local 581 wep->key[i] = os_memdup(ssid->wep_key[i], in wpa_supplicant_conf_ap() 583 if (wep->key[i] == NULL) in wpa_supplicant_conf_ap() 585 wep->len[i] = ssid->wep_key_len[i]; in wpa_supplicant_conf_ap() 587 wep->idx = ssid->wep_tx_keyidx; in wpa_supplicant_conf_ap() 588 wep->keys_set = 1; in wpa_supplicant_conf_ap() 682 bss->ssid.wep.default_len = bss->default_wep_key_len; in wpa_supplicant_conf_ap() 689 } else if (bss->ssid.wep.keys_set) { in wpa_supplicant_conf_ap() 691 if (bss->ssid.wep in wpa_supplicant_conf_ap() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_ndis.c | 937 NDIS_802_11_WEP *wep; in wpa_driver_ndis_add_wep() local 942 wep = os_zalloc(len); in wpa_driver_ndis_add_wep() 943 if (wep == NULL) in wpa_driver_ndis_add_wep() 945 wep->Length = len; in wpa_driver_ndis_add_wep() 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 948 wep->KeyIndex |= 1 << 31; in wpa_driver_ndis_add_wep() 951 wep->KeyIndex |= 1 << 30; in wpa_driver_ndis_add_wep() 953 wep->KeyLength = key_len; in wpa_driver_ndis_add_wep() 954 os_memcpy(wep->KeyMaterial, key, key_len); in wpa_driver_ndis_add_wep() 957 (u8 *) wep, le in wpa_driver_ndis_add_wep() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_ndis.c | 937 NDIS_802_11_WEP *wep; in wpa_driver_ndis_add_wep() local 942 wep = os_zalloc(len); in wpa_driver_ndis_add_wep() 943 if (wep == NULL) in wpa_driver_ndis_add_wep() 945 wep->Length = len; in wpa_driver_ndis_add_wep() 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 948 wep->KeyIndex |= 1 << 31; in wpa_driver_ndis_add_wep() 951 wep->KeyIndex |= 1 << 30; in wpa_driver_ndis_add_wep() 953 wep->KeyLength = key_len; in wpa_driver_ndis_add_wep() 954 os_memcpy(wep->KeyMaterial, key, key_len); in wpa_driver_ndis_add_wep() 957 (u8 *) wep, le in wpa_driver_ndis_add_wep() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | ap_config_file.c | 807 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument 818 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); in hostapd_config_read_wep() 819 wep->key[keyidx] = NULL; in hostapd_config_read_wep() 820 wep->len[keyidx] = 0; in hostapd_config_read_wep() 822 if (wep->key[i]) in hostapd_config_read_wep() 826 wep->keys_set = 0; in hostapd_config_read_wep() 830 if (wep->key[keyidx] != NULL) in hostapd_config_read_wep() 837 wep->key[keyidx] = os_memdup(val + 1, len); in hostapd_config_read_wep() 838 if (wep in hostapd_config_read_wep() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | ap_config_file.c | 798 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument 809 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); in hostapd_config_read_wep() 810 wep->key[keyidx] = NULL; in hostapd_config_read_wep() 811 wep->len[keyidx] = 0; in hostapd_config_read_wep() 813 if (wep->key[i]) in hostapd_config_read_wep() 817 wep->keys_set = 0; in hostapd_config_read_wep() 821 if (wep->key[keyidx] != NULL) in hostapd_config_read_wep() 828 wep->key[keyidx] = os_memdup(val + 1, len); in hostapd_config_read_wep() 829 if (wep in hostapd_config_read_wep() [all...] |