From d1c2fc6de19cf66a91139951bb386659eb1a9502 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 21 Feb 2017 14:51:40 +0100 Subject: 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 conflicts. 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 10.5.2.11.1 which is right there in the named Section 10.5.2.11, 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 --- include/osmocom/gsm/protocol/gsm_04_08.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index bbc27745..da177554 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -618,14 +618,16 @@ struct gsm48_cell_sel_par { acs:1; } __attribute__ ((packed)); -/* Section 10.5.2.11 Control Channel Description , Figure 10.5.33 */ +/* 3GPP TS 44.018 Section 10.5.2.11 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)); -- cgit v1.2.3