#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"
Go to the source code of this file.
Classes | |
struct | StandardInfo |
struct | Step |
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 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 |
void ChangeSignalAndReportRate | ( | Ptr< FixedRssLossModel > | rssModel, |
struct Step | step, | ||
double | rss, | ||
Gnuplot2dDataset & | rateDataset, | ||
Gnuplot2dDataset & | actualDataset | ||
) |
Definition at line 103 of file minstrel-ht-wifi-manager-example.cc.
References ns3::Gnuplot2dDataset::Add(), g_intervalBytes, g_intervalRate, noiseDbm, ns3::Simulator::Now(), NS_LOG_FUNCTION, NS_LOG_INFO, ns3::Time::S, ns3::Simulator::Schedule(), ns3::Seconds(), ns3::FixedRssLossModel::SetRss(), Step::stepSize, and Step::stepTime.
Definition at line 54 of file minstrel-ht-wifi-manager-example.cc.
References g_intervalBytes, ns3::Packet::GetSize(), and NS_LOG_DEBUG.
void RateChange | ( | uint64_t | newVal, |
Mac48Address | dest | ||
) |
Definition at line 61 of file minstrel-ht-wifi-manager-example.cc.
References g_intervalRate, and NS_LOG_DEBUG.
double g_intervalBytes = 0 |
Definition at line 50 of file minstrel-ht-wifi-manager-example.cc.
Referenced by ChangeSignalAndReportRate(), and PacketRx().
uint64_t g_intervalRate = 0 |
Definition at line 51 of file minstrel-ht-wifi-manager-example.cc.
Referenced by ChangeSignalAndReportRate(), and RateChange().
const double NOISE_DBM_Hz = -174.0 |
Definition at line 47 of file minstrel-ht-wifi-manager-example.cc.
double noiseDbm = NOISE_DBM_Hz |
Definition at line 48 of file minstrel-ht-wifi-manager-example.cc.
Referenced by ChangeSignalAndReportRate().