A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
spectrum-ideal-phy-test.cc File Reference
#include <ns3/adhoc-aloha-noack-ideal-phy-helper.h>
#include <ns3/config.h>
#include <ns3/data-rate.h>
#include <ns3/friis-spectrum-propagation-loss.h>
#include <ns3/ism-spectrum-value-helper.h>
#include <ns3/log.h>
#include <ns3/math.h>
#include <ns3/mobility-helper.h>
#include <ns3/object.h>
#include <ns3/packet-socket-address.h>
#include <ns3/packet-socket-client.h>
#include <ns3/packet-socket-helper.h>
#include <ns3/packet.h>
#include <ns3/propagation-delay-model.h>
#include <ns3/ptr.h>
#include <ns3/simulator.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/spectrum-analyzer.h>
#include <ns3/spectrum-error-model.h>
#include <ns3/spectrum-helper.h>
#include <ns3/spectrum-interference.h>
#include <ns3/spectrum-model-300kHz-300GHz-log.h>
#include <ns3/spectrum-model-ism2400MHz-res1MHz.h>
#include <ns3/string.h>
#include <ns3/test.h>
#include <ns3/uinteger.h>
#include <ns3/waveform-generator.h>
#include <iomanip>
#include <iostream>
#include <string>
+ Include dependency graph for spectrum-ideal-phy-test.cc:

Go to the source code of this file.

Classes

class  SpectrumIdealPhyTestCase
 Ideal Spectrum PHY Test. More...
 
class  SpectrumIdealPhyTestSuite
 Ideal Spectrum PHY TestSuite. More...
 

Functions

void PhyRxEndOkTrace (std::string context, Ptr< const Packet > p)
 

Variables

static double g_bandwidth = 20e6
 
static uint64_t g_rxBytes
 
static SpectrumIdealPhyTestSuite g_spectrumIdealPhyTestSuite
 Static variable for test initialization.
 

Function Documentation

◆ PhyRxEndOkTrace()

void PhyRxEndOkTrace ( std::string context,
Ptr< const Packet > p )

Definition at line 49 of file spectrum-ideal-phy-test.cc.

References g_rxBytes.

Referenced by SpectrumIdealPhyTestCase::DoRun().

+ Here is the caller graph for this function:

Variable Documentation

◆ g_bandwidth

◆ g_rxBytes

uint64_t g_rxBytes
static

Definition at line 45 of file spectrum-ideal-phy-test.cc.

Referenced by SpectrumIdealPhyTestCase::DoRun(), and PhyRxEndOkTrace().

◆ g_spectrumIdealPhyTestSuite

SpectrumIdealPhyTestSuite g_spectrumIdealPhyTestSuite
static

Static variable for test initialization.

Definition at line 307 of file spectrum-ideal-phy-test.cc.