wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mesh_mpm.h
Go to the documentation of this file.
1 
5 #ifndef MESH_MPM_H
6 #define MESH_MPM_H
7 
8 /* notify MPM of new mesh peer to be inserted in MPM and driver */
9 void wpa_mesh_new_mesh_peer(struct wpa_supplicant *wpa_s, const u8 *addr,
10  struct ieee802_11_elems *elems);
11 void mesh_mpm_deinit(struct wpa_supplicant *wpa_s, struct hostapd_iface *ifmsh);
12 void mesh_mpm_auth_peer(struct wpa_supplicant *wpa_s, const u8 *addr);
13 void mesh_mpm_free_sta(struct sta_info *sta);
14 void wpa_mesh_set_plink_state(struct wpa_supplicant *wpa_s,
15  struct sta_info *sta,
16  enum mesh_plink_state state);
17 
18 #ifdef CONFIG_MESH
19 
20 void mesh_mpm_action_rx(struct wpa_supplicant *wpa_s,
21  const struct ieee80211_mgmt *mgmt, size_t len);
22 void mesh_mpm_mgmt_rx(struct wpa_supplicant *wpa_s, struct rx_mgmt *rx_mgmt);
23 
24 #else /* CONFIG_MESH */
25 
26 static inline void mesh_mpm_action_rx(struct wpa_supplicant *wpa_s,
27  const struct ieee80211_mgmt *mgmt,
28  size_t len)
29 {
30 }
31 
32 static inline void mesh_mpm_mgmt_rx(struct wpa_supplicant *wpa_s,
33  struct rx_mgmt *rx_mgmt)
34 {
35 }
36 
37 #endif /* CONFIG_MESH */
38 
39 #endif /* MESH_MPM_H */
Definition: sta_info.h:44
hostapd per-interface data structure
Definition: hostapd.h:291
Definition: ieee802_11_common.h:19
Definition: ieee802_11_defs.h:464
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451