Remove disconnected APs from BSS table if likely out-of-range
[mech_eap.git] / wpa_supplicant / mesh.h
index 34a0ea2..7317083 100644 (file)
@@ -14,11 +14,20 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
 int wpa_supplicant_leave_mesh(struct wpa_supplicant *wpa_s);
 void wpa_supplicant_mesh_iface_deinit(struct wpa_supplicant *wpa_s,
                                      struct hostapd_iface *ifmsh);
+int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
+                              char *end);
+int wpas_mesh_add_interface(struct wpa_supplicant *wpa_s, char *ifname,
+                           size_t len);
+int wpas_mesh_peer_remove(struct wpa_supplicant *wpa_s, const u8 *addr);
+int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr,
+                      int duration);
 
 #ifdef CONFIG_MESH
 
 void wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr,
                          const u8 *ies, size_t ie_len);
+void wpa_supplicant_mesh_add_scan_ie(struct wpa_supplicant *wpa_s,
+                                    struct wpabuf **extra_ie);
 
 #else /* CONFIG_MESH */
 
@@ -28,6 +37,11 @@ static inline void wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s,
 {
 }
 
+static inline void wpa_supplicant_mesh_add_scan_ie(struct wpa_supplicant *wpa_s,
+                                                  struct wpabuf **extra_ie)
+{
+}
+
 #endif /* CONFIG_MESH */
 
 #endif /* MESH_H */