Home
last modified time | relevance | path

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

12345678

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_build.c20 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); in p2p_buf_add_action_hdr()
23 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_action_hdr()
24 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_action_hdr()
32 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in p2p_buf_add_public_action_hdr()
33 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); in p2p_buf_add_public_action_hdr()
36 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_public_action_hdr()
37 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_public_action_hdr()
47 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in p2p_buf_add_ie_hdr()
65 wpabuf_put_u8(buf, P2P_ATTR_CAPABILITY); in p2p_buf_add_capability()
67 wpabuf_put_u8(buf, dev_capab); /* Device Capabilities */ in p2p_buf_add_capability()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_build.c20 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); in p2p_buf_add_action_hdr()
23 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_action_hdr()
24 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_action_hdr()
32 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in p2p_buf_add_public_action_hdr()
33 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); in p2p_buf_add_public_action_hdr()
36 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_public_action_hdr()
37 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_public_action_hdr()
47 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in p2p_buf_add_ie_hdr()
65 wpabuf_put_u8(buf, P2P_ATTR_CAPABILITY); in p2p_buf_add_capability()
67 wpabuf_put_u8(buf, dev_capab); /* Device Capabilities */ in p2p_buf_add_capability()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhs20.c126 wpabuf_put_u8(buf, WLAN_ACTION_WNM); in hs20_send_wnm_notification()
127 wpabuf_put_u8(buf, WNM_NOTIFICATION_REQ); in hs20_send_wnm_notification()
128 wpabuf_put_u8(buf, 1); /* Dialog token */ in hs20_send_wnm_notification()
129 wpabuf_put_u8(buf, 1); /* Type - 1 reserved for WFA */ in hs20_send_wnm_notification()
132 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in hs20_send_wnm_notification()
133 wpabuf_put_u8(buf, 5 + len); in hs20_send_wnm_notification()
135 wpabuf_put_u8(buf, HS20_WNM_SUB_REM_NEEDED); in hs20_send_wnm_notification()
137 wpabuf_put_u8(buf, len - 1); in hs20_send_wnm_notification()
139 wpabuf_put_u8(buf, osu_method); in hs20_send_wnm_notification()
142 wpabuf_put_u8(buf, 0); in hs20_send_wnm_notification()
[all …]
Dap_rrm.c217 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_nei_report_resp()
218 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_RESPONSE); in hostapd_send_nei_report_resp()
219 wpabuf_put_u8(buf, dialog_token); in hostapd_send_nei_report_resp()
243 wpabuf_put_u8(buf, WLAN_EID_NEIGHBOR_REPORT); in hostapd_send_nei_report_resp()
244 wpabuf_put_u8(buf, len - 2); in hostapd_send_nei_report_resp()
248 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
260 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
403 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_lci_req()
[all …]
Dgas_serv.c27 wpabuf_put_u8(buf, WLAN_EID_ADV_PROTO); in gas_serv_write_dpp_adv_proto()
28 wpabuf_put_u8(buf, 8); /* Length */ in gas_serv_write_dpp_adv_proto()
29 wpabuf_put_u8(buf, 0x7f); in gas_serv_write_dpp_adv_proto()
30 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in gas_serv_write_dpp_adv_proto()
31 wpabuf_put_u8(buf, 5); in gas_serv_write_dpp_adv_proto()
33 wpabuf_put_u8(buf, DPP_OUI_TYPE); in gas_serv_write_dpp_adv_proto()
34 wpabuf_put_u8(buf, 0x01); in gas_serv_write_dpp_adv_proto()
168 wpabuf_put_u8(buf, HS20_ANQP_OUI_TYPE); in anqp_add_hs_capab_list()
169 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST); in anqp_add_hs_capab_list()
170 wpabuf_put_u8(buf, 0); /* Reserved */ in anqp_add_hs_capab_list()
[all …]
Dneighbor_db.c242 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
243 wpabuf_put_u8(nr, channel); in hostapd_neighbor_set_own_report()
244 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht)); in hostapd_neighbor_set_own_report()
251 wpabuf_put_u8(nr, WNM_NEIGHBOR_WIDE_BW_CHAN); in hostapd_neighbor_set_own_report()
252 wpabuf_put_u8(nr, 3); in hostapd_neighbor_set_own_report()
253 wpabuf_put_u8(nr, width); in hostapd_neighbor_set_own_report()
254 wpabuf_put_u8(nr, center_freq1_idx); in hostapd_neighbor_set_own_report()
255 wpabuf_put_u8(nr, center_freq2_idx); in hostapd_neighbor_set_own_report()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhs20.c126 wpabuf_put_u8(buf, WLAN_ACTION_WNM); in hs20_send_wnm_notification()
127 wpabuf_put_u8(buf, WNM_NOTIFICATION_REQ); in hs20_send_wnm_notification()
128 wpabuf_put_u8(buf, 1); /* Dialog token */ in hs20_send_wnm_notification()
129 wpabuf_put_u8(buf, 1); /* Type - 1 reserved for WFA */ in hs20_send_wnm_notification()
132 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in hs20_send_wnm_notification()
133 wpabuf_put_u8(buf, 5 + len); in hs20_send_wnm_notification()
135 wpabuf_put_u8(buf, HS20_WNM_SUB_REM_NEEDED); in hs20_send_wnm_notification()
137 wpabuf_put_u8(buf, len - 1); in hs20_send_wnm_notification()
139 wpabuf_put_u8(buf, osu_method); in hs20_send_wnm_notification()
142 wpabuf_put_u8(buf, 0); in hs20_send_wnm_notification()
[all …]
Dap_rrm.c217 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_nei_report_resp()
218 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_RESPONSE); in hostapd_send_nei_report_resp()
219 wpabuf_put_u8(buf, dialog_token); in hostapd_send_nei_report_resp()
243 wpabuf_put_u8(buf, WLAN_EID_NEIGHBOR_REPORT); in hostapd_send_nei_report_resp()
244 wpabuf_put_u8(buf, len - 2); in hostapd_send_nei_report_resp()
248 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
260 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
403 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_lci_req()
[all …]
Drrm.c217 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_nei_report_resp()
218 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_RESPONSE); in hostapd_send_nei_report_resp()
219 wpabuf_put_u8(buf, dialog_token); in hostapd_send_nei_report_resp()
243 wpabuf_put_u8(buf, WLAN_EID_NEIGHBOR_REPORT); in hostapd_send_nei_report_resp()
244 wpabuf_put_u8(buf, len - 2); in hostapd_send_nei_report_resp()
248 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
260 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REPORT); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
403 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in hostapd_send_lci_req()
[all …]
Dgas_serv.c27 wpabuf_put_u8(buf, WLAN_EID_ADV_PROTO); in gas_serv_write_dpp_adv_proto()
28 wpabuf_put_u8(buf, 8); /* Length */ in gas_serv_write_dpp_adv_proto()
29 wpabuf_put_u8(buf, 0x7f); in gas_serv_write_dpp_adv_proto()
30 wpabuf_put_u8(buf, WLAN_EID_VENDOR_SPECIFIC); in gas_serv_write_dpp_adv_proto()
31 wpabuf_put_u8(buf, 5); in gas_serv_write_dpp_adv_proto()
33 wpabuf_put_u8(buf, DPP_OUI_TYPE); in gas_serv_write_dpp_adv_proto()
34 wpabuf_put_u8(buf, 0x01); in gas_serv_write_dpp_adv_proto()
168 wpabuf_put_u8(buf, HS20_ANQP_OUI_TYPE); in anqp_add_hs_capab_list()
169 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST); in anqp_add_hs_capab_list()
170 wpabuf_put_u8(buf, 0); /* Reserved */ in anqp_add_hs_capab_list()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmbo.c91 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); in wpas_mbo_non_pref_chan_attr_body()
94 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); in wpas_mbo_non_pref_chan_attr_body()
96 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); in wpas_mbo_non_pref_chan_attr_body()
97 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
103 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_attr_hdr()
104 wpabuf_put_u8(mbo, size); /* Length */ in wpas_mbo_non_pref_chan_attr_hdr()
123 wpabuf_put_u8(mbo, WLAN_EID_VENDOR_SPECIFIC); in wpas_mbo_non_pref_chan_subelem_hdr()
124 wpabuf_put_u8(mbo, len); /* Length */ in wpas_mbo_non_pref_chan_subelem_hdr()
126 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_subelem_hdr()
207 wpabuf_put_u8(mbo, MBO_ATTR_ID_CELL_DATA_CAPA); in wpas_mbo_ie()
[all …]
Dp2p_supplicant_sd.c193 wpabuf_put_u8(resp, srv_proto); in wpas_sd_add_empty()
194 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_add_empty()
196 wpabuf_put_u8(resp, status); in wpas_sd_add_empty()
245 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_all_bonjour()
246 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_all_bonjour()
248 wpabuf_put_u8(resp, P2P_SD_SUCCESS); in wpas_sd_all_bonjour()
323 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_req_bonjour()
324 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_req_bonjour()
327 wpabuf_put_u8(resp, P2P_SD_SUCCESS); in wpas_sd_req_bonjour()
347 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_req_bonjour()
[all …]
Drrm.c184 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in wpas_rrm_send_neighbor_rep_request()
185 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_REQUEST); in wpas_rrm_send_neighbor_rep_request()
186 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request()
188 wpabuf_put_u8(buf, WLAN_EID_SSID); in wpas_rrm_send_neighbor_rep_request()
189 wpabuf_put_u8(buf, ssid->ssid_len); in wpas_rrm_send_neighbor_rep_request()
195 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REQUEST); in wpas_rrm_send_neighbor_rep_request()
196 wpabuf_put_u8(buf, MEASURE_REQUEST_LCI_LEN); in wpas_rrm_send_neighbor_rep_request()
202 wpabuf_put_u8(buf, 1); /* Measurement Token */ in wpas_rrm_send_neighbor_rep_request()
208 wpabuf_put_u8(buf, 0); /* Measurement Request Mode */ in wpas_rrm_send_neighbor_rep_request()
209 wpabuf_put_u8(buf, MEASURE_TYPE_LCI); /* Measurement Type */ in wpas_rrm_send_neighbor_rep_request()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmbo.c121 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); in wpas_mbo_non_pref_chan_attr_body()
124 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); in wpas_mbo_non_pref_chan_attr_body()
126 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); in wpas_mbo_non_pref_chan_attr_body()
127 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
133 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_attr_hdr()
134 wpabuf_put_u8(mbo, size); /* Length */ in wpas_mbo_non_pref_chan_attr_hdr()
153 wpabuf_put_u8(mbo, WLAN_EID_VENDOR_SPECIFIC); in wpas_mbo_non_pref_chan_subelem_hdr()
154 wpabuf_put_u8(mbo, len); /* Length */ in wpas_mbo_non_pref_chan_subelem_hdr()
156 wpabuf_put_u8(mbo, MBO_ATTR_ID_NON_PREF_CHAN_REPORT); in wpas_mbo_non_pref_chan_subelem_hdr()
237 wpabuf_put_u8(mbo, MBO_ATTR_ID_CELL_DATA_CAPA); in wpas_mbo_ie()
[all …]
Dtwt.c58 wpabuf_put_u8(buf, WLAN_ACTION_S1G); in wpas_twt_send_setup()
59 wpabuf_put_u8(buf, S1G_ACT_TWT_SETUP); in wpas_twt_send_setup()
60 wpabuf_put_u8(buf, dtok); in wpas_twt_send_setup()
62 wpabuf_put_u8(buf, WLAN_EID_TWT); in wpas_twt_send_setup()
63 wpabuf_put_u8(buf, 15); /* len */ in wpas_twt_send_setup()
65 wpabuf_put_u8(buf, control); in wpas_twt_send_setup()
83 wpabuf_put_u8(buf, min_twt); /* Nominal Minimum TWT Wake Duration */ in wpas_twt_send_setup()
85 wpabuf_put_u8(buf, twt_channel); /* TWT Channel */ in wpas_twt_send_setup()
127 wpabuf_put_u8(buf, WLAN_ACTION_S1G); in wpas_twt_send_teardown()
128 wpabuf_put_u8(buf, S1G_ACT_TWT_TEARDOWN); in wpas_twt_send_teardown()
[all …]
Drobust_av.c29 wpabuf_put_u8(buf, WLAN_EID_EXTENSION); in wpas_populate_mscs_descriptor_ie()
31 wpabuf_put_u8(buf, WLAN_EID_EXT_MSCS_DESCRIPTOR); in wpas_populate_mscs_descriptor_ie()
32 wpabuf_put_u8(buf, robust_av->request_type); in wpas_populate_mscs_descriptor_ie()
33 wpabuf_put_u8(buf, robust_av->up_bitmap); in wpas_populate_mscs_descriptor_ie()
34 wpabuf_put_u8(buf, robust_av->up_limit); in wpas_populate_mscs_descriptor_ie()
39 wpabuf_put_u8(buf, WLAN_EID_EXTENSION); in wpas_populate_mscs_descriptor_ie()
41 wpabuf_put_u8(buf, WLAN_EID_EXT_TCLAS_MASK); in wpas_populate_mscs_descriptor_ie()
57 wpabuf_put_u8(buf, type4_param->classifier_mask); in wpas_populate_type4_classifier()
59 wpabuf_put_u8(buf, IPV4); /* IP version */ in wpas_populate_type4_classifier()
66 wpabuf_put_u8(buf, type4_param->ip_params.v4.dscp); in wpas_populate_type4_classifier()
[all …]
Dp2p_supplicant_sd.c193 wpabuf_put_u8(resp, srv_proto); in wpas_sd_add_empty()
194 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_add_empty()
196 wpabuf_put_u8(resp, status); in wpas_sd_add_empty()
245 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_all_bonjour()
246 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_all_bonjour()
248 wpabuf_put_u8(resp, P2P_SD_SUCCESS); in wpas_sd_all_bonjour()
323 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_req_bonjour()
324 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_req_bonjour()
327 wpabuf_put_u8(resp, P2P_SD_SUCCESS); in wpas_sd_req_bonjour()
347 wpabuf_put_u8(resp, P2P_SERV_BONJOUR); in wpas_sd_req_bonjour()
[all …]
Drrm.c191 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in wpas_rrm_send_neighbor_rep_request()
192 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_REQUEST); in wpas_rrm_send_neighbor_rep_request()
193 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request()
195 wpabuf_put_u8(buf, WLAN_EID_SSID); in wpas_rrm_send_neighbor_rep_request()
196 wpabuf_put_u8(buf, ssid->ssid_len); in wpas_rrm_send_neighbor_rep_request()
202 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REQUEST); in wpas_rrm_send_neighbor_rep_request()
203 wpabuf_put_u8(buf, MEASURE_REQUEST_LCI_LEN); in wpas_rrm_send_neighbor_rep_request()
209 wpabuf_put_u8(buf, 1); /* Measurement Token */ in wpas_rrm_send_neighbor_rep_request()
215 wpabuf_put_u8(buf, 0); /* Measurement Request Mode */ in wpas_rrm_send_neighbor_rep_request()
216 wpabuf_put_u8(buf, MEASURE_TYPE_LCI); /* Measurement Type */ in wpas_rrm_send_neighbor_rep_request()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_build.c102 wpabuf_put_u8(msg, type); in wps_build_req_type()
112 wpabuf_put_u8(msg, type); in wps_build_resp_type()
201 wpabuf_put_u8(msg, 0x10); in wps_build_version()
226 wpabuf_put_u8(msg, WFA_ELEM_VERSION2); in wps_build_wfa_ext()
227 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
228 wpabuf_put_u8(msg, WPS_VERSION); in wps_build_wfa_ext()
232 wpabuf_put_u8(msg, WFA_ELEM_REQUEST_TO_ENROLL); in wps_build_wfa_ext()
233 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
234 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
241 wpabuf_put_u8(msg, WFA_ELEM_AUTHORIZEDMACS); in wps_build_wfa_ext()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_build.c102 wpabuf_put_u8(msg, type); in wps_build_req_type()
112 wpabuf_put_u8(msg, type); in wps_build_resp_type()
203 wpabuf_put_u8(msg, 0x10); in wps_build_version()
228 wpabuf_put_u8(msg, WFA_ELEM_VERSION2); in wps_build_wfa_ext()
229 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
230 wpabuf_put_u8(msg, WPS_VERSION); in wps_build_wfa_ext()
234 wpabuf_put_u8(msg, WFA_ELEM_REQUEST_TO_ENROLL); in wps_build_wfa_ext()
235 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
236 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
243 wpabuf_put_u8(msg, WFA_ELEM_AUTHORIZEDMACS); in wps_build_wfa_ext()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dgas.c26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_req()
27 wpabuf_put_u8(buf, action); in gas_build_req()
28 wpabuf_put_u8(buf, dialog_token); in gas_build_req()
57 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_resp()
58 wpabuf_put_u8(buf, action); in gas_build_resp()
59 wpabuf_put_u8(buf, dialog_token); in gas_build_resp()
62 wpabuf_put_u8(buf, frag_id | (more ? 0x80 : 0)); in gas_build_resp()
103 wpabuf_put_u8(buf, WLAN_EID_ADV_PROTO); in gas_add_adv_proto_anqp()
104 wpabuf_put_u8(buf, 2); /* Length */ in gas_add_adv_proto_anqp()
105 wpabuf_put_u8(buf, (query_resp_len_limit & 0x7f) | in gas_add_adv_proto_anqp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dgas.c26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_req()
27 wpabuf_put_u8(buf, action); in gas_build_req()
28 wpabuf_put_u8(buf, dialog_token); in gas_build_req()
57 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_resp()
58 wpabuf_put_u8(buf, action); in gas_build_resp()
59 wpabuf_put_u8(buf, dialog_token); in gas_build_resp()
62 wpabuf_put_u8(buf, frag_id | (more ? 0x80 : 0)); in gas_build_resp()
103 wpabuf_put_u8(buf, WLAN_EID_ADV_PROTO); in gas_add_adv_proto_anqp()
104 wpabuf_put_u8(buf, 2); /* Length */ in gas_add_adv_proto_anqp()
105 wpabuf_put_u8(buf, (query_resp_len_limit & 0x7f) | in gas_add_adv_proto_anqp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_eke.c126 wpabuf_put_u8(msg, eke_exch); in eap_eke_build_msg()
194 wpabuf_put_u8(msg, 4); /* NumProposals */ in eap_eke_build_identity()
195 wpabuf_put_u8(msg, 0); /* Reserved */ in eap_eke_build_identity()
198 wpabuf_put_u8(msg, EAP_EKE_DHGROUP_EKE_16); /* Group Description */ in eap_eke_build_identity()
199 wpabuf_put_u8(msg, EAP_EKE_ENCR_AES128_CBC); /* Encryption */ in eap_eke_build_identity()
200 wpabuf_put_u8(msg, EAP_EKE_PRF_HMAC_SHA2_256); /* PRF */ in eap_eke_build_identity()
201 wpabuf_put_u8(msg, EAP_EKE_MAC_HMAC_SHA2_256); /* MAC */ in eap_eke_build_identity()
204 wpabuf_put_u8(msg, EAP_EKE_DHGROUP_EKE_15); /* Group Description */ in eap_eke_build_identity()
205 wpabuf_put_u8(msg, EAP_EKE_ENCR_AES128_CBC); /* Encryption */ in eap_eke_build_identity()
206 wpabuf_put_u8(msg, EAP_EKE_PRF_HMAC_SHA2_256); /* PRF */ in eap_eke_build_identity()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_eke.c126 wpabuf_put_u8(msg, eke_exch); in eap_eke_build_msg()
194 wpabuf_put_u8(msg, 4); /* NumProposals */ in eap_eke_build_identity()
195 wpabuf_put_u8(msg, 0); /* Reserved */ in eap_eke_build_identity()
198 wpabuf_put_u8(msg, EAP_EKE_DHGROUP_EKE_16); /* Group Description */ in eap_eke_build_identity()
199 wpabuf_put_u8(msg, EAP_EKE_ENCR_AES128_CBC); /* Encryption */ in eap_eke_build_identity()
200 wpabuf_put_u8(msg, EAP_EKE_PRF_HMAC_SHA2_256); /* PRF */ in eap_eke_build_identity()
201 wpabuf_put_u8(msg, EAP_EKE_MAC_HMAC_SHA2_256); /* MAC */ in eap_eke_build_identity()
204 wpabuf_put_u8(msg, EAP_EKE_DHGROUP_EKE_15); /* Group Description */ in eap_eke_build_identity()
205 wpabuf_put_u8(msg, EAP_EKE_ENCR_AES128_CBC); /* Encryption */ in eap_eke_build_identity()
206 wpabuf_put_u8(msg, EAP_EKE_PRF_HMAC_SHA2_256); /* PRF */ in eap_eke_build_identity()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dasn1.c513 wpabuf_put_u8(buf, ASN1_TAG_INTEGER); in asn1_put_integer()
514 wpabuf_put_u8(buf, 4 - zeros); in asn1_put_integer()
522 wpabuf_put_u8(buf, len); in asn1_put_len()
524 wpabuf_put_u8(buf, 0x80 | 1); in asn1_put_len()
525 wpabuf_put_u8(buf, len); in asn1_put_len()
527 wpabuf_put_u8(buf, 0x80 | 2); in asn1_put_len()
530 wpabuf_put_u8(buf, 0x80 | 3); in asn1_put_len()
533 wpabuf_put_u8(buf, 0x80 | 4); in asn1_put_len()
541 wpabuf_put_u8(buf, ASN1_TAG_OCTETSTRING); in asn1_put_octet_string()
554 wpabuf_put_u8(buf, ASN1_TAG_OID); in asn1_put_oid()
[all …]

12345678