blob: d6ba32d58b6d8b52f9e4f6bc20c8dcec7963cf97 [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
33 cells: [
34 {
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020035 dl_earfcn: 2850,
36 n_antenna_dl: 1,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020037 n_antenna_ul: 1,
38
39 /* must be provided if multi_ue = true */
40 //global_timing_advance: 1,
41 }
42 ],
43
44 ue_list: [
45 {
46 /* UE capabilities */
47 as_release: 8,
48 ue_category: 4,
49
50 /* USIM data */
Pau Espin Pedrol0f7f2652020-07-13 12:01:10 +020051 sim_algo: "${sub.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020052 imsi: "${ue.imsi}",
53 K: "${ue.ki}",
Pau Espin Pedrol0f7f2652020-07-13 12:01:10 +020054% if ue.opc is not None:
55 opc: "${ue.opc}",
56% endif
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020057
58 /* If enabled, will try to use external SIM card using libpcsclite */
59 //external_sim: true,
60
61 /* Enable it to create a TUN interface for each UE PDN */
Pau Espin Pedrol23e60e52020-04-08 15:16:50 +020062 tun_setup_script: "${ue.ifup_filename}",
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020063
64 sim_events: [{
65 event: "power_on",
66 start_time: 1,
67 }],
68 ue_count: 1,
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +020069 }
70 ],
71
72 /* If case your system have a high SNR and you are running high number of
73 * UEs, enable this option to optimize PDCCH decoding and save CPU
74 */
75 pdcch_decode_opt: false,
76 pdcch_decode_opt_threshold: 0.1,
77
78}