Change in ...osmo-gsm-tester[master]: Introduce and use osmo-bts-trx VTY cmd max_trxd_version on sysmocell-5K

pespin gerrit-no-reply at
Wed Jul 24 19:28:30 UTC 2019

pespin has submitted this change and it was merged. ( )

Change subject: Introduce and use osmo-bts-trx VTY cmd max_trxd_version on sysmocell-5K

Introduce and use osmo-bts-trx VTY cmd max_trxd_version on sysmocell-5K

Force TRXDv0 when using sysmocell-5k as a TRX, since its implementation
(different than osmo-trx) doesn't support higher versions. Furthermore,
it will crash upon receival of SETFORMAT string. By forcing maximum TRXD
version to 0, osmo-bts-trx won't sent any SETFORMAT message since 0 is
the initial version to use.

Depends: osmo-bts.git I5eb1fdc002f9d7f4acf475356d8fc998dc8f6326
Related: OS#4006
Change-Id: Ic95c38d91dba354ae64c5edbfcea3fbbf34a7de3
M example/
M src/osmo_gsm_tester/
M src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
3 files changed, 5 insertions(+), 0 deletions(-)

  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified

diff --git a/example/ b/example/
index f4e9fe4..8b498d0 100644
--- a/example/
+++ b/example/
@@ -73,6 +73,7 @@
         launch_trx: false
         clock_reference: external
+        max_trxd_version: 0
 - label: OCTBTS 3500
   type: osmo-bts-octphy
diff --git a/src/osmo_gsm_tester/ b/src/osmo_gsm_tester/
index 246b196..1b18076 100644
--- a/src/osmo_gsm_tester/
+++ b/src/osmo_gsm_tester/
@@ -75,6 +75,7 @@
         'bts[].osmo_trx.remote_user': schema.STR,
         'bts[].osmo_trx.dev_args': schema.STR,
         'bts[].osmo_trx.multi_arfcn': schema.BOOL_STR,
+        'bts[].osmo_trx.max_trxd_version': schema.UINT,
         'arfcn[].arfcn': schema.INT,
         'arfcn[].band': schema.BAND,
         'modem[].type': schema.STR,
diff --git a/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
index 677b047..2239f74 100644
--- a/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
@@ -23,6 +23,9 @@
 phy 0
  osmotrx ip local ${osmo_bts_trx.osmo_trx.bts_ip}
  osmotrx ip remote ${osmo_bts_trx.osmo_trx.trx_ip}
+%if osmo_bts_trx.get('osmo_trx').get('max_trxd_version', False):
+ osmotrx trxd-max-version ${osmo_bts_trx.osmo_trx.max_trxd_version}
 %for chan in osmo_bts_trx.osmo_trx.channels:
  instance ${loop.index}
   osmotrx rx-gain 25

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ic95c38d91dba354ae64c5edbfcea3fbbf34a7de3
Gerrit-Change-Number: 14930
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at>
Gerrit-Reviewer: pespin <pespin at>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list