#include "ns3/athstats-helper.h"
#include "ns3/boolean.h"
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/mobility-helper.h"
#include "ns3/mobility-model.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-socket-address.h"
#include "ns3/packet-socket-helper.h"
#include "ns3/ssid.h"
#include "ns3/string.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
Go to the source code of this file.
Functions | |
static void | AdvancePosition (Ptr< Node > node) |
Move a node position by 5m on the x axis every second, up to 210m. | |
void | DevRxTrace (std::string context, Ptr< const Packet > p) |
MAC-level RX trace. | |
void | DevTxTrace (std::string context, Ptr< const Packet > p) |
MAC-level TX trace. | |
void | PhyRxErrorTrace (std::string context, Ptr< const Packet > packet, double snr) |
PHY-level RX error trace. | |
void | PhyRxOkTrace (std::string context, Ptr< const Packet > packet, double snr, WifiMode mode, WifiPreamble preamble) |
PHY-level RX OK trace. | |
void | PhyStateTrace (std::string context, Time start, Time duration, WifiPhyState state) |
PHY state trace. | |
void | PhyTxTrace (std::string context, Ptr< const Packet > packet, WifiMode mode, WifiPreamble preamble, uint8_t txPower) |
PHY-level TX trace. | |
Variables | |
static bool | g_verbose = true |
True for verbose output. | |
Move a node position by 5m on the x axis every second, up to 210m.
node | The node. |
Definition at line 142 of file wifi-ap.cc.
References AdvancePosition(), ns3::Simulator::Schedule(), and ns3::Seconds().
Referenced by AdvancePosition().
MAC-level RX trace.
context | The context. |
p | The packet. |
Definition at line 50 of file wifi-ap.cc.
References g_verbose.
MAC-level TX trace.
context | The context. |
p | The packet. |
Definition at line 35 of file wifi-ap.cc.
References g_verbose.
PHY-level RX error trace.
context | The context. |
packet | The packet. |
snr | The SNR. |
Definition at line 88 of file wifi-ap.cc.
References g_verbose.
void PhyRxOkTrace | ( | std::string | context, |
Ptr< const Packet > | packet, | ||
double | snr, | ||
WifiMode | mode, | ||
WifiPreamble | preamble ) |
PHY-level RX OK trace.
context | The context. |
packet | The packet. |
snr | The SNR. |
mode | The wifi mode. |
preamble | The preamble. |
Definition at line 68 of file wifi-ap.cc.
References g_verbose.
void PhyStateTrace | ( | std::string | context, |
Time | start, | ||
Time | duration, | ||
WifiPhyState | state ) |
PHY state trace.
context | The context. |
start | Start time of the state. |
duration | Duration of the state. |
state | The state. |
Definition at line 127 of file wifi-ap.cc.
References g_verbose.
void PhyTxTrace | ( | std::string | context, |
Ptr< const Packet > | packet, | ||
WifiMode | mode, | ||
WifiPreamble | preamble, | ||
uint8_t | txPower ) |
PHY-level TX trace.
context | The context. |
packet | The packet. |
mode | The wifi mode. |
preamble | The preamble. |
txPower | The TX power. |
Definition at line 106 of file wifi-ap.cc.
References g_verbose.
|
static |
True for verbose output.
Definition at line 26 of file wifi-ap.cc.
Referenced by DevRxTrace(), DevTxTrace(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyStateTrace(), and PhyTxTrace().