2013-05-30 22:32:08 +02:00
|
|
|
#ifndef __CAPWAP_ELEMENT_80211_STATION_SESSION_KEY_HEADER__
|
|
|
|
#define __CAPWAP_ELEMENT_80211_STATION_SESSION_KEY_HEADER__
|
|
|
|
|
2013-06-09 17:41:52 +02:00
|
|
|
#define CAPWAP_ELEMENT_80211_STATION_SESSION_KEY_PROFILE 1038
|
2013-05-30 22:32:08 +02:00
|
|
|
|
|
|
|
#define CAPWAP_STATION_SESSION_KEY_PAIRWISE_TSC_LENGTH 6
|
|
|
|
#define CAPWAP_STATION_SESSION_KEY_PAIRWISE_RSC_LENGTH 6
|
|
|
|
|
|
|
|
#define CAPWAP_STATION_SESSION_KEY_AKM_ONLY 0x8000
|
|
|
|
#define CAPWAP_STATION_SESSION_KEY_AC_ENCRYPT 0x4000
|
|
|
|
|
|
|
|
struct capwap_80211_stationkey_element {
|
2014-04-14 22:33:12 +02:00
|
|
|
uint8_t address[MACADDRESS_EUI48_LENGTH];
|
2013-05-30 22:32:08 +02:00
|
|
|
uint16_t flags;
|
|
|
|
uint8_t pairwisetsc[CAPWAP_STATION_SESSION_KEY_PAIRWISE_TSC_LENGTH];
|
|
|
|
uint8_t pairwisersc[CAPWAP_STATION_SESSION_KEY_PAIRWISE_RSC_LENGTH];
|
|
|
|
uint16_t keylength;
|
2013-05-31 22:24:58 +02:00
|
|
|
uint8_t* key;
|
2013-05-30 22:32:08 +02:00
|
|
|
};
|
|
|
|
|
2016-03-07 18:07:46 +01:00
|
|
|
extern const struct capwap_message_elements_ops capwap_element_80211_stationkey_ops;
|
2013-05-30 22:32:08 +02:00
|
|
|
|
|
|
|
#endif /* __CAPWAP_ELEMENT_80211_STATION_SESSION_KEY_HEADER__ */
|