Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

16 #include "wps/wps.h"
17 #include "wps/wps_i.h"
59 wpa_printf(MSG_ERROR, "WPS: OOB file not found: %d (%s)",
64 wpa_printf(MSG_ERROR, "WPS: OOB file not found");
76 static int get_file_name(struct wps_context *wps, int registrar,
79 switch (wps->oob_conf.oob_method) {
90 u8 *mac_addr = wps->dev.mac_addr;
101 wpa_printf(MSG_ERROR, "WPS: Invalid USBA OOB method");
111 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to create directory "
119 static void * init_ufd(struct wps_context *wps,
132 write_f = wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_E ?
135 if (get_file_name(wps, registrar, path, filename) < 0) {
136 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to get file name");
156 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to open %s: %s",
179 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to get file size");
186 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to alloc read "
194 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to read");
208 wpa_printf(MSG_ERROR, "WPS (UFD): Failed to write");