Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:uuid

13 #include "uuid.h"
596 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str));
619 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str));
630 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str));
654 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str));
676 uuid_bin2str(ap_settings->uuid, uuid_str, sizeof(uuid_str));
679 "uuid=%s ssid=%s auth_type=0x%04x encr_type=0x%04x "
692 uuid_bin2str(ev->uuid, uuid_str, sizeof(uuid_str));
696 "uuid=%s state=START sel_reg=%d dev_passwd_id=%u "
703 "uuid=%s state=DONE", uuid_str);
707 "uuid=%s state=FAILED", uuid_str);
1111 char uuid[40], txt[400];
1114 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
1116 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid);
1119 uuid, MAC2STR(dev->mac_addr), dev->device_name,
1172 wpa_printf(MSG_DEBUG, "WPS: Set UUID for interface %s", wpa_s->ifname);
1173 if (is_nil_uuid(wpa_s->conf->uuid)) {
1180 os_memcpy(wps->uuid,
1181 wpa_s->global->ifaces->wps->uuid,
1183 wpa_hexdump(MSG_DEBUG, "WPS: UUID from the first "
1184 "interface", wps->uuid, WPS_UUID_LEN);
1186 uuid_gen_mac_addr(wpa_s->own_addr, wps->uuid);
1187 wpa_hexdump(MSG_DEBUG, "WPS: UUID based on MAC "
1188 "address", wps->uuid, WPS_UUID_LEN);
1191 os_memcpy(wps->uuid, wpa_s->conf->uuid, WPS_UUID_LEN);
1192 wpa_hexdump(MSG_DEBUG, "WPS: UUID based on configuration",
1193 wps->uuid, WPS_UUID_LEN);
1450 const u8 *sel_uuid, *uuid;
1466 wpa_hexdump(MSG_DEBUG, "WPS: UUID of the selected BSS",
1487 uuid = wps_get_uuid_e(ie);
1488 wpa_hexdump(MSG_DEBUG, "WPS: UUID of the other BSS",
1489 uuid, UUID_LEN);
1490 if (sel_uuid == NULL || uuid == NULL ||
1491 os_memcmp(sel_uuid, uuid, UUID_LEN) != 0) {
1605 const char *uuid, const char *pin)
1611 if (os_strcmp(uuid, "any") == 0) {
1612 } else if (uuid_str2bin(uuid, u) == 0) {
1614 } else if (hwaddr_aton(uuid, addr_buf) == 0) {
1626 int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid)
1631 if (uuid_str2bin(uuid, u) == 0)
1633 else if (hwaddr_aton(uuid, addr) == 0)
1641 int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid,
1647 if (uuid_str2bin(uuid, u) == 0)
1649 else if (hwaddr_aton(uuid, addr) == 0)
1693 int wpas_wps_er_set_config(struct wpa_supplicant *wpa_s, const char *uuid,
1701 if (uuid_str2bin(uuid, u) == 0)
1703 else if (hwaddr_aton(uuid, addr) == 0)
1717 int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid,
1725 if (uuid_str2bin(uuid, u) == 0)
1727 else if (hwaddr_aton(uuid, addr) == 0)
1775 int ndef, const char *uuid)
1784 if (uuid_str2bin(uuid, u) == 0)
1786 else if (hwaddr_aton(uuid, addr) == 0)
2122 int ndef, const char *uuid)
2132 if (uuid == NULL)
2134 if (uuid_str2bin(uuid, u) == 0)
2136 else if (hwaddr_aton(uuid, addr) == 0)
2164 int ndef, int cr, const char *uuid)
2172 return wpas_wps_er_nfc_handover_sel(wpa_s, ndef, uuid);