Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_pd.c144 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac); in p2ps_add_pd_req_attrs()
251 u32 adv_id, in p2p_build_prov_disc_resp() argument
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) { in p2p_build_prov_disc_resp()
366 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac); in p2p_build_prov_disc_resp()
378 } else if (status != P2P_SC_SUCCESS || adv_id) { in p2p_build_prov_disc_resp()
384 p2p_buf_add_advertisement_id(buf, adv_id, in p2p_build_prov_disc_resp()
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, in p2ps_setup_p2ps_prov() argument
420 tmp->adv_id = adv_id; in p2ps_setup_p2ps_prov()
462 P2PS_PD_REQ_CHECK(1, adv_id); in p2ps_validate_pd_req()
562 u32 adv_id = 0; in p2p_process_prov_disc_req() local
[all …]
Dp2p_build.c477 u32 adv_id, u16 config_methods, in p2p_buf_add_service_info() argument
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id); in p2p_buf_add_service_info()
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info()
531 WPA_PUT_LE32(holder, adv_id); in p2p_buf_add_service_info()
545 wpabuf_put_le32(buf, adv_id); in p2p_buf_add_service_info()
548 remaining -= sizeof(adv_id) + sizeof(config_methods) + in p2p_buf_add_service_info()
Dp2p.h188 u32 adv_id; member
907 u32 adv_id, const u8 *adv_mac,
1087 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2381 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2382 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2386 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
Dp2p.c2701 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument
2710 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
2719 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument
2730 if (adv_data->id == adv_id) { in p2p_service_del_asp()
2731 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp()
2744 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument
2776 adv_data->id = adv_id; in p2p_service_add_asp()
2826 adv_id, adv_data->config_methods, svc_state, adv_str, in p2p_service_add_asp()
3443 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
4041 u32 adv_id = 0; in p2p_timeout_prov_disc_req() local
[all …]
Dp2p_parse.c330 msg->adv_id = data; in p2p_parse_attribute()
Dp2p_i.h641 const u8 *adv_id; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_pd.c144 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac); in p2ps_add_pd_req_attrs()
251 u32 adv_id, in p2p_build_prov_disc_resp() argument
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) { in p2p_build_prov_disc_resp()
366 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac); in p2p_build_prov_disc_resp()
378 } else if (status != P2P_SC_SUCCESS || adv_id) { in p2p_build_prov_disc_resp()
384 p2p_buf_add_advertisement_id(buf, adv_id, in p2p_build_prov_disc_resp()
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, in p2ps_setup_p2ps_prov() argument
420 tmp->adv_id = adv_id; in p2ps_setup_p2ps_prov()
462 P2PS_PD_REQ_CHECK(1, adv_id); in p2ps_validate_pd_req()
562 u32 adv_id = 0; in p2p_process_prov_disc_req() local
[all …]
Dp2p_build.c477 u32 adv_id, u16 config_methods, in p2p_buf_add_service_info() argument
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id); in p2p_buf_add_service_info()
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info()
531 WPA_PUT_LE32(holder, adv_id); in p2p_buf_add_service_info()
545 wpabuf_put_le32(buf, adv_id); in p2p_buf_add_service_info()
548 remaining -= sizeof(adv_id) + sizeof(config_methods) + in p2p_buf_add_service_info()
Dp2p.h186 u32 adv_id; member
898 u32 adv_id, const u8 *adv_mac,
1078 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2367 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2368 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2372 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
Dp2p.c2681 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument
2690 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
2699 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument
2710 if (adv_data->id == adv_id) { in p2p_service_del_asp()
2711 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp()
2724 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument
2756 adv_data->id = adv_id; in p2p_service_add_asp()
2806 adv_id, adv_data->config_methods, svc_state, adv_str, in p2p_service_add_asp()
3415 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
3997 u32 adv_id = 0; in p2p_timeout_prov_disc_req() local
[all …]
Dp2p_parse.c330 msg->adv_id = data; in p2p_parse_attribute()
Dp2p_i.h638 const u8 *adv_id; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h109 u32 adv_id, const char *adv_str, u8 svc_state,
112 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id);
114 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id);
DREADME-P2P218 p2p_asp_provision <peer MAC address> <adv_id=peer adv id>
226 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…
230 adv_id - Mandatory remote Advertising ID of service connection is being
244 p2p_asp_provision_resp <peer mac address> <adv_id= local adv id>
251 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…
255 adv_id - Mandatory local Advertising ID of service connection is being
799 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…
803 adv_id - always ASCII hex-encoded u32
816 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…
822 adv_id - always ascii hex-encoded u32
[all …]
Dp2p_supplicant.c2915 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument
2939 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail()
2943 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail()
2945 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail()
2948 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail()
4368 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument
4406 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4417 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4449 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
4532 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
[all …]
Dctrl_iface.c5913 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
6505 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local
6536 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp()
6540 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp()
6609 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp()
6679 u32 adv_id; in p2p_ctrl_service_del_asp() local
6686 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp()
6689 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h106 u32 adv_id, const char *adv_str, u8 svc_state,
109 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id);
111 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id);
DREADME-P2P218 p2p_asp_provision <peer MAC address> <adv_id=peer adv id>
226 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…
230 adv_id - Mandatory remote Advertising ID of service connection is being
244 p2p_asp_provision_resp <peer mac address> <adv_id= local adv id>
251 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…
255 adv_id - Mandatory local Advertising ID of service connection is being
799 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…
803 adv_id - always ASCII hex-encoded u32
816 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…
822 adv_id - always ascii hex-encoded u32
[all …]
Dp2p_supplicant.c2748 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument
2772 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail()
2776 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail()
2778 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail()
2781 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail()
4033 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument
4071 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4082 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4114 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
4197 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
[all …]
Dctrl_iface.c5537 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
6122 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local
6153 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp()
6157 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp()
6226 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp()
6296 u32 adv_id; in p2p_ctrl_service_del_asp() local
6303 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp()
6306 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()