Home
last modified time | relevance | path

Searched refs:RSN_SELECTOR_LEN (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c116 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn()
117 2 + RSN_SELECTOR_LEN + 2 + RSN_SELECTOR_LEN + 2 + in wpa_gen_wpa_ie_rsn()
136 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
149 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
182 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
214 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
276 if (pos + 1 + RSN_SELECTOR_LEN < end && in wpa_parse_generic()
277 pos[1] >= RSN_SELECTOR_LEN + PMKID_LEN && in wpa_parse_generic()
279 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
285 if (pos[1] > RSN_SELECTOR_LEN + 2 && in wpa_parse_generic()
[all …]
Dpeerkey.c35 *pos++ = RSN_SELECTOR_LEN + data_len; in wpa_add_kde()
37 pos += RSN_SELECTOR_LEN; in wpa_add_kde()
73 kde_len = 2 + RSN_SELECTOR_LEN + sizeof(error); in wpa_supplicant_send_smk_error()
75 kde_len += 2 + RSN_SELECTOR_LEN + ETH_ALEN; in wpa_supplicant_send_smk_error()
135 2 + RSN_SELECTOR_LEN + ETH_ALEN + in wpa_supplicant_send_smk_m3()
136 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN; in wpa_supplicant_send_smk_m3()
263 pos += RSN_SELECTOR_LEN; in wpa_supplicant_process_smk_m2()
268 pos += RSN_SELECTOR_LEN; in wpa_supplicant_process_smk_m2()
331 kde_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in wpa_supplicant_send_stk_1_of_4()
390 2 + RSN_SELECTOR_LEN + sizeof(lifetime); in wpa_supplicant_send_stk_3_of_4()
[all …]
Dwpa_ft.c184 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
199 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
216 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
239 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
Dtdls.c948 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
963 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
971 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
1701 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
1707 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
1712 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c112 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
121 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
128 pos += res * RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
133 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
152 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
159 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
164 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
170 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
175 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
182 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
[all …]
Dpeerkey_auth.c54 u8 kde[2 + RSN_SELECTOR_LEN + ETH_ALEN + in wpa_smk_send_error()
55 2 + RSN_SELECTOR_LEN + sizeof(struct rsn_error_kde)]; in wpa_smk_send_error()
117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN; in wpa_smk_m1()
161 buf_len = 2 + RSN_SELECTOR_LEN + ETH_ALEN + in wpa_send_smk_m4()
162 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN + in wpa_send_smk_m4()
163 2 + RSN_SELECTOR_LEN + PMK_LEN + WPA_NONCE_LEN + in wpa_send_smk_m4()
164 2 + RSN_SELECTOR_LEN + sizeof(lifetime); in wpa_send_smk_m4()
215 2 + RSN_SELECTOR_LEN + ETH_ALEN + in wpa_send_smk_m5()
216 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN + in wpa_send_smk_m5()
217 2 + RSN_SELECTOR_LEN + PMK_LEN + WPA_NONCE_LEN + in wpa_send_smk_m5()
[all …]
Dwpa_auth.c1685 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE()
1708 pmkid_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE()
1710 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE()
1713 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE()
1721 sm->addr, &pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE()
1838 return 2 + RSN_SELECTOR_LEN + sizeof(struct wpa_igtk_kde); in ieee80211w_kde_len()
1966 kde_len += 2 + RSN_SELECTOR_LEN + 2 + gtk_len; in SM_STATE()
2259 kde_len = 2 + RSN_SELECTOR_LEN + 2 + gsm->GTK_len + in SM_STATE()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c444 if (left >= RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
453 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
454 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
466 if (count == 0 || left < count * RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
473 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
474 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
494 if (count == 0 || left < count * RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
501 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
502 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
543 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
[all …]
Dwpa_common.h31 #define RSN_SELECTOR_LEN 4 macro