Home
last modified time | relevance | path

Searched refs:svc_name (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c467 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()
Dp2p.c2314 os_strncmp(adv_data->svc_name, P2PS_WILD_HASH_STR, in p2p_service_find_asp()
2766 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2774 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()
2786 if (os_strcmp(tmp->svc_name, adv_data->svc_name) != 0) { in p2p_service_add_asp()
2795 if (os_strcmp(tmp->svc_name, adv_data->svc_name) == 0) { in p2p_service_add_asp()
Dp2p.h299 char svc_name[0]; member
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c600 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()