Information element, as defined in 802.11-2007 standard. More...
#include <wifi-information-element-vector.h>
Public Member Functions | |
virtual bool | operator== (WifiInformationElement const &a) |
Compare two IE by ID & Length, than it calls DynamicCast and compares the body of elements. | |
Each subclass must implement | |
virtual void | Print (std::ostream &os) const =0 |
virtual WifiElementId | ElementId () const =0 |
Own unique Element ID. | |
virtual uint8_t | GetInformationSize () const =0 |
Length of serialized information. | |
virtual void | SerializeInformation (Buffer::Iterator start) const =0 |
Serialize information. | |
virtual uint8_t | DeserializeInformation (Buffer::Iterator start, uint8_t length)=0 |
Deserialize information. | |
Friends | |
bool | operator< (WifiInformationElement const &a, WifiInformationElement const &b) |
Compare information elements using Element ID. |
Information element, as defined in 802.11-2007 standard.
Elements are defined to have a common general format consisting of a 1 octet Element ID field, a 1 octet length field, and a variable-length element-specific information field. Each element is assigned a unique Element ID as defined in this standard. The Length field specifies the number of octets in the Information field.