From a42f2ef12717271e7743ab5f8877e9b9ea142b13 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 28 May 2019 07:10:48 +0700 Subject: trxcon/sched_trx.c: add missing branch for GSM_PCHAN_PDCH PDCH channel support was introduced quite a while ago, but there was no way to activate it via L1CTL so far. Let's fix this. Change-Id: I3b66cab26108ab999a7fe969365ab57dc661399c --- src/host/trxcon/sched_trx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c index 4c93a3c4..62fe8703 100644 --- a/src/host/trxcon/sched_trx.c +++ b/src/host/trxcon/sched_trx.c @@ -543,6 +543,8 @@ enum gsm_phys_chan_config sched_trx_chan_nr2pchan_config(uint8_t chan_nr) return GSM_PCHAN_CCCH_SDCCH4_CBCH; else if ((cbits & 0x1f) == ABIS_RSL_CHAN_NR_CBITS_OSMO_CBCH8) return GSM_PCHAN_SDCCH8_SACCH8C_CBCH; + else if ((cbits & 0x1f) == ABIS_RSL_CHAN_NR_CBITS_OSMO_PDCH) + return GSM_PCHAN_PDCH; return GSM_PCHAN_NONE; } -- cgit v1.2.3