]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
implement rootmode
authorRui Paulo <rpaulo@gmail.com>
Mon, 9 Nov 2009 12:53:07 +0000 (12:53 +0000)
committerJohannes Berg <johannes@sipsolutions.net>
Mon, 16 Nov 2009 18:53:02 +0000 (19:53 +0100)
This introduces a new mesh parameter mesh_hwmp_rootmode to make the
mesh point act as a root node using mesh RANN frames.

Signed-off-by: Rui Paulo <rpaulo@gmail.com>
mesh.c

diff --git a/mesh.c b/mesh.c
index 624ec379c3182d807d6f3dfd46431ef0d058444a..8a03282b6fb4ca3745a20f171b95998a51a61836 100644 (file)
--- a/mesh.c
+++ b/mesh.c
@@ -165,6 +165,8 @@ const static struct mesh_param_descr _mesh_param_descrs[] =
        {"mesh_hwmp_net_diameter_traversal_time",
        NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME,
        _my_nla_put_u16, _parse_u16, _print_u16_in_TUs},
+       {"mesh_hwmp_rootmode", NL80211_MESHCONF_HWMP_ROOTMODE,
+       _my_nla_put_u8, _parse_u8, _print_u8},
 };
 
 static void print_all_mesh_param_descr(void)