ms_srs: add freq_offset as resource param

this allows to specify a freq tuning offset in Hz in the MS resource config

Change-Id: Iab726edd27e890d2c2dddbea91afe80d8a5068aa
This commit is contained in:
Andre Puschmann 2020-10-06 09:52:46 +02:00
parent 182109db4d
commit e3a1910915
3 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,7 @@ def on_register_schemas():
'airplane_t_off_ms': schema.INT,
'tx_gain': schema.UINT,
'rx_gain': schema.UINT,
'freq_offset': schema.INT,
}
for key, val in RunNode.schema().items():
resource_schema['run_node.%s' % key] = val

View File

@ -38,7 +38,7 @@ dl_earfcn = 2850,3050
% else:
dl_earfcn = 2850
% endif
freq_offset = 0
freq_offset = ${ue.freq_offset}
tx_gain = ${ue.tx_gain}
rx_gain = ${ue.rx_gain}

View File

@ -163,6 +163,7 @@ srsue:
num_carriers: 1
tx_gain: 80
rx_gain: 40
freq_offset: 0
log_all_level: warning
amarisoftue: