30 #include <tins/config.h> 32 #if !defined(TINS_RSN_INFORMATION) && defined(TINS_HAVE_DOT11) 33 #define TINS_RSN_INFORMATION 37 #include <tins/macros.h> 38 #include <tins/endianness.h> 42 template<
typename T,
typename U>
57 BIP_CMAC_128 = 0x06ac0f00,
58 GCMP_128 = 0x08ac0f00,
59 GCMP_256 = 0x09ac0f00,
60 CCMP_256 = 0x10ac0f00,
61 BIP_GMAC_128 = 0x11ac0f00,
62 BIP_GMAC_256 = 0x12ac0f00,
63 BIP_CMAC_256 = 0x13ac0f00
74 EAP_SHA256 = 0x05ac0f00,
75 PSK_SHA256 = 0x06ac0f00,
77 SAE_SHA256 = 0x08ac0f00,
79 APPEERKEY = 0x10ac0f00,
80 EAP_SHA256_FIPSB = 0x11ac0f00,
81 EAP_SHA384_FIPSB = 0x12ac0f00,
82 EAP_SHA384 = 0x13ac0f00
155 void version(uint16_t ver);
161 void capabilities(uint16_t cap);
170 return static_cast<CypherSuites>(Endian::le_to_host<uint32_t>(group_suite_));
178 return Endian::le_to_host(version_);
186 return Endian::le_to_host(capabilities_);
194 return pairwise_cyphers_;
209 serialization_type serialize()
const;
216 void init(
const uint8_t* buffer, uint32_t total_sz);
218 uint16_t version_, capabilities_;
220 akm_type akm_cyphers_;
221 cyphers_type pairwise_cyphers_;
225 #endif // TINS_RSN_INFORMATION
Represents a PDU option field.
Definition: pdu_option.h:201
The Tins namespace.
Definition: address_range.h:38