Lines Matching refs:uuid
177 char uuid[40], txt[400]; in hostapd_wps_pin_needed_cb() local
180 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in hostapd_wps_pin_needed_cb()
182 wpa_printf(MSG_DEBUG, "WPS: PIN needed for E-UUID %s", uuid); in hostapd_wps_pin_needed_cb()
185 uuid, MAC2STR(dev->mac_addr), dev->device_name, in hostapd_wps_pin_needed_cb()
202 t.sec, uuid, MAC2STR(dev->mac_addr), dev->device_name, in hostapd_wps_pin_needed_cb()
234 char uuid[40]; in hostapd_wps_reg_success_cb() local
236 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in hostapd_wps_reg_success_cb()
239 MAC2STR(mac_addr), uuid); in hostapd_wps_reg_success_cb()
259 char uuid[40]; in hostapd_wps_enrollee_seen_cb() local
261 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in hostapd_wps_enrollee_seen_cb()
267 MAC2STR(addr), uuid, in hostapd_wps_enrollee_seen_cb()
974 const u8 **uuid = ctx; in get_uuid_cb() local
982 !is_nil_uuid(hapd->wps->uuid)) { in get_uuid_cb()
983 *uuid = hapd->wps->uuid; in get_uuid_cb()
994 const u8 *uuid; in get_own_uuid() local
998 uuid = NULL; in get_own_uuid()
1000 &uuid); in get_own_uuid()
1001 return uuid; in get_own_uuid()
1105 if (is_nil_uuid(hapd->conf->uuid)) { in hostapd_init_wps()
1106 const u8 *uuid; in hostapd_init_wps() local
1107 uuid = get_own_uuid(hapd->iface); in hostapd_init_wps()
1108 if (uuid && !conf->wps_independent) { in hostapd_init_wps()
1109 os_memcpy(wps->uuid, uuid, UUID_LEN); in hostapd_init_wps()
1111 "interface", wps->uuid, UUID_LEN); in hostapd_init_wps()
1113 uuid_gen_mac_addr(hapd->own_addr, wps->uuid); in hostapd_init_wps()
1115 "address", wps->uuid, UUID_LEN); in hostapd_init_wps()
1118 os_memcpy(wps->uuid, hapd->conf->uuid, UUID_LEN); in hostapd_init_wps()
1120 wps->uuid, UUID_LEN); in hostapd_init_wps()
1517 const u8 *uuid; member
1533 data->uuid, data->pin, data->pin_len, in wps_add_pin()
1542 const char *uuid, const char *pin, int timeout) in hostapd_wps_add_pin() argument
1548 data.uuid = u; in hostapd_wps_add_pin()
1554 if (os_strcmp(uuid, "any") == 0) in hostapd_wps_add_pin()
1555 data.uuid = NULL; in hostapd_wps_add_pin()
1557 if (uuid_str2bin(uuid, u)) in hostapd_wps_add_pin()
1559 data.uuid = u; in hostapd_wps_add_pin()