aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/lms/LMSDevice.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-29 16:39:07 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-08 15:49:36 +0200
commit0e09e7c98a981b1b6f19cc19e29a60c601a02970 (patch)
tree504a3f554c09ebed234c3ce86bd4a0ebccee2a8f /Transceiver52M/device/lms/LMSDevice.h
parent1b3a8881eb8a1d8c90be3895def091677d320894 (diff)
Transceiver: Implement TRXC cmd NOMTXPOWER
It allows the BTS to retrieve the nominal transmit output power value of each TRX in order to compute attenuation later on and apply it through SETPOWER or ADJPOWER TRXC commands. Change-Id: I1d7efe56e008d8d60e23f9a85aa40809f7f84d9c
Diffstat (limited to 'Transceiver52M/device/lms/LMSDevice.h')
-rw-r--r--Transceiver52M/device/lms/LMSDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.h b/Transceiver52M/device/lms/LMSDevice.h
index 5b6330a..78fd62a 100644
--- a/Transceiver52M/device/lms/LMSDevice.h
+++ b/Transceiver52M/device/lms/LMSDevice.h
@@ -179,6 +179,8 @@ public:
/** return minimum Rx Gain **/
double minTxGain(void);
+ int getNominalTxPower(size_t chan = 0);
+
/** sets the RX path to use, returns true if successful and false otherwise */
bool setRxAntenna(const std::string & ant, size_t chan = 0);