From a8a8d3977dc3b31352f8a87ca005763677bd7e8c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 30 Jul 2017 15:16:18 +0200 Subject: RSL: Add support for RSL_CHAN_OSMO_PDCH to rsl_dec_chan_nr() Change-Id: Icc772285636c06e1075a89809f0ac379d7a0002c --- src/gsm/rsl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c index 83097fdf..2a2af1f7 100644 --- a/src/gsm/rsl.c +++ b/src/gsm/rsl.c @@ -202,6 +202,9 @@ int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *tim } 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; -- cgit v1.2.3