Change in osmo-gsm-tester[master]: srs{enb, ue}: Use lowcase UHD as rf_type string

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
Wed Apr 1 12:13:38 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17701 )


Change subject: srs{enb,ue}: Use lowcase UHD as rf_type string
......................................................................

srs{enb,ue}: Use lowcase UHD as rf_type string

Older versions of srsLTe.git required passing UHD in caps to the conf
file, but that's not the case anymore. Let's use lowcase then.

Change-Id: If8a289ba110229d31b62b0d3adc1ae97324e6d27
---
M example/resources.conf.prod
M src/osmo_gsm_tester/srs_enb.py
M src/osmo_gsm_tester/srs_ue.py
3 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/01/17701/1

diff --git a/example/resources.conf.prod b/example/resources.conf.prod
index cbcaafd..5648b55 100644
--- a/example/resources.conf.prod
+++ b/example/resources.conf.prod
@@ -164,7 +164,7 @@
 
 - label: srsENB-B200
   type: srsenb
-  rf_dev_type: UHD
+  rf_dev_type: uhd
   rf_dev_args: "type=b200,serial=306BD11,recv_frame_size=9232,send_frame_size=9232"
   remote_user: jenkins
   addr: 10.42.42.117
diff --git a/src/osmo_gsm_tester/srs_enb.py b/src/osmo_gsm_tester/srs_enb.py
index 91881c0..2c99304 100644
--- a/src/osmo_gsm_tester/srs_enb.py
+++ b/src/osmo_gsm_tester/srs_enb.py
@@ -24,7 +24,7 @@
 from . import enb
 
 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')
 
 #reference: srsLTE.git srslte_symbol_sz()
 def num_prb2symbol_sz(num_prb):
diff --git a/src/osmo_gsm_tester/srs_ue.py b/src/osmo_gsm_tester/srs_ue.py
index 398fea7..e95c9fd 100644
--- a/src/osmo_gsm_tester/srs_ue.py
+++ b/src/osmo_gsm_tester/srs_ue.py
@@ -26,7 +26,7 @@
 from .ms import MS
 
 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')
 
 #reference: srsLTE.git srslte_symbol_sz()
 def num_prb2symbol_sz(num_prb):

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17701
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: If8a289ba110229d31b62b0d3adc1ae97324e6d27
Gerrit-Change-Number: 17701
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200401/9630da82/attachment.htm>


More information about the gerrit-log mailing list