Home | History | Annotate | Download | only in wps

Lines Matching refs: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);
1396 data.set_sel_reg.uuid = ap->uuid;
1403 data.set_sel_reg.uuid = ap->uuid;
1409 if (data.set_sel_reg.uuid)
1535 wps_er_build_uuid_r(msg, er->wps->uuid)) {
1548 os_memcmp(ap->uuid, er->set_sel_reg_uuid_filter,
1551 data.set_sel_reg.uuid = ap->uuid;
1561 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr)
1575 if (uuid)
1576 ap = wps_er_ap_get(er, NULL, uuid, NULL);
1582 sta = wps_er_sta_get(ap, addr, uuid);
1584 uuid = ap->uuid;
1589 return -3; /* Unknown UUID */
1597 er->set_sel_reg_uuid_filter = uuid;
1621 data.ap_settings.uuid = ap->uuid;
1635 return sta->uuid;
1899 int wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr,
1907 ap = wps_er_ap_get(er, NULL, uuid, addr);
1913 if (uuid == NULL)
1914 uuid = ap->uuid;
1925 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0);
1932 int wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr,
1940 ap = wps_er_ap_get(er, NULL, uuid, addr);
1984 int wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr,
1993 ap = wps_er_ap_get(er, NULL, uuid, addr);
1999 if (uuid == NULL)
2000 uuid = ap->uuid;
2018 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0);
2051 struct wpabuf * wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid,
2059 ap = wps_er_ap_get(er, NULL, uuid, addr);