Lines Matching full:uuid
13 #include "uuid.h"
44 ev->uuid = sta->uuid;
60 const u8 *uuid)
66 (uuid == NULL ||
67 os_memcmp(uuid, sta->uuid, WPS_UUID_LEN) == 0))
100 struct in_addr *addr, const u8 *uuid,
106 (uuid == NULL ||
107 os_memcmp(uuid, ap->uuid, WPS_UUID_LEN) == 0) &&
137 evap->uuid = ap->uuid;
256 "SID: uuid:%s\r\n"
281 const u8 *uuid)
285 if (os_memcmp(uuid, s->uuid, WPS_UUID_LEN) == 0)
300 settings = wps_er_ap_get_settings(er, ap->uuid);
305 os_memcpy(settings->uuid, ap->uuid, WPS_UUID_LEN);
323 s = wps_er_ap_get_settings(ap->er, ap->uuid);
380 pos = os_strstr(sid, "uuid:");
585 pos = os_strstr(ap->udn, "uuid:");
588 if (uuid_str2bin(pos, ap->uuid) < 0)
589 wpa_printf(MSG_DEBUG, "WPS ER: Invalid UUID in UDN");
637 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr,
642 ap = wps_er_ap_get(er, addr, uuid, NULL);
664 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN);
791 os_memcpy(sta->uuid, attr->uuid_e, WPS_UUID_LEN);
1391 data.set_sel_reg.uuid = ap->uuid;
1398 data.set_sel_reg.uuid = ap->uuid;
1404 if (data.set_sel_reg.uuid)
1530 wps_er_build_uuid_r(msg, er->wps->uuid)) {
1543 os_memcmp(ap->uuid, er->set_sel_reg_uuid_filter,
1546 data.set_sel_reg.uuid = ap->uuid;
1556 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr)
1570 if (uuid)
1571 ap = wps_er_ap_get(er, NULL, uuid, NULL);
1577 sta = wps_er_sta_get(ap, addr, uuid);
1579 uuid = ap->uuid;
1584 return -3; /* Unknown UUID */
1592 er->set_sel_reg_uuid_filter = uuid;
1616 data.ap_settings.uuid = ap->uuid;
1630 return sta->uuid;
1894 int wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr,
1902 ap = wps_er_ap_get(er, NULL, uuid, addr);
1908 if (uuid == NULL)
1909 uuid = ap->uuid;
1920 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0);
1927 int wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr,
1935 ap = wps_er_ap_get(er, NULL, uuid, addr);
1979 int wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr,
1988 ap = wps_er_ap_get(er, NULL, uuid, addr);
1994 if (uuid == NULL)
1995 uuid = ap->uuid;
2013 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0);
2046 struct wpabuf * wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid,
2054 ap = wps_er_ap_get(er, NULL, uuid, addr);