Commit bccd024e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 07ad4b61
/* UE simulator configuration file version 2022-09-16
* Copyright (C) 2015-2022 Amarisoft
*/
#define TDD 0 // Values: 0 (FDD), 1(TDD)
#define CELL_BANDWIDTH 5 // Values: 1.4 (1.4MHz), 3 (3MHz), 5 (5MHz), 10 (10MHz), 15 (15MHz), 20 (20MHz)
#define N_ANTENNA_DL 1 // Values: 1 (SISO), 2 (MIMO 2x2), 4 (MIMO 4x4)
#define N_ANTENNA_UL 1 // Values: 1, 2
//#define UE_COUNT 100 // number of simulated UEs
#define UE_COUNT 10 // number of simulated UEs
#define CHANNEL_SIM 0 // Values: 0 (UE channel simulator disabled), 1 (UE channel simulator enabled)
// whether to test carrier aggregation or not
#define CA 1
{
// log_options: "all.level=debug,all.max_size=32",
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1",
log_filename: "/tmp/ue0.log",
/* Enable remote API and Web interface */
com_addr: "0.0.0.0:9002",
//include "rf_driver/config.cfg",
rf_driver: {
name: "sdr",
/* list of devices. 'dev0' is always the master. */
#if CA == 1
args: "dev0=/dev/sdr2,dev1=/dev/sdr3",
#else
args: "dev0=/dev/sdr2",
#endif
/* synchronisation source: none, internal, gps, external (default = none) */
// sync: "gps",
},
tx_gain: 60.0, /* TX gain (in dB) */
rx_gain: 49.0, /* RX gain (in dB) */
/* Each cell group must define cells of same type (lte, catm, nbiot or nr)
* Cells of same type can be spread accross multiple groups
*/
cell_groups: [{
/* If true, allow the simulation of several UEs at the same time and
allow dynamic UE creation from remote API */
#if CHANNEL_SIM == 1
multi_ue: true,
channel_sim: true,
#else
#if UE_COUNT > 1
multi_ue: true,
#else
multi_ue: false,
#endif
#endif
cells: [
// CELL1
{
rf_port: 0,
bandwidth: CELL_BANDWIDTH,
#if TDD == 1
dl_earfcn: 40620, /* DL center frequency: 2593 MHz (band 41) */
#else
dl_earfcn: 3350, /* DL center frequency: 2680 MHz (Band 7) */
#endif
n_antenna_dl: N_ANTENNA_DL,
n_antenna_ul: N_ANTENNA_UL,
/* must be provided if multi_ue = true */
global_timing_advance: -1, // -1: use the timing advance from the first received RAR
#if CHANNEL_SIM == 1
position: [0, 0],
antenna: {
type: "isotropic",
},
ref_signal_power: -40,
ul_power_attenuation: 30,
#endif
},
#if CA == 1
// CELL2
{
rf_port: 1,
bandwidth: CELL_BANDWIDTH,
dl_earfcn: 3050, // 2650 MHz (Band 7)
n_antenna_ul: N_ANTENNA_UL,
n_antenna_ul: N_ANTENNA_UL,
global_timing_advance: 1, // see ^^^
},
#endif
],
/* In case your system has a high SNR and you are running high number of
* UEs, enable this option to optimize PDCCH decoding and save CPU
*/
pdcch_decode_opt: false,
pdcch_decode_opt_threshold: 0.1,
}],
ue_list: [
{
"imsi": "001010123456789",
"K": "00112233445566778899aabbccddeeff",
/* UE capabilities */
as_release: 13,
ue_category: 13,
ue_count: UE_COUNT,
/* If enabled, will try to use external SIM card using libpcsclite */
//external_sim: true,
/* Enable it to create a TUN interface for each UE PDN */
tun_setup_script: "ue-ifup",
#if CHANNEL_SIM == 1
position: [50, 0],
channel: {
type: "epa",
freq_doppler: 50,
mimo_correlation: "low",
},
#endif
}
],
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment