[PATCH] libosmocore[master]: RSL: Add support for RSL_CHAN_OSMO_PDCH to rsl_dec_chan_nr()

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jul 30 13:17:22 UTC 2017


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

RSL: Add support for RSL_CHAN_OSMO_PDCH to rsl_dec_chan_nr()

Change-Id: Icc772285636c06e1075a89809f0ac379d7a0002c
---
M src/gsm/rsl.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/90/3390/1

diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c
index 83097fd..2a2af1f 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -202,6 +202,9 @@
 	} else if ((chan_nr & 0xf8) == RSL_CHAN_PCH_AGCH) {
 		*type = RSL_CHAN_PCH_AGCH;
 		*subch = 0;
+	} else if ((chan_nr & 0xf8) == RSL_CHAN_OSMO_PDCH) {
+		*type = RSL_CHAN_OSMO_PDCH;
+		*subch = 0;
 	} else
 		return -EINVAL;
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc772285636c06e1075a89809f0ac379d7a0002c
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list