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 119 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 140 of file satellite-signal-parameters.h.
ns3::SatSignalParameters::SatSignalParameters | ( | ) |
default constructor
Definition at line 35 of file satellite-signal-parameters.cc.
References m_ifParams.
Referenced by Copy().
ns3::SatSignalParameters::~SatSignalParameters | ( | ) |
Definition at line 78 of file satellite-signal-parameters.cc.
References m_ifParams.
ns3::SatSignalParameters::SatSignalParameters | ( | const SatSignalParameters & | p | ) |
copy constructor
Definition at line 50 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 85 of file satellite-signal-parameters.cc.
References SatSignalParameters().
|
inline |
Definition at line 312 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power (I)
Definition at line 234 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power in satellite (I)
Definition at line 261 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power in satellite per packet fragment.
Definition at line 269 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Get interference power per packet fragment.
Definition at line 242 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 292 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 297 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 287 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 282 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Definition at line 307 of file satellite-signal-parameters.h.
References m_ifParams.
|
static |
Get the type ID.
Definition at line 94 of file satellite-signal-parameters.cc.
|
inline |
Definition at line 317 of file satellite-signal-parameters.h.
References m_ifParams.
|
inline |
Set interference power based on packet fragment.
ifPowerPerFragment |
Definition at line 225 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 251 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 101 of file satellite-signal-parameters.cc.
References m_ifParams.
void ns3::SatSignalParameters::SetSinr | ( | double | sinr, |
double | additionalInterference | ||
) |
Set computed SINR.
Definition at line 113 of file satellite-signal-parameters.cc.
References m_ifParams.
uint32_t ns3::SatSignalParameters::m_beamId |
The beam for the packet transmission.
Definition at line 176 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 186 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
uint32_t ns3::SatSignalParameters::m_carrierId |
The carrier for the packet transmission.
Definition at line 181 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 214 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
Time ns3::SatSignalParameters::m_duration |
The duration of the packet transmission.
Definition at line 192 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
|
private |
Definition at line 323 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 166 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 209 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
double ns3::SatSignalParameters::m_rxPower_W |
The RX power in Watts.
Definition at line 204 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().
uint32_t ns3::SatSignalParameters::m_satId |
The sat for the packet transmission.
Definition at line 171 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 219 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 198 of file satellite-signal-parameters.h.
Referenced by SatSignalParameters().