Home
last modified time | relevance | path

Searched refs:wpabuf_put_u8 (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/common/
Dmbo.c133 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); in wpas_mbo_non_pref_chan_attr_body()
136 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); in wpas_mbo_non_pref_chan_attr_body()
138 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); in wpas_mbo_non_pref_chan_attr_body()
139 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
145 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_attr_hdr()
146 wpabuf_put_u8(mbo, size); /* Length */ in wpas_mbo_non_pref_chan_attr_hdr()
165 wpabuf_put_u8(mbo, WLAN_EID_VENDOR_SPECIFIC); in wpas_mbo_non_pref_chan_subelem_hdr()
166 wpabuf_put_u8(mbo, len); /* Length */ in wpas_mbo_non_pref_chan_subelem_hdr()
168 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_subelem_hdr()
248 wpabuf_put_u8(mbo, MBO_ATTR_ID_CELL_DATA_CAPA); in wpas_mbo_ie()
[all …]
Drrm.c175 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in wpas_rrm_send_neighbor_rep_request()
176 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_REQUEST); in wpas_rrm_send_neighbor_rep_request()
177 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request()
179 wpabuf_put_u8(buf, WLAN_EID_SSID); in wpas_rrm_send_neighbor_rep_request()
180 wpabuf_put_u8(buf, ssid->ssid_len); in wpas_rrm_send_neighbor_rep_request()
186 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REQUEST); in wpas_rrm_send_neighbor_rep_request()
187 wpabuf_put_u8(buf, MEASURE_REQUEST_LCI_LEN); in wpas_rrm_send_neighbor_rep_request()
193 wpabuf_put_u8(buf, 1); /* Measurement Token */ in wpas_rrm_send_neighbor_rep_request()
199 wpabuf_put_u8(buf, 0); /* Measurement Request Mode */ in wpas_rrm_send_neighbor_rep_request()
200 wpabuf_put_u8(buf, MEASURE_TYPE_LCI); /* Measurement Type */ in wpas_rrm_send_neighbor_rep_request()
[all …]
Dwnm_sta.c486 wpabuf_put_u8(*buf, WLAN_EID_NEIGHBOR_REPORT); in wnm_add_nei_rep()
488 wpabuf_put_u8(*buf, 16); in wnm_add_nei_rep()
491 wpabuf_put_u8(*buf, op_class); in wnm_add_nei_rep()
492 wpabuf_put_u8(*buf, chan); in wnm_add_nei_rep()
493 wpabuf_put_u8(*buf, phy_type); in wnm_add_nei_rep()
494 wpabuf_put_u8(*buf, WNM_NEIGHBOR_BSS_TRANSITION_CANDIDATE); in wnm_add_nei_rep()
495 wpabuf_put_u8(*buf, 1); in wnm_add_nei_rep()
496 wpabuf_put_u8(*buf, pref); in wnm_add_nei_rep()
600 wpabuf_put_u8(buf, WLAN_ACTION_WNM); in wnm_send_bss_transition_mgmt_resp()
601 wpabuf_put_u8(buf, WNM_BSS_TRANS_MGMT_RESP); in wnm_send_bss_transition_mgmt_resp()
[all …]
Ddpp.c64 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_req()
65 wpabuf_put_u8(buf, action); in gas_build_req()
66 wpabuf_put_u8(buf, dialog_token); in gas_build_req()
254 wpabuf_put_u8(msg, WLAN_ACTION_PUBLIC); in dpp_alloc_msg()
255 wpabuf_put_u8(msg, WLAN_PA_VENDOR_SPECIFIC); in dpp_alloc_msg()
257 wpabuf_put_u8(msg, DPP_OUI_TYPE); in dpp_alloc_msg()
258 wpabuf_put_u8(msg, 1); /* Crypto Suite */ in dpp_alloc_msg()
259 wpabuf_put_u8(msg, type); in dpp_alloc_msg()
954 wpabuf_put_u8(msg, status); in dpp_build_attr_status()
1033 wpabuf_put_u8(msg, op_class); in dpp_auth_build_req()
[all …]
Dsae.c905 wpabuf_put_u8(buf, WLAN_EID_EXTENSION); in sae_write_commit()
906 wpabuf_put_u8(buf, 1 + os_strlen(identifier)); in sae_write_commit()
907 wpabuf_put_u8(buf, WLAN_EID_EXT_PASSWORD_IDENTIFIER); in sae_write_commit()
/hal_espressif-3.6.0/components/wpa_supplicant/src/wps/
Dwps_attr_build.c95 wpabuf_put_u8(msg, type); in wps_build_req_type()
105 wpabuf_put_u8(msg, type); in wps_build_resp_type()
189 wpabuf_put_u8(msg, 0x10); in wps_build_version()
205 wpabuf_put_u8(msg, WFA_ELEM_VERSION2); in wps_build_wfa_ext()
206 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
207 wpabuf_put_u8(msg, WPS_VERSION); in wps_build_wfa_ext()
211 wpabuf_put_u8(msg, WFA_ELEM_REQUEST_TO_ENROLL); in wps_build_wfa_ext()
212 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
213 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
220 wpabuf_put_u8(msg, WFA_ELEM_AUTHORIZEDMACS); in wps_build_wfa_ext()
[all …]
Dwps_dev_attr.c28 wpabuf_put_u8(msg, ' '); in wps_build_manufacturer()
52 wpabuf_put_u8(msg, ' '); in wps_build_model_name()
76 wpabuf_put_u8(msg, ' '); in wps_build_model_number()
101 wpabuf_put_u8(msg, ' '); in wps_build_serial_number()
171 wpabuf_put_u8(msg, ' '); in wps_build_dev_name()
223 wpabuf_put_u8(msg, dev->rf_bands); in wps_build_rf_bands()
Dwps.c337 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wps_build_assoc_req_ie()
371 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wps_build_assoc_resp_ie()
Dwps_registrar.c445 wpabuf_put_u8(msg, wps->wps_state); in wps_build_wps_state()
482 wpabuf_put_u8(msg, 1); in wps_build_ap_setup_locked()
496 wpabuf_put_u8(msg, 1); in wps_build_selected_registrar()
1474 wpabuf_put_u8(msg, 1); in wps_build_cred_network_idx()
Dwps_enrollee.c42 wpabuf_put_u8(msg, state); in wps_build_wps_state()
/hal_espressif-3.6.0/components/wpa_supplicant/src/utils/
Djson.c627 wpabuf_put_u8(json, '{'); in json_start_object()
633 wpabuf_put_u8(json, '}'); in json_end_object()
641 wpabuf_put_u8(json, '['); in json_start_array()
647 wpabuf_put_u8(json, ']'); in json_end_array()
653 wpabuf_put_u8(json, ','); in json_value_sep()
/hal_espressif-3.6.0/components/wpa_supplicant/src/eap_peer/
Deap_common.c147 wpabuf_put_u8(buf, type); in eap_msg_alloc()
149 wpabuf_put_u8(buf, EAP_TYPE_EXPANDED); in eap_msg_alloc()
Deap_peap.c211 wpabuf_put_u8(msg, 0x80); /* Mandatory */ in eap_tlv_build_nak()
212 wpabuf_put_u8(msg, EAP_TLV_NAK_TLV); in eap_tlv_build_nak()
329 wpabuf_put_u8(buf, 0); /* Reserved */ in eap_tlv_add_cryptobinding()
330 wpabuf_put_u8(buf, data->peap_version); /* Version */ in eap_tlv_add_cryptobinding()
331 wpabuf_put_u8(buf, data->peap_version); /* RecvVersion */ in eap_tlv_add_cryptobinding()
332 wpabuf_put_u8(buf, 1); /* SubType: 0 = Request, 1 = Response */ in eap_tlv_add_cryptobinding()
377 wpabuf_put_u8(msg, 0x80); /* Mandatory */ in eap_tlv_build_result()
378 wpabuf_put_u8(msg, EAP_TLV_RESULT_TLV); in eap_tlv_build_result()
Deap.c409 wpabuf_put_u8(resp, EAP_TYPE_EXPANDED); in eap_sm_build_nak()
413 wpabuf_put_u8(resp, m->method); in eap_sm_build_nak()
418 wpabuf_put_u8(resp, EAP_TYPE_EXPANDED); in eap_sm_build_nak()
422 wpabuf_put_u8(resp, EAP_TYPE_NONE); in eap_sm_build_nak()
Deap_mschapv2.c171 wpabuf_put_u8(resp, sizeof(*r)); in eap_mschapv2_challenge_reply()
354 wpabuf_put_u8(resp, MSCHAPV2_OP_SUCCESS); /* op_code */ in eap_mschapv2_success()
661 wpabuf_put_u8(resp, MSCHAPV2_OP_FAILURE); /* op_code */ in eap_mschapv2_failure()
Deap_tls_common.c675 wpabuf_put_u8(resp, peap_version); /* Flags */ in eap_peer_tls_build_ack()
1034 wpabuf_put_u8(*resp, types[i].method); in eap_peer_tls_phase2_nak()
/hal_espressif-3.6.0/components/wpa_supplicant/include/utils/
Dwpabuf.h108 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8() function
/hal_espressif-3.6.0/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c710 wpabuf_put_u8(eap_buf, opcode); in wps_send_frag_ack()
711 wpabuf_put_u8(eap_buf, 0x00); /* flags */ in wps_send_frag_ack()
884 wpabuf_put_u8(eap_buf, opcode); in wps_send_wps_mX_rsp()
885 wpabuf_put_u8(eap_buf, 0x00); /* flags */ in wps_send_wps_mX_rsp()