Add user link parameters

This commit is contained in:
Tim Schubert 2020-08-10 18:28:59 +02:00
parent bb3bcb627c
commit 7293dbbad1
12 changed files with 247 additions and 96 deletions

View file

@ -147,8 +147,10 @@ public:
* arrived at the device.
*
* \param p Ptr to the received packet.
* \param senderDevice sender
* \param rxPower RX power excluding receiver gain and loss
*/
void Receive (Ptr<Packet> p, Ptr<MockNetDevice> senderDevice);
void Receive (Ptr<Packet> p, Ptr<MockNetDevice> senderDevice, double rxPower);
// The remaining methods are documented in ns3::NetDevice*
@ -206,6 +208,8 @@ protected:
virtual void DoInitialize (void);
virtual void NotifyNewAggregate (void);
virtual double DoCalcRxPower (double rxPower) const;
private:
/**