]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: handle all mesh config parameters
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Mon, 3 Aug 2020 15:33:35 +0000 (17:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 11:35:07 +0000 (13:35 +0200)
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20200803153336.319773-3-markus.theil@tu-ilmenau.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
mesh.c

diff --git a/mesh.c b/mesh.c
index 48bbc3fdbde97fd4cdef109335ea813171b31ef7..23b347157b10a9e064ae422674172c24cd5b48df 100644 (file)
--- a/mesh.c
+++ b/mesh.c
@@ -264,8 +264,12 @@ static const struct mesh_param_descr _mesh_param_descrs[] =
        _my_nla_put_u16, _parse_u16, _print_u16_in_TUs},
        {"mesh_plink_timeout", NL80211_MESHCONF_PLINK_TIMEOUT,
        _my_nla_put_u32, _parse_u32, _print_u32_in_seconds},
+       {"mesh_connected_to_gate", NL80211_MESHCONF_CONNECTED_TO_GATE,
+       _my_nla_put_u8, _parse_u8_as_bool, _print_u8},
        {"mesh_nolearn", NL80211_MESHCONF_NOLEARN,
        _my_nla_put_u8, _parse_u8_as_bool, _print_u8},
+       {"mesh_connected_to_as", NL80211_MESHCONF_CONNECTED_TO_AS,
+       _my_nla_put_u8, _parse_u8_as_bool, _print_u8},
 };
 
 static void print_all_mesh_param_descr(void)