A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::BlockAckType Struct Reference

The different BlockAck variants. More...

#include "block-ack-type.h"

+ Collaboration diagram for ns3::BlockAckType:

Public Types

enum  Variant {
  BASIC , COMPRESSED , EXTENDED_COMPRESSED , MULTI_TID ,
  MULTI_STA
}
 The BlockAck variants. More...
 

Public Member Functions

 BlockAckType ()
 Default constructor for BlockAckType.
 
 BlockAckType (Variant v)
 Constructor for BlockAckType with given variant.
 
 BlockAckType (Variant v, std::vector< uint8_t > l)
 Constructor for BlockAckType with given variant and bitmap length.
 

Public Attributes

std::vector< uint8_t > m_bitmapLen
 Length (bytes) of included bitmaps.
 
Variant m_variant
 Block Ack variant.
 

Detailed Description

The different BlockAck variants.

Definition at line 34 of file block-ack-type.h.

Member Enumeration Documentation

◆ Variant

The BlockAck variants.

Enumerator
BASIC 
COMPRESSED 
EXTENDED_COMPRESSED 
MULTI_TID 
MULTI_STA 

Definition at line 40 of file block-ack-type.h.

Constructor & Destructor Documentation

◆ BlockAckType() [1/3]

ns3::BlockAckType::BlockAckType ( )

Default constructor for BlockAckType.

Definition at line 48 of file block-ack-type.cc.

◆ BlockAckType() [2/3]

ns3::BlockAckType::BlockAckType ( Variant  v)

Constructor for BlockAckType with given variant.

Parameters
vthe Block Ack variant

Definition at line 27 of file block-ack-type.cc.

References BASIC, COMPRESSED, EXTENDED_COMPRESSED, m_bitmapLen, m_variant, MULTI_STA, MULTI_TID, and NS_FATAL_ERROR.

◆ BlockAckType() [3/3]

ns3::BlockAckType::BlockAckType ( Variant  v,
std::vector< uint8_t >  l 
)

Constructor for BlockAckType with given variant and bitmap length.

Parameters
vthe Block Ack variant
lthe length (bytes) of included bitmaps

Definition at line 53 of file block-ack-type.cc.

Member Data Documentation

◆ m_bitmapLen

◆ m_variant

Variant ns3::BlockAckType::m_variant

Block Ack variant.

Definition at line 49 of file block-ack-type.h.

Referenced by BlockAckType(), ns3::CtrlBAckResponseHeader::Deserialize(), ns3::CtrlBAckResponseHeader::DeserializeBitmap(), MultiStaCtrlBAckResponseHeaderTest::DoRun(), ns3::CtrlBAckResponseHeader::FindPerAidTidInfoWithAid(), ns3::CtrlBAckResponseHeader::GetAckType(), ns3::CtrlBAckResponseHeader::GetAid11(), ns3::CtrlBAckResponseHeader::GetBaControl(), ns3::CtrlBAckResponseHeader::GetBitmap(), ns3::CtrlBAckResponseHeader::GetNPerAidTidInfoSubfields(), ns3::CtrlBAckResponseHeader::GetSerializedSize(), ns3::CtrlBAckResponseHeader::GetStartingSequence(), ns3::CtrlBAckResponseHeader::GetStartingSequenceControl(), ns3::CtrlBAckResponseHeader::GetTidInfo(), ns3::CtrlBAckResponseHeader::IndexInBitmap(), ns3::CtrlBAckResponseHeader::IsBasic(), ns3::CtrlBAckResponseHeader::IsCompressed(), ns3::CtrlBAckResponseHeader::IsExtendedCompressed(), ns3::CtrlBAckResponseHeader::IsFragmentReceived(), ns3::CtrlBAckResponseHeader::IsInBitmap(), ns3::CtrlBAckResponseHeader::IsMultiSta(), ns3::CtrlBAckResponseHeader::IsMultiTid(), ns3::CtrlBAckResponseHeader::IsPacketReceived(), ns3::CtrlBAckResponseHeader::Print(), ns3::CtrlBAckResponseHeader::ResetBitmap(), ns3::CtrlBAckResponseHeader::Serialize(), ns3::CtrlBAckResponseHeader::SerializeBitmap(), ns3::CtrlBAckResponseHeader::SetAckType(), ns3::CtrlBAckResponseHeader::SetAid11(), ns3::CtrlBAckResponseHeader::SetBaControl(), ns3::CtrlBAckResponseHeader::SetReceivedFragment(), ns3::CtrlBAckResponseHeader::SetReceivedPacket(), ns3::CtrlBAckResponseHeader::SetStartingSequence(), ns3::CtrlBAckResponseHeader::SetStartingSequenceControl(), and ns3::CtrlBAckResponseHeader::SetTidInfo().


The documentation for this struct was generated from the following files: