freewtp/src/common/capwap_element_radiooprstate.h

23 lines
686 B
C
Raw Normal View History

2013-05-01 14:52:55 +02:00
#ifndef __CAPWAP_ELEMENT_RADIOOPRSTATE_HEADER__
#define __CAPWAP_ELEMENT_RADIOOPRSTATE_HEADER__
#define CAPWAP_ELEMENT_RADIOOPRSTATE 32
#define CAPWAP_RADIO_OPERATIONAL_STATE_ENABLED 1
#define CAPWAP_RADIO_OPERATIONAL_STATE_DISABLED 2
#define CAPWAP_RADIO_OPERATIONAL_CAUSE_NORMAL 0
#define CAPWAP_RADIO_OPERATIONAL_CAUSE_RADIOFAILURE 1
#define CAPWAP_RADIO_OPERATIONAL_CAUSE_SOFTWAREFAILURE 2
#define CAPWAP_RADIO_OPERATIONAL_CAUSE_ADMINSET 3
struct capwap_radiooprstate_element {
2013-08-13 16:10:28 +02:00
uint8_t radioid;
uint8_t state;
uint8_t cause;
};
extern struct capwap_message_elements_ops capwap_element_radiooprstate_ops;
2013-05-01 14:52:55 +02:00
#endif /* __CAPWAP_ELEMENT_RADIOOPRSTATE_HEADER__ */