mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
fixup
This commit is contained in:
parent
7293dbbad1
commit
9f3318a96e
3 changed files with 5 additions and 4 deletions
|
@ -13,6 +13,7 @@
|
||||||
#include "../model/leo-mock-net-device.h"
|
#include "../model/leo-mock-net-device.h"
|
||||||
#include "../model/leo-starlink-constants.h"
|
#include "../model/leo-starlink-constants.h"
|
||||||
#include "../model/leo-telesat-constants.h"
|
#include "../model/leo-telesat-constants.h"
|
||||||
|
#include "../model/leo-propagation-loss-model.h"
|
||||||
|
|
||||||
namespace ns3
|
namespace ns3
|
||||||
{
|
{
|
||||||
|
@ -330,7 +331,7 @@ LeoChannelHelper::Install (std::vector<Ptr<Node> > &satellites, std::vector<Ptr<
|
||||||
NS_LOG_FUNCTION (this);
|
NS_LOG_FUNCTION (this);
|
||||||
|
|
||||||
Ptr<LeoMockChannel> channel = m_channelFactory.Create<LeoMockChannel> ();
|
Ptr<LeoMockChannel> channel = m_channelFactory.Create<LeoMockChannel> ();
|
||||||
channel->SetPropagationLoss (m_propagationLossFactory.Create ());
|
channel->SetPropagationLoss (m_propagationLossFactory.Create<LeoPropagationLossModel> ());
|
||||||
|
|
||||||
NetDeviceContainer container;
|
NetDeviceContainer container;
|
||||||
|
|
||||||
|
|
|
@ -759,10 +759,10 @@ MockNetDevice::SupportsSendFrom (void) const
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
MockNetDevice::DoMpiReceive (Ptr<Packet> p, Ptr<MockNetDevice> senderDevice)
|
MockNetDevice::DoMpiReceive (Ptr<Packet> p, Ptr<MockNetDevice> senderDevice, double txPower)
|
||||||
{
|
{
|
||||||
NS_LOG_FUNCTION (this << p);
|
NS_LOG_FUNCTION (this << p);
|
||||||
Receive (p, senderDevice);
|
Receive (p, senderDevice, txPower);
|
||||||
}
|
}
|
||||||
|
|
||||||
Address
|
Address
|
||||||
|
|
|
@ -203,7 +203,7 @@ protected:
|
||||||
*
|
*
|
||||||
* \param p Packet received
|
* \param p Packet received
|
||||||
*/
|
*/
|
||||||
void DoMpiReceive (Ptr<Packet> p, Ptr<MockNetDevice> sender);
|
void DoMpiReceive (Ptr<Packet> p, Ptr<MockNetDevice> sender, double txPower);
|
||||||
|
|
||||||
virtual void DoInitialize (void);
|
virtual void DoInitialize (void);
|
||||||
virtual void NotifyNewAggregate (void);
|
virtual void NotifyNewAggregate (void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue