Change in libosmocore[master]: chantype_rsl2gsmtap(): Add entries for CBCH

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
Thu Feb 27 14:48:08 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/17288 )


Change subject: chantype_rsl2gsmtap(): Add entries for CBCH
......................................................................

chantype_rsl2gsmtap(): Add entries for CBCH

This adds missing entries for CBCH in the conversion between RSL-style
channel numbers and GSMTAP channel types.

Without this change, you will see tons of messages like
virtphy[19865]: Wed Feb 26 16:16:28 2020 DVIRPHY <0002> gsmtapl1_if.c:267 MS 0000: Ignoring unknown channel type UNKNOWN (0)
if running virtphy of osmocom-bb with a BTS that broadcasts CBCH.

Change-Id: I19bbd2942adf441f58955ac896ef968bfd8aec5f
---
M src/gsmtap_util.c
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/88/17288/1

diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c
index 2fb18a4..a4fe2d9 100644
--- a/src/gsmtap_util.c
+++ b/src/gsmtap_util.c
@@ -86,6 +86,12 @@
 	case RSL_CHAN_OSMO_PDCH:
 		ret = GSMTAP_CHANNEL_PDCH;
 		break;
+	case RSL_CHAN_OSMO_CBCH4:
+		ret = GSMTAP_CHANNEL_CBCH51;
+		break;
+	case RSL_CHAN_OSMO_CBCH8:
+		ret = GSMTAP_CHANNEL_CBCH52;
+		break;
 	}
 
 	if (link_id & 0x40)

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I19bbd2942adf441f58955ac896ef968bfd8aec5f
Gerrit-Change-Number: 17288
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200227/27c12349/attachment.htm>


More information about the gerrit-log mailing list