[PATCH] openbsc[master]: rsl: support for ericssons propritary SI13 format

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

dexter gerrit-no-reply at lists.osmocom.org
Wed Nov 2 11:13:18 UTC 2016


Review at  https://gerrit.osmocom.org/1183

rsl: support for ericssons propritary SI13 format

Ericsson has introduced a propritary format to issue the S13 BCCH
information. Normally the system info type field for SI13 would
be encoded as 0x28. Ericsson encodes that field as 0x02 and ads
a bcch mapping parameter, (IEI=F2) This patch sets the BCCH mapping
to 0x00 (=BCCH Normal) statically (0xF200)

Change-Id: Ie0900f9b810744172b3090ce1b0ef7b7a1132946
---
M openbsc/src/libbsc/abis_rsl.c
1 file changed, 11 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/83/1183/1

diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index c374903..20bc9d9 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -241,8 +241,17 @@
 	init_dchan_hdr(dh, RSL_MT_BCCH_INFO);
 	dh->chan_nr = RSL_CHAN_BCCH;
 
-	msgb_tv_put(msg, RSL_IE_SYSINFO_TYPE, type);
-	msgb_tlv_put(msg, RSL_IE_FULL_BCCH_INFO, len, data);
+	if (trx->bts->type == GSM_BTS_TYPE_RBS2000
+	    && type == RSL_SYSTEM_INFO_13) {
+		/* Ericsson proprietary encoding of SI13 */
+		msgb_tv_put(msg, RSL_IE_SYSINFO_TYPE, 0x0C);
+		msgb_tlv_put(msg, RSL_IE_FULL_BCCH_INFO, len, data);
+		msgb_tv_put(msg, 0xF2, 0x00);
+	} else {
+		/* Normal encoding */
+		msgb_tv_put(msg, RSL_IE_SYSINFO_TYPE, type);
+		msgb_tlv_put(msg, RSL_IE_FULL_BCCH_INFO, len, data);
+	}
 
 	msg->dst = trx->rsl_link;
 

-- 
To view, visit https://gerrit.osmocom.org/1183
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0900f9b810744172b3090ce1b0ef7b7a1132946
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list