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 : uint8_t {
  BASIC , COMPRESSED , EXTENDED_COMPRESSED , MULTI_TID ,
  GCR , 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 23 of file block-ack-type.h.

Member Enumeration Documentation

◆ Variant

The BlockAck variants.

Enumerator
BASIC 
COMPRESSED 
EXTENDED_COMPRESSED 
MULTI_TID 
GCR 
MULTI_STA 

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

Constructor & Destructor Documentation

◆ BlockAckType() [1/3]

ns3::BlockAckType::BlockAckType ( )

Default constructor for BlockAckType.

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

References BlockAckType(), and BASIC.

Referenced by BlockAckType().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BlockAckType() [2/3]

ns3::BlockAckType::BlockAckType ( Variant v)

Constructor for BlockAckType with given variant.

Parameters
vthe Block Ack variant

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

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

◆ 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 43 of file block-ack-type.cc.

References m_bitmapLen, m_variant, and v.

Member Data Documentation

◆ m_bitmapLen

◆ m_variant

Variant ns3::BlockAckType::m_variant

Block Ack variant.

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

Referenced by BlockAckType(), BlockAckType(), and MultiStaCtrlBAckResponseHeaderTest::DoRun().


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