Introduce initial Amarisoft ENB support
* object class expects the amarisoft software to be placed in directory
provided by env var AMARISOFT_PATH_ENB. On local runs, it will run the
software from there. On remote runs it will copy over that directory to
the slave.
* Configuration provided works with 6 PRBs, but probably won't work for
other values (yet).
* ZMQ support not yet available, only UHD.
One can select the Amarisoft ENB by declaring it in resources.conf:
"""
- label: AmarisoftENB-B200
type: amarisoftenb
rf_dev_type: uhd
rf_dev_args: "type=b200,serial=317B9FE,recv_frame_size=9232,send_frame_size=9232"
remote_user: jenkins
addr: 10.12.1.206
"""
And running:
"""
$ export AMARISOFT_PATH_ENB=/path/to/binaries
$ osmo-gsm-tester.py ... -s 4g:amarisoftenb-rftype@uhd+srsue-rftype@UHD+mod-enb-nprb@6 -t ping
"""
Change-Id: I1ddf4962ea6438ad977382ab201b724028ca46b3
diff --git a/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
new file mode 100644
index 0000000..bbf9b47
--- /dev/null
+++ b/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
@@ -0,0 +1,20 @@
+/* Parameters for b2x0 UHD device version 2018-10-18
+ * Copyright (C) 2015-2018 Amarisoft
+ */
+rf_driver: {
+ name: "${enb.rf_dev_type}",
+ sync: "none",
+
+ /* Use this for b2x0 devices. Bandwidth >= 10 Mhz */
+ args: "${enb.rf_dev_args}",
+
+ /* Use this for bandwidth == 5 Mhz */
+ //args: "send_frame_size=1024,recv_frame_size=1024",
+
+ /* Use this for bandwidth < 5 Mhz */
+ //args: "send_frame_size=512,recv_frame_size=512",
+},
+
+tx_gain: 89.0, /* TX gain (in dB) B2x0: 0 to 89.8 dB */
+rx_gain: 60.0, /* RX gain (in dB) B2x0: 0 to 73 dB */
+tx_time_offset: -150, /* in samples */