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

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

#include "minstrel-ht-wifi-manager.h"

+ Collaboration diagram for ns3::HtRateInfo:

Public Attributes

uint32_t adjustedRetryCount
 Adjust the retry limit for this rate. More...
 
uint64_t attemptHist
 Aggregate of all transmission attempts. More...
 
double ewmaProb
 Exponential weighted moving average of probability. More...
 
double ewmsdProb
 Exponential weighted moving standard deviation of probability. More...
 
uint32_t mcsIndex
 The index in the operationalMcsSet of the WifiRemoteStationManager. More...
 
uint32_t numRateAttempt
 Number of transmission attempts so far. More...
 
uint32_t numRateSuccess
 Number of successful frames transmitted so far. More...
 
uint32_t numSamplesSkipped
 Number of times this rate statistics were not updated because no attempts have been made. More...
 
Time perfectTxTime
 Perfect transmission time calculation, or frame calculation. More...
 
uint32_t prevNumRateAttempt
 Number of transmission attempts with previous rate. More...
 
uint32_t prevNumRateSuccess
 Number of successful frames transmitted with previous rate. More...
 
double prob
 Current probability within last time interval. More...
 
uint32_t retryCount
 Retry limit. More...
 
bool retryUpdated
 If number of retries was updated already. More...
 
uint64_t successHist
 Aggregate of all transmission successes. More...
 
bool supported
 If the rate is supported. More...
 
double throughput
 Throughput of this rate (in pkts per second). More...
 

Detailed Description

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

Definition at line 70 of file minstrel-ht-wifi-manager.h.

Member Data Documentation

uint32_t ns3::HtRateInfo::adjustedRetryCount

Adjust the retry limit for this rate.

Definition at line 83 of file minstrel-ht-wifi-manager.h.

uint64_t ns3::HtRateInfo::attemptHist

Aggregate of all transmission attempts.

Definition at line 103 of file minstrel-ht-wifi-manager.h.

double ns3::HtRateInfo::ewmaProb

Exponential weighted moving average of probability.

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

Definition at line 95 of file minstrel-ht-wifi-manager.h.

Referenced by ns3::MinstrelHtWifiManager::FindRate(), and ns3::MinstrelHtWifiManager::SetBestProbabilityRate().

double ns3::HtRateInfo::ewmsdProb

Exponential weighted moving standard deviation of probability.

Definition at line 97 of file minstrel-ht-wifi-manager.h.

uint32_t ns3::HtRateInfo::mcsIndex

The index in the operationalMcsSet of the WifiRemoteStationManager.

Definition at line 80 of file minstrel-ht-wifi-manager.h.

uint32_t ns3::HtRateInfo::numRateAttempt

Number of transmission attempts so far.

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

uint32_t ns3::HtRateInfo::numRateSuccess

Number of successful frames transmitted so far.

Definition at line 85 of file minstrel-ht-wifi-manager.h.

uint32_t ns3::HtRateInfo::numSamplesSkipped

Number of times this rate statistics were not updated because no attempts have been made.

Definition at line 101 of file minstrel-ht-wifi-manager.h.

Referenced by ns3::MinstrelHtWifiManager::FindRate().

Time ns3::HtRateInfo::perfectTxTime

Perfect transmission time calculation, or frame calculation.

Given a bit rate and a packet length n bytes.

Definition at line 76 of file minstrel-ht-wifi-manager.h.

Referenced by ns3::MinstrelHtWifiManager::FindRate().

uint32_t ns3::HtRateInfo::prevNumRateAttempt

Number of transmission attempts with previous rate.

Definition at line 99 of file minstrel-ht-wifi-manager.h.

uint32_t ns3::HtRateInfo::prevNumRateSuccess

Number of successful frames transmitted with previous rate.

Definition at line 100 of file minstrel-ht-wifi-manager.h.

double ns3::HtRateInfo::prob

Current probability within last time interval.

(# frame success )/(# total frames)

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

uint32_t ns3::HtRateInfo::retryCount

Retry limit.

Definition at line 82 of file minstrel-ht-wifi-manager.h.

bool ns3::HtRateInfo::retryUpdated

If number of retries was updated already.

Definition at line 88 of file minstrel-ht-wifi-manager.h.

uint64_t ns3::HtRateInfo::successHist

Aggregate of all transmission successes.

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

bool ns3::HtRateInfo::supported

If the rate is supported.

Definition at line 78 of file minstrel-ht-wifi-manager.h.

double ns3::HtRateInfo::throughput

Throughput of this rate (in pkts per second).

Definition at line 104 of file minstrel-ht-wifi-manager.h.


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