From 374a175c819348a31a6086eb4c74749ac245d9f8 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 23 Apr 2021 16:35:48 +0200 Subject: [PATCH] amarisoft_rf_driver.cfg.tmpl: only set trx offset for B210 all other RF devices do not required any offset Change-Id: Id4c5f0bede5b09d59237cdd6a959a3663f1a1b37 --- .../templates/amarisoft_rf_driver.cfg.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl index 2587f977..36d34ad7 100644 --- a/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl +++ b/src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl @@ -14,8 +14,10 @@ rf_driver: { tx_gain: ${trx.tx_gain}, /* TX gain (in dB) B2x0: 0 to 89.8 dB */ rx_gain: ${trx.rx_gain}, /* RX gain (in dB) B2x0: 0 to 73 dB */ -% if trx.rf_dev_type == 'zmq': -tx_time_offset: 0, -% else: + +// only the B210 requires a sample offset +% if "b200" in trx.rf_dev_args: tx_time_offset: -150, -% endif +% else: +tx_time_offset: 0, +% endif \ No newline at end of file