Searched refs:RSN_SELECTOR_LEN (Results 1 – 11 of 11) sorted by relevance
118 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn()119 2 + RSN_SELECTOR_LEN + 2 + RSN_SELECTOR_LEN + 2 + in wpa_gen_wpa_ie_rsn()138 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()151 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()188 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()221 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()241 if (wpa_ie_len < 2 + 4 + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_osen()242 2 + RSN_SELECTOR_LEN + 2 + RSN_SELECTOR_LEN) in wpa_gen_wpa_ie_osen()260 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_osen()274 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_osen()[all …]
35 *pos++ = RSN_SELECTOR_LEN + data_len; in wpa_add_kde()37 pos += RSN_SELECTOR_LEN; in wpa_add_kde()74 kde_len = 2 + RSN_SELECTOR_LEN + sizeof(error); in wpa_supplicant_send_smk_error()76 kde_len += 2 + RSN_SELECTOR_LEN + ETH_ALEN; in wpa_supplicant_send_smk_error()138 2 + RSN_SELECTOR_LEN + ETH_ALEN + in wpa_supplicant_send_smk_m3()139 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 …]
179 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()194 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()213 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()236 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
1077 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()1092 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()1100 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()1437 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()1451 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()1457 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()2041 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()2047 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()2052 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
520 kde_buf = os_malloc(kde_len + 2 + RSN_SELECTOR_LEN + 1); in wpa_supplicant_process_1_of_4()529 *pos++ = RSN_SELECTOR_LEN + 1; in wpa_supplicant_process_1_of_4()531 pos += RSN_SELECTOR_LEN; in wpa_supplicant_process_1_of_4()
112 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 …]
54 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 …]
58 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()64 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()70 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
1979 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL; in SM_STATE()2004 pmkid_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE()2006 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN; in SM_STATE()2009 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE()2020 sm->addr, &pmkid[2 + RSN_SELECTOR_LEN], in SM_STATE()2146 return 2 + RSN_SELECTOR_LEN + WPA_IGTK_KDE_PREFIX_LEN + len; in ieee80211w_kde_len()2281 kde_len += 2 + RSN_SELECTOR_LEN + 2 + gtk_len; in SM_STATE()2290 kde_len += 2 + RSN_SELECTOR_LEN + 3 * 4; in SM_STATE()2603 kde_len = 2 + RSN_SELECTOR_LEN + 2 + gsm->GTK_len + in SM_STATE()
600 if (left >= RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()609 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()610 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()622 if (count == 0 || count > left / RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()629 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()630 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()650 if (count == 0 || count > left / RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()657 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()658 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()700 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()[all …]
33 #define RSN_SELECTOR_LEN 4 macro