21 enum upnp_wps_wlanevent_type {
22 UPNP_WPS_WLANEVENT_TYPE_PROBE = 1,
23 UPNP_WPS_WLANEVENT_TYPE_EAP = 2
27 int (*rx_req_put_wlan_response)(
28 void *priv,
enum upnp_wps_wlanevent_type ev_type,
29 const u8 *mac_addr,
const struct wpabuf *msg,
30 enum wps_msg_type msg_type);
37 void *priv,
char *net_if);
41 const u8 from_mac_addr[ETH_ALEN],
42 enum upnp_wps_wlanevent_type ev_type,
WPS registration protocol data.
Definition: wps_i.h:20
struct wps_context * wps
Pointer to long term WPS context.
Definition: wps_i.h:25
Definition: wps_upnp.h:26
struct upnp_wps_device_sm * upnp_wps_device_init(struct upnp_wps_device_ctx *ctx, struct wps_context *wps, void *priv, char *net_if)
Initialize WPS UPnP.
Definition: wps_upnp.c:1128
int upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg)
Event notification.
Definition: wps_upnp.c:786
Definition: wps_upnp_i.h:123
int upnp_wps_subscribers(struct upnp_wps_device_sm *sm)
Check whether there are any event subscribers.
Definition: wps_upnp.c:1187
Definition: wps_upnp.h:17
void upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv)
Deinitialize WPS UPnP.
Definition: wps_upnp.c:1081
Long term WPS context data.
Definition: wps.h:623