A Discrete-Event Network Simulator
API
Public Attributes | List of all members
ns3::HtRateInfo Struct Reference

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

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

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

Detailed Description

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

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

Member Data Documentation

◆ adjustedRetryCount

uint32_t ns3::HtRateInfo::adjustedRetryCount

Adjust the retry limit for this rate.

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

◆ attemptHist

uint64_t ns3::HtRateInfo::attemptHist

Aggregate of all transmission attempts.

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

◆ ewmaProb

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 88 of file minstrel-ht-wifi-manager.h.

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

◆ ewmsdProb

double ns3::HtRateInfo::ewmsdProb

Exponential weighted moving standard deviation of probability.

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

◆ mcsIndex

uint8_t ns3::HtRateInfo::mcsIndex

The index in the operationalMcsSet of the WifiRemoteStationManager.

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

◆ numRateAttempt

uint32_t ns3::HtRateInfo::numRateAttempt

Number of transmission attempts so far.

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

◆ numRateSuccess

uint32_t ns3::HtRateInfo::numRateSuccess

Number of successful frames transmitted so far.

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

◆ numSamplesSkipped

uint32_t ns3::HtRateInfo::numSamplesSkipped

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

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

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

◆ perfectTxTime

Time ns3::HtRateInfo::perfectTxTime

Perfect transmission time calculation, or frame calculation.

Given a bit rate and a packet length n bytes.

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

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

◆ prevNumRateAttempt

uint32_t ns3::HtRateInfo::prevNumRateAttempt

Number of transmission attempts with previous rate.

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

◆ prevNumRateSuccess

uint32_t ns3::HtRateInfo::prevNumRateSuccess

Number of successful frames transmitted with previous rate.

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

◆ prob

double ns3::HtRateInfo::prob

Current probability within last time interval.

(# frame success )/(# total frames)

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

◆ retryCount

uint32_t ns3::HtRateInfo::retryCount

Retry limit.

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

◆ retryUpdated

bool ns3::HtRateInfo::retryUpdated

If number of retries was updated already.

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

◆ successHist

uint64_t ns3::HtRateInfo::successHist

Aggregate of all transmission successes.

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

◆ supported

bool ns3::HtRateInfo::supported

If the rate is supported.

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

◆ throughput

double ns3::HtRateInfo::throughput

Throughput of this rate (in pkts per second).

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


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