Home
last modified time | relevance | path

Searched refs:wpabuf_put_be16 (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.4.0/components/wpa_supplicant/src/wps/
Dwps_attr_build.c81 wpabuf_put_be16(msg, ATTR_PUBLIC_KEY); in wps_build_public_key()
82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
93 wpabuf_put_be16(msg, ATTR_REQUEST_TYPE); in wps_build_req_type()
94 wpabuf_put_be16(msg, 1); in wps_build_req_type()
103 wpabuf_put_be16(msg, ATTR_RESPONSE_TYPE); in wps_build_resp_type()
104 wpabuf_put_be16(msg, 1); in wps_build_resp_type()
113 wpabuf_put_be16(msg, ATTR_CONFIG_METHODS); in wps_build_config_methods()
114 wpabuf_put_be16(msg, 2); in wps_build_config_methods()
115 wpabuf_put_be16(msg, methods); in wps_build_config_methods()
123 wpabuf_put_be16(msg, ATTR_UUID_E); in wps_build_uuid_e()
[all …]
Dwps_dev_attr.c18 wpabuf_put_be16(msg, ATTR_MANUFACTURER); in wps_build_manufacturer()
27 wpabuf_put_be16(msg, 1); in wps_build_manufacturer()
32 wpabuf_put_be16(msg, len); in wps_build_manufacturer()
42 wpabuf_put_be16(msg, ATTR_MODEL_NAME); in wps_build_model_name()
51 wpabuf_put_be16(msg, 1); in wps_build_model_name()
56 wpabuf_put_be16(msg, len); in wps_build_model_name()
66 wpabuf_put_be16(msg, ATTR_MODEL_NUMBER); in wps_build_model_number()
75 wpabuf_put_be16(msg, 1); in wps_build_model_number()
80 wpabuf_put_be16(msg, len); in wps_build_model_number()
91 wpabuf_put_be16(msg, ATTR_SERIAL_NUMBER); in wps_build_serial_number()
[all …]
Dwps_enrollee.c24 wpabuf_put_be16(msg, ATTR_MAC_ADDR); in wps_build_mac_addr()
25 wpabuf_put_be16(msg, ETH_ALEN); in wps_build_mac_addr()
40 wpabuf_put_be16(msg, ATTR_WPS_STATE); in wps_build_wps_state()
41 wpabuf_put_be16(msg, 1); in wps_build_wps_state()
66 wpabuf_put_be16(msg, ATTR_E_HASH1); in wps_build_e_hash()
67 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash()
82 wpabuf_put_be16(msg, ATTR_E_HASH2); in wps_build_e_hash()
83 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash()
98 wpabuf_put_be16(msg, ATTR_E_SNONCE1); in wps_build_e_snonce1()
99 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
[all …]
Dwps_registrar.c443 wpabuf_put_be16(msg, ATTR_WPS_STATE); in wps_build_wps_state()
444 wpabuf_put_be16(msg, 1); in wps_build_wps_state()
480 wpabuf_put_be16(msg, ATTR_AP_SETUP_LOCKED); in wps_build_ap_setup_locked()
481 wpabuf_put_be16(msg, 1); in wps_build_ap_setup_locked()
494 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR); in wps_build_selected_registrar()
495 wpabuf_put_be16(msg, 1); in wps_build_selected_registrar()
510 wpabuf_put_be16(msg, ATTR_DEV_PASSWORD_ID); in wps_build_sel_reg_dev_password_id()
511 wpabuf_put_be16(msg, 2); in wps_build_sel_reg_dev_password_id()
512 wpabuf_put_be16(msg, id); in wps_build_sel_reg_dev_password_id()
574 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR_CONFIG_METHODS); in wps_build_sel_reg_config_methods()
[all …]
/hal_espressif-3.4.0/components/wpa_supplicant/src/eap_peer/
Deap_peap.c213 wpabuf_put_be16(msg, 6); /* Length */ in eap_tlv_build_nak()
215 wpabuf_put_be16(msg, nak_type); /* NAK-Type */ in eap_tlv_build_nak()
326 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding()
327 wpabuf_put_be16(buf, 56); in eap_tlv_add_cryptobinding()
379 wpabuf_put_be16(msg, 2); /* Length */ in eap_tlv_build_result()
380 wpabuf_put_be16(msg, status); /* Status */ in eap_tlv_build_result()
/hal_espressif-3.4.0/components/wpa_supplicant/include/utils/
Dwpabuf.h126 static inline void wpabuf_put_be16(struct wpabuf *buf, u16 data) in wpabuf_put_be16() function