/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 56 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 D | tdls.c | 583 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 D | wpa_ft.c | 238 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 D | hs20.c | 39 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 D | wpa_auth_ie.c | 38 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 D | p2p_hostapd.c | 103 WPA_PUT_LE16(eid, 1); in hostapd_eid_p2p_manage()
|
H A D | ieee802_11_shared.c | 715 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 D | wpa_auth_ft.c | 407 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 D | ieee802_11_eht.c | 704 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 D | beacon.c | 57 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 D | gas_serv.c | 750 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 D | ctrl_iface_ap.c | 603 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 D | dpp_auth.c | 150 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 D | gas.c | 245 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 D | wpa_common.c | 2950 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 D | sha256-prf.c | 75 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 D | sha384-prf.c | 75 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 D | sha512-prf.c | 75 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 D | ms_funcs.c | 38 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 D | p2p_supplicant_sd.c | 198 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 D | mesh_rsn.c | 501 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 D | p2p_build.c | 176 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 D | wpabuf.h | 127 WPA_PUT_LE16(pos, data); in wpabuf_put_le16()
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_responder.c | 197 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 D | driver_nl80211_monitor.c | 495 WPA_PUT_LE16(&rtap_hdr[12], txflags); in nl80211_send_monitor()
|