A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::BlockAckCache Class Reference

#include <block-ack-cache.h>

Public Member Functions

void FillBlockAckBitmap (CtrlBAckResponseHeader *blockAckHeader)
void Init (uint16_t winStart, uint16_t winSize)
void UpdateWithBlockAckReq (uint16_t startingSeq)
void UpdateWithMpdu (const WifiMacHeader *hdr)

Private Member Functions

bool IsInWindow (uint16_t seq)
void ResetPortionOfBitmap (uint16_t start, uint16_t end)

Private Attributes

uint16_t m_bitmap [4096]
uint16_t m_winEnd
uint8_t m_winSize
uint16_t m_winStart

Detailed Description

Definition at line 35 of file block-ack-cache.h.

Member Function Documentation

void ns3::BlockAckCache::Init ( uint16_t  winStart,
uint16_t  winSize 
)

Definition at line 30 of file block-ack-cache.cc.

References m_bitmap, m_winEnd, m_winSize, and m_winStart.

Referenced by ns3::MacLow::CreateBlockAckAgreement().

+ Here is the caller graph for this function:

bool ns3::BlockAckCache::IsInWindow ( uint16_t  seq)
private

Definition at line 100 of file block-ack-cache.cc.

References m_winSize, and m_winStart.

Referenced by UpdateWithBlockAckReq(), and UpdateWithMpdu().

+ Here is the caller graph for this function:

void ns3::BlockAckCache::ResetPortionOfBitmap ( uint16_t  start,
uint16_t  end 
)
private

Definition at line 89 of file block-ack-cache.cc.

References m_bitmap, and visualizer.core::start().

Referenced by UpdateWithBlockAckReq(), and UpdateWithMpdu().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::BlockAckCache::UpdateWithBlockAckReq ( uint16_t  startingSeq)

Definition at line 61 of file block-ack-cache.cc.

References IsInWindow(), m_winEnd, m_winSize, m_winStart, ns3::QosUtilsIsOldPacket(), ResetPortionOfBitmap(), and WINSIZE_ASSERT.

+ Here is the call graph for this function:

void ns3::BlockAckCache::UpdateWithMpdu ( const WifiMacHeader hdr)

Member Data Documentation

uint16_t ns3::BlockAckCache::m_bitmap[4096]
private

Definition at line 52 of file block-ack-cache.h.

Referenced by FillBlockAckBitmap(), Init(), ResetPortionOfBitmap(), and UpdateWithMpdu().

uint16_t ns3::BlockAckCache::m_winEnd
private

Definition at line 50 of file block-ack-cache.h.

Referenced by Init(), UpdateWithBlockAckReq(), and UpdateWithMpdu().

uint8_t ns3::BlockAckCache::m_winSize
private

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

Referenced by FillBlockAckBitmap(), Init(), IsInWindow(), and UpdateWithBlockAckReq().

uint16_t ns3::BlockAckCache::m_winStart
private

Definition at line 48 of file block-ack-cache.h.

Referenced by Init(), IsInWindow(), UpdateWithBlockAckReq(), and UpdateWithMpdu().


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