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,
.elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE,
.item_id = CW_RADIOITEM_ADMIN_STATE,
.out = cisco_out_radio_administrative_states,
.get = cw_out_get_outgoing,
.elem_id = CW_ELEM_RADIO_OPERATIONAL_STATE,
.item_id = CW_RADIOITEM_OPER_STATE,
.out = cw_out_radio_generic,
.mand = 0
}
,
@ -431,7 +430,7 @@ static cw_action_out_t actions_out[]={
}
,
{0,0}

View File

@ -130,8 +130,9 @@ static cw_action_in_t actions_in[] = {
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
.elem_id = CW_ELEM_RADIO_ADMINISTRATIVE_STATE,
.item_id = CW_RADIOITEM_ADMIN_STATE,
.start = cisco_in_radio_administrative_state_wtp,
.mand = 1
// .start = cisco_in_radio_administrative_state_wtp,
.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
}
,
{