Home
last modified time | relevance | path

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

/hostap-latest/wlantest/
Dwlantest.c62 dl_list_init(&wt->wep); in wlantest_init()
80 static void wep_deinit(struct wlantest_wep *wep) in wep_deinit() argument
82 dl_list_del(&wep->list); in wep_deinit()
83 os_free(wep); in wep_deinit()
94 struct wlantest_wep *wep, *nw; in wlantest_deinit() local
113 dl_list_for_each_safe(wep, nw, &wt->wep, struct wlantest_wep, list) in wlantest_deinit()
114 wep_deinit(wep); in wlantest_deinit()
278 dl_list_add(&wt->wep, &w->list); in add_wep()
Dwep.c79 if (dl_list_empty(&wt->wep)) in wep_decrypt()
88 dl_list_for_each(w, &wt->wep, struct wlantest_wep, list) { in wep_decrypt()
DMakefile53 OBJS += wep.o
62 TOBJS += wep.o
Dwlantest.h224 struct dl_list wep; /* struct wlantest_wep */ member
Drx_data.c292 dl_list_empty(&wt->wep))) { in rx_data_bss_prot_group()
/hostap-latest/src/ap/
Dap_config.c822 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss()
1284 int wep, i; in hostapd_config_check_bss() local
1286 wep = bss->default_wep_key_len > 0 || in hostapd_config_check_bss()
1289 if (bss->ssid.wep.keys_set) { in hostapd_config_check_bss()
1290 wep = 1; in hostapd_config_check_bss()
1295 if (wep) { in hostapd_config_check_bss()
1429 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss()
1655 bss->ssid.wep.default_len = bss->default_wep_key_len; in hostapd_set_security_params()
1659 } else if (full_config && bss->ssid.wep.keys_set) { in hostapd_set_security_params()
1660 if (bss->ssid.wep.len[0] >= 13) in hostapd_set_security_params()
[all …]
Dwps_hostapd.c1238 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps()
1239 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_init_wps()
1242 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_init_wps()
1243 conf->ssid.wep.len[0]); in hostapd_init_wps()
1244 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_init_wps()
1488 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_update_wps()
1489 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_update_wps()
1492 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_update_wps()
1493 conf->ssid.wep.len[0]); in hostapd_update_wps()
1494 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_update_wps()
Dhostapd.c386 idx = ssid->wep.idx; in hostapd_broadcast_wep_set()
387 if (ssid->wep.default_len && ssid->wep.key[idx] && in hostapd_broadcast_wep_set()
390 1, NULL, 0, ssid->wep.key[idx], in hostapd_broadcast_wep_set()
391 ssid->wep.len[idx], in hostapd_broadcast_wep_set()
752 if (hapd->conf->ssid.wep.default_len) { in hostapd_setup_encryption()
764 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption()
766 i == hapd->conf->ssid.wep.idx, NULL, 0, in hostapd_setup_encryption()
767 hapd->conf->ssid.wep.key[i], in hostapd_setup_encryption()
768 hapd->conf->ssid.wep.len[i], in hostapd_setup_encryption()
769 i == hapd->conf->ssid.wep.idx ? in hostapd_setup_encryption()
[all …]
Dvlan_init.c30 if (!hapd->conf->ssid.wep.key[i]) in vlan_if_add()
Dap_config.h117 struct hostapd_wep_keys wep; member
Dieee802_11.c300 privacy = hapd->conf->ssid.wep.keys_set; in hostapd_own_capab_info()
6444 if (ssid->wep.key[i] && in hostapd_set_wds_encryption()
6446 0, i == ssid->wep.idx, NULL, 0, in hostapd_set_wds_encryption()
6447 ssid->wep.key[i], ssid->wep.len[i], in hostapd_set_wds_encryption()
6448 i == ssid->wep.idx ? in hostapd_set_wds_encryption()
Dbeacon.c2549 params->privacy |= hapd->conf->ssid.wep.keys_set || in ieee802_11_build_ap_params()
/hostap-latest/wpa_supplicant/
Dap.c600 struct hostapd_wep_keys *wep = &bss->ssid.wep; in wpa_supplicant_conf_ap() local
605 wep->key[i] = os_memdup(ssid->wep_key[i], in wpa_supplicant_conf_ap()
607 if (wep->key[i] == NULL) in wpa_supplicant_conf_ap()
609 wep->len[i] = ssid->wep_key_len[i]; in wpa_supplicant_conf_ap()
611 wep->idx = ssid->wep_tx_keyidx; in wpa_supplicant_conf_ap()
612 wep->keys_set = 1; in wpa_supplicant_conf_ap()
706 bss->ssid.wep.default_len = bss->default_wep_key_len; in wpa_supplicant_conf_ap()
713 } else if (bss->ssid.wep.keys_set) { in wpa_supplicant_conf_ap()
715 if (bss->ssid.wep.len[0] >= 13) in wpa_supplicant_conf_ap()
/hostap-latest/src/drivers/
Ddriver_ndis.c937 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, len); in wpa_driver_ndis_add_wep()
[all …]
/hostap-latest/hostapd/
Dconfig_file.c765 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
776 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); in hostapd_config_read_wep()
777 wep->key[keyidx] = NULL; in hostapd_config_read_wep()
778 wep->len[keyidx] = 0; in hostapd_config_read_wep()
780 if (wep->key[i]) in hostapd_config_read_wep()
784 wep->keys_set = 0; in hostapd_config_read_wep()
788 if (wep->key[keyidx] != NULL) in hostapd_config_read_wep()
795 wep->key[keyidx] = os_memdup(val + 1, len); in hostapd_config_read_wep()
796 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
798 wep->len[keyidx] = len; in hostapd_config_read_wep()
[all …]
/hostap-latest/doc/
Ddbus.doxygen1509 <tr><td>EncrType</td><td>as</td><td>Possible array elements: "none", "wep", "tkip", "aes"</td>