Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 1 | /* 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 Puschmann | d97ab42 | 2020-04-07 18:38:21 +0200 | [diff] [blame] | 16 | % else: |
| 17 | bandwidth: ${ue.bandwidth}, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 18 | %endif |
| 19 | |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 20 | // 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 Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 29 | /* If true, allow the simulation of several UEs at the same time and |
| 30 | allow dynamic UE creation from remote API */ |
Andre Puschmann | 9a5be2c | 2020-04-06 22:08:24 +0200 | [diff] [blame] | 31 | multi_ue: true, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 32 | |
| 33 | cells: [ |
| 34 | { |
Andre Puschmann | 9a5be2c | 2020-04-06 22:08:24 +0200 | [diff] [blame] | 35 | dl_earfcn: 2850, |
| 36 | n_antenna_dl: 1, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 37 | 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 Pedrol | 0f7f265 | 2020-07-13 12:01:10 +0200 | [diff] [blame] | 51 | sim_algo: "${sub.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */ |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 52 | imsi: "${ue.imsi}", |
| 53 | K: "${ue.ki}", |
Pau Espin Pedrol | 0f7f265 | 2020-07-13 12:01:10 +0200 | [diff] [blame] | 54 | % if ue.opc is not None: |
| 55 | opc: "${ue.opc}", |
| 56 | % endif |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 57 | |
| 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 Pedrol | 23e60e5 | 2020-04-08 15:16:50 +0200 | [diff] [blame] | 62 | tun_setup_script: "${ue.ifup_filename}", |
Andre Puschmann | 9a5be2c | 2020-04-06 22:08:24 +0200 | [diff] [blame] | 63 | |
| 64 | sim_events: [{ |
| 65 | event: "power_on", |
| 66 | start_time: 1, |
| 67 | }], |
| 68 | ue_count: 1, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 69 | } |
| 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 | } |