Searched refs:svc_name (Results 1 – 5 of 5) sorted by relevance
/hostap-3.7.0/tests/hwsim/ |
D | test_p2ps.py | 26 def p2ps_advertise(r_dev, r_role, svc_name, srv_info, rsp_info=None, cpt=None): argument 34 …("P2P_SERVICE_ADD asp " + str(r_role) + " " + str(advid) + " 1 1108 " + svc_name + cpt_param + " s… 38 …("P2P_SERVICE_ADD asp " + str(r_role) + " " + str(advid) + " 1 1108 " + svc_name + cpt_param + " s… 42 …quest("P2P_SERVICE_ADD asp " + str(r_role) + " " + str(advid) + " 1 1108 " + svc_name + cpt_param): 46 …"P2P_SERVICE_ADD asp " + str(r_role) + " " + str(adv_id) + " 1 1108 " + svc_name + cpt_param + " s… 52 def p2ps_exact_seek(i_dev, r_dev, svc_name, srv_info=None, argument 56 …ev1 = i_dev.global_request("P2P_SERV_DISC_REQ 00:00:00:00:00:00 asp 1 " + svc_name + " '" + srv_in… 60 if "OK" not in i_dev.global_request("P2P_FIND 10 type=social seek=" + svc_name): 81 if rcvd_svc_name != svc_name: 93 if rcvd_svc_name != svc_name: [all …]
|
/hostap-3.7.0/src/p2p/ |
D | p2p_build.c | 467 if (os_strncmp(adv->svc_name, P2PS_WILD_HASH_STR, in p2p_wfa_service_adv() 478 const char *svc_name, u8 **ie_len, u8 **pos, 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() 486 svc_len = os_strlen(svc_name); in p2p_buf_add_service_info() 558 wpabuf_put_data(buf, svc_name, front); in p2p_buf_add_service_info() 565 wpabuf_put_data(buf, &svc_name[front], 255 - 4); in p2p_buf_add_service_info() 572 wpabuf_put_data(buf, &svc_name[front], back); in p2p_buf_add_service_info() 575 wpabuf_put_data(buf, svc_name, svc_len); in p2p_buf_add_service_info() 649 adv->svc_name, in p2p_buf_add_service_instance()
|
D | p2p.c | 2328 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp() 2780 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp() 2788 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp() 2800 if (os_strcmp(tmp->svc_name, adv_data->svc_name) != 0) { in p2p_service_add_asp() 2809 if (os_strcmp(tmp->svc_name, adv_data->svc_name) == 0) { in p2p_service_add_asp()
|
D | p2p.h | 306 char svc_name[0]; member
|
/hostap-3.7.0/wpa_supplicant/ |
D | p2p_supplicant_sd.c | 600 if (!prefix && svc_len != os_strlen(adv_data->svc_name)) in wpas_sd_req_asp() 604 if (os_memcmp(adv_data->svc_name, svc, svc_len) == 0 && in wpas_sd_req_asp() 606 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp() 635 adv_data->svc_name, in wpas_sd_req_asp() 639 adv_data->svc_name); in wpas_sd_req_asp() 650 wpabuf_put_data(resp, adv_data->svc_name, len); in wpas_sd_req_asp()
|