Cisco specific stuff added.

FossilOrigin-Name: cb1143684eb5d74575cb663b88a5c238413c5197b6dc32d212b84eb648739bef
This commit is contained in:
7u83@mail.ru 2016-03-18 08:05:36 +00:00
parent 4428b808f0
commit 9b37a0591b
2 changed files with 56 additions and 0 deletions

View File

@ -256,13 +256,45 @@ static cw_action_in_t actions_in[] = {
/* ----------------------------------------------------------------
* Message Echo Response - IN
*/
{
.capwap_state = CW_STATE_RUN,
.msg_id = CW_MSG_ECHO_RESPONSE,
}
,
/* Vendor Specific Payload - Echo Response */
{
.capwap_state = CW_STATE_RUN,
.msg_id = CW_MSG_ECHO_RESPONSE,
.elem_id = CW_ELEM_VENDOR_SPECIFIC_PAYLOAD,
.start = cw_in_vendor_specific_payload
}
,
/* ----------------------------------------------------------------
* Configuration Update Request - IN
*/
{
.capwap_state = CW_STATE_RUN,
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
}
,
/* Vendor Specific Payload - Echo Response */
{
.capwap_state = CW_STATE_RUN,
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.elem_id = CW_ELEM_VENDOR_SPECIFIC_PAYLOAD,
.start = cw_in_vendor_specific_payload
}
,
};
static cw_action_out_t actions_out[] = {
@ -532,6 +564,18 @@ static cw_action_out_t actions_out[] = {
/* ---------------------------------------------------------------
* Configuration Update REsponse - Out
*/
{
.msg_id = CW_MSG_CONFIGURATION_UPDATE_RESPONSE,
.mand = 1
}
,
/* Radio Ooerational State */
// {CW_MSG_CHANGE_STATE_EVENT_REQUEST, CW_ITEM_RADIO_OPER_STATE, 0,
// 0, NULL, cw_out_radio_operational_states, cw_out_get_config,1}

View File

@ -75,6 +75,15 @@ static cw_action_in_t actions_in[] = {
}
,
/* Vendor Specific Payload - Cponfiguration Status Response */
{
.capwap_state = CW_STATE_CONFIGURE,
.msg_id = CW_MSG_CONFIGURATION_STATUS_RESPONSE,
.elem_id = CW_ELEM_VENDOR_SPECIFIC_PAYLOAD,
.start = cw_in_vendor_specific_payload
}
,
/* End of list */
@ -162,6 +171,8 @@ static cw_action_out_t actions_out[]={
*/
{
.vendor_id = CW_VENDOR_ID_CISCO,
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
.elem_id = CW_ELEM80211_WTP_RADIO_INFORMATION,
.item_id = CW_ITEM_RADIO_CFG,
.out = cisco_out_80211_wtp_radio_cfg,
.get = cw_out_get_config,
@ -175,6 +186,7 @@ static cw_action_out_t actions_out[]={
{0,0}
};