LTE module form GSoC project
This commit is contained in:
@@ -107,6 +107,7 @@ Simulator version:
|
||||
* Wifi NetDevice::
|
||||
* Mesh NetDevice::
|
||||
* Bridge NetDevice::
|
||||
* LTE Module::
|
||||
* Wimax NetDevice::
|
||||
* Emulation::
|
||||
* Emu NetDevice::
|
||||
@@ -157,6 +158,7 @@ Simulator version:
|
||||
@include wifi.texi
|
||||
@include mesh.texi
|
||||
@include bridge.texi
|
||||
@include lte.texi
|
||||
@include wimax.texi
|
||||
|
||||
@unnumbered Part 3: Emulation
|
||||
|
||||
@@ -342,5 +342,12 @@ MultiModelSpectrumChannel::SetPropagationDelayModel (Ptr<PropagationDelayModel>
|
||||
m_PropagationDelay = delay;
|
||||
}
|
||||
|
||||
Ptr<SpectrumPropagationLossModel>
|
||||
MultiModelSpectrumChannel::GetSpectrumPropagationLossModel (void)
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
return m_PropagationLoss;
|
||||
}
|
||||
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
@@ -88,6 +88,8 @@ public:
|
||||
virtual uint32_t GetNDevices (void) const;
|
||||
virtual Ptr<NetDevice> GetDevice (uint32_t i) const;
|
||||
|
||||
virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (void);
|
||||
|
||||
|
||||
protected:
|
||||
void DoDispose ();
|
||||
|
||||
@@ -204,12 +204,12 @@ SingleModelSpectrumChannel::SetPropagationDelayModel (Ptr<PropagationDelayModel>
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Ptr<SpectrumPropagationLossModel>
|
||||
SingleModelSpectrumChannel::GetSpectrumPropagationLossModel (void)
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
return m_PropagationLoss;
|
||||
}
|
||||
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
@@ -62,6 +62,7 @@ public:
|
||||
|
||||
typedef std::vector<Ptr<SpectrumPhy> > PhyList;
|
||||
|
||||
virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (void);
|
||||
|
||||
private:
|
||||
|
||||
@@ -70,7 +71,6 @@ private:
|
||||
/**
|
||||
* used internally to reschedule transmission after the propagation delay
|
||||
*
|
||||
*
|
||||
* @param p
|
||||
* @param rxPowerSpectrum
|
||||
* @param st
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
*/
|
||||
virtual void AddSpectrumPropagationLossModel (Ptr<SpectrumPropagationLossModel> loss) = 0;
|
||||
|
||||
virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (void) = 0;
|
||||
|
||||
/**
|
||||
* set the propagation delay model to be used
|
||||
* \param delay Ptr to the propagation delay model to be used.
|
||||
@@ -65,11 +67,10 @@ public:
|
||||
* Used by attached PHY instances to transmit waveforms on the channel
|
||||
*
|
||||
* @param p the PacketBurst associated with the waveform being transmitted
|
||||
* @param txPsd the Power Spectral Density of the
|
||||
* @param txPowerSpectrum the Power Spectral Density of the
|
||||
* waveform, in linear units. The exact unit will depend on the
|
||||
* type of transmission medium involved: W for radio communications, Pa for
|
||||
* underwater acoustic communications. Other transmission media to be defined.
|
||||
* @param st spectrum type
|
||||
* @param duration duration of the packet transmission. It is
|
||||
* assumed that the Power Spectral Density remains constant for the
|
||||
* whole duration of the transmission. In other words, all waveform
|
||||
|
||||
@@ -59,6 +59,7 @@ all_modules = (
|
||||
'contrib/flow-monitor',
|
||||
'applications/udp-client-server',
|
||||
'devices/wimax',
|
||||
'devices/lte',
|
||||
'mpi',
|
||||
'contrib/topology-read',
|
||||
'contrib/energy',
|
||||
|
||||
Reference in New Issue
Block a user