srs{enb,ue}.conf.tmpl: make sure to only use a single PHY thread when running with ZMQ
Change-Id: Icc1e67705c0354ece77c037f224a9c756a16daaa
diff --git a/src/osmo_gsm_tester/templates/srsenb.conf.tmpl b/src/osmo_gsm_tester/templates/srsenb.conf.tmpl
index 51afcce..d16f9d1 100644
--- a/src/osmo_gsm_tester/templates/srsenb.conf.tmpl
+++ b/src/osmo_gsm_tester/templates/srsenb.conf.tmpl
@@ -135,11 +135,11 @@
#
# max_aggr_level: Optional maximum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
# pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified)
-# pdsch_max_mcs: Optional PDSCH MCS limit
+# pdsch_max_mcs: Optional PDSCH MCS limit
# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
-# pusch_max_mcs: Optional PUSCH MCS limit
-# min_nof_ctrl_symbols: Minimum number of control symbols
-# max_nof_ctrl_symbols: Maximum number of control symbols
+# pusch_max_mcs: Optional PUSCH MCS limit
+# min_nof_ctrl_symbols: Minimum number of control symbols
+# max_nof_ctrl_symbols: Maximum number of control symbols
#
#####################################################################
[scheduler]
@@ -265,7 +265,9 @@
[expert]
#pusch_max_its = 8 # These are half iterations
#pusch_8bit_decoder = false
-#nof_phy_threads = 3
+% if enb.get('rf_dev_type') == 'zmq':
+nof_phy_threads = 1
+% endif
#metrics_period_secs = 1
#metrics_csv_enable = false
#metrics_csv_filename = /tmp/enb_metrics.csv
diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
index 4a4828e..ffcafcd 100644
--- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl
+++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
@@ -317,7 +317,9 @@
#snr_ema_coeff = 0.1
#snr_estim_alg = refs
#pdsch_max_its = 8 # These are half iterations
-#nof_phy_threads = 3
+% if ue.get('rf_dev_type') == 'zmq':
+nof_phy_threads = 1
+% endif
#equalizer_mode = mmse
#sfo_ema = 0.1
#sfo_correct_period = 10