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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Nov 30 10:13:21 UTC 2019


fixeria has uploaded this change for review. ( 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, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/40/16340/1

diff --git a/src/common/abis.c b/src/common/abis.c
index e18e8d9..9aa6afa 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -129,6 +129,7 @@
 		sign_link = trx->rsl_link =
 			e1inp_sign_link_create(&line->ts[type-1],
 						E1INP_SIGN_RSL, trx, 0, 0);
+						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: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191130/eee87a0f/attachment.htm>


More information about the gerrit-log mailing list