Lines Matching refs:uuid
756 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_add()
779 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_remove()
790 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_add()
814 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_remove()
836 uuid_bin2str(ap_settings->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_settings()
852 uuid_bin2str(ev->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_set_sel_reg()
1478 char uuid[40], txt[400]; in wpas_wps_pin_needed_cb() local
1481 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in wpas_wps_pin_needed_cb()
1483 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid); in wpas_wps_pin_needed_cb()
1486 uuid, MAC2STR(dev->mac_addr), dev->device_name, in wpas_wps_pin_needed_cb()
1540 if (is_nil_uuid(wpa_s->conf->uuid)) { in wpas_wps_set_uuid()
1547 os_memcpy(wps->uuid, in wpas_wps_set_uuid()
1548 wpa_s->global->ifaces->wps->uuid, in wpas_wps_set_uuid()
1552 uuid_random(wps->uuid); in wpas_wps_set_uuid()
1555 uuid_gen_mac_addr(wpa_s->own_addr, wps->uuid); in wpas_wps_set_uuid()
1559 os_memcpy(wps->uuid, wpa_s->conf->uuid, WPS_UUID_LEN); in wpas_wps_set_uuid()
1563 uuid_bin2str(wps->uuid, buf, sizeof(buf)); in wpas_wps_set_uuid()
1872 ap->uuid, UUID_LEN); in wpas_wps_is_pbc_overlap()
1873 if (!sel_uuid || os_memcmp(sel_uuid, ap->uuid, UUID_LEN) != 0) in wpas_wps_is_pbc_overlap()
2030 const char *uuid, const char *pin) in wpas_wps_er_add_pin() argument
2036 if (os_strcmp(uuid, "any") == 0) { in wpas_wps_er_add_pin()
2037 } else if (uuid_str2bin(uuid, u) == 0) { in wpas_wps_er_add_pin()
2039 } else if (hwaddr_aton(uuid, addr_buf) == 0) { in wpas_wps_er_add_pin()
2051 int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid) in wpas_wps_er_pbc() argument
2056 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_pbc()
2058 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_pbc()
2066 int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid, in wpas_wps_er_learn() argument
2072 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_learn()
2074 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_learn()
2118 int wpas_wps_er_set_config(struct wpa_supplicant *wpa_s, const char *uuid, in wpas_wps_er_set_config() argument
2127 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_set_config()
2129 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_set_config()
2145 int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid, in wpas_wps_er_config() argument
2153 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_config()
2155 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_config()
2205 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() argument
2214 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_nfc_config_token()
2216 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_nfc_config_token()
2611 const char *uuid) in wpas_wps_er_nfc_handover_sel() argument
2622 if (uuid == NULL) in wpas_wps_er_nfc_handover_sel()
2624 if (uuid_str2bin(uuid, u) == 0) in wpas_wps_er_nfc_handover_sel()
2626 else if (hwaddr_aton(uuid, addr) == 0) in wpas_wps_er_nfc_handover_sel()
2666 int ndef, int cr, const char *uuid) in wpas_wps_nfc_handover_sel() argument
2674 return wpas_wps_er_nfc_handover_sel(wpa_s, ndef, uuid); in wpas_wps_nfc_handover_sel()
2965 const u8 *uuid; in wpas_wps_update_ap_info_bss() local
2982 uuid = wps_get_uuid_e(wps); in wpas_wps_update_ap_info_bss()
2996 if (uuid) in wpas_wps_update_ap_info_bss()
2997 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN); in wpas_wps_update_ap_info_bss()
3014 if (uuid) in wpas_wps_update_ap_info_bss()
3015 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN); in wpas_wps_update_ap_info_bss()