summaryrefslogtreecommitdiffstats
path: root/dpd
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-08 17:52:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-08 17:52:57 +0200
commit5887edf3d2b73a8feef6a8be804988d3e030bc67 (patch)
tree33787dd4673190b8d28ece356b0b32d8cbb3d54e /dpd
parente21884ad871f52bcd02fc492084bade3dfab275a (diff)
downloaddabmod-5887edf3d2b73a8feef6a8be804988d3e030bc67.tar.gz
dabmod-5887edf3d2b73a8feef6a8be804988d3e030bc67.tar.bz2
dabmod-5887edf3d2b73a8feef6a8be804988d3e030bc67.zip
DPDCE: Set default digital gain to 0.6
Diffstat (limited to 'dpd')
-rw-r--r--dpd/dpd.ini3
-rwxr-xr-xdpd/main.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/dpd/dpd.ini b/dpd/dpd.ini
index 26a53c5..7e4bd5f 100644
--- a/dpd/dpd.ini
+++ b/dpd/dpd.ini
@@ -17,6 +17,9 @@ source=localhost:9200
gainmode=var
rate=8192000
+# keep in mind that the DPDCE will set the digital gain through the RC!
+digital_gain=0.6
+
[firfilter]
enabled=1
diff --git a/dpd/main.py b/dpd/main.py
index ac710d0..49c0d1d 100755
--- a/dpd/main.py
+++ b/dpd/main.py
@@ -40,7 +40,7 @@ parser.add_argument('--rxgain', default=30,
help='TX Gain, -1 to leave unchanged',
required=False,
type=int)
-parser.add_argument('--digital_gain', default=1,
+parser.add_argument('--digital_gain', default=0.6,
help='Digital Gain',
required=False,
type=float)