mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 01:53:58 +02:00
Add user link parameters
This commit is contained in:
parent
bb3bcb627c
commit
7293dbbad1
12 changed files with 247 additions and 96 deletions
|
@ -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:
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue