Home | History | Annotate | Download | only in ap

Lines Matching refs:uuid

13 #include "utils/uuid.h"
159 char uuid[40], txt[400];
162 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
164 wpa_printf(MSG_DEBUG, "WPS: PIN needed for E-UUID %s", uuid);
167 uuid, MAC2STR(dev->mac_addr), dev->device_name,
184 t.sec, uuid, MAC2STR(dev->mac_addr), dev->device_name,
216 char uuid[40];
218 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
221 MAC2STR(mac_addr), uuid);
241 char uuid[40];
243 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid)))
249 MAC2STR(addr), uuid,
819 const u8 **uuid = ctx;
827 !is_nil_uuid(hapd->wps->uuid)) {
828 *uuid = hapd->wps->uuid;
839 const u8 *uuid;
843 uuid = NULL;
845 &uuid);
846 return uuid;
917 if (is_nil_uuid(hapd->conf->uuid)) {
918 const u8 *uuid;
919 uuid = get_own_uuid(hapd->iface);
920 if (uuid && !conf->wps_independent) {
921 os_memcpy(wps->uuid, uuid, UUID_LEN);
922 wpa_hexdump(MSG_DEBUG, "WPS: Clone UUID from another "
923 "interface", wps->uuid, UUID_LEN);
925 uuid_gen_mac_addr(hapd->own_addr, wps->uuid);
926 wpa_hexdump(MSG_DEBUG, "WPS: UUID based on MAC "
927 "address", wps->uuid, UUID_LEN);
930 os_memcpy(wps->uuid, hapd->conf->uuid, UUID_LEN);
931 wpa_hexdump(MSG_DEBUG, "WPS: Use configured UUID",
932 wps->uuid, UUID_LEN);
1190 const u8 *uuid;
1206 data->uuid, data->pin, data->pin_len,
1215 const char *uuid, const char *pin, int timeout)
1221 data.uuid = u;
1227 if (os_strcmp(uuid, "any") == 0)
1228 data.uuid = NULL;
1230 if (uuid_str2bin(uuid, u))
1232 data.uuid = u;