A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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
 
uint64_t attemptHist
 Aggregate of all transmission attempts.
 
uint32_t ewmaProb
 EWMA calculation ewma_prob =[prob *(100 - ewma_level) + (ewma_prob_old * ewma_level)]/100.
 
uint32_t numRateAttempt
 how many number of attempts so far
 
uint32_t numRateSuccess
 number of successful packets
 
uint8_t numSamplesSkipped
 number of samples skipped
 
Time perfectTxTime
 Perfect transmission time calculation, or frame calculation Given a bit rate and a packet length n bytes.
 
uint32_t prevNumRateAttempt
 Number of transmission attempts with previous rate.
 
uint32_t prevNumRateSuccess
 Number of successful frames transmitted with previous rate.
 
uint32_t prob
 (# packets success)/(# total packets)
 
uint32_t retryCount
 retry limit
 
int sampleLimit
 sample limit
 
uint64_t successHist
 Aggregate of all transmission successes.
 
uint32_t throughput
 throughput of a rate in bps
 

Detailed Description

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

Definition at line 27 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 36 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 50 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 44 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 37 of file minstrel-wifi-manager.h.

◆ numRateSuccess

uint32_t ns3::RateInfo::numRateSuccess

number of successful packets

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

◆ numSamplesSkipped

uint8_t ns3::RateInfo::numSamplesSkipped

number of samples skipped

Definition at line 52 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 33 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 47 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 48 of file minstrel-wifi-manager.h.

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

◆ prob

uint32_t ns3::RateInfo::prob

(# packets success)/(# total packets)

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

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

◆ retryCount

uint32_t ns3::RateInfo::retryCount

retry limit

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

◆ sampleLimit

int ns3::RateInfo::sampleLimit

sample limit

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

◆ successHist

uint64_t ns3::RateInfo::successHist

Aggregate of all transmission successes.

Definition at line 49 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 45 of file minstrel-wifi-manager.h.

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


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