Home
last modified time | relevance | path

Searched refs:rsn_ie (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c108 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument
126 hdr = (struct rsn_ie_hdr *) rsn_ie; in wpa_gen_wpa_ie_rsn()
225 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn()
227 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn()
229 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn()
510 ie->rsn_ie = pos; in wpa_supplicant_parse_ies()
513 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
Dpeerkey.c203 if (kde.rsn_ie == NULL || kde.mac_addr == NULL || in wpa_supplicant_process_smk_m2()
219 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m2()
244 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_smk_m2()
470 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN || in wpa_supplicant_process_smk_m5()
471 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m5()
490 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len); in wpa_supplicant_process_smk_m5()
776 kde.pmkid == NULL || kde.rsn_ie == NULL) { in wpa_supplicant_process_stk_2_of_4()
788 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_2_of_4()
794 kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_stk_2_of_4()
831 os_memcmp(kde.rsn_ie, peerkey->rsnie_i, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_3_of_4()
[all …]
Dtdls.c1915 if (kde.rsn_ie) { in wpa_tdls_process_tpk_m1()
1925 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m1()
1938 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1()
2003 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1()
2027 hdr = (struct rsn_ie_hdr *) kde.rsn_ie; in wpa_tdls_process_tpk_m1()
2289 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m2()
2295 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2()
2311 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) { in wpa_tdls_process_tpk_m2()
2317 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2()
2322 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2()
[all …]
Dwpa_ie.h17 const u8 *rsn_ie; member
Dwpa.c903 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument
925 if (rsn_ie) { in wpa_report_ie_mismatch()
931 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch()
1005 if (!ie->rsn_ie) in ft_validate_rsnie()
1012 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie()
1089 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie()
1094 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
1101 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie()
1104 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie()
1108 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
[all …]
/external/wpa_supplicant_8/src/ap/
Dpeerkey_auth.c95 if (kde.rsn_ie == NULL || kde.mac_addr == NULL || in wpa_smk_m1()
122 os_memcpy(buf, kde.rsn_ie, kde.rsn_ie_len); in wpa_smk_m1()
224 os_memcpy(pos, kde->rsn_ie, kde->rsn_ie_len); in wpa_send_smk_m5()
268 if (kde.rsn_ie == NULL || in wpa_smk_m3()
Dwpa_auth_ie.h15 const u8 *rsn_ie; member
Dap_config.h38 u8 *rsn_ie; member
Ddrv_callbacks.c78 } else if (elems.rsn_ie) { in hostapd_notif_assoc()
79 ie = elems.rsn_ie - 2; in hostapd_notif_assoc()
Dwpa_auth_ie.c909 ie->rsn_ie = pos; in wpa_parse_kde_ies()
Dwpa_auth.c750 if (wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0 || in ft_check_msg_2_of_4()
1131 if (kde.rsn_ie) { in wpa_receive()
1132 eapol_key_ie = kde.rsn_ie; in wpa_receive()
Dieee802_11.c1526 if ((hapd->conf->wpa & WPA_PROTO_RSN) && elems.rsn_ie) { in check_assoc_ies()
1527 wpa_ie = elems.rsn_ie; in check_assoc_ies()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers.c416 const u8 *wpa_ie, *rsn_ie, *wps_ie; in wpas_dbus_bssid_properties() local
422 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_dbus_bssid_properties()
437 (rsn_ie && in wpas_dbus_bssid_properties()
439 (const char *) rsn_ie, in wpas_dbus_bssid_properties()
440 rsn_ie[1] + 2)) || in wpas_dbus_bssid_properties()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c50 if (ifmsh->mconf->rsn_ie) { in wpa_supplicant_mesh_iface_deinit()
51 ifmsh->mconf->rsn_ie = NULL; in wpa_supplicant_mesh_iface_deinit()
411 params.ies = wpa_s->ifmsh->mconf->rsn_ie; in wpa_supplicant_join_mesh()
Devents.c505 const u8 *rsn_ie, *wpa_ie; in wpa_supplicant_ssid_bss_match() local
519 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match()
520 while ((ssid->proto & WPA_PROTO_RSN) && rsn_ie) { in wpa_supplicant_ssid_bss_match()
523 if (wpa_parse_wpa_ie(rsn_ie, 2 + rsn_ie[1], &ie)) { in wpa_supplicant_ssid_bss_match()
639 !rsn_ie) { in wpa_supplicant_ssid_bss_match()
Dmesh_rsn.c217 conf->rsn_ie = (u8 *) ie; in mesh_rsn_auth_init()
Dsme.c995 if (elems.rsn_ie) { in sme_associate()
997 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, elems.rsn_ie - 2, in sme_associate()
Dmesh_mpm.c274 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c544 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument
576 if (rsn_ie_len >= 6 && rsn_ie[1] >= 4 && in wpa_parse_wpa_ie_rsn()
577 rsn_ie[1] == rsn_ie_len - 2 && in wpa_parse_wpa_ie_rsn()
578 WPA_GET_BE32(&rsn_ie[2]) == OSEN_IE_VENDOR_TYPE) { in wpa_parse_wpa_ie_rsn()
579 pos = rsn_ie + 6; in wpa_parse_wpa_ie_rsn()
586 hdr = (const struct rsn_ie_hdr *) rsn_ie; in wpa_parse_wpa_ie_rsn()
Dieee802_11_common.h33 const u8 *rsn_ie; member
Dwpa_common.h378 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
Dieee802_11_common.c261 elems->rsn_ie = pos; in ieee802_11_parse_elems()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1136 ie.rsn_ie, IEEE80211_MAX_OPT_IE); in atheros_new_sta()
1146 if (iebuf[1] == 0 && ie.rsn_ie[1] > 0) { in atheros_new_sta()
1149 iebuf = ie.rsn_ie; in atheros_new_sta()