Home
last modified time | relevance | path

Searched refs:WPA_PROTO_RSN (Results 1 – 25 of 31) sorted by relevance

12

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c131 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
142 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn()
219 RSN_SELECTOR_PUT(pos, wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_gen_wpa_ie_rsn()
253 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_osen()
265 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_osen()
300 if (sm->proto == WPA_PROTO_RSN) in wpa_gen_wpa_ie()
Dwpa.c129 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_sm_key_request()
248 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk()
397 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_2_of_4()
402 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) in wpa_supplicant_send_2_of_4()
468 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) { in wpa_supplicant_process_1_of_4()
644 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) { in wpa_supplicant_install_ptk()
1161 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_4_of_4()
1167 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) in wpa_supplicant_send_4_of_4()
1297 if (sm->proto == WPA_PROTO_RSN && wpa_key_mgmt_suite_b(sm->key_mgmt)) { in wpa_supplicant_process_3_of_4()
1470 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_2_of_2()
[all …]
Dpeerkey.c191 if (!sm->peerkey_enabled || sm->proto != WPA_PROTO_RSN) { in wpa_supplicant_process_smk_m2()
267 RSN_SELECTOR_PUT(pos, wpa_cipher_to_suite(WPA_PROTO_RSN, cipher)); in wpa_supplicant_process_smk_m2()
521 if (!sm->peerkey_enabled || sm->proto != WPA_PROTO_RSN) { in wpa_supplicant_process_smk_m45()
603 if (!sm->peerkey_enabled || sm->proto != WPA_PROTO_RSN) { in wpa_supplicant_process_smk_error()
992 if (sm->proto != WPA_PROTO_RSN || !sm->ptk_set || !sm->peerkey_enabled) in wpa_sm_stkstart()
Dwpa_ft.c177 RSN_SELECTOR_PUT(pos, wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_ft_gen_req_ies()
192 RSN_SELECTOR_PUT(pos, wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_ft_gen_req_ies()
Dpreauth.c312 sm->proto != WPA_PROTO_RSN || in rsn_preauth_candidate_process()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c105 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, conf->wpa_group); in wpa_write_rsn_ie()
403 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie()
492 version = WPA_PROTO_RSN; in wpa_validate_wpa_ie()
502 if (version == WPA_PROTO_RSN) { in wpa_validate_wpa_ie()
536 selector = wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_validate_wpa_ie()
542 selector = wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_validate_wpa_ie()
617 if (version == WPA_PROTO_RSN) in wpa_validate_wpa_ie()
624 version == WPA_PROTO_RSN ? "RSN" : "WPA", in wpa_validate_wpa_ie()
Dap_drv_ops.c281 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in hostapd_set_drv_ieee8021x()
282 (WPA_PROTO_WPA | WPA_PROTO_RSN)) in hostapd_set_drv_ieee8021x()
285 else if (hapd->conf->wpa & WPA_PROTO_RSN) in hostapd_set_drv_ieee8021x()
Dbeacon.c1168 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in ieee802_11_build_ap_params()
1169 (WPA_PROTO_WPA | WPA_PROTO_RSN)) in ieee802_11_build_ap_params()
1172 else if (hapd->conf->wpa & WPA_PROTO_RSN) in ieee802_11_build_ap_params()
Dwpa_auth.c2229 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) && in SM_STATE()
3096 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN), in wpa_get_mib()
3179 WPA_PROTO_RSN : WPA_PROTO_WPA, in wpa_get_mib_sta()
Dieee802_1x.c360 WPA_PROTO_RSN : WPA_PROTO_WPA, in add_common_radius_sta_attr_rsn()
383 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, in add_common_radius_sta_attr_rsn()
Dwps_hostapd.c1067 if (conf->wpa & WPA_PROTO_RSN) { in hostapd_init_wps()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c552 data->proto = WPA_PROTO_RSN; in wpa_parse_wpa_ie_rsn()
1176 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt()
1178 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt()
1181 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt()
1183 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt()
1465 return (proto == WPA_PROTO_RSN ? in wpa_cipher_to_suite()
1470 return (proto == WPA_PROTO_RSN ? in wpa_cipher_to_suite()
1473 return (proto == WPA_PROTO_RSN ? in wpa_cipher_to_suite()
Ddefs.h126 #define WPA_PROTO_RSN BIT(1) macro
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig_ssid.h20 #define DEFAULT_PROTO (WPA_PROTO_WPA | WPA_PROTO_RSN)
Dpreauth_test.c247 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN); in wpa_init_conf()
Dtodo.txt8 - if driver/hw is not WPA2 capable, must remove WPA_PROTO_RSN flag from
Dwps_supplicant.c250 if (wpa2 && !(ssid->proto & WPA_PROTO_RSN) && in wpas_wps_security_workaround()
256 ssid->proto |= WPA_PROTO_RSN; in wpas_wps_security_workaround()
258 ssid->proto = WPA_PROTO_RSN; in wpas_wps_security_workaround()
520 ssid->proto = WPA_PROTO_RSN; in wpa_supplicant_wps_cred()
1975 cred->auth_type = (ssid->proto & WPA_PROTO_RSN) ? in wpas_wps_network_to_cred()
Dmesh_rsn.c487 wpa_cipher_to_suite(WPA_PROTO_RSN, WPA_CIPHER_CCMP)); in mesh_rsn_protect_frame()
Dsme.c302 (ssid->proto & WPA_PROTO_RSN); in sme_send_authentication()
996 params.wpa_proto = WPA_PROTO_RSN; in sme_associate()
Dwpa_supplicant.c1079 if (bss_rsn && (ssid->proto & WPA_PROTO_RSN) && in wpa_supplicant_set_suites()
1085 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites()
1143 else if (ssid->proto & WPA_PROTO_RSN) in wpa_supplicant_set_suites()
1144 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites()
1176 !!(ssid->proto & (WPA_PROTO_RSN | WPA_PROTO_OSEN))); in wpa_supplicant_set_suites()
2179 (ssid->proto & WPA_PROTO_RSN); in wpas_start_assoc_cb()
Dibss_rsn.c229 wpa_sm_set_param(peer->supp, WPA_PARAM_PROTO, WPA_PROTO_RSN); in ibss_rsn_supp_init()
Dhs20_supplicant.c103 if (ssid->proto != WPA_PROTO_RSN) in is_hs20_network()
Devents.c520 while ((ssid->proto & WPA_PROTO_RSN) && rsn_ie) { in wpa_supplicant_ssid_bss_match()
644 if ((ssid->proto & (WPA_PROTO_WPA | WPA_PROTO_RSN)) && in wpa_supplicant_ssid_bss_match()
Dconfig.c575 val |= WPA_PROTO_RSN; in wpa_config_parse_proto()
624 if (ssid->proto & WPA_PROTO_RSN) { in wpa_config_write_proto()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wext.c2167 if (params->wpa_proto & WPA_PROTO_RSN) in wpa_driver_wext_associate()
2191 (params->wpa_proto & (WPA_PROTO_RSN | WPA_PROTO_WPA)); in wpa_driver_wext_associate()

12