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.h181 u32 adv_id; member
891 u32 adv_id, const u8 *adv_mac,
1071 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2356 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2357 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2361 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
Dp2p.c2702 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) in p2p_service_p2ps_id() argument
2711 if (adv_data->id == adv_id) in p2p_service_p2ps_id()
2720 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) in p2p_service_del_asp() argument
2731 if (adv_data->id == adv_id) { in p2p_service_del_asp()
2732 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id); in p2p_service_del_asp()
2745 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, in p2p_service_add_asp() argument
2777 adv_data->id = adv_id; in p2p_service_add_asp()
2827 adv_id, adv_data->config_methods, svc_state, adv_str, in p2p_service_add_asp()
3445 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
4036 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.h650 const u8 *adv_id; member
/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.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.c2698 u32 adv_id, const u8 *adv_mac, in wpas_prov_disc_fail() argument
2722 if (adv_id && adv_mac && deferred_session_resp) { in wpas_prov_disc_fail()
2726 MAC2STR(peer), status, adv_id, in wpas_prov_disc_fail()
2728 } else if (adv_id && adv_mac) { in wpas_prov_disc_fail()
2731 MAC2STR(peer), status, adv_id); in wpas_prov_disc_fail()
3978 const u8 *grp_mac, u32 adv_id, u32 ses_id, in wpas_p2ps_prov_complete() argument
4016 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4027 MAC2STR(dev), adv_id, conncap, in wpas_p2ps_prov_complete()
4054 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
4128 adv_id, MAC2STR(adv_mac), in wpas_p2ps_prov_complete()
[all …]
Dctrl_iface.c5280 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
5863 u32 auto_accept, adv_id, svc_state, config_methods; in p2p_ctrl_service_add_asp() local
5894 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0) in p2p_ctrl_service_add_asp()
5898 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) { in p2p_ctrl_service_add_asp()
5967 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str, in p2p_ctrl_service_add_asp()
6037 u32 adv_id; in p2p_ctrl_service_del_asp() local
6044 if (sscanf(cmd, "%x", &adv_id) != 1) in p2p_ctrl_service_del_asp()
6047 return wpas_p2p_service_del_asp(wpa_s, adv_id); in p2p_ctrl_service_del_asp()