5G-LENA  nr-v3.0-29-g83cc959
The 5G/NR module for the ns-3 simulator
cttc-channel-randomness.cc File Reference
#include "ns3/antenna-module.h"
#include "ns3/config-store-module.h"
#include "ns3/config-store.h"
#include "ns3/core-module.h"
#include "ns3/log.h"
#include "ns3/mobility-module.h"
#include "ns3/nr-module.h"
#include "ns3/nr-spectrum-value-helper.h"
#include "ns3/simple-net-device.h"
#include "ns3/three-gpp-channel-model.h"
#include "ns3/three-gpp-propagation-loss-model.h"
#include "ns3/three-gpp-spectrum-propagation-loss-model.h"
#include <ns3/spectrum-model.h>
+ Include dependency graph for cttc-channel-randomness.cc:

Go to the source code of this file.

Functions

static void DoBeamforming (Ptr< NetDevice > thisDevice, Ptr< UniformPlanarArray > thisAntenna, Ptr< NetDevice > otherDevice)
 

Detailed Description

This example is intended to test the randmness of the channel in order to see if we can reproduce the same channel realization within the same simulation run.

This example is needed for the RemHelper generation task in order to decide how to handle the randomness and how to calculate different RemPoints without having these calculations correlate.

$ ./ns3 run "cttc-channel-randomness --PrintHelp"

Definition in file cttc-channel-randomness.cc.

Function Documentation

◆ DoBeamforming()

static void DoBeamforming ( Ptr< NetDevice >  thisDevice,
Ptr< UniformPlanarArray >  thisAntenna,
Ptr< NetDevice >  otherDevice 
)
static

Perform the beamforming using the DFT beamforming method

Parameters
thisDevicethe device performing the beamforming
thisAntennathe antenna object associated to thisDevice
otherDevicethe device towards which point the beam

Definition at line 49 of file cttc-channel-randomness.cc.