Home
last modified time | relevance | path

Searched refs:adv_id (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_pd.c132 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac); in p2ps_add_pd_req_attrs()
231 u32 adv_id, in p2p_build_prov_disc_resp() argument
272 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) { in p2p_build_prov_disc_resp()
339 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac); in p2p_build_prov_disc_resp()
350 } else if (status != P2P_SC_SUCCESS || adv_id) { in p2p_build_prov_disc_resp()
356 p2p_buf_add_advertisement_id(buf, adv_id, in p2p_build_prov_disc_resp()
377 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, in p2ps_setup_p2ps_prov() argument
392 tmp->adv_id = adv_id; in p2ps_setup_p2ps_prov()
411 u32 adv_id = 0; in p2p_process_prov_disc_req() local
452 if (!msg.adv_id && msg.group_id) { in p2p_process_prov_disc_req()
[all …]
Dp2p_build.c438 u32 adv_id, u16 config_methods, in p2p_buf_add_service_info() argument
446 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id); in p2p_buf_add_service_info()
448 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info()
492 WPA_PUT_LE32(holder, adv_id); in p2p_buf_add_service_info()
506 wpabuf_put_le32(buf, adv_id); in p2p_buf_add_service_info()
509 remaining -= sizeof(adv_id) + sizeof(config_methods) + in p2p_buf_add_service_info()
Dp2p.h166 u32 adv_id; member
832 u32 adv_id, const u8 *adv_mac,
1006 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2248 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2249 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2252 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
Dp2p.c2647 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument
2656 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
2665 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument
2676 if (adv_data->id == adv_id) { in p2p_service_del_asp()
2677 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp()
2690 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument
2721 adv_data->id = adv_id; in p2p_service_add_asp()
2766 adv_id, adv_data->config_methods, svc_state, adv_str); in p2p_service_add_asp()
3904 u32 adv_id = 0; in p2p_timeout_prov_disc_req() local
3936 adv_id = p2p->p2ps_prov->adv_id; in p2p_timeout_prov_disc_req()
[all …]
Dp2p_i.h625 const u8 *adv_id; member
Dp2p_parse.c319 msg->adv_id = data; in p2p_parse_attribute()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c819 u32 adv_id; in wpas_sd_p2ps_serv_response() local
837 adv_id = WPA_GET_LE32(pos); in wpas_sd_p2ps_serv_response()
874 MAC2STR(sa), srv_trans_id, adv_id, in wpas_sd_p2ps_serv_response()
881 MAC2STR(sa), srv_trans_id, adv_id, in wpas_sd_p2ps_serv_response()
1162 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id) in wpas_p2p_service_p2ps_id_exists() argument
1164 if (adv_id == 0) in wpas_p2p_service_p2ps_id_exists()
1167 if (p2p_service_p2ps_id(wpa_s->global->p2p, adv_id)) in wpas_p2p_service_p2ps_id_exists()
1174 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id) in wpas_p2p_service_del_asp() argument
1178 ret = p2p_service_del_asp(wpa_s->global->p2p, adv_id); in wpas_p2p_service_del_asp()
1186 int auto_accept, u32 adv_id, in wpas_p2p_service_add_asp() argument
[all …]
Dp2p_supplicant.h92 u32 adv_id, const char *adv_str, u8 svc_state,
94 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id);
96 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id);
DREADME-P2P211 p2p_asp_provision <peer MAC address> <adv_id=peer adv id>
219 p2p_asp_provision 00:11:22:33:44:55 adv_id=4d6fc7 adv_mac=00:55:44:33:22:11 role=1 session=12ab34 s…
223 adv_id - Mandatory remote Advertising ID of service connection is being
237 p2p_asp_provision_resp <peer mac address> <adv_id= local adv id>
244 p2p_asp_provision_resp 00:55:44:33:22:11 adv_id=4d6fc7 adv_mac=00:55:44:33:22:11 role=1 status=0 se…
248 adv_id - Mandatory local Advertising ID of service connection is being
787 P2PS-PROV-START 00:55:44:33:22:11 adv_id=111 adv_mac=00:55:44:33:22:11 conncap=1 session=1234567 se…
791 adv_id - always ASCII hex-encoded u32
804 P2PS-PROV-DONE 00:11:22:33:44:55 status=0 adv_id=111 adv_mac=00:55:44:33:22:11 conncap=1 session=12…
810 adv_id - always ascii hex-encoded u32
[all …]
Dp2p_supplicant.c2536 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument
2560 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail()
2564 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail()
2566 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail()
2569 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail()
3601 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument
3632 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
3643 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
3670 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
3735 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
[all …]
Dctrl_iface.c4678 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
5192 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local
5221 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp()
5225 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp()
5281 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp()
5351 u32 adv_id; in p2p_ctrl_service_del_asp() local
5358 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp()
5361 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()