A Discrete-Event Network Simulator
API
ns3::MinstrelHtRateInfo 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::MinstrelHtRateInfo:

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...
 
uint8_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 packets per second). More...
 

Detailed Description

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

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

Member Data Documentation

◆ adjustedRetryCount

uint32_t ns3::MinstrelHtRateInfo::adjustedRetryCount

Adjust the retry limit for this rate.

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

◆ attemptHist

uint64_t ns3::MinstrelHtRateInfo::attemptHist

Aggregate of all transmission attempts.

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

◆ ewmaProb

double ns3::MinstrelHtRateInfo::ewmaProb

Exponential weighted moving average of probability.

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

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

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

◆ ewmsdProb

double ns3::MinstrelHtRateInfo::ewmsdProb

Exponential weighted moving standard deviation of probability.

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

◆ mcsIndex

uint8_t ns3::MinstrelHtRateInfo::mcsIndex

The index in the operationalMcsSet of the WifiRemoteStationManager.

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

◆ numRateAttempt

uint32_t ns3::MinstrelHtRateInfo::numRateAttempt

Number of transmission attempts so far.

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

◆ numRateSuccess

uint32_t ns3::MinstrelHtRateInfo::numRateSuccess

Number of successful frames transmitted so far.

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

◆ numSamplesSkipped

uint32_t ns3::MinstrelHtRateInfo::numSamplesSkipped

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

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

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

◆ perfectTxTime

Time ns3::MinstrelHtRateInfo::perfectTxTime

Perfect transmission time calculation, or frame calculation.

Given a bit rate and a packet length n bytes.

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

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

◆ prevNumRateAttempt

uint32_t ns3::MinstrelHtRateInfo::prevNumRateAttempt

Number of transmission attempts with previous rate.

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

◆ prevNumRateSuccess

uint32_t ns3::MinstrelHtRateInfo::prevNumRateSuccess

Number of successful frames transmitted with previous rate.

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

◆ prob

double ns3::MinstrelHtRateInfo::prob

Current probability within last time interval.

(# frame success )/(# total frames)

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

◆ retryCount

uint32_t ns3::MinstrelHtRateInfo::retryCount

Retry limit.

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

◆ retryUpdated

bool ns3::MinstrelHtRateInfo::retryUpdated

If number of retries was updated already.

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

◆ successHist

uint64_t ns3::MinstrelHtRateInfo::successHist

Aggregate of all transmission successes.

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

◆ supported

bool ns3::MinstrelHtRateInfo::supported

If the rate is supported.

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

◆ throughput

double ns3::MinstrelHtRateInfo::throughput

Throughput of this rate (in packets per second).

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


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