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
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()
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()
586 if (uuid_str2bin(pos, ap->uuid) < 0) in wps_er_parse_device_description()
637 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, in wps_er_ap_add() argument
642 ap = wps_er_ap_get(er, addr, uuid, NULL); in wps_er_ap_add()
664 os_memcpy(ap->uuid, uuid, WPS_UUID_LEN); in wps_er_ap_add()
791 os_memcpy(sta->uuid, attr->uuid_e, WPS_UUID_LEN); in wps_er_add_sta_data()
1401 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1408 data.set_sel_reg.uuid = ap->uuid; in wps_er_http_set_sel_reg_cb()
1414 if (data.set_sel_reg.uuid) in wps_er_http_set_sel_reg_cb()
1534 wps_er_build_uuid_r(msg, er->wps->uuid)) { in wps_er_set_sel_reg()
1547 os_memcmp(ap->uuid, er->set_sel_reg_uuid_filter, in wps_er_set_sel_reg()
1550 data.set_sel_reg.uuid = ap->uuid; in wps_er_set_sel_reg()
1560 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr) in wps_er_pbc() argument
1574 if (uuid) in wps_er_pbc()
1575 ap = wps_er_ap_get(er, NULL, uuid, NULL); in wps_er_pbc()
1581 sta = wps_er_sta_get(ap, addr, uuid); in wps_er_pbc()
1583 uuid = ap->uuid; in wps_er_pbc()
1596 er->set_sel_reg_uuid_filter = uuid; in wps_er_pbc()
1620 data.ap_settings.uuid = ap->uuid; in wps_er_ap_settings_cb()
1634 return sta->uuid; in wps_er_get_sta_uuid()
1911 int wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_learn() argument
1919 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_learn()
1925 if (uuid == NULL) in wps_er_learn()
1926 uuid = ap->uuid; in wps_er_learn()
1937 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn()
1944 int wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_set_config() argument
1952 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_set_config()
1995 int wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr, in wps_er_config() argument
2004 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_config()
2010 if (uuid == NULL) in wps_er_config()
2011 uuid = ap->uuid; in wps_er_config()
2028 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
2060 struct wpabuf * wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid, in wps_er_nfc_config_token() argument
2068 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_nfc_config_token()
2082 struct wps_context *wps, const u8 *uuid, in wps_er_nfc_handover_sel() argument
2090 ap = wps_er_ap_get(er, NULL, uuid, addr); in wps_er_nfc_handover_sel()