2013-05-01 14:52:55 +02:00
|
|
|
#ifndef __CAPWAP_ELEMENT_WTPDESCRIPTOR_HEADER__
|
|
|
|
#define __CAPWAP_ELEMENT_WTPDESCRIPTOR_HEADER__
|
|
|
|
|
2016-03-08 10:21:51 +01:00
|
|
|
#define CAPWAP_ELEMENT_WTPDESCRIPTOR_VENDOR 0
|
|
|
|
#define CAPWAP_ELEMENT_WTPDESCRIPTOR_TYPE 39
|
|
|
|
#define CAPWAP_ELEMENT_WTPDESCRIPTOR (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_WTPDESCRIPTOR_VENDOR, .type = CAPWAP_ELEMENT_WTPDESCRIPTOR_TYPE }
|
|
|
|
|
2013-05-01 14:52:55 +02:00
|
|
|
|
|
|
|
struct capwap_wtpdescriptor_element {
|
2013-05-27 21:33:23 +02:00
|
|
|
uint8_t maxradios;
|
|
|
|
uint8_t radiosinuse;
|
2013-05-01 14:52:55 +02:00
|
|
|
struct capwap_array* encryptsubelement;
|
|
|
|
struct capwap_array* descsubelement;
|
|
|
|
};
|
|
|
|
|
2013-06-09 17:41:52 +02:00
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_WBID_MASK 0x1f
|
|
|
|
|
2013-05-01 14:52:55 +02:00
|
|
|
struct capwap_wtpdescriptor_encrypt_subelement {
|
2013-05-27 21:33:23 +02:00
|
|
|
uint8_t wbid;
|
|
|
|
uint16_t capabilities;
|
2013-05-01 14:52:55 +02:00
|
|
|
};
|
|
|
|
|
2013-06-09 17:41:52 +02:00
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_TYPE_FIRST 0
|
2013-05-01 14:52:55 +02:00
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_HARDWAREVERSION 0
|
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_SOFTWAREVERSION 1
|
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_BOOTVERSION 2
|
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_OTHERVERSION 3
|
2013-06-09 17:41:52 +02:00
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_TYPE_LAST 3
|
|
|
|
|
2013-05-01 14:52:55 +02:00
|
|
|
#define CAPWAP_WTPDESC_SUBELEMENT_MAXDATA 1024
|
|
|
|
|
|
|
|
struct capwap_wtpdescriptor_desc_subelement {
|
2013-05-27 21:33:23 +02:00
|
|
|
uint32_t vendor;
|
|
|
|
uint16_t type;
|
2013-06-09 17:41:52 +02:00
|
|
|
uint8_t* data;
|
2013-05-01 14:52:55 +02:00
|
|
|
};
|
|
|
|
|
2016-03-07 18:07:46 +01:00
|
|
|
extern const struct capwap_message_elements_ops capwap_element_wtpdescriptor_ops;
|
2013-05-01 14:52:55 +02:00
|
|
|
|
|
|
|
#endif /* __CAPWAP_ELEMENT_WTPDESCRIPTOR_HEADER__ */
|