Home
last modified time | relevance | path

Searched refs:rsnie (Results 1 – 11 of 11) sorted by relevance

/hostap-3.7.0/wlantest/
Dbss.c165 bss->rsnie[0] = 0; in bss_update()
187 if (bss->rsnie[0]) { in bss_update()
190 bss->rsnie[0] = 0; in bss_update()
194 if (bss->rsnie[0] == 0 || in bss_update()
195 os_memcmp(bss->rsnie, elems->rsn_ie - 2, in bss_update()
203 os_memcpy(bss->rsnie, elems->rsn_ie - 2, in bss_update()
264 if (bss->rsnie[0]) { in bss_update()
265 if (wpa_parse_wpa_ie_rsn(bss->rsnie, 2 + bss->rsnie[1], &data) in bss_update()
290 if (!bss->wpaie[0] && !bss->rsnie[0] && !bss->osenie[0] && in bss_update()
Dsta.c78 if (elems->rsn_ie && !bss->rsnie[0] && in sta_update_assoc()
105 os_memcpy(sta->rsnie, elems->rsn_ie - 2, in sta_update_assoc()
107 if (wpa_parse_wpa_ie_rsn(sta->rsnie, 2 + sta->rsnie[1], &data) in sta_update_assoc()
115 os_memcpy(sta->rsnie, elems->wpa_ie - 2, in sta_update_assoc()
117 if (wpa_parse_wpa_ie_wpa(sta->rsnie, 2 + sta->rsnie[1], &data) in sta_update_assoc()
132 sta->rsnie[0] = 0; in sta_update_assoc()
Drx_eapol.c318 if (os_memcmp(ie.wpa_ie, sta->rsnie, ie.wpa_ie_len) != 0) { in rx_data_eapol_key_2_of_4()
327 sta->rsnie, in rx_data_eapol_key_2_of_4()
328 sta->rsnie[0] ? 2 + sta->rsnie[1] : 0); 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()
344 sta->rsnie, in rx_data_eapol_key_2_of_4()
345 sta->rsnie[0] ? 2 + sta->rsnie[1] : 0); in rx_data_eapol_key_2_of_4()
786 bss->rsnie, 2 + bss->rsnie[1])) || in rx_data_eapol_key_3_of_4()
787 (ie.rsn_ie == NULL && bss->rsnie[0])) { in rx_data_eapol_key_3_of_4()
794 bss->rsnie, in rx_data_eapol_key_3_of_4()
795 bss->rsnie[0] ? 2 + bss->rsnie[1] : 0); in rx_data_eapol_key_3_of_4()
Dwlantest.h66 u8 rsnie[257]; /* WPA/RSN IE */ member
148 u8 rsnie[257]; member
Drx_mgmt.c1562 bss->rsnie, 2 + bss->rsnie[1], in rx_mgmt_reassoc_resp()
1567 &bss->rsnie[2], bss->rsnie[1]); in rx_mgmt_reassoc_resp()
/hostap-3.7.0/src/rsn_supp/
Dwpa_ft.c195 struct rsn_ie_hdr *rsnie; in wpa_ft_gen_req_ies() local
214 rsnie = (struct rsn_ie_hdr *) pos; in wpa_ft_gen_req_ies()
215 rsnie->elem_id = WLAN_EID_RSN; in wpa_ft_gen_req_ies()
216 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
217 pos = (u8 *) (rsnie + 1); in wpa_ft_gen_req_ies()
306 rsnie->len = (pos - (u8 *) rsnie) - 2; in wpa_ft_gen_req_ies()
432 (u8 *) rsnie, 2 + rsnie->len, ric_ies, in wpa_ft_gen_req_ies()
Dtdls.c476 const u8 *rsnie, const u8 *timeoutie, in wpa_tdls_ftie_mic() argument
483 int len = 2 * ETH_ALEN + 1 + 2 + lnkid[1] + 2 + rsnie[1] + in wpa_tdls_ftie_mic()
505 os_memcpy(pos, rsnie, 2 + rsnie[1]); in wpa_tdls_ftie_mic()
506 pos += 2 + rsnie[1]; in wpa_tdls_ftie_mic()
Dwpa.c4471 struct rsn_ie_hdr *rsnie; in fils_ft_build_assoc_req_rsne() local
4477 rsnie = wpabuf_put(buf, sizeof(*rsnie)); in fils_ft_build_assoc_req_rsne()
4478 rsnie->elem_id = WLAN_EID_RSN; in fils_ft_build_assoc_req_rsne()
4479 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in fils_ft_build_assoc_req_rsne()
4567 rsnie->len = ((u8 *) wpabuf_put(buf, 0) - (u8 *) rsnie) - 2; in fils_ft_build_assoc_req_rsne()
/hostap-3.7.0/src/ap/
Dwpa_auth_ft.c2511 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
2542 rsnie = sm->wpa_auth->conf.rsne_override_ft; in wpa_sm_write_assoc_resp_ies()
2546 os_memcpy(pos, rsnie, rsnie_len); in wpa_sm_write_assoc_resp_ies()
2547 rsnie = pos; in wpa_sm_write_assoc_resp_ies()
2554 if (rsnie[rsnie_len - 1 - idx] != 0xff) in wpa_sm_write_assoc_resp_ies()
2558 os_memcpy(&rsnie[rsnie_len - PMKID_LEN], in wpa_sm_write_assoc_resp_ies()
2585 rsnie = pos; in wpa_sm_write_assoc_resp_ies()
2777 rsnie, rsnie_len, in wpa_sm_write_assoc_resp_ies()
/hostap-3.7.0/src/common/
Dwpa_common.h415 const u8 *rsnie, size_t rsnie_len,
Dwpa_common.c823 const u8 *rsnie, size_t rsnie_len, in wpa_ft_mic() argument
860 if (rsnie) { in wpa_ft_mic()
861 addr[num_elem] = rsnie; in wpa_ft_mic()