Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

2  * UPnP WPS Device - Web connections
42 * WFA WPS specifications. Extra white space has been removed to save space.
198 s = iface->wps->friendly_name;
199 s = ((s && *s) ? s : "WPS Access Point");
202 s = iface->wps->dev.manufacturer;
206 if (iface->wps->manufacturer_url)
208 iface->wps->manufacturer_url);
210 if (iface->wps->model_description)
212 iface->wps->model_description);
214 s = iface->wps->dev.model_name;
218 if (iface->wps->dev.model_number)
220 iface->wps->dev.model_number);
222 if (iface->wps->model_url)
223 xml_add_tagged_data(buf, "modelURL", iface->wps->model_url);
225 if (iface->wps->dev.serial_number)
227 iface->wps->dev.serial_number);
229 uuid_bin2str(iface->wps->uuid, uuid_string, sizeof(uuid_string));
238 if (iface->wps->upc)
239 xml_add_tagged_data(buf, "UPC", iface->wps->upc);
330 wpa_printf(MSG_DEBUG, "WPS UPnP: HTTP GET for device XML");
333 if (iface->wps->friendly_name)
334 extra_len += os_strlen(iface->wps->friendly_name);
335 if (iface->wps->manufacturer_url)
336 extra_len += os_strlen(iface->wps->manufacturer_url);
337 if (iface->wps->model_description)
338 extra_len += os_strlen(iface->wps->model_description);
339 if (iface->wps->model_url)
340 extra_len += os_strlen(iface->wps->model_url);
341 if (iface->wps->upc)
342 extra_len += os_strlen(iface->wps->upc);
344 wpa_printf(MSG_DEBUG, "WPS UPnP: HTTP GET for SCPD XML");
349 wpa_printf(MSG_DEBUG, "WPS UPnP: HTTP GET file not found: %s",
426 wpa_printf(MSG_DEBUG, "WPS UPnP: GetDeviceInfo");
432 * Request for DeviceInfo, i.e., M1 TLVs. This is a start of WPS
439 if (peer->wps)
440 wps_deinit(peer->wps);
443 cfg.wps = iface->wps;
446 peer->wps = wps_init(&cfg);
447 if (peer->wps) {
449 *reply = wps_get_msg(peer->wps, &op_code);
451 wps_deinit(peer->wps);
452 peer->wps = NULL;
457 wpa_printf(MSG_INFO, "WPS UPnP: Failed to get DeviceInfo");
480 * PutMessage is used by external UPnP-based Registrar to perform WPS
484 wpa_printf(MSG_DEBUG, "WPS UPnP: PutMessage");
488 res = wps_process_msg(iface->peer.wps, WSC_UPnP, msg);
492 *reply = wps_get_msg(iface->peer.wps, &op_code);
519 wpa_printf(MSG_DEBUG, "WPS UPnP: PutWLANResponse");
522 wpa_printf(MSG_DEBUG, "WPS UPnP: Could not extract NewMessage "
528 wpa_printf(MSG_DEBUG, "WPS UPnP: No NewWLANEventType in "
537 wpa_printf(MSG_DEBUG, "WPS UPnP: No NewWLANEventMAC in "
543 wpa_printf(MSG_DEBUG, "WPS UPnP: Invalid NewWLANEventMAC in "
560 wpa_printf(MSG_DEBUG, "WPS UPnP: Workaround - allow "
578 wpa_printf(MSG_DEBUG, "WPS UPnP: Message Type %d", type);
591 wpa_printf(MSG_INFO, "WPS UPnP: Fail: sm->ctx->"
638 wpa_printf(MSG_DEBUG, "WPS UPnP: SetSelectedRegistrar");
641 wpa_printf(MSG_DEBUG, "WPS UPnP: Ignore SetSelectedRegistrar "
650 if (upnp_er_set_selected_registrar(iface->wps->registrar, s,
709 wpa_printf(MSG_INFO, "WPS UPnP: Cannot allocate reply to "
859 wpa_printf(MSG_INFO, "WPS UPnP: Invalid POST filename %s",
881 wpa_printf(MSG_INFO, "WPS UPnP: Unknown POST type");
885 wpa_printf(MSG_INFO, "WPS UPnP: POST failure ret=%d", ret);
936 wpa_hexdump_ascii(MSG_DEBUG, "WPS UPnP: HTTP SUBSCRIBE",
948 wpa_printf(MSG_DEBUG, "WPS UPnP: HTTP SUBSCRIBE for event");
1036 wpa_printf(MSG_DEBUG, "WPS UPnP: Subscription renewal");
1045 wpa_printf(MSG_DEBUG, "WPS UPnP: Could not find "
1051 wpa_printf(MSG_DEBUG, "WPS UPnP: New subscription");
1075 wpa_printf(MSG_DEBUG, "WPS UPnP: Assigned SID %s", b);
1109 wpa_printf(MSG_DEBUG, "WPS UPnP: SUBSCRIBE failed - return %d", ret);
1155 wpa_printf(MSG_DEBUG, "WPS UPnP: HTTP UNSUBSCRIBE for event");
1207 wpa_printf(MSG_DEBUG, "WPS UPnP: Unsubscribing %p %s",
1214 wpa_printf(MSG_INFO, "WPS UPnP: Unsubscribe fails (not "
1258 wpa_printf(MSG_INFO, "WPS UPnP: Could not get HTTP URI");
1266 wpa_printf(MSG_DEBUG, "WPS UPnP: Got HTTP request type %d from %s:%d",