wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mesh.h
Go to the documentation of this file.
1 
5 #ifndef MESH_H
6 #define MESH_H
7 
8 int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
9  struct wpa_ssid *ssid);
10 int wpa_supplicant_leave_mesh(struct wpa_supplicant *wpa_s);
11 void wpa_supplicant_mesh_iface_deinit(struct wpa_supplicant *wpa_s,
12  struct hostapd_iface *ifmsh);
13 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
14  char *end);
15 int wpas_mesh_add_interface(struct wpa_supplicant *wpa_s, char *ifname,
16  size_t len);
17 
18 #ifdef CONFIG_MESH
19 
20 void wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr,
21  const u8 *ies, size_t ie_len);
22 void wpa_supplicant_mesh_add_scan_ie(struct wpa_supplicant *wpa_s,
23  struct wpabuf **extra_ie);
24 
25 #else /* CONFIG_MESH */
26 
27 static inline void wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s,
28  const u8 *addr,
29  const u8 *ies, size_t ie_len)
30 {
31 }
32 
33 static inline void wpa_supplicant_mesh_add_scan_ie(struct wpa_supplicant *wpa_s,
34  struct wpabuf **extra_ie)
35 {
36 }
37 
38 #endif /* CONFIG_MESH */
39 
40 #endif /* MESH_H */
hostapd per-interface data structure
Definition: hostapd.h:291
Definition: wpabuf.h:16
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
Network configuration data.
Definition: config_ssid.h:52