Files
freewtp/src/common/capwap_element_radioadmstate.h
Andreas Schultz 471d1058c4 [wtp] prepare message elements for vendor element handling
convert message element type into a struct{ vendor, type }.
Vendor will be 0 for all RFC types.
2016-03-08 10:21:51 +01:00

20 lines
660 B
C

#ifndef __CAPWAP_ELEMENT_RADIOADMSTATE_HEADER__
#define __CAPWAP_ELEMENT_RADIOADMSTATE_HEADER__
#define CAPWAP_ELEMENT_RADIOADMSTATE_VENDOR 0
#define CAPWAP_ELEMENT_RADIOADMSTATE_TYPE 31
#define CAPWAP_ELEMENT_RADIOADMSTATE (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_RADIOADMSTATE_VENDOR, .type = CAPWAP_ELEMENT_RADIOADMSTATE_TYPE }
#define CAPWAP_RADIO_ADMIN_STATE_ENABLED 1
#define CAPWAP_RADIO_ADMIN_STATE_DISABLED 2
struct capwap_radioadmstate_element {
uint8_t radioid;
uint8_t state;
};
extern const struct capwap_message_elements_ops capwap_element_radioadmstate_ops;
#endif /* __CAPWAP_ELEMENT_RADIOADMSTATE_HEADER__ */