From a625682ac1355480999b5953fcf209d692caecb6 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 13 Mar 2016 18:25:33 +0000 Subject: [PATCH] Added elems for join response. FossilOrigin-Name: 09474d05d7ebd4344f6a98b81b444ea12c4a35cc0823fcc83752838482347e0f --- src/mod/capwap/capwap_actions_wtp.c | 43 ++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/src/mod/capwap/capwap_actions_wtp.c b/src/mod/capwap/capwap_actions_wtp.c index 5f98d505..d2014ce6 100644 --- a/src/mod/capwap/capwap_actions_wtp.c +++ b/src/mod/capwap/capwap_actions_wtp.c @@ -100,6 +100,47 @@ static cw_action_in_t actions_in[] = { .mand = 1 } , + + /* AC Descriptor - Join Response */ + { + .capwap_state = CW_STATE_JOIN, + .msg_id = CW_MSG_JOIN_RESPONSE, + .elem_id = CW_ELEM_AC_DESCRIPTOR, + .item_id = CW_ITEM_AC_DESCRIPTOR, + .start = cw_in_ac_descriptor, + .min_len = 12, + .max_len = 8192, + .mand = 1 + } + , + + /* AC Name - Join Response */ + { + .capwap_state = CW_STATE_JOIN, + .msg_id = CW_MSG_JOIN_RESPONSE, + .elem_id = CW_ELEM_AC_NAME, + .item_id = CW_ITEM_AC_NAME, + .start = cw_in_generic2, + .min_len = 1, + .max_len = 512, + .mand = 1 + } + , + + /* ECN Support - Join Response */ + { + .capwap_state = CW_STATE_JOIN, + .msg_id = CW_MSG_JOIN_RESPONSE, + .elem_id = CW_ELEM_ECN_SUÜPPRT, + .item_id = CW_ITEM_ECN_SUPPORT, + .start = cw_in_generic2, + .min_len = 1, + .max_len = 1, + .mand = 1 + } + , + + /* ---------------------------------------------------------------- * Message Configuration Status Response - IN @@ -387,7 +428,7 @@ static cw_action_out_t actions_out[] = { , - /* ECN Support - Join Request */ + /* Statistics Timer - Join Request */ { .msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST, .elem_id = CW_ELEM_STATISTICS_TIMER,