20 #ifndef TID_TO_LINK_MAPPING_H
21 #define TID_TO_LINK_MAPPING_H
23 #include <ns3/wifi-information-element.h>
iterator in a Buffer instance
TID-to-Link Mapping Information Element.
void SetLinkMappingOfTid(uint8_t tid, std::list< uint8_t > linkIds)
Set the Link Mapping field of the given TID such that the given TID is mapped to the links associated...
uint16_t DeserializeInformationField(Buffer::Iterator start, uint16_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
std::list< uint8_t > GetLinkMappingOfTid(uint8_t tid) const
Get the Link Mapping field of the given TID.
WifiInformationElementId ElementIdExt() const override
Get the wifi information element ID extension.
std::map< uint8_t, uint16_t > m_linkMapping
TID-indexed Link Mapping.
TidToLinkMapping::Control m_control
TID-to-link Mapping Control.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
constexpr uint16_t WIFI_TID_TO_LINK_MAPPING_CONTROL_BASIC_SIZE_B
size in bytes of the TID-To-Link Control field with default link mapping
TidLinkMapDir
TID-to-Link Mapping Control Direction IEEE 802.11be D2.0 Figure 9-1002an.
constexpr uint16_t WIFI_LINK_MAPPING_PER_TID_SIZE_B
size in bytes of the Link Mapping Of TID n field (IEEE 802.11be D2.0 9.4.2.314)
constexpr auto DEFAULT_WIFI_TID_LINK_MAP_DIR
default value for the Direction subfield of the TID-To-Link Control field
constexpr uint16_t WIFI_LINK_MAPPING_PRESENCE_IND_SIZE_B
size in bytes of the Link Mapping Presence Indicator field (IEEE 802.11be D2.0 9.4....
constexpr auto DEFAULT_WIFI_TID_LINK_MAPPING
whether to enforce the default link mapping
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
TID-to-Link Mapping Control subfield IEEE 802.11be D2.0 Figure 9-1002an.
bool defaultMapping
Default link mapping.
void Serialize(Buffer::Iterator &start) const
Serialize the TID-to-Link Mapping Control subfield.
uint16_t GetSubfieldSize() const
uint16_t Deserialize(Buffer::Iterator start)
Deserialize the TID-to-Link Mapping Control subfield.
std::optional< uint8_t > presenceBitmap
Link Mapping Presence Indicator.
TidLinkMapDir direction
Direction.