Change in osmocom-bb[master]: trxcon/scheduler: add dedicated CBCH mode support

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
Wed Oct 3 08:37:13 UTC 2018


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

Change subject: trxcon/scheduler: add dedicated CBCH mode support
......................................................................

trxcon/scheduler: add dedicated CBCH mode support

This change extends sched_trx_chan_nr2pchan_config() with Osmocom
specific cbits related to CBCH, so now one can to decode
CBCH channels in dedicated mode (see L1CTL_DM_EST_REQ).

Change-Id: I9347c45638223cac34f4b48eb736e51a5055a36f
---
M src/host/trxcon/sched_trx.c
1 file changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index 0b83af3..19d1fe8 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -535,8 +535,12 @@
 		return GSM_PCHAN_TCH_H;
 	else if ((cbits & 0x1c) == 0x04)
 		return GSM_PCHAN_CCCH_SDCCH4;
+	else if ((cbits & 0x1f) == 0x18)
+		return GSM_PCHAN_CCCH_SDCCH4_CBCH;
 	else if ((cbits & 0x18) == 0x08)
 		return GSM_PCHAN_SDCCH8_SACCH8C;
+	else if ((cbits & 0x1f) == 0x19)
+		return GSM_PCHAN_SDCCH8_SACCH8C_CBCH;
 
 	return GSM_PCHAN_NONE;
 }

-- 
To view, visit https://gerrit.osmocom.org/11184
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: I9347c45638223cac34f4b48eb736e51a5055a36f
Gerrit-Change-Number: 11184
Gerrit-PatchSet: 2
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/20181003/857562cd/attachment.htm>


More information about the gerrit-log mailing list