Home
last modified time | relevance | path

Searched refs:WPA_PUT_LE16 (Results 1 – 25 of 32) sorted by relevance

12

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c56 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_gen_wpa_ie_wpa()
144 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_gen_wpa_ie_rsn()
233 WPA_PUT_LE16(pos, rsn_supp_capab(sm)); in wpa_gen_wpa_ie_rsn()
248 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
296 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
310 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
Dtdls.c560 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1090 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1112 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1114 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1128 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1453 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1472 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1473 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1480 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2071 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
Dwpa_ft.c201 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
216 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
231 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
260 WPA_PUT_LE16(pos, rsn_supp_capab(sm)); in wpa_ft_gen_req_ies()
264 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
/external/wpa_supplicant_8/src/ap/
Dhs20.c39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
66 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
72 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
92 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
Dwpa_auth_ie.c37 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_write_wpa_ie()
59 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
81 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
102 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_write_rsn_ie()
143 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
277 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
302 WPA_PUT_LE16(pos, capab); in wpa_write_rsn_ie()
309 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
321 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
358 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
[all …]
Dp2p_hostapd.c103 WPA_PUT_LE16(eid, 1); in hostapd_eid_p2p_manage()
Dieee802_11_shared.c679 WPA_PUT_LE16(pos, tm.year); /* Year */ in hostapd_update_time_adv()
686 WPA_PUT_LE16(pos, 0); /* Milliseconds (not used) */ in hostapd_update_time_adv()
722 WPA_PUT_LE16(pos, val); in hostapd_eid_bss_max_idle_period()
960 WPA_PUT_LE16(pos, fils_info); in hostapd_eid_fils_indic()
Dwpa_auth_ft.c402 WPA_PUT_LE16(pos, vlan->untagged); in wpa_ft_vlan_lin()
422 WPA_PUT_LE16(pos, vlan->tagged[i]); in wpa_ft_vlan_lin()
555 WPA_PUT_LE16(pos, FT_RRB_LAST_EMPTY); in wpa_ft_rrb_build()
557 WPA_PUT_LE16(pos, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build()
568 WPA_PUT_LE16(pos, auth_len); in wpa_ft_rrb_build()
829 WPA_PUT_LE16(hdr->mic_control, !!rsnxe_used); in wpa_write_ftie()
839 WPA_PUT_LE16(hdr->mic_control, !!rsnxe_used); in wpa_write_ftie()
2220 WPA_PUT_LE16(&subelem[2], gsm->GN & 0x03); in wpa_ft_gtk_subelem()
2266 WPA_PUT_LE16(pos, gsm->GN_igtk); in wpa_ft_igtk_subelem()
2314 WPA_PUT_LE16(pos, gsm->GN_bigtk); in wpa_ft_bigtk_subelem()
[all …]
Dgas_serv.c750 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
769 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
786 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
788 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in anqp_add_osu_provider()
Dbeacon.c56 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
59 WPA_PUT_LE16(eid, 0); /* no available admission capabity */ in hostapd_eid_bss_load()
Dwnm_ap.c173 WPA_PUT_LE16((u8 *) in ieee802_11_send_wnmsleep_resp()
/external/wpa_supplicant_8/src/common/
Ddpp_auth.c150 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
152 WPA_PUT_LE16(pos, nonce_len - 1); in dpp_auth_build_req()
161 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
163 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_req()
177 WPA_PUT_LE16(pos, DPP_ATTR_I_CAPABILITIES); in dpp_auth_build_req()
179 WPA_PUT_LE16(pos, 1); in dpp_auth_build_req()
312 WPA_PUT_LE16(pos, DPP_ATTR_R_NONCE); in dpp_auth_build_resp()
314 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
322 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_resp()
324 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
[all …]
Dgas.c245 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in gas_anqp_set_len()
272 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(buf, 0) - len_pos - 2); in gas_anqp_set_element_len()
/external/wpa_supplicant_8/src/crypto/
Dsha256-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha256_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha256_prf_bits()
Dsha512-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha512_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha512_prf_bits()
Dsha384-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha384_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha384_prf_bits()
Dms_funcs.c38 WPA_PUT_LE16(ucs2_buffer + j, c); in utf8_to_ucs2()
48 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
58 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
455 WPA_PUT_LE16(pos, password_len * 2); in encrypt_pw_block_with_password_hash()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty()
255 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_bonjour()
336 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_bonjour()
353 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_req_bonjour()
389 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_upnp()
472 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_upnp()
527 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_wfd()
670 WPA_PUT_LE16(len_pos, in wpas_sd_req_asp()
1071 WPA_PUT_LE16(len, (u8 *) wpabuf_put(tlvs, 0) - len - 2); in wfd_add_sd_req_role()
Dmesh_rsn.c481 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
483 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
486 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
488 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
595 WPA_PUT_LE16(pos, rsn->igtk_key_id); in mesh_rsn_protect_frame()
Drrm.c805 WPA_PUT_LE16(pos, bss->beacon_int); in wpas_beacon_rep_add_frame_body()
807 WPA_PUT_LE16(pos, bss->caps); in wpas_beacon_rep_add_frame_body()
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c170 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_channel_list()
240 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_device_info()
589 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
627 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h112 WPA_PUT_LE16(pos, data); in wpabuf_put_le16()
Dcommon.h229 static inline void WPA_PUT_LE16(u8 *a, u16 val) in WPA_PUT_LE16() function
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c495 WPA_PUT_LE16(&rtap_hdr[12], txflags); in nl80211_send_monitor()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1780 WPA_PUT_LE16(conn_cap + 1, atoi(pos)); in hs20_parse_conn_capab()
1842 WPA_PUT_LE16(wan_metrics + 11, atoi(pos)); in hs20_parse_wan_metrics()
3925 WPA_PUT_LE16(bss->network_auth_type + 1, redirect_url_len);
4145 WPA_PUT_LE16(bss->bss_load_test, atoi(pos));
4161 WPA_PUT_LE16(&bss->bss_load_test[3], atoi(pos));

12