17 #ifndef HH_SENF_Packets_80211Bundle_InformationElements_ 18 #define HH_SENF_Packets_80211Bundle_InformationElements_ 1 30 # include SENF_PARSER() 44 # include SENF_PARSER() 57 void dump(std::ostream & os)
const;
64 # include SENF_PARSER() 76 void dump(std::ostream & os)
const;
83 # include SENF_PARSER() 94 void dump(std::ostream & os)
const;
101 # include SENF_PARSER() 113 void dump(std::ostream & os)
const;
121 # include SENF_FIXED_PARSER() 144 # include SENF_FIXED_PARSER() 156 # include SENF_FIXED_PARSER() 175 # include SENF_FIXED_PARSER() 191 # include SENF_FIXED_PARSER() 201 # include SENF_FIXED_PARSER() 210 # include SENF_PARSER() 226 void dump(std::ostream & os)
const;
234 # include SENF_FIXED_PARSER() 260 # include SENF_PARSER() 273 void dump(std::ostream & os)
const;
280 # include SENF_PARSER() 293 void dump(std::ostream & os)
const;
301 # include SENF_FIXED_PARSER() 331 return (maxAMPDULengthExponent_1().value() << 2) | maxAMPDULengthExponent_2().value();
334 maxAMPDULengthExponent_1((v & 0x00000004) >> 2) ;
335 maxAMPDULengthExponent_2(v & 0x00000003);
343 # include SENF_FIXED_PARSER() 360 # include SENF_FIXED_PARSER() 367 return (value_1().value() << 5) | value_2().value();
369 void value(boost::uint32_t v)
const {
370 value_1((v & 0x00000004) >> 5) ;
371 value_2(v & 0x0000001f);
379 # include SENF_FIXED_PARSER() 390 # include SENF_PARSER() 402 void dump(std::ostream & os)
const;
409 # include SENF_FIXED_PARSER() 419 # include SENF_PARSER() 431 void dump(std::ostream & os)
const;
#define SENF_PARSER_INHERIT(base)
Define parser inheritance.
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
Parse 8bit unsigned byte aligned integer.
boost::uint32_t maxAMPDULengthExponent() const
TLV parser registration facility.
BitsetParser< 77, MSB0Endianness > MCSBitmaskParser
Base class for generic TLV parsers.
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_GOTO(name)
Change current offset.
void value(boost::uint32_t v) const
void maxAMPDULengthExponent(boost::uint32_t v) const
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
UInt8Parser length() const
void dump(std::ostream &os, DirectoryNode &dir=root())
#define SENF_PARSER_INIT()
Define parser initialization routine.
boost::uint8_t value_type
#define SENF_PARSER_SKIP(skip)
Skip bytes.
Parse 24bit unsigned byte aligned integer.
#define SENF_PARSER_SKIP_BITS(bits)
Skip bits within bitfield group.
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
boost::uint32_t value() const
GenericTLVParserBase< WLANInfoElementParser > WLANGenericInfoElementParser
GenericTLVParserRegistry< WLANInfoElementParser > Registry