[PATCH] libosmocore[master]: gsm_04_08.h: add R99 MSCR and CBQ3 to SI3 Ctrl Chan Descr

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Feb 23 02:40:24 UTC 2017

Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit


to look at the new patch set (#2).

gsm_04_08.h: add R99 MSCR and CBQ3 to SI3 Ctrl Chan Descr

MSCR and CBQ3 are Release 1999 additions to the Control Channel Description IE
of SI3.

Assuming that no-one is using the spare bits, this will not cause any code

In the R99 struct, spare1 and spare2 are in different places, so rather rename
them to spare_1 and spare_2 to make sure we get a compiler barf *if* anyone
tries to use them with the wrong structure.

Adjust the spec reference to TS 44.018; TS 04.08 Figure 10.5.33 is replaced by
TS 44.018 Figure which is right there in the named Section, so drop the explicit reference.

Motivation: the R99 Control Channel Description defines MSCR to indicate
whether the MSC is R99+ or not. To use UMTS AKA on GSM networks, we want to
indicate that our libmsc is capable of R99, like OsmoSGSN already does.

CBQ3 is merely added for completeness, no particular use case in mind.

Related: OS#1593
Change-Id: If87e07b5d04e1617155383e14c98d2125fdd0608
M include/osmocom/gsm/protocol/gsm_04_08.h
1 file changed, 5 insertions(+), 3 deletions(-)

  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/59/1859/2

diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index bbc2774..da17755 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -618,14 +618,16 @@
 } __attribute__ ((packed));
-/* Section Control Channel Description , Figure 10.5.33 */
+/* 3GPP TS 44.018 Section Control Channel Description */
 struct gsm48_control_channel_descr {
 	uint8_t ccch_conf :3,
 		bs_ag_blks_res :3,
 		att :1,
-		spare1 :1;
+		mscr :1;
 	uint8_t bs_pa_mfrms : 3,
-		spare2 :5;
+		spare_1 :2,
+		cbq3 :2,
+		spare_2 :1;
 	uint8_t t3212;
 } __attribute__ ((packed));

To view, visit https://gerrit.osmocom.org/1859
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If87e07b5d04e1617155383e14c98d2125fdd0608
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>

More information about the gerrit-log mailing list