blob: f9b293344412d33171a7e5e0a0be3499cec95e6c [file] [log] [blame]
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +02001/* UE simulator configuration file version 2018-10-18
2 * Copyright (C) 2015-2018 Amarisoft
3 */
4{
5
6%if ue.license_server_addr != '0.0.0.0':
7 license_server: {
8 server_addr: "${ue.license_server_addr}",
9 name: "amarisoft",
10 },
11%endif
12
13% if ue.rf_dev_type == 'zmq':
14 /* Force sampling rate (if uncommented) */
15 sample_rate: ${ue.sample_rate},
Andre Puschmannd97ab422020-04-07 18:38:21 +020016% else:
17 bandwidth: ${ue.bandwidth},
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020018%endif
19
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020020// log_options: "all.level=debug,all.max_size=32",
21 log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1",
22 log_filename: "${ue.log_filename}",
23
24 /* Enable remote API and Web interface */
25 com_addr: "${ue.addr}:9002",
26
27 include "amarisoft_rf_driver.cfg",
28
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020029 /* If true, allow the simulation of several UEs at the same time and
30 allow dynamic UE creation from remote API */
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020031 multi_ue: true,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020032
Andre Puschmann31ecf592021-03-18 16:53:36 +010033 custom_freq_band: [
34%for band in ue.custom_band_list:
35 {
36 band: ${band.number},
37 dl_earfcn_min: ${band.dl_earfcn_min},
38 dl_earfcn_max: ${band.dl_earfcn_max},
39 dl_freq_min: ${band.dl_freq_min},
40 ul_freq_min: ${band.ul_freq_min},
41 ul_earfcn_min: ${band.ul_earfcn_min},
42 ul_earfcn_max: ${band.ul_earfcn_max},
43 },
44%endfor
45 ],
46
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020047 cells: [
48 {
Andre Puschmann31ecf592021-03-18 16:53:36 +010049 dl_earfcn: ${ue.dl_earfcn},
50 ul_earfcn: ${ue.ul_earfcn},
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020051 n_antenna_dl: 1,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020052 n_antenna_ul: 1,
53
54 /* must be provided if multi_ue = true */
55 //global_timing_advance: 1,
56 }
57 ],
58
59 ue_list: [
60 {
61 /* UE capabilities */
62 as_release: 8,
63 ue_category: 4,
64
65 /* USIM data */
Andre Puschmann65a9e742020-11-20 11:48:38 +010066 sim_algo: "${ue.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020067 imsi: "${ue.imsi}",
68 K: "${ue.ki}",
Pau Espin Pedrol0f7f2652020-07-13 12:01:10 +020069% if ue.opc is not None:
70 opc: "${ue.opc}",
71% endif
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020072
73 /* If enabled, will try to use external SIM card using libpcsclite */
74 //external_sim: true,
75
76 /* Enable it to create a TUN interface for each UE PDN */
Pau Espin Pedrol23e60e52020-04-08 15:16:50 +020077 tun_setup_script: "${ue.ifup_filename}",
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020078
79 sim_events: [{
80 event: "power_on",
81 start_time: 1,
82 }],
Andre Puschmann65a9e742020-11-20 11:48:38 +010083 ue_count: ${ue.count},
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020084 }
85 ],
86
87 /* If case your system have a high SNR and you are running high number of
88 * UEs, enable this option to optimize PDCCH decoding and save CPU
89 */
90 pdcch_decode_opt: false,
91 pdcch_decode_opt_threshold: 0.1,
92
93}