diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-30 15:16:18 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-30 15:16:18 +0200 |
commit | a8a8d3977dc3b31352f8a87ca005763677bd7e8c (patch) | |
tree | 9d2cfd6ec2a8b33eeb0d6b18d17f671c268c72ca | |
parent | 977231cc3e701366e438f97f4e441670c9c130ad (diff) |
RSL: Add support for RSL_CHAN_OSMO_PDCH to rsl_dec_chan_nr()
Change-Id: Icc772285636c06e1075a89809f0ac379d7a0002c
-rw-r--r-- | src/gsm/rsl.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |