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/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()
94 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()
279 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
304 WPA_PUT_LE16(pos, capab); in wpa_write_rsn_ie()
311 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
324 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
362 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.c659 WPA_PUT_LE16(pos, tm.year); /* Year */ in hostapd_update_time_adv()
666 WPA_PUT_LE16(pos, 0); /* Milliseconds (not used) */ in hostapd_update_time_adv()
702 WPA_PUT_LE16(pos, val); in hostapd_eid_bss_max_idle_period()
911 WPA_PUT_LE16(pos, fils_info); in hostapd_eid_fils_indic()
Dwpa_auth_ft.c401 WPA_PUT_LE16(pos, vlan->untagged); in wpa_ft_vlan_lin()
421 WPA_PUT_LE16(pos, vlan->tagged[i]); in wpa_ft_vlan_lin()
554 WPA_PUT_LE16(pos, FT_RRB_LAST_EMPTY); in wpa_ft_rrb_build()
556 WPA_PUT_LE16(pos, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build()
567 WPA_PUT_LE16(pos, auth_len); in wpa_ft_rrb_build()
828 WPA_PUT_LE16(hdr->mic_control, 0); in wpa_write_ftie()
838 WPA_PUT_LE16(hdr->mic_control, 0); in wpa_write_ftie()
2210 WPA_PUT_LE16(&subelem[2], gsm->GN & 0x03); in wpa_ft_gtk_subelem()
2256 WPA_PUT_LE16(pos, gsm->GN_igtk); in wpa_ft_igtk_subelem()
3477 WPA_PUT_LE16(pos, status); in wpa_ft_send_rrb_auth_resp()
[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.c77 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
80 WPA_PUT_LE16(eid, 0); /* no available admission capabity */ in hostapd_eid_bss_load()
Dwnm_ap.c163 WPA_PUT_LE16((u8 *) in ieee802_11_send_wnmsleep_resp()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c56 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_gen_wpa_ie_wpa()
128 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_gen_wpa_ie_rsn()
228 WPA_PUT_LE16(pos, capab); in wpa_gen_wpa_ie_rsn()
244 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
293 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
307 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
Dtdls.c559 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1089 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1111 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1113 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1127 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1452 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1471 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1472 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1479 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2070 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
Dwpa_ft.c180 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
195 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
210 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
249 WPA_PUT_LE16(pos, capab); in wpa_ft_gen_req_ies()
253 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
/external/wpa_supplicant_8/src/crypto/
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()
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()
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()
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()
/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.c483 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
485 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
488 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
490 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
600 WPA_PUT_LE16(pos, rsn->igtk_key_id); in mesh_rsn_protect_frame()
Drrm.c795 WPA_PUT_LE16(pos, bss->beacon_int); in wpas_beacon_rep_add_frame_body()
797 WPA_PUT_LE16(pos, bss->caps); in wpas_beacon_rep_add_frame_body()
/external/wpa_supplicant_8/src/common/
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()
Ddpp.c1616 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
1618 WPA_PUT_LE16(pos, nonce_len - 1); in dpp_auth_build_req()
1627 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
1629 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_req()
1643 WPA_PUT_LE16(pos, DPP_ATTR_I_CAPABILITIES); in dpp_auth_build_req()
1645 WPA_PUT_LE16(pos, 1); in dpp_auth_build_req()
1776 WPA_PUT_LE16(pos, DPP_ATTR_R_NONCE); in dpp_auth_build_resp()
1778 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
1786 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_resp()
1788 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
[all …]
/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.c492 WPA_PUT_LE16(&rtap_hdr[12], txflags); in nl80211_send_monitor()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1867 WPA_PUT_LE16(conn_cap + 1, atoi(pos)); in hs20_parse_conn_capab()
1929 WPA_PUT_LE16(wan_metrics + 11, atoi(pos)); in hs20_parse_wan_metrics()
3842 WPA_PUT_LE16(bss->network_auth_type + 1, redirect_url_len); in hostapd_config_fill()
4062 WPA_PUT_LE16(bss->bss_load_test, atoi(pos)); in hostapd_config_fill()
4078 WPA_PUT_LE16(&bss->bss_load_test[3], atoi(pos)); in hostapd_config_fill()

12