A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 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 pkts More...
 
Time perfectTxTime
 Perfect transmission time calculation, or frame calculation Given a bit rate and a packet length n bytes. More...
 
uint32_t prevNumRateAttempt
 from last rate More...
 
uint32_t prevNumRateSuccess
 from last rate More...
 
uint32_t prob
 (# pkts success )/(# total pkts) More...
 
uint32_t retryCount
 retry limit More...
 
uint64_t successHist
 aggregate of all successes More...
 
uint32_t throughput
 throughput of a rate More...
 

Detailed Description

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

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

Member Data Documentation

uint32_t ns3::RateInfo::adjustedRetryCount

adjust the retry limit for this rate

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

uint64_t ns3::RateInfo::attemptHist

aggregate of all attempts

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

uint32_t ns3::RateInfo::ewmaProb

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

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

uint32_t ns3::RateInfo::numRateAttempt

how many number of attempts so far

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

uint32_t ns3::RateInfo::numRateSuccess

number of successful pkts

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

Time ns3::RateInfo::perfectTxTime

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

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

uint32_t ns3::RateInfo::prevNumRateAttempt

from last rate

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

uint32_t ns3::RateInfo::prevNumRateSuccess

from last rate

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

uint32_t ns3::RateInfo::prob

(# pkts success )/(# total pkts)

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

uint32_t ns3::RateInfo::retryCount

retry limit

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

uint64_t ns3::RateInfo::successHist

aggregate of all successes

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

uint32_t ns3::RateInfo::throughput

throughput of a rate

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


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