Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

2  * UPnP WPS Device
63 * Description: EAP-WPS UPnP device source
123 * Overview of WPS over UPnP:
132 * is WPS carried via UPnP messages. There is quite a bit of basic UPnP
133 * discovery to do before we can get to WPS, however.
165 * obtained from a probe request or response on Wi-Fi. WPS messages M1-M8
166 * are passed via a POST of a PutMessage; the M1-M8 WPS messages are converted
183 #include "wps.h"
333 wpa_printf(MSG_DEBUG, "WPS UPnP: Adding URL '%s'", scratch_mem);
370 wpa_printf(MSG_INFO, "WPS UPnP: Resolve error %d (%s) on: %s",
387 wpa_printf(MSG_INFO, "WPS UPnP: subscr_addr_add_url: "
424 wpa_printf(MSG_DEBUG, "WPS UPnP: Parsing URL list '%s'", url_list);
454 * @sm: WPS UPnP state machine from upnp_wps_device_init()
494 wpa_printf(MSG_DEBUG, "WPS UPnP: Throttle "
517 wpa_printf(MSG_MSGDUMP, "WPS UPnP: WLANEvent message:\n%s",
542 wpa_printf(MSG_DEBUG, "WPS UPnP: Destroy subscription %p", s);
547 upnp_er_remove_notification(iface->wps->registrar, s);
560 wpa_printf(MSG_DEBUG, "WPS UPnP: Removing aged subscription");
646 wpa_printf(MSG_DEBUG, "WPS UPnP: Use a fake WSC_ACK as the "
659 wpa_printf(MSG_DEBUG, "WPS UPnP: WLANEvent not known for "
688 * @sm: WPS UPnP state machine from upnp_wps_device_init()
709 "WPS UPnP: Too many subscriptions, trashing oldest");
729 wpa_printf(MSG_DEBUG, "WPS UPnP: No valid callback URLs in "
741 wpa_printf(MSG_INFO, "WPS UPnP: Dropping subscriber due to "
749 "WPS UPnP: Subscription %p (SID %s) started with %s",
766 wpa_printf(MSG_DEBUG, "WPS UPnP: Subscription renewed");
777 * @sm: WPS UPnP state machine from upnp_wps_device_init()
784 * particular, events include WPS messages from clients that are proxied to
815 wpa_printf(MSG_DEBUG, "WPS UPnP: Proxying WLANEvent from %s",
913 wpa_printf(MSG_ERROR, "WPS UPnP: SIOCGIFADDR failed: %d (%s)",
925 wpa_printf(MSG_ERROR, "WPS UPnP: SIOCGIFHWADDR failed: "
932 wpa_printf(MSG_ERROR, "WPS UPnP: Failed to get MAC address");
974 * upnp_wps_device_stop - Stop WPS UPnP operations on an interface
975 * @sm: WPS UPnP state machine from upnp_wps_device_init()
982 wpa_printf(MSG_DEBUG, "WPS UPnP: Stop device");
1004 * upnp_wps_device_start - Start WPS UPnP operations on an interface
1005 * @sm: WPS UPnP state machine from upnp_wps_device_init()
1029 wpa_printf(MSG_INFO, "WPS UPnP: Could not get IP/MAC address "
1078 * upnp_wps_device_deinit - Deinitialize WPS UPnP
1079 * @sm: WPS UPnP state machine from upnp_wps_device_init()
1092 wpa_printf(MSG_ERROR, "WPS UPnP: Could not find the interface "
1096 wpa_printf(MSG_DEBUG, "WPS UPnP: Deinit interface instance %p", iface);
1098 wpa_printf(MSG_DEBUG, "WPS UPnP: Deinitializing last instance "
1103 iface->wps->registrar);
1108 if (peer->wps)
1109 wps_deinit(peer->wps);
1127 * upnp_wps_device_init - Initialize WPS UPnP
1129 * @wps: Pointer to longterm WPS context
1132 * Returns: WPS UPnP state or %NULL on failure
1135 upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps,
1148 wpa_printf(MSG_DEBUG, "WPS UPnP: Init interface instance %p", iface);
1152 iface->wps = wps;
1156 wpa_printf(MSG_DEBUG, "WPS UPnP: Share existing device "
1160 wpa_printf(MSG_DEBUG, "WPS UPnP: Initialize device context");
1163 wpa_printf(MSG_ERROR, "WPS UPnP: upnp_wps_device_init "
1192 * @sm: WPS UPnP state machine from upnp_wps_device_init()