diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-04-08 14:15:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 14:15:46 -0400 |
commit | 247367016305637fb981db020679520e354c80c4 (patch) | |
tree | d1ffcbb1e88cf38eb2dc40efa80f2f6d45aa9c24 /net/mac80211/mesh.h | |
parent | 8eefca4888c986d993b2571eb31f0397a5d0a178 (diff) |
Revert "mac80211: use a struct for bss->mesh_config"
This reverts commit 6c4711b4697d93424e4b1f76a9929ba844d714a5.
That patch breaks mesh config comparison between beacons/probe reponses, so
every beacon from a mesh network would be added as a new bss. Since the
comparison has to be performed for every received beacon I believe it is best to
save the mesh config in a format easy to compare, rather than do a bunch of
unaligned accesses to compare field by field.
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, 0 insertions, 10 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 8ff46ea0f1d7..742003d3a841 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -157,16 +157,6 @@ 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 | |||
170 | /* Default values, timeouts in ms */ | 160 | /* Default values, timeouts in ms */ |
171 | #define MESH_TTL 5 | 161 | #define MESH_TTL 5 |
172 | #define MESH_MAX_RETR 3 | 162 | #define MESH_MAX_RETR 3 |