A Discrete-Event Network Simulator
API
wifi-manager-example.cc File Reference
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/wifi-module.h"
#include "ns3/stats-module.h"
#include "ns3/mobility-module.h"
#include "ns3/propagation-module.h"
+ Include dependency graph for wifi-manager-example.cc:

Go to the source code of this file.

Classes

struct  StandardInfo
 StandardInfo structure. More...
 
struct  Step
 Step structure. More...
 

Functions

void ChangeSignalAndReportRate (Ptr< FixedRssLossModel > rssModel, struct Step step, double rss, Gnuplot2dDataset &rateDataset, Gnuplot2dDataset &actualDataset)
 
void PacketRx (Ptr< const Packet > pkt, const Address &addr)
 
void RateChange (uint64_t oldVal, uint64_t newVal)
 
void RateChangeMinstrelHt (uint64_t newVal, Mac48Address dest)
 

Variables

double g_intervalBytes = 0
 
uint64_t g_intervalRate = 0
 
const double NOISE_DBM_Hz = -174.0
 
double noiseDbm = NOISE_DBM_Hz
 

Function Documentation

void ChangeSignalAndReportRate ( Ptr< FixedRssLossModel rssModel,
struct Step  step,
double  rss,
Gnuplot2dDataset rateDataset,
Gnuplot2dDataset actualDataset 
)
void PacketRx ( Ptr< const Packet pkt,
const Address addr 
)

Definition at line 59 of file wifi-manager-example.cc.

References g_intervalBytes, ns3::Packet::GetSize(), and NS_LOG_DEBUG.

+ Here is the call graph for this function:

void RateChange ( uint64_t  oldVal,
uint64_t  newVal 
)

Definition at line 66 of file wifi-manager-example.cc.

References g_intervalRate, and NS_LOG_DEBUG.

void RateChangeMinstrelHt ( uint64_t  newVal,
Mac48Address  dest 
)

Definition at line 73 of file wifi-manager-example.cc.

References g_intervalRate, and NS_LOG_DEBUG.

Variable Documentation

double g_intervalBytes = 0

Definition at line 55 of file wifi-manager-example.cc.

Referenced by ChangeSignalAndReportRate(), and PacketRx().

uint64_t g_intervalRate = 0
const double NOISE_DBM_Hz = -174.0

Definition at line 52 of file wifi-manager-example.cc.

double noiseDbm = NOISE_DBM_Hz

Definition at line 53 of file wifi-manager-example.cc.

Referenced by ChangeSignalAndReportRate().