A Discrete-Event Network Simulator
API
ns3::BlockAckReqType Struct Reference

The different BlockAckRequest variants. More...

#include "block-ack-type.h"

Public Types

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

Public Member Functions

 BlockAckReqType ()
 Default constructor for BlockAckReqType. More...
 
 BlockAckReqType (Variant v)
 Constructor for BlockAckReqType with given variant. More...
 
 BlockAckReqType (Variant v, uint8_t nSeqControls)
 Constructor for BlockAckReqType with given variant and number of SSC fields. More...
 

Public Attributes

uint8_t m_nSeqControls
 Number of included Starting Sequence Control fields. More...
 
enum Variant m_variant
 Block Ack Request variant. More...
 

Detailed Description

The different BlockAckRequest variants.

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

Member Enumeration Documentation

◆ Variant

The BlockAckReq variants.

Enumerator
BASIC 
COMPRESSED 
EXTENDED_COMPRESSED 
MULTI_TID 

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

Constructor & Destructor Documentation

◆ BlockAckReqType() [1/3]

ns3::BlockAckReqType::BlockAckReqType ( )

Default constructor for BlockAckReqType.

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

◆ BlockAckReqType() [2/3]

ns3::BlockAckReqType::BlockAckReqType ( Variant  v)

Constructor for BlockAckReqType with given variant.

Parameters
vthe Block Ack Request variant

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

References BASIC, COMPRESSED, EXTENDED_COMPRESSED, m_nSeqControls, m_variant, MULTI_TID, and NS_FATAL_ERROR.

◆ BlockAckReqType() [3/3]

ns3::BlockAckReqType::BlockAckReqType ( Variant  v,
uint8_t  nSeqControls 
)

Constructor for BlockAckReqType with given variant and number of SSC fields.

Parameters
vthe Block Ack Request variant
nSeqControlsthe number of included Starting Sequence Control fields

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

Member Data Documentation

◆ m_nSeqControls

uint8_t ns3::BlockAckReqType::m_nSeqControls

Number of included Starting Sequence Control fields.

This member is added for future support of Multi-TID BARs

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

Referenced by BlockAckReqType(), and ns3::operator<<().

◆ m_variant


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