Home
last modified time | relevance | path

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

/hostap-3.6.0/src/rsn_supp/
Dwpa_ie.c125 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument
134 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn()
138 (unsigned long) rsn_ie_len); in wpa_gen_wpa_ie_rsn()
260 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn()
Dtdls.c2031 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { in wpa_tdls_process_tpk_m1()
2038 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1()
2103 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1()
2104 peer->rsnie_i_len = kde.rsn_ie_len; in wpa_tdls_process_tpk_m1()
2406 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2()
2408 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { in wpa_tdls_process_tpk_m2()
2421 if (kde.rsn_ie_len != peer->rsnie_i_len || in wpa_tdls_process_tpk_m2()
2428 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2()
2433 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2()
2462 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2()
[all …]
Dwpa.c1360 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument
1388 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch()
1469 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie()
1550 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
1560 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie()
1564 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
1575 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
4241 elems.rsn_ie_len); in fils_process_auth()
4243 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_auth()
4836 elems.rsn_ie - 2, elems.rsn_ie_len + 2)) { in fils_process_assoc_resp()
[all …]
/hostap-3.6.0/wlantest/
Dbss.c196 elems->rsn_ie_len + 2) != 0) { in bss_update()
200 elems->rsn_ie_len + 2); in bss_update()
204 elems->rsn_ie_len + 2); in bss_update()
Drx_eapol.c231 elems->rsn_ie_len = ie->rsn_ie_len - 2; in elems_from_eapol_ie()
334 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_2_of_4()
335 if (os_memcmp(ie.rsn_ie, sta->rsnie, ie.rsn_ie_len) != 0) { in rx_data_eapol_key_2_of_4()
341 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_2_of_4()
460 ie.rsn_ie, ie.rsn_ie_len); in learn_kde_keys()
785 ie.rsn_ie, ie.rsn_ie_len, in rx_data_eapol_key_3_of_4()
792 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_3_of_4()
799 (wpa_parse_wpa_ie_rsn(ie.rsn_ie, ie.rsn_ie_len, &rsn) < 0 || in rx_data_eapol_key_3_of_4()
Dsta.c104 elems->rsn_ie_len + 2); in sta_update_assoc()
106 elems->rsn_ie_len + 2); in sta_update_assoc()
Drx_tdls.c149 len = 2 * ETH_ALEN + 1 + 2 + 18 + 2 + elems->rsn_ie_len + in tdls_verify_mic()
169 os_memcpy(pos, elems->rsn_ie - 2, 2 + elems->rsn_ie_len); in tdls_verify_mic()
170 pos += 2 + elems->rsn_ie_len; in tdls_verify_mic()
Drx_mgmt.c209 elems.rsn_ie_len + 2, &data) < 0) { in process_fils_auth()
/hostap-3.6.0/src/ap/
Dieee802_11.h172 const u8 *rsn_ie, size_t rsn_ie_len,
175 const u8 *rsn_ie, size_t rsn_ie_len,
Dieee802_11.c1886 elems.rsn_ie, elems.rsn_ie_len); in handle_auth_fils()
1888 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils()
1907 elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils()
2750 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in pasn_wd_handle_fils()
2966 size_t rsn_ie_len, frame_len, data_len; in handle_auth_pasn_resp() local
3044 rsn_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &rsn_ie_len); in handle_auth_pasn_resp()
3045 if (!rsn_ie || !rsn_ie_len) in handle_auth_pasn_resp()
3139 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_pasn_1()
4328 const u8 *rsn_ie, size_t rsn_ie_len, in owe_validate_request() argument
4334 if (!rsn_ie || rsn_ie_len < 2) { in owe_validate_request()
[all …]
Ddrv_callbacks.c186 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
1809 elems.rsn_ie_len, in hostapd_notif_update_dh_ie()
1834 elems.rsn_ie_len, elems.owe_dh, in hostapd_notif_update_dh_ie()
Dap_config.h40 int rsn_ie_len; member
Dwpa_auth.c860 if (wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0 || in ft_check_msg_2_of_4()
3048 eapol_key_ie_len = kde.rsn_ie_len; in SM_STATE()
/hostap-3.6.0/src/common/
Dwpa_common.c1539 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument
1556 if (rsn_ie_len == 0) { in wpa_parse_wpa_ie_rsn()
1561 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) { in wpa_parse_wpa_ie_rsn()
1563 __func__, (unsigned long) rsn_ie_len); in wpa_parse_wpa_ie_rsn()
1567 if (rsn_ie_len >= 6 && rsn_ie[1] >= 4 && in wpa_parse_wpa_ie_rsn()
1568 rsn_ie[1] == rsn_ie_len - 2 && in wpa_parse_wpa_ie_rsn()
1571 left = rsn_ie_len - 6; in wpa_parse_wpa_ie_rsn()
1583 hdr->len != rsn_ie_len - 2 || in wpa_parse_wpa_ie_rsn()
1591 left = rsn_ie_len - sizeof(*hdr); in wpa_parse_wpa_ie_rsn()
3171 ie->rsn_ie_len = pos[1] + 2; in wpa_parse_kde_ies()
[all …]
Dwpa_common.h451 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
561 size_t rsn_ie_len; member
Dieee802_11_common.h126 u8 rsn_ie_len; member
Dieee802_11_common.c425 elems->rsn_ie_len = elen; in ieee802_11_parse_elems()
/hostap-3.6.0/wpa_supplicant/
Dmesh_mpm.c260 buf_len += conf->rsn_ie_len; /* RSN IE */ in mesh_mpm_send_plink_action()
291 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action()
1269 elems.rsn_ie_len + 2, in mesh_mpm_action_rx()
1276 elems.rsn_ie_len); in mesh_mpm_action_rx()
Dpasn_supplicant.c494 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_wd_fils_rx()
1447 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_auth_rx()
Dmesh_rsn.c274 conf->rsn_ie_len = ie_len; in mesh_rsn_auth_init()
Dmesh.c282 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete()
Devents.c1481 u8 wpa_ie_len, rsn_ie_len; in wpa_scan_res_match() local
1493 rsn_ie_len = ie ? ie[1] : 0; in wpa_scan_res_match()
1503 wpa_ie_len, rsn_ie_len, bss->caps, bss->level, in wpa_scan_res_match()
Dsme.c2097 elems.rsn_ie_len + 2); in sme_associate()