Actions using cw_out_radio_generic

FossilOrigin-Name: 888794a995934acda73db29f74444a93a1695f0019eda392dae102cca3c3bb7f
This commit is contained in:
7u83@mail.ru 2016-04-12 05:46:03 +00:00
parent 6ec2a4cf40
commit aa47894ffe
2 changed files with 19 additions and 8 deletions

View File

@ -384,13 +384,12 @@ static cw_action_out_t actions_out[]={
} }
, ,
/* Radio Administrative State - OUT */ /* Radio Operational State - OUT */
{ {
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST, .msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE, .elem_id = CW_ELEM_RADIO_OPERATIONAL_STATE,
.item_id = CW_RADIOITEM_ADMIN_STATE, .item_id = CW_RADIOITEM_OPER_STATE,
.out = cisco_out_radio_administrative_states, .out = cw_out_radio_generic,
.get = cw_out_get_outgoing,
.mand = 0 .mand = 0
} }
, ,

View File

@ -130,8 +130,9 @@ static cw_action_in_t actions_in[] = {
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST, .msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE, .elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE,
.item_id = CW_RADIOITEM_ADMIN_STATE, .item_id = CW_RADIOITEM_ADMIN_STATE,
.start = cisco_in_radio_administrative_state_wtp, // .start = cisco_in_radio_administrative_state_wtp,
.mand = 1 .start = cw_in_radio_generic,
.mand = 0
} }
, ,
@ -193,6 +194,17 @@ static cw_action_in_t actions_in[] = {
, ,
/* Radio Admin State - Config Status Response */
{
.capwap_state = CW_STATE_RUN,
.msg_id = CW_MSG_CONFIGURATION_STATUS_RESPONSE,
.elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE,
.item_id = CW_RADIOITEM_ADMIN_STATE,
.start = cw_in_radio_generic,
.mand = 1
}
,
{ {