Add constructor for channls wih params for constellations

This commit is contained in:
Tim Schubert 2020-08-10 14:03:59 +02:00
parent 27ee6a3697
commit bb3bcb627c
7 changed files with 132 additions and 6 deletions

View file

@ -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.
*/