freewtp/lib/element_80211_txpowerlevel.h

20 lines
730 B
C
Raw Normal View History

2013-05-11 15:07:30 +02:00
#ifndef __CAPWAP_ELEMENT_80211_TXPOWERLEVEL_HEADER__
#define __CAPWAP_ELEMENT_80211_TXPOWERLEVEL_HEADER__
#define CAPWAP_ELEMENT_80211_TXPOWERLEVEL_VENDOR 0
#define CAPWAP_ELEMENT_80211_TXPOWERLEVEL_TYPE 1042
#define CAPWAP_ELEMENT_80211_TXPOWERLEVEL (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_80211_TXPOWERLEVEL_VENDOR, .type = CAPWAP_ELEMENT_80211_TXPOWERLEVEL_TYPE }
2013-05-11 15:07:30 +02:00
#define CAPWAP_TXPOWERLEVEL_MAXLENGTH 8
struct capwap_80211_txpowerlevel_element {
uint8_t radioid;
uint8_t numlevels;
uint16_t powerlevel[CAPWAP_TXPOWERLEVEL_MAXLENGTH];
2013-05-11 15:07:30 +02:00
};
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_80211_txpowerlevel_ops;
2013-05-11 15:07:30 +02:00
#endif /* __CAPWAP_ELEMENT_80211_TXPOWERLEVEL_HEADER__ */