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 packets More...
 
uint8_t numSamplesSkipped
 number of samples skipped More...
 
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
 (# packets success)/(# total packets) More...
 
uint32_t retryCount
 retry limit More...
 
int sampleLimit
 sample limit More...
 
uint64_t successHist
 Aggregate of all transmission successes. More...
 
uint32_t throughput
 throughput of a rate in bps More...
 

Detailed Description

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

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

Member Data Documentation

◆ adjustedRetryCount

uint32_t ns3::RateInfo::adjustedRetryCount

adjust the retry limit for this rate

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

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

◆ attemptHist

uint64_t ns3::RateInfo::attemptHist

Aggregate of all transmission attempts.

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

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

◆ ewmaProb

uint32_t ns3::RateInfo::ewmaProb

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

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

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

◆ numRateAttempt

uint32_t ns3::RateInfo::numRateAttempt

how many number of attempts so far

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

◆ numRateSuccess

uint32_t ns3::RateInfo::numRateSuccess

number of successful packets

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

◆ numSamplesSkipped

uint8_t ns3::RateInfo::numSamplesSkipped

number of samples skipped

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

◆ perfectTxTime

Time ns3::RateInfo::perfectTxTime

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

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

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

◆ prevNumRateAttempt

uint32_t ns3::RateInfo::prevNumRateAttempt

Number of transmission attempts with previous rate.

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

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

◆ prevNumRateSuccess

uint32_t ns3::RateInfo::prevNumRateSuccess

Number of successful frames transmitted with previous rate.

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

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

◆ prob

uint32_t ns3::RateInfo::prob

(# packets success)/(# total packets)

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

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

◆ retryCount

uint32_t ns3::RateInfo::retryCount

retry limit

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

◆ sampleLimit

int ns3::RateInfo::sampleLimit

sample limit

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

◆ successHist

uint64_t ns3::RateInfo::successHist

Aggregate of all transmission successes.

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

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

◆ throughput

uint32_t ns3::RateInfo::throughput

throughput of a rate in bps

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

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


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