/hostap-3.7.0/wlantest/ |
D | sta.c | 126 sta->proto = WPA_PROTO_OSEN; in sta_update_assoc() 133 sta->proto = 0; in sta_update_assoc() 142 sta->proto = data.proto; in sta_update_assoc() 146 if (bss->proto && (sta->proto & bss->proto) == 0) { in sta_update_assoc() 149 MAC2STR(sta->addr), sta->proto, in sta_update_assoc() 150 MAC2STR(bss->bssid), bss->proto); in sta_update_assoc() 159 if (sta->proto && data.group_cipher != bss->group_cipher && in sta_update_assoc() 186 sta->proto == 0 ? "OPEN " : "", in sta_update_assoc() 187 sta->proto & WPA_PROTO_WPA ? "WPA " : "", in sta_update_assoc() 188 sta->proto & WPA_PROTO_RSN ? "WPA2 " : "", in sta_update_assoc() [all …]
|
D | bss.c | 242 bss->proto = 0; in bss_update() 255 bss->proto |= data.proto; in bss_update() 270 bss->proto |= data.proto; in bss_update() 280 bss->proto |= WPA_PROTO_OSEN; in bss_update() 286 if (!(bss->proto & WPA_PROTO_RSN) || in bss_update() 302 bss->proto == 0 ? "OPEN " : "", in bss_update() 303 bss->proto & WPA_PROTO_WPA ? "WPA " : "", in bss_update() 304 bss->proto & WPA_PROTO_RSN ? "WPA2 " : "", in bss_update() 305 bss->proto & WPA_PROTO_OSEN ? "OSEN " : "", in bss_update()
|
/hostap-3.7.0/tests/hwsim/ |
D | test_pmksa_cache.py | 26 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 90 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 141 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 187 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 236 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 288 wpas.connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 338 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 366 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 398 dev[0].connect("cui", proto="RSN", key_mgmt="WPA-EAP", 629 dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", [all …]
|
D | test_ap_pmf.py | 36 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 42 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 87 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 112 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 129 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 144 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 172 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 176 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 196 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", 200 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2", [all …]
|
D | test_ap_mixed.py | 30 dev[0].connect(ssid, key_mgmt="WPA-PSK", proto="WPA", pairwise="TKIP", 32 dev[1].connect(ssid, key_mgmt="WPA-EAP-SHA256", proto="WPA2", eap="GPSK", 68 dev[1].connect(ssid, key_mgmt="WPA-EAP", proto="WPA", eap="GPSK",
|
D | test_ap_ft.py | 848 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 863 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 1762 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 1865 dev[0].connect(ssid, key_mgmt="FT-EAP", proto="WPA2", ieee80211w="1", 1936 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 1972 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 2076 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 2154 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 2190 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", 2205 dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2", [all …]
|
D | test_wext.py | 91 wpas.connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", 191 key_mgmt="WPA-PSK WPA-PSK-SHA256", proto="WPA2",
|
D | test_wnm.py | 189 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 320 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 332 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 346 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 364 proto="WPA2", ieee80211w="2", scan_freq="2412") 441 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 454 key_mgmt="WPA-PSK-SHA256", proto="WPA2", scan_freq="2412") 1499 proto="WPA2", ieee80211w="2", scan_freq="2412") 1601 proto="WPA2", ieee80211w="0", scan_freq="2412") 1648 proto="WPA2", ieee80211w="0", scan_freq="2412")
|
/hostap-3.7.0/wpa_supplicant/ |
D | wpa_supplicant.conf | 1697 proto=WPA 1708 proto=WPA 1720 proto=RSN 1796 proto=WPA RSN 1926 proto=RSN 1939 proto=WPA 1987 proto=RSN
|
D | wpa_priv.c | 473 static int wpa_priv_allowed_l2_proto(u16 proto) in wpa_priv_allowed_l2_proto() argument 475 return proto == ETH_P_EAPOL || proto == ETH_P_RSN_PREAUTH || in wpa_priv_allowed_l2_proto() 476 proto == ETH_P_80211_ENCAP; in wpa_priv_allowed_l2_proto() 488 u16 proto; in wpa_priv_cmd_l2_register() local 497 proto = reg_cmd[0]; in wpa_priv_cmd_l2_register() 498 if (!wpa_priv_allowed_l2_proto(proto)) { in wpa_priv_cmd_l2_register() 500 "ethertype 0x%x", proto); in wpa_priv_cmd_l2_register() 518 iface->l2[idx] = l2_packet_init(iface->ifname, NULL, proto, in wpa_priv_cmd_l2_register() 523 "instance for protocol %d", proto); in wpa_priv_cmd_l2_register() 582 u16 proto; in wpa_priv_cmd_l2_send() local [all …]
|
D | wpas_glue.c | 99 u16 proto, const u8 *buf, size_t len) in wpa_ether_send() argument 102 if (wpa_s->ext_eapol_frame_io && proto == ETH_P_EAPOL) { in wpa_ether_send() 120 return wpa_drv_tx_control_port(wpa_s, dest, proto, buf, len, in wpa_ether_send() 125 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); in wpa_ether_send() 455 static int _wpa_ether_send(void *wpa_s, const u8 *dest, u16 proto, in _wpa_ether_send() argument 458 return wpa_ether_send(wpa_s, dest, proto, buf, len); in _wpa_ether_send() 1268 ssid->proto &= ~WPA_PROTO_WPA; in disable_wpa_wpa2() 1269 ssid->proto |= WPA_PROTO_RSN; in disable_wpa_wpa2()
|
D | wpas_glue.h | 19 u16 proto, const u8 *buf, size_t len);
|
D | wps_supplicant.c | 230 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) && in wpas_wps_security_workaround() 257 if (wpa2 && !(ssid->proto & WPA_PROTO_RSN) && in wpas_wps_security_workaround() 258 (ssid->proto & WPA_PROTO_WPA) && in wpas_wps_security_workaround() 263 ssid->proto |= WPA_PROTO_RSN; in wpas_wps_security_workaround() 265 ssid->proto = WPA_PROTO_RSN; in wpas_wps_security_workaround() 344 new_ssid->proto |= ssid->proto; in wpas_wps_remove_dup_network() 351 if (ssid->proto != new_ssid->proto || in wpas_wps_remove_dup_network() 516 ssid->proto = 0; in wpa_supplicant_wps_cred() 531 ssid->proto = WPA_PROTO_WPA | WPA_PROTO_RSN; in wpa_supplicant_wps_cred() 546 ssid->proto = WPA_PROTO_RSN; in wpa_supplicant_wps_cred() [all …]
|
D | win_example.reg | 33 "proto"="WPA"
|
/hostap-3.7.0/src/l2_packet/ |
D | l2_packet_ndis.c | 91 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 123 eth->h_proto = htons(proto); in l2_packet_send() 333 USHORT proto = htons(protocol); in l2_ndisuio_set_ether_type() local 337 IOCTL_NDISUIO_SET_ETHER_TYPE, &proto, in l2_ndisuio_set_ether_type() 338 sizeof(proto), NULL, 0, &written, NULL)) { in l2_ndisuio_set_ether_type()
|
D | l2_packet_zephyr.c | 41 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 62 ll.sll_protocol = htons(proto); in l2_packet_send()
|
D | l2_packet_privsep.c | 62 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 73 io[2].iov_base = &proto; in l2_packet_send()
|
D | l2_packet.h | 114 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,
|
/hostap-3.7.0/src/rsn_supp/ |
D | wpa.c | 53 int ver, const u8 *dest, u16 proto, in wpa_eapol_key_send() argument 163 ret = wpa_sm_ether_send(sm, dest, proto, msg, msg_len); in wpa_eapol_key_send() 219 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_sm_key_request() 220 sm->proto == WPA_PROTO_OSEN) ? in wpa_sm_key_request() 348 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk() 385 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk() 551 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_2_of_4() 552 sm->proto == WPA_PROTO_OSEN) ? in wpa_supplicant_send_2_of_4() 560 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) in wpa_supplicant_send_2_of_4() 703 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) { in wpa_supplicant_process_1_of_4() [all …]
|
D | wpa_i.h | 99 unsigned int proto; member 270 u16 proto, const u8 *buf, size_t len) in wpa_sm_ether_send() argument 273 return sm->ctx->ether_send(sm->ctx->ctx, dest, proto, buf, len); in wpa_sm_ether_send() 485 int ver, const u8 *dest, u16 proto,
|
/hostap-3.7.0/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 244 const char *key_mgmt = NULL, *proto = NULL, *pairwise = NULL; in addNetwork() local 256 proto = "WPA"; in addNetwork() 260 proto = "WPA"; in addNetwork() 264 proto = "WPA2"; in addNetwork() 268 proto = "WPA2"; in addNetwork() 286 if (proto) in addNetwork() 287 setNetworkParam(id, "proto", proto, false); in addNetwork()
|
/hostap-3.7.0/wpa_supplicant/examples/ |
D | wpa-psk-tkip.conf | 8 proto=WPA
|
D | wpa2-eap-ccmp.conf | 8 proto=WPA2
|
/hostap-3.7.0/hs20/client/ |
D | osu_client.c | 141 char *proto; in osu_get_certificate() local 144 proto = xml_node_get_attr_value(ctx->xml, getcert, in osu_get_certificate() 146 if (!proto) in osu_get_certificate() 148 wpa_printf(MSG_INFO, "getCertificate - enrollmentProtocol=%s", proto); in osu_get_certificate() 149 write_summary(ctx, "getCertificate - enrollmentProtocol=%s", proto); in osu_get_certificate() 150 if (os_strcasecmp(proto, "EST") != 0) { in osu_get_certificate() 152 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 155 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 160 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 982 char *proto, *port; in set_pps_cred_policy_required_proto_port() local [all …]
|
/hostap-3.7.0/src/common/ |
D | wpa_common.c | 1547 data->proto = WPA_PROTO_RSN; in wpa_parse_wpa_ie_rsn() 1576 data->proto = WPA_PROTO_OSEN; in wpa_parse_wpa_ie_rsn() 1741 data->proto = WPA_PROTO_WPA; in wpa_parse_wpa_ie_wpa() 2340 const char * wpa_key_mgmt_txt(int key_mgmt, int proto) in wpa_key_mgmt_txt() argument 2344 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt() 2346 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt() 2349 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt() 2351 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt() 2470 if (ie1d.proto == ie2d.proto && in wpa_compare_rsn_ie() 2662 u32 wpa_cipher_to_suite(int proto, int cipher) in wpa_cipher_to_suite() argument [all …]
|