Home
last modified time | relevance | path

Searched refs:rsn_ie_len (Results 1 – 19 of 19) 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
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()
Dtdls.c1962 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 …]
Dwpa_ie.h18 size_t rsn_ie_len; member
Dwpa.c1128 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/
Dwpa_auth_ie.h16 size_t rsn_ie_len; member
Dap_config.h39 int rsn_ie_len; member
Dwpa_auth_ie.c1098 ie->rsn_ie_len = pos[1] + 2; in wpa_parse_kde_ies()
Dieee802_11.c1532 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()
Ddrv_callbacks.c146 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
Dwpa_auth.c786 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/
Dwpa_common.c1191 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()
Dieee802_11_common.h103 u8 rsn_ie_len; member
Dwpa_common.h407 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
Dieee802_11_common.c362 elems->rsn_ie_len = elen; in ieee802_11_parse_elems()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_mpm.c249 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()
Dmesh.c221 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete()
Dmesh_rsn.c274 conf->rsn_ie_len = ie_len; in mesh_rsn_auth_init()
Devents.c1016 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()
Dsme.c1765 elems.rsn_ie_len + 2); in sme_associate()