From 987bf91c03ea0f71efdd0bf93e2b997230cb7162 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 13 Mar 2016 08:33:40 +0000 Subject: [PATCH] Mor Cisco stuff added. FossilOrigin-Name: 6fdc605271f1e7b05b25e57e1f2706dc2881aa3738bbf5179a32c72f6ce45c7d --- src/mod/cisco/cisco_actions_wtp.c | 50 ++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/src/mod/cisco/cisco_actions_wtp.c b/src/mod/cisco/cisco_actions_wtp.c index ef28e278..ce74f4f6 100644 --- a/src/mod/cisco/cisco_actions_wtp.c +++ b/src/mod/cisco/cisco_actions_wtp.c @@ -43,7 +43,7 @@ static cw_action_in_t actions_in[] = { static cw_action_out_t actions_out[]={ - /* WTP Descriptor */ + /* WTP Descriptor - Discovery */ { .msg_id = CW_MSG_DISCOVERY_REQUEST, .elem_id = CW_ELEM_WTP_DESCRIPTOR, @@ -54,6 +54,54 @@ static cw_action_out_t actions_out[]={ , + /* Cisco RAD Name (WTP Name) - Discovery */ + { + .msg_id = CW_MSG_DISCOVERY_REQUEST, + .vendor_id = CW_VENDOR_ID_CISCO, + .elem_id = CW_CISCO_RAD_NAME, + .item_id = CW_ITEM_WTP_NAME, + .out = cw_out_generic, + .get = cw_out_get_config, + .mand = 1 + } + , + + + /* ---------------------------------------------------------------- + * Message Join Rquest + */ + + /* CAPWAP Local IP Address - Join Request */ + { + /* use draft 7 elem ids */ + .msg_id = CW_MSG_JOIN_REQUEST, + .item_id = CW_ITEM_CAPWAP_LOCAL_IP_ADDRESS, + .out = cw_out_capwap_local_ip_address, + .mand = 1 + } + , + + /* WTP Descriptor - Join Request */ + { + .msg_id = CW_MSG_JOIN_REQUEST, + .elem_id = CW_ELEM_WTP_DESCRIPTOR, + .item_id = CW_ITEM_WTP_DESCRIPTOR, + .out = cisco_out_wtp_descriptor, + .mand = 1 + } + , + + /* WTP Group Name (WTP Name) - Join Request */ + { + .msg_id = CW_MSG_JOIN_REQUEST, + .vendor_id = CW_VENDOR_ID_CISCO, + .elem_id = CW_CISCO_AP_GROUP_NAME, + .item_id = CW_ITEM_WTP_GROUP_NAME, + .out = cw_out_generic, + .get = cw_out_get_config, + .mand = 1 + } + , {0,0}