#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/non-communicating-net-device.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/packet-sink.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/ssid.h"
#include "ns3/string.h"
#include "ns3/udp-client-server-helper.h"
#include "ns3/udp-server.h"
#include "ns3/waveform-generator-helper.h"
#include "ns3/waveform-generator.h"
#include "ns3/wifi-net-device.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
#include <iomanip>
Go to the source code of this file.
Classes | |
class | static_SpectrumModelWifi5180MHz_initializer |
Initializer for a static spectrum model centered around 5180 MHz. More... | |
class | static_SpectrumModelWifi5190MHz_initializer |
Initializer for a static spectrum model centered around 5190 MHz. More... | |
Functions | |
void | MonitorSniffRx (Ptr< const Packet > packet, uint16_t channelFreqMhz, WifiTxVector txVector, MpduInfo aMpdu, SignalNoiseDbm signalNoise, uint16_t staId) |
Monitor sniffer Rx trace. | |
Variables | |
double | g_noiseDbmAvg |
Average noise power [dBm]. | |
uint32_t | g_samples |
Number of samples. | |
double | g_signalDbmAvg |
Average signal power [dBm]. | |
Ptr< SpectrumModel > | SpectrumModelWifi5180MHz |
Spectrum model at 5180 MHz. | |
Ptr< SpectrumModel > | SpectrumModelWifi5190MHz |
Spectrum model at 5190 MHz. | |
static_SpectrumModelWifi5180MHz_initializer | static_SpectrumModelWifi5180MHz_initializer_instance |
Static instance to initizlize the spectrum model around 5180 MHz. | |
static_SpectrumModelWifi5190MHz_initializer | static_SpectrumModelWifi5190MHz_initializer_instance |
Static instance to initizlize the spectrum model around 5190 MHz. | |
void MonitorSniffRx | ( | Ptr< const Packet > | packet, |
uint16_t | channelFreqMhz, | ||
WifiTxVector | txVector, | ||
MpduInfo | aMpdu, | ||
SignalNoiseDbm | signalNoise, | ||
uint16_t | staId ) |
Monitor sniffer Rx trace.
packet | The sensed packet. |
channelFreqMhz | The channel frequency [MHz]. |
txVector | The Tx vector. |
aMpdu | The aMPDU. |
signalNoise | The signal and noise dBm. |
staId | The STA ID. |
Definition at line 108 of file wifi-spectrum-per-interference.cc.
References g_noiseDbmAvg, g_samples, g_signalDbmAvg, ns3::SignalNoiseDbm::noise, and ns3::SignalNoiseDbm::signal.
double g_noiseDbmAvg |
Average noise power [dBm].
Definition at line 94 of file wifi-spectrum-per-interference.cc.
Referenced by MonitorSniffRx().
uint32_t g_samples |
Number of samples.
Definition at line 95 of file wifi-spectrum-per-interference.cc.
Referenced by MonitorSniffRx().
double g_signalDbmAvg |
Average signal power [dBm].
Definition at line 93 of file wifi-spectrum-per-interference.cc.
Referenced by MonitorSniffRx().
Ptr<SpectrumModel> SpectrumModelWifi5180MHz |
Spectrum model at 5180 MHz.
Definition at line 123 of file wifi-spectrum-per-interference.cc.
Referenced by static_SpectrumModelWifi5180MHz_initializer::static_SpectrumModelWifi5180MHz_initializer().
Ptr<SpectrumModel> SpectrumModelWifi5190MHz |
Spectrum model at 5190 MHz.
Definition at line 124 of file wifi-spectrum-per-interference.cc.
Referenced by static_SpectrumModelWifi5190MHz_initializer::static_SpectrumModelWifi5190MHz_initializer().
static_SpectrumModelWifi5180MHz_initializer static_SpectrumModelWifi5180MHz_initializer_instance |
Static instance to initizlize the spectrum model around 5180 MHz.
Definition at line 145 of file wifi-spectrum-per-interference.cc.
static_SpectrumModelWifi5190MHz_initializer static_SpectrumModelWifi5190MHz_initializer_instance |
Static instance to initizlize the spectrum model around 5190 MHz.
Definition at line 166 of file wifi-spectrum-per-interference.cc.