21 #ifndef CF_PARAMETER_SET_H 22 #define CF_PARAMETER_SET_H 24 #include "ns3/wifi-information-element.h"
uint16_t GetSerializedSize() const
Return the serialized size of this EDCA Parameter Set.
void SetCFPDurRemainingUs(uint64_t cfpdurremaining)
Set the CFP MaxDuration in microseconds.
uint8_t GetCFPCount(void) const
Return the CFP Count in DTIM frames unit.
WifiInformationElementId ElementId() const
Element ID function.
void SetCFPCount(uint8_t cfpcount)
Set the CFP Count in DTIM frames unit.
iterator in a Buffer instance
uint64_t m_CFPDurRemaining
CFP DurRemaining.
uint64_t GetCFPMaxDurationUs(void) const
Return the CFP MaxDuration 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.
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.
void SetCFPPeriod(uint8_t cfpperiod)
Set the CFP Period in DTIM frames unit.
void SetCFPMaxDurationUs(uint64_t cfpmaxduration)
Set the CFP MaxDuration in microseconds.
uint64_t m_CFPMaxDuration
CFP MaxDuration.
uint64_t GetCFPDurRemainingUs(void) const
Return the CFP DurRemaining in microseconds.
void SerializeInformationField(Buffer::Iterator start) const
Serialize information field function.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Deserialize information field function.
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
This information element is a bit special in that it is only included if the STA is a QoS STA...
uint8_t GetInformationFieldSize() const
Get information field size function.