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.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.c2712 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument
2721 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
2730 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument
2741 if (adv_data->id == adv_id) { in p2p_service_del_asp()
2742 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp()
2755 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument
2787 adv_data->id = adv_id; in p2p_service_add_asp()
2837 adv_id, adv_data->config_methods, svc_state, adv_str, in p2p_service_add_asp()
3455 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
4059 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.h661 const u8 *adv_id; member
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c828 u32 adv_id; in wpas_sd_p2ps_serv_response() local
846 adv_id = WPA_GET_LE32(pos); in wpas_sd_p2ps_serv_response()
883 MAC2STR(sa), srv_trans_id, adv_id, in wpas_sd_p2ps_serv_response()
890 MAC2STR(sa), srv_trans_id, adv_id, in wpas_sd_p2ps_serv_response()
1171 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id) in wpas_p2p_service_p2ps_id_exists() argument
1173 if (adv_id == 0) in wpas_p2p_service_p2ps_id_exists()
1176 if (p2p_service_p2ps_id(wpa_s->global->p2p, adv_id)) in wpas_p2p_service_p2ps_id_exists()
1183 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id) in wpas_p2p_service_del_asp() argument
1187 ret = p2p_service_del_asp(wpa_s->global->p2p, adv_id); in wpas_p2p_service_del_asp()
1195 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.c2747 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument
2771 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail()
2775 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail()
2777 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail()
2780 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail()
4032 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument
4070 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4081 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4113 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
4196 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
[all …]
Dctrl_iface.c5430 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
6015 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local
6046 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp()
6050 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp()
6119 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp()
6189 u32 adv_id; in p2p_ctrl_service_del_asp() local
6196 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp()
6199 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()