Change in osmo-gsm-tester[master]: srs-enb: adds fapi to the rf supported devices.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Jun 11 11:49:09 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24279 )

Change subject: srs-enb: adds fapi to the rf supported devices.
......................................................................

srs-enb: adds fapi to the rf supported devices.

Added support to 'fapi' rf device for the SRS eNodeB.

Change-Id: I0ac2a7db7c0533dfbc90f2526a7b823110d355c0
---
M src/osmo_gsm_tester/obj/enb_srs.py
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/osmo_gsm_tester/obj/enb_srs.py b/src/osmo_gsm_tester/obj/enb_srs.py
index 703fb2e..025960c 100644
--- a/src/osmo_gsm_tester/obj/enb_srs.py
+++ b/src/osmo_gsm_tester/obj/enb_srs.py
@@ -44,7 +44,7 @@
     schema.register_config_schema('enb', config_schema)
 
 def rf_type_valid(rf_type_str):
-    return rf_type_str in ('zmq', 'uhd', 'soapy', 'bladerf')
+    return rf_type_str in ('zmq', 'uhd', 'soapy', 'bladerf', 'fapi')
 
 class srsENB(enb.eNodeB, srslte_common):
 
@@ -371,6 +371,10 @@
 
                 config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args)))
 
+        if self._conf.get('rf_dev_type') == 'fapi':
+            rf_dev_args = ''
+            config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args)))
+
         self.gen_conf = values
 
         self.gen_conf_file(self.config_file, srsENB.CFGFILE, values)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24279
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I0ac2a7db7c0533dfbc90f2526a7b823110d355c0
Gerrit-Change-Number: 24279
Gerrit-PatchSet: 3
Gerrit-Owner: alealcon <alejandro.leal at srs.io>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210611/f71e1127/attachment.htm>


More information about the gerrit-log mailing list