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

/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_pd.c144 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
251 u32 adv_id,
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
366 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
378 } else if (status != P2P_SC_SUCCESS || adv_id) {
384 p2p_buf_add_advertisement_id(buf, adv_id,
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
420 tmp->adv_id = adv_id;
246 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, const u8 *fcap, u16 fcap_len) argument
562 u32 adv_id = 0; local
1202 u32 adv_id; local
1302 u32 adv_id = 0; local
[all...]
H A Dp2p.h179 * adv_id - P2PS Advertisement ID
181 u32 adv_id; member in struct:p2ps_provision
879 * @adv_id: If non-zero, then the adv_id of the PD Request
891 u32 adv_id, const u8 *adv_mac,
1071 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2355 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2356 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2360 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
H A Dp2p_build.c477 u32 adv_id, u16 config_methods,
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
524 * Split adv_id, config_methods, and svc_name_len between two
531 WPA_PUT_LE32(holder, adv_id);
545 wpabuf_put_le32(buf, adv_id);
548 remaining -= sizeof(adv_id) + sizeof(config_methods) +
476 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.c2687 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2696 if (adv_data->id == adv_id)
2705 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2716 if (adv_data->id == adv_id) {
2717 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2730 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2762 adv_data->id = adv_id;
2811 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s' cpt_mask=0x%x",
2812 adv_id, adv_dat
4020 u32 adv_id = 0; local
[all...]
H A Dp2p_i.h647 const u8 *adv_id; member in struct:p2p_message
H A Dp2p_parse.c330 msg->adv_id = data;
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_pd.c144 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
251 u32 adv_id,
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
366 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
378 } else if (status != P2P_SC_SUCCESS || adv_id) {
384 p2p_buf_add_advertisement_id(buf, adv_id,
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
420 tmp->adv_id = adv_id;
246 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, const u8 *fcap, u16 fcap_len) argument
562 u32 adv_id = 0; local
1202 u32 adv_id; local
1302 u32 adv_id = 0; local
[all...]
H A Dp2p.h179 * adv_id - P2PS Advertisement ID
181 u32 adv_id; member in struct:p2ps_provision
879 * @adv_id: If non-zero, then the adv_id of the PD Request
891 u32 adv_id, const u8 *adv_mac,
1071 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2355 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2356 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2360 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
H A Dp2p_build.c477 u32 adv_id, u16 config_methods,
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
524 * Split adv_id, config_methods, and svc_name_len between two
531 WPA_PUT_LE32(holder, adv_id);
545 wpabuf_put_le32(buf, adv_id);
548 remaining -= sizeof(adv_id) + sizeof(config_methods) +
476 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.c2687 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2696 if (adv_data->id == adv_id)
2705 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2716 if (adv_data->id == adv_id) {
2717 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2730 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2762 adv_data->id = adv_id;
2811 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s' cpt_mask=0x%x",
2812 adv_id, adv_dat
4020 u32 adv_id = 0; local
[all...]
H A Dp2p_i.h647 const u8 *adv_id; member in struct:p2p_message
H A Dp2p_parse.c330 msg->adv_id = data;
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_pd.c144 p2p_buf_add_advertisement_id(buf, prov->adv_id, prov->adv_mac);
251 u32 adv_id,
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) {
366 p2p_buf_add_advertisement_id(buf, adv_id, prov->adv_mac);
378 } else if (status != P2P_SC_SUCCESS || adv_id) {
384 p2p_buf_add_advertisement_id(buf, adv_id,
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, argument
420 tmp->adv_id = adv_id;
246 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, const u8 *fcap, u16 fcap_len) argument
562 u32 adv_id = 0; local
1202 u32 adv_id; local
1302 u32 adv_id = 0; local
[all...]
H A Dp2p.h179 * adv_id - P2PS Advertisement ID
181 u32 adv_id; member in struct:p2ps_provision
879 * @adv_id: If non-zero, then the adv_id of the PD Request
891 u32 adv_id, const u8 *adv_mac,
1071 const u8 *grp_mac, u32 adv_id, u32 ses_id,
2355 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2356 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2360 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
H A Dp2p_build.c477 u32 adv_id, u16 config_methods,
485 p2p_dbg(p2p, "Add service info for %s (adv_id=%u)", svc_name, adv_id);
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) +
524 * Split adv_id, config_methods, and svc_name_len between two
531 WPA_PUT_LE32(holder, adv_id);
545 wpabuf_put_le32(buf, adv_id);
548 remaining -= sizeof(adv_id) + sizeof(config_methods) +
476 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.c2687 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id) argument
2696 if (adv_data->id == adv_id)
2705 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id) argument
2716 if (adv_data->id == adv_id) {
2717 p2p_dbg(p2p, "Delete ASP adv_id=0x%x", adv_id);
2730 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id, argument
2762 adv_data->id = adv_id;
2811 "Added ASP advertisement adv_id=0x%x config_methods=0x%x svc_state=0x%x adv_str='%s' cpt_mask=0x%x",
2812 adv_id, adv_dat
4020 u32 adv_id = 0; local
[all...]
H A Dp2p_i.h647 const u8 *adv_id; member in struct:p2p_message
H A Dp2p_parse.c330 msg->adv_id = data;
/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, const u8 *cpt_priority) argument
[all...]
H A 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);
H A Dp2p_supplicant.c2347 " adv_id=%x asp_svc=%s%s",
2689 u32 adv_id, const u8 *adv_mac,
2713 if (adv_id && adv_mac && deferred_session_resp) {
2715 " p2p_dev_addr=" MACSTR " status=%d adv_id=%x"
2717 MAC2STR(peer), status, adv_id,
2719 } else if (adv_id && adv_mac) {
2721 " p2p_dev_addr=" MACSTR " status=%d adv_id=%x",
2722 MAC2STR(peer), status, adv_id);
3969 const u8 *grp_mac, u32 adv_id, u32 ses_id,
4003 " adv_id
2687 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
3967 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, const u8 *feat_cap, size_t feat_cap_len, unsigned int freq, const u8 *group_ssid, size_t group_ssid_len) argument
[all...]
H A Dctrl_iface.c5108 pos = os_strstr(cmd, "adv_id=");
5111 p2ps_prov->adv_id = val;
5173 /* <addr> id=<adv_id> [role=<conncap>] [info=<infodata>] */
5204 /* <addr> id=<adv_id> adv_mac=<adv_mac> conncap=<conncap>
5694 u32 auto_accept, adv_id, svc_state, config_methods; local
5725 if (sscanf(cmd, "%x", &adv_id) != 1 || adv_id == 0)
5729 if (wpas_p2p_service_p2ps_id_exists(wpa_s, adv_id)) {
5798 return wpas_p2p_service_add_asp(wpa_s, auto_accept, adv_id, adv_str,
5868 u32 adv_id; local
[all...]

Completed in 238 milliseconds