/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ie.c | 108 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() 255 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn() 257 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 259 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn() 513 ie->rsn_ie = pos; in wpa_supplicant_parse_ies() 516 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
|
D | tdls.c | 1946 if (kde.rsn_ie) { in wpa_tdls_process_tpk_m1() 1956 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m1() 1969 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1() 2034 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1() 2060 hdr = (struct rsn_ie_hdr *) kde.rsn_ie; in wpa_tdls_process_tpk_m1() 2329 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m2() 2335 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2351 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) { in wpa_tdls_process_tpk_m2() 2357 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2362 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa_ie.h | 17 const u8 *rsn_ie; member
|
D | wpa.c | 1128 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1150 if (rsn_ie) { in wpa_report_ie_mismatch() 1156 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1230 if (!ie->rsn_ie) in ft_validate_rsnie() 1237 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1314 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie() 1319 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1326 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie() 1329 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 1333 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.h | 15 const u8 *rsn_ie; member
|
D | ap_config.h | 38 u8 *rsn_ie; member
|
D | ieee802_11.c | 1532 elems.rsn_ie, elems.rsn_ie_len); in handle_auth_fils() 1533 if (!elems.rsn_ie || in handle_auth_fils() 1534 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 1553 elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 2884 if ((hapd->conf->wpa & WPA_PROTO_RSN) && elems.rsn_ie) { in check_assoc_ies() 2885 wpa_ie = elems.rsn_ie; in check_assoc_ies()
|
D | drv_callbacks.c | 144 } else if (elems.rsn_ie) { in hostapd_notif_assoc() 145 ie = elems.rsn_ie - 2; in hostapd_notif_assoc()
|
D | wpa_auth_ie.c | 1097 ie->rsn_ie = pos; in wpa_parse_kde_ies()
|
D | wpa_auth.c | 786 if (wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0 || in ft_check_msg_2_of_4() 2854 if (kde.rsn_ie) { in SM_STATE() 2855 eapol_key_ie = kde.rsn_ie; in SM_STATE()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 52 if (ifmsh->mconf->rsn_ie) { in wpa_supplicant_mesh_iface_deinit() 53 ifmsh->mconf->rsn_ie = NULL; in wpa_supplicant_mesh_iface_deinit() 220 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
|
D | mesh_mpm.c | 280 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1224 if (action_field == PLINK_OPEN && elems.rsn_ie) { in mesh_mpm_action_rx() 1228 res = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, in mesh_mpm_action_rx() 1235 wpa_hexdump(MSG_DEBUG, "RSN IE", elems.rsn_ie, in mesh_mpm_action_rx()
|
D | events.c | 539 const u8 *rsn_ie, *wpa_ie; in wpa_supplicant_ssid_bss_match() local 553 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 554 while ((ssid->proto & (WPA_PROTO_RSN | WPA_PROTO_OSEN)) && rsn_ie) { in wpa_supplicant_ssid_bss_match() 557 if (wpa_parse_wpa_ie(rsn_ie, 2 + rsn_ie[1], &ie)) { in wpa_supplicant_ssid_bss_match() 715 !rsn_ie) { in wpa_supplicant_ssid_bss_match() 724 !wpa_ie && !rsn_ie) { in wpa_supplicant_ssid_bss_match()
|
D | mesh_rsn.c | 273 conf->rsn_ie = (u8 *) ie; in mesh_rsn_auth_init()
|
D | sme.c | 1762 if (elems.rsn_ie) { in sme_associate() 1764 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, elems.rsn_ie - 2, in sme_associate()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 1191 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument 1223 if (rsn_ie_len >= 6 && rsn_ie[1] >= 4 && in wpa_parse_wpa_ie_rsn() 1224 rsn_ie[1] == rsn_ie_len - 2 && in wpa_parse_wpa_ie_rsn() 1225 WPA_GET_BE32(&rsn_ie[2]) == OSEN_IE_VENDOR_TYPE) { in wpa_parse_wpa_ie_rsn() 1226 pos = rsn_ie + 6; in wpa_parse_wpa_ie_rsn() 1236 hdr = (const struct rsn_ie_hdr *) rsn_ie; in wpa_parse_wpa_ie_rsn()
|
D | ieee802_11_common.h | 42 const u8 *rsn_ie; member
|
D | wpa_common.h | 407 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
|
D | ieee802_11_common.c | 361 elems->rsn_ie = pos; in ieee802_11_parse_elems()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 1199 ie.rsn_ie, IEEE80211_MAX_OPT_IE); in atheros_new_sta() 1209 if (iebuf[1] == 0 && ie.rsn_ie[1] > 0) { in atheros_new_sta() 1212 iebuf = ie.rsn_ie; in atheros_new_sta()
|