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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/18632 ) Change subject: osmo-bts-omldummy: make number of transceivers configurable ...................................................................... osmo-bts-omldummy: make number of transceivers configurable Change-Id: I712988a289c446c76dc4d9de0189fe448ae08e4d Related: OS#4570 --- M src/osmo-bts-omldummy/main.c 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/osmo-bts-omldummy/main.c b/src/osmo-bts-omldummy/main.c index 8933860..22d8758 100644 --- a/src/osmo-bts-omldummy/main.c +++ b/src/osmo-bts-omldummy/main.c @@ -15,12 +15,13 @@ int i; if (argc < 3) { - fprintf(stderr, "Usage: %s dst_host site_id\n", argv[0]); + fprintf(stderr, "Usage: %s dst_host site_id [trx_num]\n", argv[0]); return 1; } char *dst_host = argv[1]; int site_id = atoi(argv[2]); + int trx_num = argc > 3 ? atoi(argv[3]) : 8; tall_bts_ctx = talloc_named_const(NULL, 1, "OsmoBTS context"); msgb_talloc_ctx_init(tall_bts_ctx, 10*1024); @@ -34,7 +35,7 @@ bts->ip_access.bts_id = 0; /* Additional TRXs */ - for (i = 1; i < 8; i++) { + for (i = 1; i < trx_num; i++) { trx = gsm_bts_trx_alloc(bts); if (!trx) exit(1); -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18632 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I712988a289c446c76dc4d9de0189fe448ae08e4d Gerrit-Change-Number: 18632 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200602/6d4be616/attachment.htm>