actube/src/capwap/cwmsg_addelem_radio_operational_state.c
7u83@mail.ru 08f7697ccc More Cisco and LWAP specific stuff added.
WTP cann connect to a WLC and wait for and dump config update requests.

FossilOrigin-Name: 5b69ac4d9fd9f9a54395fe24de3456fff3bb76458d64c863d3cb7245dbda629c
2015-03-29 00:55:06 +00:00

16 lines
281 B
C

#include "capwap.h"
#include "cwmsg.h"
#include "radioinfo.h"
void cwmsg_addelem_radio_operational_state(struct cwmsg * cwmsg, struct radioinfo * ri)
{
uint8_t s[3];
s[0]=ri->rid;
s[1]=ri->state;
s[2]=ri->cause;
cwmsg_addelem(cwmsg,CW_ELEM_RADIO_OPERATIONAL_STATE,s,3);
}