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

hold per-remote-station state for Minstrel Wifi manager. More...

#include "minstrel-wifi-manager.h"

+ Inheritance diagram for ns3::MinstrelWifiRemoteStation:
+ Collaboration diagram for ns3::MinstrelWifiRemoteStation:

Public Attributes

uint8_t m_col
 To keep track of the current position in the our random sample table going row by row from 1st column until the 10th column(Minstrel defines 10) then we wrap back to the row 1 column 1.
 
uint8_t m_index
 vector index
 
bool m_initialized
 for initializing tables
 
bool m_isSampling
 a flag to indicate we are currently sampling
 
uint32_t m_longRetry
 long retries such as data packets
 
uint16_t m_maxProbRate
 rate with highest probability of success in bps
 
uint16_t m_maxTpRate
 the current throughput rate in bps
 
uint16_t m_maxTpRate2
 second highest throughput rate in bps
 
MinstrelRate m_minstrelTable
 minstrel table
 
Time m_nextStatsUpdate
 10 times every second
 
uint8_t m_nModes
 number of modes supported
 
int m_numSamplesDeferred
 number samples deferred
 
uint32_t m_retry
 total retries short + long
 
bool m_sampleDeferred
 a flag to indicate sample rate is on the second stage
 
int m_samplePacketsCount
 how many packets we have sample so far
 
uint16_t m_sampleRate
 current sample rate in bps
 
SampleRate m_sampleTable
 sample table
 
uint32_t m_shortRetry
 short retries such as control packets
 
std::ofstream m_statsFile
 stats file
 
int m_totalPacketsCount
 total number of packets as of now
 
uint16_t m_txrate
 current transmit rate in bps
 
- Public Attributes inherited from ns3::WifiRemoteStation
std::pair< double, Timem_rssiAndUpdateTimePair
 RSSI (in dBm) of the most recent packet received from the remote station along with update time.
 
WifiRemoteStationStatem_state
 Remote station state.
 

Additional Inherited Members

- Public Member Functions inherited from ns3::WifiRemoteStation
virtual ~WifiRemoteStation ()
 

Detailed Description

hold per-remote-station state for Minstrel Wifi manager.

This struct extends from WifiRemoteStation struct to hold additional information required by the Minstrel Wifi manager

Definition at line 84 of file minstrel-wifi-manager.h.

Member Data Documentation

◆ m_col

uint8_t ns3::MinstrelWifiRemoteStation::m_col

To keep track of the current position in the our random sample table going row by row from 1st column until the 10th column(Minstrel defines 10) then we wrap back to the row 1 column 1.

note: there are many other ways to do this. column index

Definition at line 94 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelWifiManager::GetNextSample(), ns3::MinstrelHtWifiManager::InitSampleTable(), and ns3::MinstrelWifiManager::InitSampleTable().

◆ m_index

uint8_t ns3::MinstrelWifiRemoteStation::m_index

◆ m_initialized

◆ m_isSampling

◆ m_longRetry

◆ m_maxProbRate

◆ m_maxTpRate

◆ m_maxTpRate2

◆ m_minstrelTable

◆ m_nextStatsUpdate

Time ns3::MinstrelWifiRemoteStation::m_nextStatsUpdate

10 times every second

Definition at line 86 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelHtWifiManager::UpdateStats(), and ns3::MinstrelWifiManager::UpdateStats().

◆ m_nModes

◆ m_numSamplesDeferred

int ns3::MinstrelWifiRemoteStation::m_numSamplesDeferred

number samples deferred

Definition at line 102 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelWifiManager::FindRate(), and ns3::MinstrelWifiManager::UpdatePacketCounters().

◆ m_retry

uint32_t ns3::MinstrelWifiRemoteStation::m_retry

total retries short + long

Definition at line 108 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelWifiManager::UpdateRetry().

◆ m_sampleDeferred

bool ns3::MinstrelWifiRemoteStation::m_sampleDeferred

a flag to indicate sample rate is on the second stage

Definition at line 105 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelWifiManager::FindRate(), ns3::MinstrelWifiManager::UpdatePacketCounters(), and ns3::MinstrelWifiManager::UpdateRate().

◆ m_samplePacketsCount

◆ m_sampleRate

uint16_t ns3::MinstrelWifiRemoteStation::m_sampleRate

◆ m_sampleTable

◆ m_shortRetry

uint32_t ns3::MinstrelWifiRemoteStation::m_shortRetry

short retries such as control packets

Definition at line 106 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelHtWifiManager::UpdateRetry(), and ns3::MinstrelWifiManager::UpdateRetry().

◆ m_statsFile

std::ofstream ns3::MinstrelWifiRemoteStation::m_statsFile

stats file

Definition at line 113 of file minstrel-wifi-manager.h.

Referenced by ns3::MinstrelWifiManager::PrintTable().

◆ m_totalPacketsCount

◆ m_txrate


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