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 | |
Andre Puschmann | 31ecf59 | 2021-03-18 16:53:36 +0100 | [diff] [blame] | 33 | 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 Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 47 | cells: [ |
| 48 | { |
Andre Puschmann | 31ecf59 | 2021-03-18 16:53:36 +0100 | [diff] [blame] | 49 | dl_earfcn: ${ue.dl_earfcn}, |
| 50 | ul_earfcn: ${ue.ul_earfcn}, |
Andre Puschmann | 9a5be2c | 2020-04-06 22:08:24 +0200 | [diff] [blame] | 51 | n_antenna_dl: 1, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 52 | 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 Puschmann | 65a9e74 | 2020-11-20 11:48:38 +0100 | [diff] [blame] | 66 | sim_algo: "${ue.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */ |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 67 | imsi: "${ue.imsi}", |
| 68 | K: "${ue.ki}", |
Pau Espin Pedrol | 0f7f265 | 2020-07-13 12:01:10 +0200 | [diff] [blame] | 69 | % if ue.opc is not None: |
| 70 | opc: "${ue.opc}", |
| 71 | % endif |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 72 | |
| 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 Pedrol | 23e60e5 | 2020-04-08 15:16:50 +0200 | [diff] [blame] | 77 | tun_setup_script: "${ue.ifup_filename}", |
Andre Puschmann | 9a5be2c | 2020-04-06 22:08:24 +0200 | [diff] [blame] | 78 | |
| 79 | sim_events: [{ |
| 80 | event: "power_on", |
| 81 | start_time: 1, |
| 82 | }], |
Andre Puschmann | 65a9e74 | 2020-11-20 11:48:38 +0100 | [diff] [blame] | 83 | ue_count: ${ue.count}, |
Pau Espin Pedrol | 65beb8f | 2020-03-31 12:03:19 +0200 | [diff] [blame] | 84 | } |
| 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 | } |