Lines Matching full:uuid

13 #include "uuid.h"
44 ev->uuid = sta->uuid; in wps_er_sta_event()
60 const u8 *uuid) in wps_er_sta_get() argument
66 (uuid == NULL || in wps_er_sta_get()
67 os_memcmp(uuid, sta->uuid, WPS_UUID_LEN) == 0)) in wps_er_sta_get()
100 struct in_addr *addr, const u8 *uuid, in wps_er_ap_get() argument
106 (uuid == NULL || in wps_er_ap_get()
107 os_memcmp(uuid, ap->uuid, WPS_UUID_LEN) == 0) && in wps_er_ap_get()
137 evap->uuid = ap->uuid; in wps_er_ap_event()
254 "SID: uuid:%s\r\n" in wps_er_ap_unsubscribe()
279 const u8 *uuid) in wps_er_ap_get_settings() argument
283 if (os_memcmp(uuid, s->uuid, WPS_UUID_LEN) == 0) in wps_er_ap_get_settings()
298 settings = wps_er_ap_get_settings(er, ap->uuid); in wps_er_ap_cache_settings()
303 os_memcpy(settings->uuid, ap->uuid, WPS_UUID_LEN); in wps_er_ap_cache_settings()
321 s = wps_er_ap_get_settings(ap->er, ap->uuid); in wps_er_ap_use_cached_settings()
378 pos = os_strstr(sid, "uuid:"); in wps_er_get_sid()
584 pos = os_strstr(ap->udn, "uuid:"); in wps_er_parse_device_description()
587 if (uuid_str2bin(pos, ap->uuid) < 0) in wps_er_parse_device_description()
589 "WPS ER: Invalid UUID in UDN"); in wps_er_parse_device_description()
638 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, in wps_er_ap_add() argument
643 ap = wps_er_ap_get(er, addr, uuid, NULL); in wps_er_ap_add()
665 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN); in wps_er_ap_add()
792 os_memcpy(sta->uuid, attr->uuid_e, WPS_UUID_LEN); in wps_er_add_sta_data()
1402 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1409 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1415 if (data.set_sel_reg.uuid) in wps_er_http_set_sel_reg_cb()
1535 wps_er_build_uuid_r(msg, er->wps->uuid)) { in wps_er_set_sel_reg()
1548 os_memcmp(ap->uuid, er->set_sel_reg_uuid_filter, in wps_er_set_sel_reg()
1551 data.set_sel_reg.uuid = ap->uuid; in wps_er_set_sel_reg()
1561 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr) in wps_er_pbc() argument
1575 if (uuid) in wps_er_pbc()
1576 ap = wps_er_ap_get(er, NULL, uuid, NULL); in wps_er_pbc()
1582 sta = wps_er_sta_get(ap, addr, uuid); in wps_er_pbc()
1584 uuid = ap->uuid; in wps_er_pbc()
1589 return -3; /* Unknown UUID */ in wps_er_pbc()
1597 er->set_sel_reg_uuid_filter = uuid; in wps_er_pbc()
1621 data.ap_settings.uuid = ap->uuid; in wps_er_ap_settings_cb()
1635 return sta->uuid; in wps_er_get_sta_uuid()
1912 int wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_learn() argument
1920 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_learn()
1926 if (uuid == NULL) in wps_er_learn()
1927 uuid = ap->uuid; in wps_er_learn()
1938 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn()
1945 int wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_set_config() argument
1953 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_set_config()
1997 int wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_config() argument
2006 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_config()
2012 if (uuid == NULL) in wps_er_config()
2013 uuid = ap->uuid; in wps_er_config()
2031 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
2063 struct wpabuf * wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid, in wps_er_nfc_config_token() argument
2071 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_nfc_config_token()
2085 struct wps_context *wps, const u8 *uuid, in wps_er_nfc_handover_sel() argument
2093 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_nfc_handover_sel()