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

A struct to contain all information related to a data rate. More...

#include "minstrel-wifi-manager.h"

+ Collaboration diagram for ns3::RateInfo:

Public Attributes

uint32_t adjustedRetryCount
 adjust the retry limit for this rate More...
 
uint64_t attemptHist
 Aggregate of all transmission attempts. More...
 
uint32_t ewmaProb
 EWMA calculation ewma_prob =[prob *(100 - ewma_level) + (ewma_prob_old * ewma_level)]/100. More...
 
uint32_t numRateAttempt
 how many number of attempts so far More...
 
uint32_t numRateSuccess
 number of successful pkts More...
 
uint8_t numSamplesSkipped
 
Time perfectTxTime
 Perfect transmission time calculation, or frame calculation Given a bit rate and a packet length n bytes. More...
 
uint32_t prevNumRateAttempt
 Number of transmission attempts with previous rate. More...
 
uint32_t prevNumRateSuccess
 Number of successful frames transmitted with previous rate. More...
 
uint32_t prob
 (# pkts success )/(# total pkts) More...
 
uint32_t retryCount
 retry limit More...
 
int sampleLimit
 
uint64_t successHist
 Aggregate of all transmission successes. More...
 
uint32_t throughput
 throughput of a rate More...
 

Detailed Description

A struct to contain all information related to a data rate.

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

Member Data Documentation

uint32_t ns3::RateInfo::adjustedRetryCount

adjust the retry limit for this rate

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

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

uint64_t ns3::RateInfo::attemptHist

Aggregate of all transmission attempts.

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

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

uint32_t ns3::RateInfo::ewmaProb

EWMA calculation ewma_prob =[prob *(100 - ewma_level) + (ewma_prob_old * ewma_level)]/100.

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

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

uint32_t ns3::RateInfo::numRateAttempt

how many number of attempts so far

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

uint32_t ns3::RateInfo::numRateSuccess

number of successful pkts

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

uint8_t ns3::RateInfo::numSamplesSkipped

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

Time ns3::RateInfo::perfectTxTime

Perfect transmission time calculation, or frame calculation Given a bit rate and a packet length n bytes.

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

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

uint32_t ns3::RateInfo::prevNumRateAttempt

Number of transmission attempts with previous rate.

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

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

uint32_t ns3::RateInfo::prevNumRateSuccess

Number of successful frames transmitted with previous rate.

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

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

uint32_t ns3::RateInfo::prob

(# pkts success )/(# total pkts)

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

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

uint32_t ns3::RateInfo::retryCount

retry limit

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

int ns3::RateInfo::sampleLimit

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

uint64_t ns3::RateInfo::successHist

Aggregate of all transmission successes.

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

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

uint32_t ns3::RateInfo::throughput

throughput of a rate

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

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


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