Lines Matching refs:uuid
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
105 (uuid == NULL || in wps_er_ap_get()
106 os_memcmp(uuid, ap->uuid, WPS_UUID_LEN) == 0)) in wps_er_ap_get()
134 evap->uuid = ap->uuid; in wps_er_ap_event()
278 const u8 *uuid) in wps_er_ap_get_settings() argument
282 if (os_memcmp(uuid, s->uuid, WPS_UUID_LEN) == 0) in wps_er_ap_get_settings()
297 settings = wps_er_ap_get_settings(er, ap->uuid); in wps_er_ap_cache_settings()
302 os_memcpy(settings->uuid, ap->uuid, WPS_UUID_LEN); in wps_er_ap_cache_settings()
320 s = wps_er_ap_get_settings(ap->er, ap->uuid); in wps_er_ap_use_cached_settings()
585 if (uuid_str2bin(pos, ap->uuid) < 0) in wps_er_parse_device_description()
634 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, in wps_er_ap_add() argument
639 ap = wps_er_ap_get(er, addr, uuid); in wps_er_ap_add()
661 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN); in wps_er_ap_add()
788 os_memcpy(sta->uuid, attr->uuid_e, WPS_UUID_LEN); in wps_er_add_sta_data()
1393 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1400 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1406 if (data.set_sel_reg.uuid) in wps_er_http_set_sel_reg_cb()
1532 wps_er_build_uuid_r(msg, er->wps->uuid)) { in wps_er_set_sel_reg()
1545 os_memcmp(ap->uuid, er->set_sel_reg_uuid_filter, in wps_er_set_sel_reg()
1548 data.set_sel_reg.uuid = ap->uuid; in wps_er_set_sel_reg()
1558 int wps_er_pbc(struct wps_er *er, const u8 *uuid) in wps_er_pbc() argument
1572 ap = wps_er_ap_get(er, NULL, uuid); in wps_er_pbc()
1576 sta = wps_er_sta_get(ap, NULL, uuid); in wps_er_pbc()
1578 uuid = ap->uuid; in wps_er_pbc()
1591 er->set_sel_reg_uuid_filter = uuid; in wps_er_pbc()
1615 data.ap_settings.uuid = ap->uuid; in wps_er_ap_settings_cb()
1880 int wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *pin, in wps_er_learn() argument
1888 ap = wps_er_ap_get(er, NULL, uuid); in wps_er_learn()
1904 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn()
1911 int wps_er_set_config(struct wps_er *er, const u8 *uuid, in wps_er_set_config() argument
1919 ap = wps_er_ap_get(er, NULL, uuid); in wps_er_set_config()
1963 int wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *pin, in wps_er_config() argument
1971 ap = wps_er_ap_get(er, NULL, uuid); in wps_er_config()
1994 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
2002 struct wpabuf * wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid) in wps_er_nfc_config_token() argument
2011 ap = wps_er_ap_get(er, NULL, uuid); in wps_er_nfc_config_token()