diff options
author | Rui Paulo <rpaulo@gmail.com> | 2009-11-09 18:46:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-13 17:43:56 -0500 |
commit | e304bfd30f356f7b75d30cad0029ecca705fd590 (patch) | |
tree | 64b466a5d6b70dba13605d5ec1ae656801caa212 /net/mac80211/mesh.h | |
parent | d19b3bf6384e66ac6e11a61ee31ed2cfe149f4d8 (diff) |
mac80211: implement a timer to send RANN action frames
RANN (Root Annoucement) frame TX. Send an action frame every second
trying to build a path to all nodes on the mesh.
Signed-off-by: Rui Paulo <rpaulo@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Reviewed-by: Andrey Yurovsky <andrey@cozybit.com>
Tested-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index ee687add3927..00ee84258196 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -53,11 +53,13 @@ enum mesh_path_flags { | |||
53 | * to grow. | 53 | * to grow. |
54 | * @MESH_WORK_GROW_MPP_TABLE: the mesh portals table is full and needs to | 54 | * @MESH_WORK_GROW_MPP_TABLE: the mesh portals table is full and needs to |
55 | * grow | 55 | * grow |
56 | * @MESH_WORK_ROOT: the mesh root station needs to send a frame | ||
56 | */ | 57 | */ |
57 | enum mesh_deferred_task_flags { | 58 | enum mesh_deferred_task_flags { |
58 | MESH_WORK_HOUSEKEEPING, | 59 | MESH_WORK_HOUSEKEEPING, |
59 | MESH_WORK_GROW_MPATH_TABLE, | 60 | MESH_WORK_GROW_MPATH_TABLE, |
60 | MESH_WORK_GROW_MPP_TABLE, | 61 | MESH_WORK_GROW_MPP_TABLE, |
62 | MESH_WORK_ROOT, | ||
61 | }; | 63 | }; |
62 | 64 | ||
63 | /** | 65 | /** |
@@ -294,6 +296,7 @@ void mesh_path_discard_frame(struct sk_buff *skb, | |||
294 | struct ieee80211_sub_if_data *sdata); | 296 | struct ieee80211_sub_if_data *sdata); |
295 | void mesh_path_quiesce(struct ieee80211_sub_if_data *sdata); | 297 | void mesh_path_quiesce(struct ieee80211_sub_if_data *sdata); |
296 | void mesh_path_restart(struct ieee80211_sub_if_data *sdata); | 298 | void mesh_path_restart(struct ieee80211_sub_if_data *sdata); |
299 | void mesh_path_tx_root_frame(struct ieee80211_sub_if_data *sdata); | ||
297 | 300 | ||
298 | extern int mesh_paths_generation; | 301 | extern int mesh_paths_generation; |
299 | 302 | ||