/* UE simulator configuration file version 2022-12-16 * Copyright (C) 2015-2022 Amarisoft */ #define N_CELL 2 // should not be changed, used in config.cfg #define TDD 0 // Values: 0 (FDD), 1(TDD) #define CELL_BANDWIDTH 20 // Values: 1.4 (1.4MHz), 3 (3MHz), 5 (5MHz), 10 (10MHz), 15 (15MHz), 20 (20MHz) #define N_ANTENNA_DL 2 // Values: 1 (SISO), 2 (MIMO 2x2), 4 (MIMO 4x4) #define N_ANTENNA_UL 1 // Values: 1, 2 #define UE_COUNT 1 // number of simulated UEs #define CHANNEL_SIM 0 // Values: 0 (UE channel simulator disabled), 1 (UE channel simulator enabled) { // 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", tx_gain:90, //80, rx_gain:60, //20, /* 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: true, //false, #endif #endif cells: [ { bandwidth: CELL_BANDWIDTH, #if TDD == 1 dl_earfcn: 40620, /* DL center frequency: 2593 MHz (band 41) */ #else dl_earfcn: 3100, /* DL center frequency: 2655 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: -60, // referenceSignalPower value decoded in SIB ul_power_attenuation: 3, #endif }, { bandwidth: CELL_BANDWIDTH, #if TDD == 1 dl_earfcn: 40620, /* DL center frequency: 2593 MHz (band 41) */ #else dl_earfcn: 1575, /* DL center frequency: 1842.5 MHz (Band 3) */ #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: [300, 0], antenna: { type: "isotropic", }, ref_signal_power: -60, // referenceSignalPower value decoded in SIB ul_power_attenuation: 3, #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 cell_index: 0, position: [10, 0], channel: { type: "awgn", A:5, B:20, }, #endif }, ], }