Home
last modified time | relevance | path

Searched refs:WPA_PROTO_RSN (Results 1 – 25 of 32) 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.c122 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_sm_key_request()
235 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk()
374 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_2_of_4()
379 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) in wpa_supplicant_send_2_of_4()
447 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) { in wpa_supplicant_process_1_of_4()
617 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) { in wpa_supplicant_install_ptk()
1098 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_4_of_4()
1104 if (sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) in wpa_supplicant_send_4_of_4()
1236 if (sm->proto == WPA_PROTO_RSN && wpa_key_mgmt_suite_b(sm->key_mgmt)) { in wpa_supplicant_process_3_of_4()
1403 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.c179 RSN_SELECTOR_PUT(pos, wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_ft_gen_req_ies()
194 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()
385 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie()
474 version = WPA_PROTO_RSN; in wpa_validate_wpa_ie()
484 if (version == WPA_PROTO_RSN) { in wpa_validate_wpa_ie()
518 selector = wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_validate_wpa_ie()
524 selector = wpa_cipher_to_suite(WPA_PROTO_RSN, in wpa_validate_wpa_ie()
599 if (version == WPA_PROTO_RSN) in wpa_validate_wpa_ie()
606 version == WPA_PROTO_RSN ? "RSN" : "WPA", in wpa_validate_wpa_ie()
Dap_drv_ops.c293 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in hostapd_set_drv_ieee8021x()
294 (WPA_PROTO_WPA | WPA_PROTO_RSN)) in hostapd_set_drv_ieee8021x()
297 else if (hapd->conf->wpa & WPA_PROTO_RSN) in hostapd_set_drv_ieee8021x()
Dbeacon.c959 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in ieee802_11_build_ap_params()
960 (WPA_PROTO_WPA | WPA_PROTO_RSN)) in ieee802_11_build_ap_params()
963 else if (hapd->conf->wpa & WPA_PROTO_RSN) in ieee802_11_build_ap_params()
Dwpa_auth.c2187 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) && in SM_STATE()
3041 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN), in wpa_get_mib()
3124 WPA_PROTO_RSN : WPA_PROTO_WPA, in wpa_get_mib_sta()
Dieee802_1x.c351 WPA_PROTO_RSN : WPA_PROTO_WPA, in add_common_radius_sta_attr_rsn()
374 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, in add_common_radius_sta_attr_rsn()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c528 data->proto = WPA_PROTO_RSN; in wpa_parse_wpa_ie_rsn()
1149 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt()
1151 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt()
1154 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA)) in wpa_key_mgmt_txt()
1156 return proto == WPA_PROTO_RSN ? in wpa_key_mgmt_txt()
1415 return (proto == WPA_PROTO_RSN ? in wpa_cipher_to_suite()
1420 return (proto == WPA_PROTO_RSN ? in wpa_cipher_to_suite()
1423 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()
1929 cred->auth_type = (ssid->proto & WPA_PROTO_RSN) ? in wpas_wps_network_to_cred()
Dmesh_rsn.c467 wpa_cipher_to_suite(WPA_PROTO_RSN, WPA_CIPHER_CCMP)); in mesh_rsn_protect_frame()
Dwpa_supplicant.c1045 if (bss_rsn && (ssid->proto & WPA_PROTO_RSN) && in wpa_supplicant_set_suites()
1051 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites()
1109 else if (ssid->proto & WPA_PROTO_RSN) in wpa_supplicant_set_suites()
1110 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites()
1142 !!(ssid->proto & (WPA_PROTO_RSN | WPA_PROTO_OSEN))); in wpa_supplicant_set_suites()
2049 (ssid->proto & WPA_PROTO_RSN); in wpas_start_assoc_cb()
Dsme.c299 (ssid->proto & WPA_PROTO_RSN); in sme_send_authentication()
932 params.wpa_proto = WPA_PROTO_RSN; in sme_associate()
Dhs20_supplicant.c102 if (ssid->proto != WPA_PROTO_RSN) in is_hs20_network()
Dibss_rsn.c229 wpa_sm_set_param(peer->supp, WPA_PARAM_PROTO, WPA_PROTO_RSN); in ibss_rsn_supp_init()
Devents.c519 while ((ssid->proto & WPA_PROTO_RSN) && rsn_ie) { in wpa_supplicant_ssid_bss_match()
626 if ((ssid->proto & (WPA_PROTO_WPA | WPA_PROTO_RSN)) && in wpa_supplicant_ssid_bss_match()
Dconfig.c550 val |= WPA_PROTO_RSN; in wpa_config_parse_proto()
597 if (ssid->proto & WPA_PROTO_RSN) { in wpa_config_write_proto()
/external/wpa_supplicant_8/wpa_supplicant/tests/
Dtest_wpa.c190 wpa_sm_set_param(wpa->supp, WPA_PARAM_PROTO, WPA_PROTO_RSN); in supp_init()
/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