Home | History | Annotate | Download | only in ap

Lines Matching refs:uuid

13 #include "utils/uuid.h"
148 char uuid[40], txt[400];
151 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
153 wpa_printf(MSG_DEBUG, "WPS: PIN needed for E-UUID %s", uuid);
156 uuid, MAC2STR(dev->mac_addr), dev->device_name,
173 t.sec, uuid, MAC2STR(dev->mac_addr), dev->device_name,
201 char uuid[40];
203 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
206 MAC2STR(mac_addr), uuid);
224 char uuid[40];
226 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
232 MAC2STR(addr), uuid,
683 const u8 **uuid = ctx;
690 if (hapd->wps && !is_nil_uuid(hapd->wps->uuid)) {
691 *uuid = hapd->wps->uuid;
702 const u8 *uuid;
705 uuid = NULL;
706 iface->for_each_interface(iface->interfaces, get_uuid_cb, &uuid);
707 return uuid;
777 if (is_nil_uuid(hapd->conf->uuid)) {
778 const u8 *uuid;
779 uuid = get_own_uuid(hapd->iface);
780 if (uuid) {
781 os_memcpy(wps->uuid, uuid, UUID_LEN);
782 wpa_hexdump(MSG_DEBUG, "WPS: Clone UUID from another "
783 "interface", wps->uuid, UUID_LEN);
785 uuid_gen_mac_addr(hapd->own_addr, wps->uuid);
786 wpa_hexdump(MSG_DEBUG, "WPS: UUID based on MAC "
787 "address", wps->uuid, UUID_LEN);
790 os_memcpy(wps->uuid, hapd->conf->uuid, UUID_LEN);
791 wpa_hexdump(MSG_DEBUG, "WPS: Use configured UUID",
792 wps->uuid, UUID_LEN);
1034 const u8 *uuid;
1050 data->uuid, data->pin, data->pin_len,
1059 const char *uuid, const char *pin, int timeout)
1065 data.uuid = u;
1071 if (os_strcmp(uuid, "any") == 0)
1072 data.uuid = NULL;
1074 if (uuid_str2bin(uuid, u))
1076 data.uuid = u;