aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-31 11:12:39 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-04-03 18:56:01 +0200
commiteae9c90d1727751bfc3aa8b86002054ab35954af (patch)
treeeed3539fe4486205a2cf8544860d5a507db5f6e6 /example
parent64ad952de10fb4fac8aebe93d6740e222b7135d2 (diff)
Add modem resource features attributes: 2g, 3g, 4g
This allows selecting modem by supported network type. It will allow using 4G modems with type different than srsue in 4g suite in the future. Change-Id: I38bcf6abf789f52c3ed0bee7911567fa872e2491
Diffstat (limited to 'example')
-rw-r--r--example/resources.conf.prod18
-rw-r--r--example/resources.conf.rnd8
2 files changed, 14 insertions, 12 deletions
diff --git a/example/resources.conf.prod b/example/resources.conf.prod
index 2d9d0a8..c66cafa 100644
--- a/example/resources.conf.prod
+++ b/example/resources.conf.prod
@@ -197,56 +197,56 @@ modem:
ki: 'EBAB63D06C3F546A16C977CB40E57C68'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'sim']
- label: sierra_2nd
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.4/1-5.4.1/1-5.4.1.3'
ki: 'EBD2B5F6CF3374106D0A66C11F922001'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'sim']
- label: gobi2k
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.4/1-5.4.1/1-5.4.1.5'
ki: '5752B3F43277C35D2D1D957007DF74E2'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sim']
+ features: ['2g', 'sim']
- label: ec20_1
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.4/1-5.4.1/1-5.4.1.6'
ki: '07F35D0A9476646169669401215580E0'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: ec20_2
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.3/1-5.3.2'
ki: '278B899D126C31F3B24D21E3EB556530'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: ec20_3
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.3/1-5.3.3'
ki: 'B43BBCD8DE4D594F4146DE3D8ADC589D'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: ec20_4
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.3/1-5.3.5'
ki: 'A41F06F39DE3B0295C178A674D3E3636'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: ec20_5
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.3/1-5.3.6'
ki: '8CCBE85A62C6DC7AC2A9886F4BBC3146'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: srsUE-zmq_1
type: srsue
@@ -257,6 +257,7 @@ modem:
imsi: '001010123456789'
ki: '00112233445566778899aabbccddeeff'
auth_algo: 'xor'
+ features: ['4g']
- label: srsUE-soapy-lms_1
type: srsue
@@ -267,6 +268,7 @@ modem:
imsi: '001010123456789'
ki: '00112233445566778899aabbccddeeff'
auth_algo: 'xor'
+ features: ['4g']
osmocon_phone:
- serial_device: '/dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_00897B41-if00-port0'
diff --git a/example/resources.conf.rnd b/example/resources.conf.rnd
index 5358a61..4ce39d1 100644
--- a/example/resources.conf.rnd
+++ b/example/resources.conf.rnd
@@ -74,28 +74,28 @@ modem:
ki: '80A37E6FDEA931EAC92FFA5F671EFEAD'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'sim']
- label: sierra_2nd
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.3'
ki: '00969E283349D354A8239E877F2E0866'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'sim']
- label: ec20_1
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.6'
ki: 'BB70807226393CDBAC8DD3439FF54252'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
- label: ec20_2
path: '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.5'
ki: '2F70DCA43C45ACB97E947FDD0C7CA30A'
auth_algo: 'comp128v1'
ciphers: [a5_0, a5_1]
- features: ['sms', 'voice', 'ussd', 'gprs', 'sim']
+ features: ['2g', 'sms', 'voice', 'ussd', 'gprs', 'sim']
osmocon_phone:
- serial_device: '/dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_0089279D-if00-port0'