srsue.conf.tmpl: tidy up config file

no functional changes, just remove whitespaces and newlines

Change-Id: Ib58d3591cc51c11c9e496f6510ebffb91ee71345
This commit is contained in:
Andre Puschmann 2021-05-10 16:38:51 +02:00
parent 7879143d34
commit e87a05624d
1 changed files with 10 additions and 14 deletions

View File

@ -1,6 +1,4 @@
##################################################################### # OGT templated configuration file for srsUE
# srsUE configuration file
#####################################################################
[rf] [rf]
% if int(ue.tx_gain) > 0: % if int(ue.tx_gain) > 0:
@ -27,13 +25,15 @@ device_args = ${ue.rf_dev_args},${ue.rf_dev_sync}
dl_earfcn = ${ue.dl_earfcn} dl_earfcn = ${ue.dl_earfcn}
% else: % else:
% if int(ue.num_carriers) == 4:
dl_earfcn = 2850,3050,3250,3350 % if int(ue.num_carriers) == 4:
% elif int(ue.num_carriers) == 2: dl_earfcn = 2850,3050,3250,3350
dl_earfcn = 2850,3050 % elif int(ue.num_carriers) == 2:
% else: dl_earfcn = 2850,3050
dl_earfcn = 2850 % else:
% endif dl_earfcn = 2850
% endif
% endif % endif
% if float(ue.get('dl_freq', -1)) != -1: % if float(ue.get('dl_freq', -1)) != -1:
@ -62,7 +62,6 @@ filename = ${ue.log_filename}
file_max_size = -1 file_max_size = -1
nas_level = ${ue.log_nas_level} nas_level = ${ue.log_nas_level}
[usim] [usim]
mode = soft mode = soft
algo = ${ue.auth_algo} algo = ${ue.auth_algo}
@ -87,7 +86,6 @@ ue_category_dl = ${ue.ue_category_dl}
ue_category_ul = ${ue.ue_category_ul} ue_category_ul = ${ue.ue_category_ul}
% endif % endif
[phy] [phy]
% if ue.rf_dev_type == 'zmq': % if ue.rf_dev_type == 'zmq':
nof_phy_threads = 2 nof_phy_threads = 2
@ -96,12 +94,10 @@ nof_phy_threads = 2
force_ul_amplitude = ${ue.force_ul_amplitude} force_ul_amplitude = ${ue.force_ul_amplitude}
% endif % endif
[sim] [sim]
airplane_t_on_ms = ${ue.airplane_t_on_ms} airplane_t_on_ms = ${ue.airplane_t_on_ms}
airplane_t_off_ms = ${ue.airplane_t_off_ms} airplane_t_off_ms = ${ue.airplane_t_off_ms}
[general] [general]
metrics_csv_enable = true metrics_csv_enable = true
metrics_csv_filename = ${ue.metrics_filename} metrics_csv_filename = ${ue.metrics_filename}