Actual physical layer transmission container. More...
#include "satellite-signal-parameters.h"
Classes | |
struct | txInfo_s |
Struct for storing the packet specific Tx information. More... | |
Public Types | |
typedef std::vector< Ptr< Packet > > | PacketsInBurst_t |
Buffer for transmissions. More... | |
Public Member Functions | |
SatSignalParameters () | |
default constructor More... | |
SatSignalParameters (const SatSignalParameters &p) | |
copy constructor More... | |
~SatSignalParameters () | |
Ptr< SatSignalParameters > | Copy () |
double | GetAdditionalInterference () |
double | GetInterferencePower () |
Get interference power (I) More... | |
double | GetInterferencePowerInSatellite () |
Get interference power in satellite (I) More... | |
std::vector< std::pair< double, double > > | GetInterferencePowerInSatellitePerFragment () |
Get interference power in satellite per packet fragment. More... | |
std::vector< std::pair< double, double > > | GetInterferencePowerPerFragment () |
Get interference power per packet fragment. More... | |
double | GetRxAciIfPowerInSatellite () |
double | GetRxExtNoisePowerInSatellite () |
double | GetRxNoisePowerInSatellite () |
double | GetRxPowerInSatellite () |
double | GetSinr () |
bool | HasSinrComputed () |
void | SetInterferencePower (std::vector< std::pair< double, double >> ifPowerPerFragment) |
Set interference power based on packet fragment. More... | |
void | SetInterferencePowerInSatellite (std::vector< std::pair< double, double >> ifPowerPerFragment) |
Set interference power in satellite based on packet fragment. More... | |
void | SetRxPowersInSatellite (double rxPowerW, double rxNoisePowerW, double rxAciIfPowerW, double rxExtNoisePowerW) |
Set various power after receiving the packet in the satellite. More... | |
void | SetSinr (double sinr, double additionalInterference) |
Set computed SINR. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Public Attributes | |
uint32_t | m_beamId |
The beam for the packet transmission. More... | |
double | m_carrierFreq_hz |
The carrier center frequency for the packet transmission. More... | |
uint32_t | m_carrierId |
The carrier for the packet transmission. More... | |
SatEnums::ChannelType_t | m_channelType |
The SatChannel instance received the packet. More... | |
Time | m_duration |
The duration of the packet transmission. More... | |
PacketsInBurst_t | m_packetsInBurst |
The packets being transmitted with this signal i.e. More... | |
Ptr< SatPhyTx > | m_phyTx |
The SatPhyTx instance that is making the transmission. More... | |
double | m_rxPower_W |
The RX power in Watts. More... | |
uint32_t | m_satId |
The sat for the packet transmission. More... | |
txInfo_s | m_txInfo |
Transmission information including packet type, modcod and waveform ID. More... | |
double | m_txPower_W |
The TX power in Watts. More... | |
Private Attributes | |
Ptr< SatInterferenceParameters > | m_ifParams |
Actual physical layer transmission container.
SatSignalParameters is passed through the SatChannel from the transmitter to the receiver. It includes e.g. the packet container (BBFrame in FWD link, FPDU in RTN link) as well as all the transmission related information (MODCODs, frequency, tx power, etc.).
Definition at line 123 of file satellite-signal-parameters.h.
typedef std::vector<Ptr<Packet> > ns3::SatSignalParameters::PacketsInBurst_t |
Buffer for transmissions.
Buffer just holds data as pointer to packets. Real length of buffer is simulated by duration of the PDU transmission.
Definition at line 144 of file satellite-signal-parameters.h.
ns3::SatSignalParameters::SatSignalParameters | ( | ) |
default constructor
Definition at line 37 of file satellite-signal-parameters.cc.
References m_ifParams.
Referenced by Copy().
ns3::SatSignalParameters::~SatSignalParameters | ( | ) |
Definition at line 80 of file satellite-signal-parameters.cc.
References m_ifParams.
ns3::SatSignalParameters::SatSignalParameters | ( | const SatSignalParameters & | p | ) |
copy constructor
Definition at line 52 of file satellite-signal-parameters.cc.
References ns3::SatSignalParameters::txInfo_s::crdsaUniquePacketId, ns3::SatSignalParameters::txInfo_s::fecBlockSizeInBytes, ns3::SatSignalParameters::txInfo_s::frameType, m_beamId, m_carrierFreq_hz, m_carrierId, m_channelType, m_duration, m_ifParams, m_packetsInBurst, m_phyTx, m_rxPower_W, m_satId, m_txInfo, m_txPower_W, ns3::SatSignalParameters::txInfo_s::modCod, ns3::SatSignalParameters::txInfo_s::packetType, ns3::SatSignalParameters::txInfo_s::sliceId, and ns3::SatSignalParameters::txInfo_s::waveformId.
Ptr< SatSignalParameters > ns3::SatSignalParameters::Copy | ( | ) |
Definition at line 87 of file satellite-signal-parameters.cc.
References SatSignalParameters().
|
inline |
Definition at line 316 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power (I)
Definition at line 238 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power in satellite (I)
Definition at line 265 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power in satellite per packet fragment.
Definition at line 273 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power per packet fragment.
Definition at line 246 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 296 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 301 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 291 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 286 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 311 of file satellite-signal-parameters.h.
References m_ifParams.
|
static |
Get the type ID.
Definition at line 96 of file satellite-signal-parameters.cc.
|
inline |
Definition at line 321 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Set interference power based on packet fragment.
ifPowerPerFragment |
Definition at line 229 of file satellite-signal-parameters.h.
References m_ifParams, and ns3::SatUtils::ScalarProduct().
|
inline |
Set interference power in satellite based on packet fragment.
ifPowerPerFragment |
Definition at line 255 of file satellite-signal-parameters.h.
References m_ifParams, and ns3::SatUtils::ScalarProduct().
void ns3::SatSignalParameters::SetRxPowersInSatellite | ( | double | rxPowerW, |
double | rxNoisePowerW, | ||
double | rxAciIfPowerW, | ||
double | rxExtNoisePowerW | ||
) |
Set various power after receiving the packet in the satellite.
Definition at line 103 of file satellite-signal-parameters.cc.
References m_ifParams.
void ns3::SatSignalParameters::SetSinr | ( | double | sinr, |
double | additionalInterference | ||
) |
Set computed SINR.
Definition at line 115 of file satellite-signal-parameters.cc.
References m_ifParams.
uint32_t ns3::SatSignalParameters::m_beamId |
The beam for the packet transmission.
Definition at line 180 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
double ns3::SatSignalParameters::m_carrierFreq_hz |
The carrier center frequency for the packet transmission.
Definition at line 190 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
uint32_t ns3::SatSignalParameters::m_carrierId |
The carrier for the packet transmission.
Definition at line 185 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
SatEnums::ChannelType_t ns3::SatSignalParameters::m_channelType |
The SatChannel instance received the packet.
Definition at line 218 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
Time ns3::SatSignalParameters::m_duration |
The duration of the packet transmission.
Definition at line 196 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
|
private |
Definition at line 327 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters(), ~SatSignalParameters(), GetAdditionalInterference(), GetInterferencePower(), GetInterferencePowerInSatellite(), GetInterferencePowerInSatellitePerFragment(), GetInterferencePowerPerFragment(), GetRxAciIfPowerInSatellite(), GetRxExtNoisePowerInSatellite(), GetRxNoisePowerInSatellite(), GetRxPowerInSatellite(), GetSinr(), HasSinrComputed(), SetInterferencePower(), SetInterferencePowerInSatellite(), SetRxPowersInSatellite(), and SetSinr().
PacketsInBurst_t ns3::SatSignalParameters::m_packetsInBurst |
The packets being transmitted with this signal i.e.
this is transmit buffer including packet pointers.
Definition at line 170 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
Ptr<SatPhyTx> ns3::SatSignalParameters::m_phyTx |
The SatPhyTx instance that is making the transmission.
Definition at line 213 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
double ns3::SatSignalParameters::m_rxPower_W |
The RX power in Watts.
Definition at line 208 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
uint32_t ns3::SatSignalParameters::m_satId |
The sat for the packet transmission.
Definition at line 175 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
txInfo_s ns3::SatSignalParameters::m_txInfo |
Transmission information including packet type, modcod and waveform ID.
Definition at line 223 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
double ns3::SatSignalParameters::m_txPower_W |
The TX power in Watts.
Equivalent Isotropically Radiated Power (EIRP).
Definition at line 202 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().