aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r--net/mac80211/mesh.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h
index d891d7ddccd7..832bb503ca9b 100644
--- a/net/mac80211/mesh.h
+++ b/net/mac80211/mesh.h
@@ -267,6 +267,8 @@ void mesh_path_timer(unsigned long data);
267void mesh_path_flush_by_nexthop(struct sta_info *sta); 267void mesh_path_flush_by_nexthop(struct sta_info *sta);
268void mesh_path_discard_frame(struct sk_buff *skb, 268void mesh_path_discard_frame(struct sk_buff *skb,
269 struct ieee80211_sub_if_data *sdata); 269 struct ieee80211_sub_if_data *sdata);
270void mesh_path_quiesce(struct ieee80211_sub_if_data *sdata);
271void mesh_path_restart(struct ieee80211_sub_if_data *sdata);
270 272
271#ifdef CONFIG_MAC80211_MESH 273#ifdef CONFIG_MAC80211_MESH
272extern int mesh_allocated; 274extern int mesh_allocated;
@@ -294,10 +296,20 @@ static inline void mesh_path_activate(struct mesh_path *mpath)
294 296
295void ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local); 297void ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local);
296 298
299void ieee80211_mesh_quiesce(struct ieee80211_sub_if_data *sdata);
300void ieee80211_mesh_restart(struct ieee80211_sub_if_data *sdata);
301void mesh_plink_quiesce(struct sta_info *sta);
302void mesh_plink_restart(struct sta_info *sta);
297#else 303#else
298#define mesh_allocated 0 304#define mesh_allocated 0
299static inline void 305static inline void
300ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local) {} 306ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local) {}
307static inline void ieee80211_mesh_quiesce(struct ieee80211_sub_if_data *sdata)
308{}
309static inline void ieee80211_mesh_restart(struct ieee80211_sub_if_data *sdata)
310{}
311static inline void mesh_plink_quiesce(struct sta_info *sta) {}
312static inline void mesh_plink_restart(struct sta_info *sta) {}
301#endif 313#endif
302 314
303#endif /* IEEE80211S_H */ 315#endif /* IEEE80211S_H */