diff options
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index d891d7ddccd7..c7d72819cdd2 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -191,12 +191,8 @@ struct mesh_rmc { | |||
191 | #define PLINK_CATEGORY 30 | 191 | #define PLINK_CATEGORY 30 |
192 | #define MESH_PATH_SEL_CATEGORY 32 | 192 | #define MESH_PATH_SEL_CATEGORY 32 |
193 | 193 | ||
194 | /* Mesh Header Flags */ | ||
195 | #define IEEE80211S_FLAGS_AE 0x3 | ||
196 | |||
197 | /* Public interfaces */ | 194 | /* Public interfaces */ |
198 | /* Various */ | 195 | /* Various */ |
199 | int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr); | ||
200 | int ieee80211_new_mesh_header(struct ieee80211s_hdr *meshhdr, | 196 | int ieee80211_new_mesh_header(struct ieee80211s_hdr *meshhdr, |
201 | struct ieee80211_sub_if_data *sdata); | 197 | struct ieee80211_sub_if_data *sdata); |
202 | int mesh_rmc_check(u8 *addr, struct ieee80211s_hdr *mesh_hdr, | 198 | int mesh_rmc_check(u8 *addr, struct ieee80211s_hdr *mesh_hdr, |
@@ -267,6 +263,8 @@ void mesh_path_timer(unsigned long data); | |||
267 | void mesh_path_flush_by_nexthop(struct sta_info *sta); | 263 | void mesh_path_flush_by_nexthop(struct sta_info *sta); |
268 | void mesh_path_discard_frame(struct sk_buff *skb, | 264 | void mesh_path_discard_frame(struct sk_buff *skb, |
269 | struct ieee80211_sub_if_data *sdata); | 265 | struct ieee80211_sub_if_data *sdata); |
266 | void mesh_path_quiesce(struct ieee80211_sub_if_data *sdata); | ||
267 | void mesh_path_restart(struct ieee80211_sub_if_data *sdata); | ||
270 | 268 | ||
271 | #ifdef CONFIG_MAC80211_MESH | 269 | #ifdef CONFIG_MAC80211_MESH |
272 | extern int mesh_allocated; | 270 | extern int mesh_allocated; |
@@ -294,10 +292,20 @@ static inline void mesh_path_activate(struct mesh_path *mpath) | |||
294 | 292 | ||
295 | void ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local); | 293 | void ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local); |
296 | 294 | ||
295 | void ieee80211_mesh_quiesce(struct ieee80211_sub_if_data *sdata); | ||
296 | void ieee80211_mesh_restart(struct ieee80211_sub_if_data *sdata); | ||
297 | void mesh_plink_quiesce(struct sta_info *sta); | ||
298 | void mesh_plink_restart(struct sta_info *sta); | ||
297 | #else | 299 | #else |
298 | #define mesh_allocated 0 | 300 | #define mesh_allocated 0 |
299 | static inline void | 301 | static inline void |
300 | ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local) {} | 302 | ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local) {} |
303 | static inline void ieee80211_mesh_quiesce(struct ieee80211_sub_if_data *sdata) | ||
304 | {} | ||
305 | static inline void ieee80211_mesh_restart(struct ieee80211_sub_if_data *sdata) | ||
306 | {} | ||
307 | static inline void mesh_plink_quiesce(struct sta_info *sta) {} | ||
308 | static inline void mesh_plink_restart(struct sta_info *sta) {} | ||
301 | #endif | 309 | #endif |
302 | 310 | ||
303 | #endif /* IEEE80211S_H */ | 311 | #endif /* IEEE80211S_H */ |