diff options
author | Luis Carlos Cobo <luisca@cozybit.com> | 2008-03-31 20:39:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-01 17:14:12 -0400 |
commit | 6c4711b4697d93424e4b1f76a9929ba844d714a5 (patch) | |
tree | 84fe42a88c9bac873889bd03ae8173db1b2b3aeb /net/mac80211/mesh.h | |
parent | 05e5e88373d91c75e9262a3f984be511960e510d (diff) |
mac80211: use a struct for bss->mesh_config
This allows cleaner code when accesing bss->mesh_config components.
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 742003d3a841..8ff46ea0f1d7 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -157,6 +157,16 @@ struct mesh_rmc { | |||
157 | */ | 157 | */ |
158 | #define MESH_CFG_CMP_LEN 17 | 158 | #define MESH_CFG_CMP_LEN 17 |
159 | 159 | ||
160 | /* | ||
161 | * Components offset within the mesh configuration IE | ||
162 | */ | ||
163 | #define PP_OFFSET 1 /* Path Selection Protocol */ | ||
164 | #define PM_OFFSET 5 /* Path Selection Metric */ | ||
165 | #define CC_OFFSET 9 /* Congestion Control Mode */ | ||
166 | #define CP_OFFSET 13 /* Channel Precedence */ | ||
167 | #define CAPAB_OFFSET 17 /* Mesh Capabilities */ | ||
168 | |||
169 | |||
160 | /* Default values, timeouts in ms */ | 170 | /* Default values, timeouts in ms */ |
161 | #define MESH_TTL 5 | 171 | #define MESH_TTL 5 |
162 | #define MESH_MAX_RETR 3 | 172 | #define MESH_MAX_RETR 3 |