freewtp/lib/element_80211_ofdmcontrol.h

28 lines
1.0 KiB
C
Raw Normal View History

2013-05-11 15:07:30 +02:00
#ifndef __CAPWAP_ELEMENT_80211_OFDMCONTROL_HEADER__
#define __CAPWAP_ELEMENT_80211_OFDMCONTROL_HEADER__
#define CAPWAP_ELEMENT_80211_OFDMCONTROL_VENDOR 0
#define CAPWAP_ELEMENT_80211_OFDMCONTROL_TYPE 1033
#define CAPWAP_ELEMENT_80211_OFDMCONTROL (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_80211_OFDMCONTROL_VENDOR, .type = CAPWAP_ELEMENT_80211_OFDMCONTROL_TYPE }
2013-05-11 15:07:30 +02:00
#define CAPWAP_OFDMCONTROL_BAND_515_525 0x01
#define CAPWAP_OFDMCONTROL_BAND_525_535 0x02
#define CAPWAP_OFDMCONTROL_BAND_5725_5825 0x04
#define CAPWAP_OFDMCONTROL_BAND_547_5725 0x08
#define CAPWAP_OFDMCONTROL_BAND_JP_525 0x10
#define CAPWAP_OFDMCONTROL_BAND_503_5091 0x20
#define CAPWAP_OFDMCONTROL_BAND_494_499 0x40
2013-09-22 22:28:07 +02:00
#define CAPWAP_OFDMCONTROL_BAND_MASK 0x7f
2013-05-11 15:07:30 +02:00
struct capwap_80211_ofdmcontrol_element {
uint8_t radioid;
uint8_t currentchannel;
uint8_t bandsupport;
uint32_t tithreshold;
};
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_80211_ofdmcontrol_ops;
2013-05-11 15:07:30 +02:00
#endif /* __CAPWAP_ELEMENT_80211_OFDMCONTROL_HEADER__ */