aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-13 19:29:55 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-02-20 15:54:33 +0100
commita9a2fe2ad32a59402d2c3c7771326e53e0b8e0ff (patch)
tree091dd6f3ec144aaeec1423e67194590765a43975 /example
parent9c383287e61f799079dec791c986c0e02e2be863 (diff)
srsLTE: Support configuring different RF backends
Before this patch, only virtual RF through ZeroMQ was supported. This patch allows configuring srsUE and srsENB to use a real SDR with UHD/SoapySDR backend connected through a physical RF network, while still keeping compatibility to run on virtual RF ZeroMQ network, based on the resources used (controlled by scenarios). For instance, one can first run a suite through the phyisical RF (using 2 UHD-controlled SDRs) and afterwards with ZeroMQ using the following default-suites.conf: - 4g:srsenb-rftype-uhd+srsue-rftype-uhd - 4g:srsenb-rftype-zmq+srsue-rftype-zmq Change-Id: I7dbbe328f4c0225fe74e878bb2da13fe39ccf049
Diffstat (limited to 'example')
-rw-r--r--example/default-suites.conf2
-rw-r--r--example/resources.conf.prod20
-rw-r--r--example/scenarios/srsenb-rftype-uhd.conf4
-rw-r--r--example/scenarios/srsenb-rftype-zmq.conf4
-rw-r--r--example/scenarios/srsue-rftype-soapy.conf4
-rw-r--r--example/scenarios/srsue-rftype-uhd.conf4
-rw-r--r--example/scenarios/srsue-rftype-zmq.conf4
7 files changed, 41 insertions, 1 deletions
diff --git a/example/default-suites.conf b/example/default-suites.conf
index cfac1ca..4910dbc 100644
--- a/example/default-suites.conf
+++ b/example/default-suites.conf
@@ -162,4 +162,4 @@
- smpp
- encryption
-- 4g
+- 4g:srsenb-rftype-zmq+srsue-rftype-zmq
diff --git a/example/resources.conf.prod b/example/resources.conf.prod
index 943160b..cbcaafd 100644
--- a/example/resources.conf.prod
+++ b/example/resources.conf.prod
@@ -157,6 +157,15 @@ bts:
enb:
- label: srsENB-zmq
type: srsenb
+ rf_dev_type: zmq
+ rf_dev_args: auto
+ remote_user: jenkins
+ addr: 10.42.42.117
+
+- label: srsENB-B200
+ type: srsenb
+ 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
@@ -241,12 +250,23 @@ modem:
- label: srsUE-zmq_1
type: srsue
+ rf_dev_type: zmq
+ rf_dev_args: auto
remote_user: jenkins
addr: 10.42.42.116
imsi: '001010123456789'
ki: '00112233445566778899aabbccddeeff'
auth_algo: 'xor'
+- label: srsUE-soapy-lms_1
+ type: srsue
+ rf_dev_type: soapy
+ rf_dev_args: driver=lime,serial=00090706024F0A22,rxant=LNAW,txant=BAND1
+ remote_user: jenkins
+ addr: 10.42.42.116
+ imsi: '001010123456789'
+ ki: '00112233445566778899aabbccddeeff'
+ auth_algo: 'xor'
osmocon_phone:
- serial_device: '/dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_00897B41-if00-port0'
diff --git a/example/scenarios/srsenb-rftype-uhd.conf b/example/scenarios/srsenb-rftype-uhd.conf
new file mode 100644
index 0000000..293c109
--- /dev/null
+++ b/example/scenarios/srsenb-rftype-uhd.conf
@@ -0,0 +1,4 @@
+resources:
+ enb:
+ - type: srsenb
+ rf_dev_type: UHD
diff --git a/example/scenarios/srsenb-rftype-zmq.conf b/example/scenarios/srsenb-rftype-zmq.conf
new file mode 100644
index 0000000..e0f9c9d
--- /dev/null
+++ b/example/scenarios/srsenb-rftype-zmq.conf
@@ -0,0 +1,4 @@
+resources:
+ enb:
+ - type: srsenb
+ rf_dev_type: zmq
diff --git a/example/scenarios/srsue-rftype-soapy.conf b/example/scenarios/srsue-rftype-soapy.conf
new file mode 100644
index 0000000..5f034af
--- /dev/null
+++ b/example/scenarios/srsue-rftype-soapy.conf
@@ -0,0 +1,4 @@
+resources:
+ modem:
+ - type: srsue
+ rf_dev_type: soapy
diff --git a/example/scenarios/srsue-rftype-uhd.conf b/example/scenarios/srsue-rftype-uhd.conf
new file mode 100644
index 0000000..fef8696
--- /dev/null
+++ b/example/scenarios/srsue-rftype-uhd.conf
@@ -0,0 +1,4 @@
+resources:
+ modem:
+ - type: srsue
+ rf_dev_type: UHD
diff --git a/example/scenarios/srsue-rftype-zmq.conf b/example/scenarios/srsue-rftype-zmq.conf
new file mode 100644
index 0000000..d30a84b
--- /dev/null
+++ b/example/scenarios/srsue-rftype-zmq.conf
@@ -0,0 +1,4 @@
+resources:
+ modem:
+ - type: srsue
+ rf_dev_type: zmq