/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 118 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn() 122 (unsigned long) rsn_ie_len); in wpa_gen_wpa_ie_rsn() 257 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 514 ie->rsn_ie_len = pos[1] + 2; in wpa_supplicant_parse_ies() 516 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
|
D | tdls.c | 1962 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { 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() 2035 peer->rsnie_i_len = kde.rsn_ie_len; in wpa_tdls_process_tpk_m1() 2335 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2337 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { in wpa_tdls_process_tpk_m2() 2350 if (kde.rsn_ie_len != peer->rsnie_i_len || 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() 2391 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa_ie.h | 18 size_t rsn_ie_len; member
|
D | wpa.c | 1128 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1156 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1237 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1319 ie->rsn_ie, ie->rsn_ie_len); 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() 1344 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 3719 elems.rsn_ie_len); in fils_process_auth() 3721 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_auth() 4342 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_assoc_resp() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.h | 16 size_t rsn_ie_len; member
|
D | ap_config.h | 39 int rsn_ie_len; member
|
D | wpa_auth_ie.c | 1098 ie->rsn_ie_len = pos[1] + 2; in wpa_parse_kde_ies()
|
D | ieee802_11.c | 1532 elems.rsn_ie, elems.rsn_ie_len); 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() 2886 wpa_ie_len = elems.rsn_ie_len; in check_assoc_ies()
|
D | drv_callbacks.c | 146 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
|
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() 2856 eapol_key_ie_len = kde.rsn_ie_len; in SM_STATE()
|
/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 1212 if (rsn_ie_len == 0) { in wpa_parse_wpa_ie_rsn() 1217 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) { in wpa_parse_wpa_ie_rsn() 1219 __func__, (unsigned long) rsn_ie_len); in wpa_parse_wpa_ie_rsn() 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() 1227 left = rsn_ie_len - 6; in wpa_parse_wpa_ie_rsn() 1239 hdr->len != rsn_ie_len - 2 || in wpa_parse_wpa_ie_rsn() 1247 left = rsn_ie_len - sizeof(*hdr); in wpa_parse_wpa_ie_rsn()
|
D | ieee802_11_common.h | 103 u8 rsn_ie_len; 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 | 362 elems->rsn_ie_len = elen; in ieee802_11_parse_elems()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_mpm.c | 249 buf_len += conf->rsn_ie_len; /* RSN IE */ in mesh_mpm_send_plink_action() 280 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1229 elems.rsn_ie_len + 2, in mesh_mpm_action_rx() 1236 elems.rsn_ie_len); in mesh_mpm_action_rx()
|
D | mesh.c | 221 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete()
|
D | mesh_rsn.c | 274 conf->rsn_ie_len = ie_len; in mesh_rsn_auth_init()
|
D | events.c | 1016 u8 wpa_ie_len, rsn_ie_len; in wpa_scan_res_match() local 1033 rsn_ie_len = ie ? ie[1] : 0; in wpa_scan_res_match() 1046 wpa_ie_len, rsn_ie_len, bss->caps, bss->level, in wpa_scan_res_match() 1102 wpa = wpa_ie_len > 0 || rsn_ie_len > 0; in wpa_scan_res_match()
|
D | sme.c | 1765 elems.rsn_ie_len + 2); in sme_associate()
|