mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Add constructor for channls wih params for constellations
This commit is contained in:
parent
27ee6a3697
commit
bb3bcb627c
7 changed files with 132 additions and 6 deletions
|
@ -101,6 +101,16 @@ public:
|
|||
*/
|
||||
void SetTxPower (double txPower);
|
||||
|
||||
/**
|
||||
* Get the receive threshold in dBm
|
||||
*/
|
||||
double GetRxTreshold () const;
|
||||
|
||||
/**
|
||||
* Set the receive threshold in dBm
|
||||
*/
|
||||
void SetRxThreshold (double rxThresh);
|
||||
|
||||
/**
|
||||
* Attach a queue to the MockNetDevice.
|
||||
*
|
||||
|
@ -295,6 +305,11 @@ private:
|
|||
*/
|
||||
double m_txPower;
|
||||
|
||||
/**
|
||||
* Minimum threshold for received power
|
||||
*/
|
||||
double m_rxThreshold;
|
||||
|
||||
/**
|
||||
* The state of the Net Device transmit state machine.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue