Change in osmocom-bb[master]: trxcon/sched_trx.c: add missing branch for GSM_PCHAN_PDCH

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue May 28 06:32:25 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14217 )

Change subject: trxcon/sched_trx.c: add missing branch for GSM_PCHAN_PDCH
......................................................................

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
---
M src/host/trxcon/sched_trx.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index 4c93a3c..62fe870 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -543,6 +543,8 @@
 		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;
 }

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3b66cab26108ab999a7fe969365ab57dc661399c
Gerrit-Change-Number: 14217
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190528/73e5d286/attachment.html>


More information about the gerrit-log mailing list