spectrum: Add transmitter mobility model to SpectrumSignalParameters

This commit is contained in:
Gabriel Ferreira
2025-07-15 12:29:22 +02:00
parent 4d95b0e9c7
commit c869a13d7b
2 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
#include "ns3/antenna-model.h"
#include "ns3/log.h"
#include "ns3/mobility-model.h"
namespace ns3
{

View File

@@ -18,6 +18,7 @@ namespace ns3
class SpectrumPhy;
class SpectrumValue;
class AntennaModel;
class MobilityModel;
/**
* @ingroup spectrum
@@ -113,6 +114,13 @@ struct SpectrumSignalParameters : public SimpleRefCount<SpectrumSignalParameters
* the number of TX streams, the number of RBs.
*/
Ptr<const ComplexMatrixArray> precodingMatrix;
/**
* The transmitter mobility model
* This should be used at StartRx instead of retrieving the mobility model directly from the
* PHY. This allows wraparound models to replace the real mobility model with a virtual one.
*/
Ptr<MobilityModel> txMobility;
};
} // namespace ns3