Home
last modified time | relevance | path

Searched refs:wpabuf_put_le16 (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/wpa_supplicant/src/p2p/
H A Dp2p_build.c66 wpabuf_put_le16(buf, 2); in p2p_buf_add_capability()
78 wpabuf_put_le16(buf, 1); in p2p_buf_add_go_intent()
90 wpabuf_put_le16(buf, 5); in p2p_buf_add_listen_channel()
104 wpabuf_put_le16(buf, 5); in p2p_buf_add_operating_channel()
180 wpabuf_put_le16(buf, 1); in p2p_buf_add_status()
260 wpabuf_put_le16(buf, 2); in p2p_buf_add_config_timeout()
308 wpabuf_put_le16(buf, 1); in p2p_buf_add_invitation_flags()
345 wpabuf_put_le16(buf, 4); in p2p_buf_add_ext_listen_timing()
376 wpabuf_put_le16(buf, 6); in p2p_buf_add_oob_go_neg_channel()
424 wpabuf_put_le16(buf, 1); in p2p_buf_add_connection_capability()
[all …]
H A Dp2p_sd.c184 wpabuf_put_le16(buf, update_indic); /* Service Update Indicator */ in p2p_build_sd_query()
231 wpabuf_put_le16(buf, update_indic); in p2p_build_sd_response()
258 wpabuf_put_le16(buf, ANQP_VENDOR_SPECIFIC); /* Info ID */ in p2p_build_gas_comeback_resp()
259 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len); in p2p_build_gas_comeback_resp()
262 wpabuf_put_le16(buf, update_indic); in p2p_build_gas_comeback_resp()
H A Dp2p_group.c170 wpabuf_put_le16(ie, wpabuf_len(noa)); in p2p_group_add_noa()
424 wpabuf_put_le16(buf, 0); /* Length to be filled */ in p2p_buf_add_group_info()
H A Dp2p.c4454 wpabuf_put_le16(resp, noa_len); in p2p_build_presence_resp()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dgas_serv.c224 wpabuf_put_le16(buf, infoid); in anqp_add_elem()
294 wpabuf_put_le16(buf, ANQP_CAG); in anqp_add_capab_list()
303 wpabuf_put_le16(buf, id); in anqp_add_capab_list()
401 wpabuf_put_le16(buf, 1); in anqp_add_ip_addr_type_availability()
520 wpabuf_put_le16(buf, num_matching); in hs20_add_nai_home_realm_matches()
585 wpabuf_put_le16(buf, in anqp_add_3gpp_cellular_network()
623 wpabuf_put_le16(buf, 2 * count); in anqp_add_fils_realm_info()
723 wpabuf_put_le16(buf, icon->width); in anqp_add_icon()
893 wpabuf_put_le16(buf, 0); in anqp_add_icon_binary_file()
898 wpabuf_put_le16(buf, data_len); in anqp_add_icon_binary_file()
[all …]
H A Drrm.c406 wpabuf_put_le16(buf, 0); /* Number of repetitions */ in hostapd_send_lci_req()
423 wpabuf_put_le16(buf, 0xffff); in hostapd_send_lci_req()
493 wpabuf_put_le16(buf, 0); /* Number of Repetitions */ in hostapd_send_range_req()
508 wpabuf_put_le16(buf, random_interval); /* Randomization Interval */ in hostapd_send_range_req()
645 wpabuf_put_le16(buf, 0); /* Number of repetitions */ in hostapd_send_beacon_req()
H A Ddpp_hostapd.c987 wpabuf_put_le16(msg, DPP_ATTR_TRANSACTION_ID); in hostapd_dpp_send_peer_disc_resp()
988 wpabuf_put_le16(msg, 1); in hostapd_dpp_send_peer_disc_resp()
1004 wpabuf_put_le16(msg, DPP_ATTR_STATUS); in hostapd_dpp_send_peer_disc_resp()
1005 wpabuf_put_le16(msg, 1); in hostapd_dpp_send_peer_disc_resp()
1025 wpabuf_put_le16(msg, DPP_ATTR_CONNECTOR); in hostapd_dpp_send_peer_disc_resp()
1026 wpabuf_put_le16(msg, os_strlen(connector)); in hostapd_dpp_send_peer_disc_resp()
1035 wpabuf_put_le16(msg, DPP_ATTR_CONNECTOR); in hostapd_dpp_send_peer_disc_resp()
1036 wpabuf_put_le16(msg, os_strlen(hapd->conf->dpp_connector)); in hostapd_dpp_send_peer_disc_resp()
H A Dieee802_11.c613 wpabuf_put_le16(buf, group); /* Finite Cyclic Group */ in auth_build_token_req()
1739 wpabuf_put_le16(data, hapd->conf->fils_dh_group); in prepare_auth_resp_fils()
2748 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req()
/dragonfly/contrib/wpa_supplicant/src/common/
H A Ddpp.c1640 wpabuf_put_le16(msg, 1); in dpp_build_attr_status()
1729 wpabuf_put_le16(msg, 2); in dpp_auth_build_req()
1737 wpabuf_put_le16(msg, 1); in dpp_auth_build_req()
1823 wpabuf_put_le16(msg, siv_len); in dpp_auth_build_req()
1900 wpabuf_put_le16(msg, 1); in dpp_auth_build_resp()
2006 wpabuf_put_le16(msg, siv_len); in dpp_auth_build_resp()
2413 wpabuf_put_le16(clear, nonce_len); in dpp_build_conf_req_attr()
2426 wpabuf_put_le16(clear, json_len); in dpp_build_conf_req_attr()
6118 wpabuf_put_le16(clear, nonce_len); in dpp_build_conf_result()
6973 wpabuf_put_le16(msg, 2); in dpp_pkex_build_exchange_req()
[all …]
H A Dgas.c60 wpabuf_put_le16(buf, status_code); in gas_build_resp()
63 wpabuf_put_le16(buf, comeback_delay); in gas_build_resp()
257 wpabuf_put_le16(buf, info_id); in gas_anqp_add_element()
H A Dgas_server.c137 wpabuf_put_le16(resp, resp_frag_len); in gas_server_send_resp()
276 wpabuf_put_le16(resp, resp_frag_len); in gas_server_handle_rx_comeback_req()
H A Dsae.c760 wpabuf_put_le16(buf, sae->group); /* Finite Cyclic Group */ in sae_write_commit()
1247 wpabuf_put_le16(buf, sae->send_confirm); in sae_write_confirm()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dmesh_mpm.c278 wpabuf_put_le16(buf, ampe ? IEEE80211_CAP_PRIVACY : 0); in mesh_mpm_send_plink_action()
282 wpabuf_put_le16(buf, sta->aid); in mesh_mpm_send_plink_action()
340 wpabuf_put_le16(buf, 1); in mesh_mpm_send_plink_action()
342 wpabuf_put_le16(buf, 0); in mesh_mpm_send_plink_action()
343 wpabuf_put_le16(buf, sta->my_lid); in mesh_mpm_send_plink_action()
345 wpabuf_put_le16(buf, sta->peer_lid); in mesh_mpm_send_plink_action()
347 wpabuf_put_le16(buf, close_reason); in mesh_mpm_send_plink_action()
H A Ddpp_supplicant.c2057 wpabuf_put_le16(msg, DPP_ATTR_TRANSACTION_ID); in wpas_dpp_check_connect()
2058 wpabuf_put_le16(msg, 0); in wpas_dpp_check_connect()
2064 wpabuf_put_le16(msg, DPP_ATTR_TRANSACTION_ID); in wpas_dpp_check_connect()
2065 wpabuf_put_le16(msg, 1); in wpas_dpp_check_connect()
2084 wpabuf_put_le16(msg, DPP_ATTR_CONNECTOR); in wpas_dpp_check_connect()
2085 wpabuf_put_le16(msg, os_strlen(connector)); in wpas_dpp_check_connect()
2093 wpabuf_put_le16(msg, DPP_ATTR_CONNECTOR); in wpas_dpp_check_connect()
2094 wpabuf_put_le16(msg, os_strlen(ssid->dpp_connector)); in wpas_dpp_check_connect()
H A Dp2p_supplicant_sd.c656 wpabuf_put_le16(resp, (u16) svc_info_len); in wpas_sd_req_asp()
976 wpabuf_put_le16(tlvs, 1 + 1 + 1 + os_strlen(query)); in wpas_p2p_sd_request_upnp()
1006 wpabuf_put_le16(tlvs, plen); in wpas_p2p_sd_request_asp()
H A Dsme.c102 wpabuf_put_le16(buf, 1); /* Transaction seq# */ in sme_auth_build_sae_commit()
103 wpabuf_put_le16(buf, WLAN_STATUS_SUCCESS); in sme_auth_build_sae_commit()
147 wpabuf_put_le16(buf, 1); /* Transaction seq# */ in sme_auth_build_sae_commit()
148 wpabuf_put_le16(buf, WLAN_STATUS_SUCCESS); in sme_auth_build_sae_commit()
167 wpabuf_put_le16(buf, 2); /* Transaction seq# */ in sme_auth_build_sae_confirm()
168 wpabuf_put_le16(buf, WLAN_STATUS_SUCCESS); in sme_auth_build_sae_confirm()
H A Drrm.c224 wpabuf_put_le16(buf, 0xffff); in wpas_rrm_send_neighbor_rep_request()
255 wpabuf_put_le16(buf, 0); in wpas_rrm_send_neighbor_rep_request()
H A Dinterworking.c112 wpabuf_put_le16(buf, info_ids[i]); in anqp_build_req()
3237 wpabuf_put_le16(buf, wpabuf_len(query)); in gas_send_request()
3240 wpabuf_put_le16(buf, 0); in gas_send_request()
H A Dhs20_supplicant.c126 wpabuf_put_le16(buf, pps_mo_id); in wpas_hs20_add_indication()
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dwpabuf.h109 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16() function
/dragonfly/contrib/wpa_supplicant/src/rsn_supp/
H A Dwpa.c3601 wpabuf_put_le16(buf, 1); in fils_build_auth()
3604 wpabuf_put_le16(buf, WLAN_STATUS_SUCCESS); in fils_build_auth()
3610 wpabuf_put_le16(buf, dh_group); in fils_build_auth()
3992 wpabuf_put_le16(buf, 1); in fils_ft_build_assoc_req_rsne()
4005 wpabuf_put_le16(buf, 1); in fils_ft_build_assoc_req_rsne()
4028 wpabuf_put_le16(buf, capab); in fils_ft_build_assoc_req_rsne()
4031 wpabuf_put_le16(buf, 1); in fils_ft_build_assoc_req_rsne()
4543 wpabuf_put_le16(ie, group); in owe_build_assoc_req()
4671 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp()