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
This commit is contained in:
Neels Hofmeyr 2017-02-21 14:51:40 +01:00
parent 812ba6dc63
commit d1c2fc6de1
1 changed files with 5 additions and 3 deletions

View File

@ -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));