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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h
index 742003d3a84..8ff46ea0f1d 100644
--- a/net/mac80211/mesh.h
+++ b/net/mac80211/mesh.h
@@ -157,6 +157,16 @@ struct mesh_rmc {
*/
#define MESH_CFG_CMP_LEN 17
+/*
+ * Components offset within the mesh configuration IE
+ */
+#define PP_OFFSET 1 /* Path Selection Protocol */
+#define PM_OFFSET 5 /* Path Selection Metric */
+#define CC_OFFSET 9 /* Congestion Control Mode */
+#define CP_OFFSET 13 /* Channel Precedence */
+#define CAPAB_OFFSET 17 /* Mesh Capabilities */
+
+
/* Default values, timeouts in ms */
#define MESH_TTL 5
#define MESH_MAX_RETR 3