This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/11197 ) Change subject: osmo-trx: Enable multi_arfcn for B200 and only in multiTRX setup ...................................................................... osmo-trx: Enable multi_arfcn for B200 and only in multiTRX setup Change-Id: I6a29e1813f0603b00b49b7b7c805be23a72cf0e3 --- M example/resources.conf.prod M example/resources.conf.rnd M src/osmo_gsm_tester/bts_osmotrx.py 3 files changed, 8 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/example/resources.conf.prod b/example/resources.conf.prod index e3c5ad8..88358ac 100644 --- a/example/resources.conf.prod +++ b/example/resources.conf.prod @@ -30,6 +30,7 @@ remote_user: jenkins trx_ip: 10.42.42.230 clock_reference: external + multi_arfcn: true - label: sysmoCell 5000 type: osmo-bts-trx diff --git a/example/resources.conf.rnd b/example/resources.conf.rnd index 2067efc..dbdf3cc 100644 --- a/example/resources.conf.rnd +++ b/example/resources.conf.rnd @@ -28,6 +28,7 @@ type: uhd launch_trx: true clock_reference: external + multi_arfcn: true remote_user: jenkins trx_ip: 127.0.0.1 ciphers: [a5_0, a5_1] diff --git a/src/osmo_gsm_tester/bts_osmotrx.py b/src/osmo_gsm_tester/bts_osmotrx.py index a1814dc..79c541d 100644 --- a/src/osmo_gsm_tester/bts_osmotrx.py +++ b/src/osmo_gsm_tester/bts_osmotrx.py @@ -179,7 +179,12 @@ self.dbg(config_file=self.config_file) values = self.conf - multi_arfcn_bool = util.str2bool(values.get('osmo_trx', {}).get('multi_arfcn', False)) + + # we don't need to enable multi-arfcn for single channel + if len(values.get('osmo_trx', {}).get('channels', [])) > 1: + multi_arfcn_bool = util.str2bool(values.get('osmo_trx', {}).get('multi_arfcn', False)) + else: + multi_arfcn_bool = False config.overlay(values, { 'osmo_trx': { 'multi_arfcn': multi_arfcn_bool } }) self.dbg('OSMO-TRX CONFIG:\n' + pprint.pformat(values)) -- To view, visit https://gerrit.osmocom.org/11197 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I6a29e1813f0603b00b49b7b7c805be23a72cf0e3 Gerrit-Change-Number: 11197 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181003/a84abf9e/attachment.htm>