58 m_acBE |= (aci & 0x03) << 5;
64 auto ECWmin =
static_cast<uint8_t
>(log2(cwMin + 1));
65 m_acBE |= (ECWmin & 0x0f) << 8;
71 auto ECWmax =
static_cast<uint8_t
>(log2(cwMax + 1));
72 m_acBE |= (ECWmax & 0x0f) << 12;
90 m_acBK |= (aci & 0x03) << 5;
96 auto ECWmin =
static_cast<uint8_t
>(log2(cwMin + 1));
97 m_acBK |= (ECWmin & 0x0f) << 8;
103 auto ECWmax =
static_cast<uint8_t
>(log2(cwMax + 1));
104 m_acBK |= (ECWmax & 0x0f) << 12;
122 m_acVI |= (aci & 0x03) << 5;
128 auto ECWmin =
static_cast<uint8_t
>(log2(cwMin + 1));
129 m_acVI |= (ECWmin & 0x0f) << 8;
135 auto ECWmax =
static_cast<uint8_t
>(log2(cwMax + 1));
136 m_acVI |= (ECWmax & 0x0f) << 12;
154 m_acVO |= (aci & 0x03) << 5;
160 auto ECWmin =
static_cast<uint8_t
>(log2(cwMin + 1));
161 m_acVO |= (ECWmin & 0x0f) << 8;
167 auto ECWmax =
static_cast<uint8_t
>(log2(cwMax + 1));
168 m_acVO |= (ECWmax & 0x0f) << 12;
192 uint8_t ECWmin = ((
m_acBE >> 8) & 0x0f);
193 return static_cast<uint32_t
>(exp2(ECWmin) - 1);
199 uint8_t ECWmax = ((
m_acBE >> 12) & 0x0f);
200 return static_cast<uint32_t
>(exp2(ECWmax) - 1);
218 uint8_t ECWmin = ((
m_acBK >> 8) & 0x0f);
219 return static_cast<uint32_t
>(exp2(ECWmin) - 1);
225 uint8_t ECWmax = ((
m_acBK >> 12) & 0x0f);
226 return static_cast<uint32_t
>(exp2(ECWmax) - 1);
244 uint8_t ECWmin = ((
m_acVI >> 8) & 0x0f);
245 return static_cast<uint32_t
>(exp2(ECWmin) - 1);
251 uint8_t ECWmax = ((
m_acVI >> 12) & 0x0f);
252 return static_cast<uint32_t
>(exp2(ECWmax) - 1);
270 uint8_t ECWmin = ((
m_acVO >> 8) & 0x0f);
271 return static_cast<uint32_t
>(exp2(ECWmin) - 1);
277 uint8_t ECWmax = ((
m_acVO >> 12) & 0x0f);
278 return static_cast<uint32_t
>(exp2(ECWmax) - 1);
iterator in a Buffer instance
void SetViTxopLimit(uint16_t txop)
Set the AC_VI TXOP Limit field in the EdcaParameterSet information element.
void SetViAifsn(uint8_t aifsn)
Set the AC_VI AIFSN field in the EdcaParameterSet information element.
uint8_t GetBeAifsn() const
Return the AC_BE AIFSN field in the EdcaParameterSet information element.
uint16_t GetViTxopLimit() const
Return the AC_VI TXOP Limit field in the EdcaParameterSet information element.
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 GetBkTxopLimit() const
Return the AC_BK TXOP Limit field in the EdcaParameterSet information element.
uint16_t GetVoTxopLimit() const
Return the AC_VO TXOP Limit field in the EdcaParameterSet information element.
void SetVoAci(uint8_t aci)
Set the AC_VO ACI field in the EdcaParameterSet information element.
uint8_t GetViAifsn() const
Return the AC_VI AIFSN field in the EdcaParameterSet information element.
uint8_t m_reserved
reserved
uint16_t GetBeTxopLimit() const
Return the AC_BE TXOP Limit field in the EdcaParameterSet information element.
uint32_t GetBeCWmax() const
Return the AC_BE CWmax field in the EdcaParameterSet information element.
uint32_t GetBeCWmin() const
Return the AC_BE CWmin field in the EdcaParameterSet information element.
uint32_t GetVoCWmax() const
Return the AC_VO CWmax field in the EdcaParameterSet information element.
void SetVoCWmax(uint32_t cwMax)
Set the AC_VO CWmax field in the EdcaParameterSet information element.
void SetViCWmin(uint32_t cwMin)
Set the AC_VI CWmin field in the EdcaParameterSet information element.
void SetVoTxopLimit(uint16_t txop)
Set the AC_VO TXOP Limit field in the EdcaParameterSet information element.
void SetVoAifsn(uint8_t aifsn)
Set the AC_VO AIFSN field in the EdcaParameterSet information element.
uint8_t GetQosInfo() const
Return the QoS Info field in the EdcaParameterSet information element.
uint8_t GetVoAifsn() const
Return the AC_VO AIFSN field in the EdcaParameterSet information element.
void SetQosInfo(uint8_t qosInfo)
Set the QoS Info field in the EdcaParameterSet information element.
void SetBkCWmin(uint32_t cwMin)
Set the AC_BK CWmin field in the EdcaParameterSet information element.
uint32_t GetVoCWmin() const
Return the AC_VO CWmin field in the EdcaParameterSet information element.
void SetViAci(uint8_t aci)
Set the AC_VI ACI field in the EdcaParameterSet information element.
void SetViCWmax(uint32_t cwMax)
Set the AC_VI CWmax field in the EdcaParameterSet information element.
void SetVoCWmin(uint32_t cwMin)
Set the AC_VO CWmin field in the EdcaParameterSet information element.
void SetBeTxopLimit(uint16_t txop)
Set the AC_BE TXOP Limit field in the EdcaParameterSet information element.
void SetBeCWmax(uint32_t cwMax)
Set the AC_BE CWmax field in the EdcaParameterSet information element.
void SetBeAci(uint8_t aci)
Set the AC_BE ACI field in the EdcaParameterSet information element.
void SetBkCWmax(uint32_t cwMax)
Set the AC_BK CWmax field in the EdcaParameterSet information element.
void SetBkTxopLimit(uint16_t txop)
Set the AC_BK TXOP Limit field in the EdcaParameterSet information element.
void SetBkAifsn(uint8_t aifsn)
Set the AC_BK AIFSN field in the EdcaParameterSet information element.
uint8_t m_qosInfo
QOS info.
uint8_t GetBkAifsn() const
Return the AC_BK AIFSN field in the EdcaParameterSet information element.
void SetBeCWmin(uint32_t cwMin)
Set the AC_BE CWmin field in the EdcaParameterSet information element.
void SetBkAci(uint8_t aci)
Set the AC_BK ACI field in the EdcaParameterSet information element.
uint32_t GetBkCWmin() const
Return the AC_BK CWmin field in the EdcaParameterSet information element.
uint32_t GetViCWmin() const
Return the AC_VI CWmin field in the EdcaParameterSet information element.
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)
uint32_t GetViCWmax() const
Return the AC_VI CWmax field in the EdcaParameterSet information element.
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
uint32_t GetBkCWmax() const
Return the AC_BK CWmax field in the EdcaParameterSet information element.
void SetBeAifsn(uint8_t aifsn)
Set the AC_BE AIFSN field in the EdcaParameterSet information element.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.