ms_srs: add force_ul_amplitude config

this allows to overwrite the PHY export option phy.force_ul_amplitude

Change-Id: I255f027433944c1739c89757609f0dcc3b8aa7cb
diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index f564519..767f887 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -42,6 +42,7 @@
         'tx_gain': schema.INT,
         'rx_gain': schema.INT,
         'freq_offset': schema.INT,
+        'force_ul_amplitude': schema.STR,
         }
     for key, val in RunNode.schema().items():
         resource_schema['run_node.%s' % key] = val
diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
index 0250f2b..a953459 100644
--- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl
+++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
@@ -357,7 +357,9 @@
 #pregenerate_signals = false
 #pdsch_csi_enabled  = true
 #pdsch_8bit_decoder = false
-#force_ul_amplitude = 0
+% if float(ue.force_ul_amplitude) > 0:
+force_ul_amplitude = ${ue.force_ul_amplitude}
+% endif
 
 #####################################################################
 # Simulation configuration options