5 struct wps_er_sta *next;
19 struct http_client *http;
23 struct wps_er_ap *next;
25 struct wps_er_sta *sta; /* list of STAs/Enrollees using this AP */
28 struct http_client *http;
31 u8 uuid[WPS_UUID_LEN];
34 u8 mac_addr[ETH_ALEN];
37 char *manufacturer_url;
38 char *model_description;
53 struct wps_credential *ap_settings;
55 void (*m1_handler)(struct wps_er_ap *ap, struct wpabuf *m1);
59 struct wps_context *wps;
61 char *mac_addr_text; /* mac addr of network i.f. we use */
62 u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */
63 char *ip_addr_text; /* IP address of network i.f. we use */
64 unsigned ip_addr; /* IP address of network i.f. we use (host order) */
68 struct http_server *http_srv;
70 unsigned int next_ap_id;
71 unsigned int event_id;
76 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr,
77 const char *location, int max_age);
78 void wps_er_ap_remove(struct wps_er *er, struct in_addr *addr);
81 int wps_er_ssdp_init(struct wps_er *er);
82 void wps_er_ssdp_deinit(struct wps_er *er);
83 void wps_er_send_ssdp_msearch(struct wps_er *er);