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

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

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

Public Attributes

uint32_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 col 1. More...
 
uint32_t m_currentRate
 current rate we are using More...
 
uint32_t m_err
 retry errors More...
 
uint32_t m_index
 
bool m_initialized
 for initializing tables More...
 
bool m_isSampling
 a flag to indicate we are currently sampling More...
 
uint32_t m_longRetry
 long retries such as data packets More...
 
uint32_t m_maxProbRate
 rate with highest prob of success More...
 
uint32_t m_maxTpRate
 the current throughput rate More...
 
uint32_t m_maxTpRate2
 second highest throughput rate More...
 
Time m_nextStatsUpdate
 10 times every second More...
 
int m_packetCount
 total number of packets as of now More...
 
uint32_t m_retry
 total retries short + long More...
 
int m_sampleCount
 how many packets we have sample so far More...
 
uint32_t m_sampleRate
 current sample rate More...
 
bool m_sampleRateSlower
 a flag to indicate sample rate is slower More...
 
uint32_t m_shortRetry
 short retries such as control packts More...
 
uint32_t m_txrate
 current transmit rate More...
 
- Public Attributes inherited from ns3::WifiRemoteStation
uint32_t m_slrc
 STA long retry count. More...
 
uint32_t m_ssrc
 STA short retry count. More...
 
WifiRemoteStationStatem_state
 Remote station state. More...
 
uint8_t m_tid
 traffic ID More...
 

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 54 of file minstrel-wifi-manager.cc.

Member Data Documentation

uint32_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 col 1.

note: there are many other ways to do this.

Definition at line 64 of file minstrel-wifi-manager.cc.

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

uint32_t ns3::MinstrelWifiRemoteStation::m_currentRate

current rate we are using

Definition at line 75 of file minstrel-wifi-manager.cc.

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

uint32_t ns3::MinstrelWifiRemoteStation::m_err
uint32_t ns3::MinstrelWifiRemoteStation::m_index
uint32_t ns3::MinstrelWifiRemoteStation::m_longRetry
uint32_t ns3::MinstrelWifiRemoteStation::m_maxProbRate
uint32_t ns3::MinstrelWifiRemoteStation::m_maxTpRate
uint32_t ns3::MinstrelWifiRemoteStation::m_maxTpRate2
Time ns3::MinstrelWifiRemoteStation::m_nextStatsUpdate

10 times every second

Definition at line 56 of file minstrel-wifi-manager.cc.

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

int ns3::MinstrelWifiRemoteStation::m_packetCount
int ns3::MinstrelWifiRemoteStation::m_sampleCount

how many packets we have sample so far

Definition at line 70 of file minstrel-wifi-manager.cc.

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

uint32_t ns3::MinstrelWifiRemoteStation::m_sampleRate
uint32_t ns3::MinstrelWifiRemoteStation::m_shortRetry

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