Change in osmo-bts[master]: common/abis.c: make use of RSL TEI from OML IPA RSL Connect

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.org
Sun Jan 12 13:08:47 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/16340 )

Change subject: common/abis.c: make use of RSL TEI from OML IPA RSL Connect
......................................................................

common/abis.c: make use of RSL TEI from OML IPA RSL Connect

Change-Id: I5927f59a49724170a63e87be604973f7c9d5d8be
---
M src/common/abis.c
M src/common/oml.c
2 files changed, 5 insertions(+), 2 deletions(-)

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



diff --git a/src/common/abis.c b/src/common/abis.c
index 2da1ddd..44b8eff 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -128,7 +128,8 @@
 		e1inp_ts_config_sign(&line->ts[type-1], line);
 		sign_link = trx->rsl_link =
 			e1inp_sign_link_create(&line->ts[type-1],
-						E1INP_SIGN_RSL, trx, 0, 0);
+						E1INP_SIGN_RSL, trx,
+						trx->rsl_tei, 0);
 		trx_link_estab(trx);
 		break;
 	}
diff --git a/src/common/oml.c b/src/common/oml.c
index 3defa49..7a62faa 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1323,8 +1323,10 @@
 	if (trx->bts->variant == BTS_OSMO_OMLDUMMY) {
 		rc = 0;
 		LOGP(DOML, LOGL_NOTICE, "%s: Not connecting RSL in OML-DUMMY!\n", trx_name);
-	} else
+	} else {
+		trx->rsl_tei = stream_id;
 		rc = e1inp_ipa_bts_rsl_connect_n(oml_link->ts->line, inet_ntoa(in), port, trx->nr);
+	}
 	if (rc < 0) {
 		LOGP(DOML, LOGL_ERROR, "%s: Error in abis_open(RSL): %d\n", trx_name, rc);
 		return oml_fom_ack_nack(msg, NM_NACK_CANT_PERFORM);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/16340
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I5927f59a49724170a63e87be604973f7c9d5d8be
Gerrit-Change-Number: 16340
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
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/20200112/dc87f5f5/attachment.htm>


More information about the gerrit-log mailing list