blob: 448c23c66ea5f6cc9395a9d1aba6ba88a736b319 [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
Andre Puschmannd97ab422020-04-07 18:38:21 +020013 bandwidth: ${ue.bandwidth},
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020014
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020015// log_options: "all.level=debug,all.max_size=32",
16 log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1",
17 log_filename: "${ue.log_filename}",
18
19 /* Enable remote API and Web interface */
20 com_addr: "${ue.addr}:9002",
21
22 include "amarisoft_rf_driver.cfg",
23
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020024 /* If true, allow the simulation of several UEs at the same time and
25 allow dynamic UE creation from remote API */
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020026 multi_ue: true,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020027
Andre Puschmann31ecf592021-03-18 16:53:36 +010028 custom_freq_band: [
29%for band in ue.custom_band_list:
30 {
31 band: ${band.number},
32 dl_earfcn_min: ${band.dl_earfcn_min},
33 dl_earfcn_max: ${band.dl_earfcn_max},
34 dl_freq_min: ${band.dl_freq_min},
35 ul_freq_min: ${band.ul_freq_min},
36 ul_earfcn_min: ${band.ul_earfcn_min},
37 ul_earfcn_max: ${band.ul_earfcn_max},
38 },
39%endfor
40 ],
41
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020042 cells: [
43 {
Andre Puschmann31ecf592021-03-18 16:53:36 +010044 dl_earfcn: ${ue.dl_earfcn},
45 ul_earfcn: ${ue.ul_earfcn},
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020046 n_antenna_dl: 1,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020047 n_antenna_ul: 1,
48
49 /* must be provided if multi_ue = true */
50 //global_timing_advance: 1,
51 }
52 ],
53
54 ue_list: [
55 {
56 /* UE capabilities */
57 as_release: 8,
58 ue_category: 4,
59
60 /* USIM data */
Andre Puschmann65a9e742020-11-20 11:48:38 +010061 sim_algo: "${ue.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020062 imsi: "${ue.imsi}",
63 K: "${ue.ki}",
Pau Espin Pedrol0f7f2652020-07-13 12:01:10 +020064% if ue.opc is not None:
65 opc: "${ue.opc}",
66% endif
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020067
68 /* If enabled, will try to use external SIM card using libpcsclite */
69 //external_sim: true,
70
71 /* Enable it to create a TUN interface for each UE PDN */
Pau Espin Pedrol23e60e52020-04-08 15:16:50 +020072 tun_setup_script: "${ue.ifup_filename}",
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020073
74 sim_events: [{
75 event: "power_on",
76 start_time: 1,
77 }],
Andre Puschmann65a9e742020-11-20 11:48:38 +010078 ue_count: ${ue.count},
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020079 }
80 ],
81
82 /* If case your system have a high SNR and you are running high number of
83 * UEs, enable this option to optimize PDCCH decoding and save CPU
84 */
85 pdcch_decode_opt: false,
86 pdcch_decode_opt_threshold: 0.1,
87
88}