Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c56 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_gen_wpa_ie_wpa()
148 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_gen_wpa_ie_rsn()
245 WPA_PUT_LE16(pos, rsn_supp_capab(sm)); in wpa_gen_wpa_ie_rsn()
260 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
308 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
322 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
H A Dtdls.c583 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1127 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1149 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1151 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1165 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1495 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1514 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1515 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1522 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2240 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
H A Dwpa_ft.c238 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
253 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
268 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
299 WPA_PUT_LE16(pos, rsn_supp_capab(sm)); in wpa_ft_gen_req_ies()
303 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
/freebsd/contrib/wpa/src/ap/
H A 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()
H A Dwpa_auth_ie.c38 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_write_wpa_ie()
60 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
82 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
132 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_write_rsn_ie()
173 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
331 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
334 WPA_PUT_LE16(pos, wpa_own_rsn_capab(conf)); in wpa_write_rsn_ie()
341 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
353 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
390 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
[all …]
H A Dp2p_hostapd.c103 WPA_PUT_LE16(eid, 1); in hostapd_eid_p2p_manage()
H A Dieee802_11_shared.c715 WPA_PUT_LE16(pos, tm.year); /* Year */ in hostapd_update_time_adv()
722 WPA_PUT_LE16(pos, 0); /* Milliseconds (not used) */ in hostapd_update_time_adv()
762 WPA_PUT_LE16(pos, val); in hostapd_eid_bss_max_idle_period()
1002 WPA_PUT_LE16(pos, fils_info); in hostapd_eid_fils_indic()
H A Dwpa_auth_ft.c407 WPA_PUT_LE16(pos, vlan->untagged); in wpa_ft_vlan_lin()
427 WPA_PUT_LE16(pos, vlan->tagged[i]); in wpa_ft_vlan_lin()
560 WPA_PUT_LE16(pos, FT_RRB_LAST_EMPTY); in wpa_ft_rrb_build()
562 WPA_PUT_LE16(pos, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build()
573 WPA_PUT_LE16(pos, auth_len); in wpa_ft_rrb_build()
850 WPA_PUT_LE16(hdr->mic_control, mic_control); in wpa_write_ftie()
863 WPA_PUT_LE16(hdr->mic_control, mic_control); in wpa_write_ftie()
874 WPA_PUT_LE16(hdr->mic_control, mic_control); in wpa_write_ftie()
2287 WPA_PUT_LE16(&subelem[2], gsm->GN & 0x03); in wpa_ft_gtk_subelem()
2336 WPA_PUT_LE16(pos, gsm->GN_igtk); in wpa_ft_igtk_subelem()
[all …]
H A Dieee802_11_eht.c704 WPA_PUT_LE16(pos, control); in hostapd_eid_eht_reconf_ml()
723 WPA_PUT_LE16(pos, control); in hostapd_eid_eht_reconf_ml()
729 WPA_PUT_LE16(pos, other_hapd->eht_mld_link_removal_count); in hostapd_eid_eht_reconf_ml()
H A Dbeacon.c57 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
60 WPA_PUT_LE16(eid, 0); /* no available admission capabity */ in hostapd_eid_bss_load()
1022 WPA_PUT_LE16(epos, hostapd_own_capab_info(hapd)); in hostapd_fill_probe_resp_ml_params()
2002 WPA_PUT_LE16(pos, ctl); in hostapd_gen_fils_discovery()
2009 WPA_PUT_LE16(pos, hapd->iconf->beacon_int); in hostapd_gen_fils_discovery()
2020 WPA_PUT_LE16(pos, hostapd_fils_discovery_cap(hapd)); in hostapd_gen_fils_discovery()
H A 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()
H A Dctrl_iface_ap.c603 WPA_PUT_LE16(pos, 1); in p2p_manager_disconnect()
1403 WPA_PUT_LE16(&bss_term_dur[10], atoi(end)); in hostapd_ctrl_iface_bss_tm_req()
1488 WPA_PUT_LE16(mbo_pos, reassoc_delay); in hostapd_ctrl_iface_bss_tm_req()
/freebsd/contrib/wpa/src/common/
H A 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()
313 WPA_PUT_LE16(pos, DPP_ATTR_R_NONCE); in dpp_auth_build_resp()
315 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
323 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_resp()
325 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
[all …]
H A 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()
H A Dwpa_common.c2950 WPA_PUT_LE16(rpos, 1); in wpa_insert_pmkid()
2981 WPA_PUT_LE16(rpos, num_pmkid + 1); in wpa_insert_pmkid()
3843 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_pasn_add_rsne()
3851 WPA_PUT_LE16(pos, 1); in wpa_pasn_add_rsne()
3858 WPA_PUT_LE16(pos, 1); in wpa_pasn_add_rsne()
3900 WPA_PUT_LE16(pos, capab); in wpa_pasn_add_rsne()
3906 WPA_PUT_LE16(pos, 1); in wpa_pasn_add_rsne()
3911 WPA_PUT_LE16(pos, 0); in wpa_pasn_add_rsne()
/freebsd/contrib/wpa/src/crypto/
H A 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()
H A 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()
H A 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()
H A 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()
/freebsd/contrib/wpa/wpa_supplicant/
H A 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()
H A Dmesh_rsn.c501 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
503 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
506 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
508 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
615 WPA_PUT_LE16(pos, rsn->igtk_key_id); in mesh_rsn_protect_frame()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_build.c176 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_channel_list()
246 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_device_info()
595 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
633 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()
/freebsd/contrib/wpa/src/utils/
H A Dwpabuf.h127 WPA_PUT_LE16(pos, data); in wpabuf_put_le16()
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_responder.c197 WPA_PUT_LE16(len_ptr, len - 2); in pasn_get_sae_wd()
206 WPA_PUT_LE16(len_ptr, wpabuf_len(buf) - len - 2); in pasn_get_sae_wd()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_monitor.c495 WPA_PUT_LE16(&rtap_hdr[12], txflags); in nl80211_send_monitor()

12