aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZydrunas Tamosevicius <z.tamosevicius@limemicro.com>2018-06-12 00:35:27 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-13 21:45:32 +0000
commitff4418539cbd19322026e5cfdb01e50d2aae4257 (patch)
tree5e34a6fbd894b54a425d6e9877b516e9a80ca3fe
parent0494d0591604be7e54c240c0d195a34adcf9bbc2 (diff)
lms: Reduce Rx gain from 47 to 34 dB
Initially, Rx gain was hardcoded to be 47. This was too high for our setup and we were constantly getting "clipping detected" messages. Reducing Rx gain to 34 solved the issue. However, it looks like gains should be controlled through configuration files. Change-Id: I30580f18c4ad630c09f725b1d24c125fc3119809
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index ad6f67b..c531a7f 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -319,7 +319,7 @@ double LMSDevice::setRxGain(double dB, size_t chan)
return 0.0;
}
- dB = 47.0;
+ dB = 34.0;
if (dB > maxRxGain())
dB = maxRxGain();