Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/ap/
Dhs20.c35 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
61 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
67 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
85 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()
227 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
250 WPA_PUT_LE16(pos, capab); in wpa_write_rsn_ie()
257 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
269 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
307 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
[all …]
Dieee802_11_shared.c458 WPA_PUT_LE16(pos, tm.year); /* Year */ in hostapd_update_time_adv()
465 WPA_PUT_LE16(pos, 0); /* Milliseconds (not used) */ in hostapd_update_time_adv()
501 WPA_PUT_LE16(pos, val); in hostapd_eid_bss_max_idle_period()
Dp2p_hostapd.c103 WPA_PUT_LE16(eid, 1); in hostapd_eid_p2p_manage()
Dgas_serv.c538 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
575 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
592 WPA_PUT_LE16(len2, (u8 *) wpabuf_put(buf, 0) - len2 - 2); in anqp_add_osu_provider()
594 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in anqp_add_osu_provider()
Dwpa_auth_ft.c115 WPA_PUT_LE16(hdr->mic_control, 0); in wpa_write_ftie()
456 WPA_PUT_LE16(&subelem[2], gsm->GN & 0x03); in wpa_ft_gtk_subelem()
487 WPA_PUT_LE16(pos, gsm->GN_igtk); in wpa_ft_igtk_subelem()
1296 WPA_PUT_LE16(pos, status); in wpa_ft_send_rrb_auth_resp()
Dbeacon.c71 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
74 WPA_PUT_LE16(eid, 0); /* no available admission capabity */ in hostapd_eid_bss_load()
Dctrl_iface_ap.c275 WPA_PUT_LE16(pos, 1); in p2p_manager_disconnect()
Dwnm_ap.c130 WPA_PUT_LE16((u8 *) in ieee802_11_send_wnmsleep_resp()
Dwpa_auth.c2752 WPA_PUT_LE16(pos, gsm->GN & 0x03); in wpa_wnmsleep_gtk_subelem()
2783 WPA_PUT_LE16(pos, gsm->GN_igtk); in wpa_wnmsleep_igtk_subelem()
/external/wpa_supplicant_8/src/crypto/
Dsha256-prf.c72 WPA_PUT_LE16(length_le, buf_len_bits); in sha256_prf_bits()
76 WPA_PUT_LE16(counter_le, counter); in sha256_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/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()
198 WPA_PUT_LE16(pos, capab); in wpa_gen_wpa_ie_rsn()
214 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
263 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
277 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
Dwpa_ft.c167 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
184 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
199 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
223 WPA_PUT_LE16(pos, capab); in wpa_ft_gen_req_ies()
227 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
Dtdls.c542 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1066 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1088 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1090 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1104 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1427 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1446 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1447 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1454 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2030 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
Dpeerkey.c258 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_supplicant_process_smk_m2()
265 WPA_PUT_LE16(pos, 1); in wpa_supplicant_process_smk_m2()
1029 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_sm_stkstart()
1040 WPA_PUT_LE16(count_pos, count); in wpa_sm_stkstart()
/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()
661 WPA_PUT_LE16(len_pos, in wpas_sd_req_asp()
1062 WPA_PUT_LE16(len, (u8 *) wpabuf_put(tlvs, 0) - len - 2); in wfd_add_sd_req_role()
/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()
Dwpa_common.c1308 WPA_PUT_LE16(rpos, 1); in wpa_insert_pmkid()
1320 WPA_PUT_LE16(rpos, 1); in wpa_insert_pmkid()
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c131 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_channel_list()
201 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_device_info()
550 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
588 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()
Dp2p_group.c428 WPA_PUT_LE16(group_info + 1, in p2p_buf_add_group_info()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h111 WPA_PUT_LE16(pos, data); in wpabuf_put_le16()
Dcommon.h245 static inline void WPA_PUT_LE16(u8 *a, u16 val) in WPA_PUT_LE16() function
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c483 WPA_PUT_LE16(&rtap_hdr[12], txflags); in nl80211_send_monitor()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1576 WPA_PUT_LE16(conn_cap + 1, atoi(pos)); in hs20_parse_conn_capab()
1638 WPA_PUT_LE16(wan_metrics + 11, atoi(pos)); in hs20_parse_wan_metrics()
3069 WPA_PUT_LE16(bss->network_auth_type + 1, redirect_url_len); in hostapd_config_fill()
3239 WPA_PUT_LE16(bss->bss_load_test, atoi(pos)); in hostapd_config_fill()
3255 WPA_PUT_LE16(&bss->bss_load_test[3], atoi(pos)); in hostapd_config_fill()

12