X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=wpa_supplicant%2Fmesh.h;h=7317083c99cd866dbb1aad69d1494bbcc3399cf2;hb=fc1e2c0d91a15a13d30219a5f5d2878197368902;hp=34a0ea2e9a96f4a8b15a83eb48c3a3b0526ea13a;hpb=8319e3120d1337cbcb6723257117c3949f78dff4;p=mech_eap.git diff --git a/wpa_supplicant/mesh.h b/wpa_supplicant/mesh.h index 34a0ea2..7317083 100644 --- a/wpa_supplicant/mesh.h +++ b/wpa_supplicant/mesh.h @@ -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 */