Added config status response elements.
FossilOrigin-Name: deba5a2a35a204fd37e09639d74220a95813bef34f1fa9c963d2b8a8a3ba310c
This commit is contained in:
parent
c56c276abb
commit
34f1d85e89
@ -8,7 +8,8 @@ OBJS=\
|
|||||||
capwap_in_wtp_board_data.o \
|
capwap_in_wtp_board_data.o \
|
||||||
capwap_out_wtp_descriptor.o \
|
capwap_out_wtp_descriptor.o \
|
||||||
capwap_out_ac_descriptor.o \
|
capwap_out_ac_descriptor.o \
|
||||||
capwap_out_get_session_id.o
|
capwap_out_get_session_id.o \
|
||||||
|
capwap_out_get_idle_timeout.o
|
||||||
|
|
||||||
|
|
||||||
NAME=libcapwap.a
|
NAME=libcapwap.a
|
||||||
|
@ -115,8 +115,6 @@ static cw_action_in_t actions_in[] = {
|
|||||||
/* ---------------------------------------------------------------------------
|
/* ---------------------------------------------------------------------------
|
||||||
* Join Request
|
* Join Request
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
.capwap_state = CW_STATE_JOIN,
|
.capwap_state = CW_STATE_JOIN,
|
||||||
.msg_id = CW_MSG_JOIN_REQUEST,
|
.msg_id = CW_MSG_JOIN_REQUEST,
|
||||||
@ -237,6 +235,19 @@ static cw_action_in_t actions_in[] = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------------------------
|
||||||
|
* Configuration Status Request
|
||||||
|
*/
|
||||||
|
{
|
||||||
|
.capwap_state = CW_STATE_CONFIGURE,
|
||||||
|
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
|
||||||
|
// .end = cw_in_check_join_req
|
||||||
|
}
|
||||||
|
,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of list */
|
/* End of list */
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
@ -286,6 +297,8 @@ static cw_action_out_t actions_out[]={
|
|||||||
* Join Response Message
|
* Join Response Message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Result Code - Join Response */
|
||||||
|
|
||||||
{
|
{
|
||||||
.msg_id = CW_MSG_JOIN_RESPONSE,
|
.msg_id = CW_MSG_JOIN_RESPONSE,
|
||||||
.elem_id = CW_ELEM_RESULT_CODE,
|
.elem_id = CW_ELEM_RESULT_CODE,
|
||||||
@ -296,6 +309,22 @@ static cw_action_out_t actions_out[]={
|
|||||||
}
|
}
|
||||||
,
|
,
|
||||||
|
|
||||||
|
/* ---------------------------------------------------
|
||||||
|
* Configuration Status Response Message
|
||||||
|
*/
|
||||||
|
|
||||||
|
{
|
||||||
|
.msg_id = CW_MSG_CONFIGURATION_STATUS_RESPONSE,
|
||||||
|
.elem_id = CW_ELEM_IDLE_TIMEOUT,
|
||||||
|
.item_id = CW_ITEM_IDLE_TIMEOUT,
|
||||||
|
.out = cw_out_generic,
|
||||||
|
.get = capwap_out_get_idle_timeout,
|
||||||
|
.mand = 1
|
||||||
|
}
|
||||||
|
,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{0,0}
|
{0,0}
|
||||||
};
|
};
|
||||||
|
@ -18,5 +18,7 @@ extern int capwap_out_ac_descriptor(struct conn *conn,struct cw_action_out * a,u
|
|||||||
|
|
||||||
extern struct mbag_item * capwap_out_get_session_id(struct conn *conn,struct cw_action_out * a);
|
extern struct mbag_item * capwap_out_get_session_id(struct conn *conn,struct cw_action_out * a);
|
||||||
|
|
||||||
|
extern struct mbag_item * capwap_out_get_idle_timeout(struct conn *conn,struct cw_action_out * a);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user