/external/wpa_supplicant_8/src/p2p/ |
D | p2p_pd.c | 144 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 …]
|
D | p2p_build.c | 477 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()
|
D | p2p.h | 188 u32 adv_id; member 905 u32 adv_id, const u8 *adv_mac, 1085 const u8 *grp_mac, u32 adv_id, u32 ses_id, 2377 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id); 2378 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, 2382 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
|
D | p2p.c | 2697 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument 2706 if (adv_data->id == adv_id) in p2p_service_p2ps_id() 2715 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument 2726 if (adv_data->id == adv_id) { in p2p_service_del_asp() 2727 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp() 2740 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument 2772 adv_data->id = adv_id; in p2p_service_add_asp() 2822 adv_id, adv_data->config_methods, svc_state, adv_str, in p2p_service_add_asp() 3439 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb() 4029 u32 adv_id = 0; in p2p_timeout_prov_disc_req() local [all …]
|
D | p2p_parse.c | 330 msg->adv_id = data; in p2p_parse_attribute()
|
D | p2p_i.h | 649 const u8 *adv_id; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | p2p_supplicant_sd.c | 828 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 …]
|
D | p2p_supplicant.h | 106 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);
|
D | README-P2P | 218 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 …]
|
D | p2p_supplicant.c | 2903 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument 2927 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail() 2931 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail() 2933 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail() 2936 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail() 4241 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument 4279 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete() 4290 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete() 4322 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete() 4405 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete() [all …]
|
D | ctrl_iface.c | 5865 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd() 6452 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local 6483 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp() 6487 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp() 6556 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp() 6626 u32 adv_id; in p2p_ctrl_service_del_asp() local 6633 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp() 6636 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()
|