21 #ifndef CF_PARAMETER_SET_H 22 #define CF_PARAMETER_SET_H 24 #include "ns3/wifi-information-element.h"
uint16_t GetSerializedSize() const
uint8_t GetCFPCount(void) const
Return the CFP Count in DTIM frames unit.
WifiInformationElementId ElementId() const
void SetCFPDurRemainingUs(uint64_t durRemaining)
Set the remaining CFP duration in microseconds.
iterator in a Buffer instance
void SetCFPPeriod(uint8_t period)
Set the CFP Period in DTIM frames unit.
uint64_t m_CFPDurRemaining
CFP remaining duration in microseconds.
uint64_t GetCFPMaxDurationUs(void) const
Return the maximum CFP duration in microseconds.
uint8_t m_CFPPeriod
CFP Period.
uint8_t GetCFPPeriod(void) const
Return the CFP Period in DTIM frames unit.
The CF Parameter SetThis class knows how to serialise and deserialise the CF Parameter Set...
void SetPcfSupported(uint8_t pcfSupported)
Set PCF supported function.
void SetCFPMaxDurationUs(uint64_t maxDuration)
Set the maximum CFP duration in microseconds.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t m_pcfSupported
This is used to decide if this element should be added to the frame or not.
uint64_t m_CFPMaxDuration
CFP maximum duration in microseconds.
uint64_t GetCFPDurRemainingUs(void) const
Return the remaining CFP duration in microseconds.
void SerializeInformationField(Buffer::Iterator start) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
void SetCFPCount(uint8_t count)
Set the CFP Count in DTIM frames unit.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
uint8_t m_CFPCount
CFP Count.
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...