Searched defs:adv_id (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_pd.c132 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
231 u32 adv_id,
272 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
339 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
350 } else if (status != P2P_SC_SUCCESS || adv_id) {
356 p2p_buf_add_advertisement_id(buf, adv_id,
377 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
392 tmp->adv_id = adv_id;
226 p2p_build_prov_disc_resp(struct p2p_data *p2p, struct p2p_device *dev, u8 dialog_token, enum p2p_status_code status, u16 config_methods, u32 adv_id, const u8 *group_id, size_t group_id_len, const u8 *persist_ssid, size_t persist_ssid_len) argument
411 u32 adv_id = 0; local
798 u32 adv_id = 0; local
[all...]
H A Dp2p_build.c438 u32 adv_id, u16 config_methods,
446 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
448 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
485 * Split adv_id, config_methods, and svc_name_len between two
492 WPA_PUT_LE32(holder, adv_id);
506 wpabuf_put_le32(buf, adv_id);
509 remaining -= sizeof(adv_id) + sizeof(config_methods) +
437 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
H A Dp2p.h164 * adv_id - P2PS Advertisement ID
166 u32 adv_id; member in struct:p2ps_provision
820 * @adv_id: If non-zero, then the adv_id of the PD Request
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);
H A Dp2p_i.h625 const u8 *adv_id; member in struct:p2p_message
H A Dp2p.c2647 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2656 if (adv_data->id == adv_id)
2665 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2676 if (adv_data->id == adv_id) {
2677 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2690 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2721 adv_data->id = adv_id;
2765 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s'",
2766 adv_id, adv_dat
3904 u32 adv_id = 0; local
[all...]
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_pd.c132 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
231 u32 adv_id,
272 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
339 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
350 } else if (status != P2P_SC_SUCCESS || adv_id) {
356 p2p_buf_add_advertisement_id(buf, adv_id,
377 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
392 tmp->adv_id = adv_id;
226 p2p_build_prov_disc_resp(struct p2p_data *p2p, struct p2p_device *dev, u8 dialog_token, enum p2p_status_code status, u16 config_methods, u32 adv_id, const u8 *group_id, size_t group_id_len, const u8 *persist_ssid, size_t persist_ssid_len) argument
411 u32 adv_id = 0; local
798 u32 adv_id = 0; local
[all...]
H A Dp2p_build.c438 u32 adv_id, u16 config_methods,
446 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
448 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
485 * Split adv_id, config_methods, and svc_name_len between two
492 WPA_PUT_LE32(holder, adv_id);
506 wpabuf_put_le32(buf, adv_id);
509 remaining -= sizeof(adv_id) + sizeof(config_methods) +
437 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
H A Dp2p.h164 * adv_id - P2PS Advertisement ID
166 u32 adv_id; member in struct:p2ps_provision
820 * @adv_id: If non-zero, then the adv_id of the PD Request
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);
H A Dp2p_i.h625 const u8 *adv_id; member in struct:p2p_message
H A Dp2p.c2647 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2656 if (adv_data->id == adv_id)
2665 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2676 if (adv_data->id == adv_id) {
2677 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2690 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2721 adv_data->id = adv_id;
2765 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s'",
2766 adv_id, adv_dat
3904 u32 adv_id = 0; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_pd.c132 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
231 u32 adv_id,
272 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
339 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
350 } else if (status != P2P_SC_SUCCESS || adv_id) {
356 p2p_buf_add_advertisement_id(buf, adv_id,
377 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
392 tmp->adv_id = adv_id;
226 p2p_build_prov_disc_resp(struct p2p_data *p2p, struct p2p_device *dev, u8 dialog_token, enum p2p_status_code status, u16 config_methods, u32 adv_id, const u8 *group_id, size_t group_id_len, const u8 *persist_ssid, size_t persist_ssid_len) argument
411 u32 adv_id = 0; local
798 u32 adv_id = 0; local
[all...]
H A Dp2p_build.c438 u32 adv_id, u16 config_methods,
446 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
448 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
485 * Split adv_id, config_methods, and svc_name_len between two
492 WPA_PUT_LE32(holder, adv_id);
506 wpabuf_put_le32(buf, adv_id);
509 remaining -= sizeof(adv_id) + sizeof(config_methods) +
437 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
H A Dp2p.h164 * adv_id - P2PS Advertisement ID
166 u32 adv_id; member in struct:p2ps_provision
820 * @adv_id: If non-zero, then the adv_id of the PD Request
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);
H A Dp2p_i.h625 const u8 *adv_id; member in struct:p2p_message
H A Dp2p.c2647 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2656 if (adv_data->id == adv_id)
2665 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2676 if (adv_data->id == adv_id) {
2677 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2690 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2721 adv_data->id = adv_id;
2765 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s'",
2766 adv_id, adv_dat
3904 u32 adv_id = 0; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dp2p_supplicant_sd.c819 u32 adv_id; local
837 adv_id = WPA_GET_LE32(pos);
874 MAC2STR(sa), srv_trans_id, adv_id,
881 MAC2STR(sa), srv_trans_id, adv_id,
1162 int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id) argument
1164 if (adv_id == 0)
1167 if (p2p_service_p2ps_id(wpa_s->global->p2p, adv_id))
1174 int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id) argument
1178 ret = p2p_service_del_asp(wpa_s->global->p2p, adv_id);
1186 int auto_accept, u32 adv_id,
1185 wpas_p2p_service_add_asp(struct wpa_supplicant *wpa_s, int auto_accept, u32 adv_id, const char *adv_str, u8 svc_state, u16 config_methods, const char *svc_info) argument
[all...]
H A Dctrl_iface.c4675 pos = os_strstr(cmd, "adv_id=");
4678 p2ps_prov->adv_id = val;
4728 /* <addr> id=<adv_id> [role=<conncap>] [info=<infodata>] */
4759 /* <addr> id=<adv_id> adv_mac=<adv_mac> conncap=<conncap>
5192 u32 auto_accept, adv_id, svc_state, config_methods; local
5221 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0)
5225 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) {
5281 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str,
5351 u32 adv_id; local
[all...]
H A Dp2p_supplicant.c2212 " adv_id=%x asp_svc=%s%s",
2536 u32 adv_id, const u8 *adv_mac,
2560 if (adv_id && adv_mac && deferred_session_resp) {
2562 " p2p_dev_addr=" MACSTR " status=%d adv_id=%x"
2564 MAC2STR(peer), status, adv_id,
2566 } else if (adv_id && adv_mac) {
2568 " p2p_dev_addr=" MACSTR " status=%d adv_id=%x",
2569 MAC2STR(peer), status, adv_id);
3601 const u8 *grp_mac, u32 adv_id, u32 ses_id,
3628 " adv_id
2534 wpas_prov_disc_fail(void *ctx, const u8 *peer, enum p2p_prov_disc_status status, u32 adv_id, const u8 *adv_mac, const char *deferred_session_resp) argument
3599 wpas_p2ps_prov_complete(void *ctx, u8 status, const u8 *dev, const u8 *adv_mac, const u8 *ses_mac, const u8 *grp_mac, u32 adv_id, u32 ses_id, u8 conncap, int passwd_id, const u8 *persist_ssid, size_t persist_ssid_size, int response_done, int prov_start, const char *session_info) argument
[all...]

Completed in 241 milliseconds