annotate cdg/cdginc-hybrid/p_gsim.val @ 46:38cf7fa65976

sprintf/float.c: rounding corner case bug
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Sep 2017 03:23:01 +0000
parents 7fcb2ecddd82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | FILE : p_gsim.val |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 | SOURCE : "sap\gsim.pdf" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | LastModified : "2003-02-04" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | IdAndVersion : "8441.113.99.004" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:43:12 2007" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 /* PRAGMAS
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 * PREFIX : NONE
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 * ENABLE_GROUP: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 #ifndef P_GSIM_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define P_GSIM_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define CDG_ENTER__P_GSIM_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_GSIM_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 #define CDG_ENTER__P_GSIM_VAL__FILE_TYPE CDGINC
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 #define CDG_ENTER__P_GSIM_VAL__LAST_MODIFIED _2003_02_04
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 #define CDG_ENTER__P_GSIM_VAL__ID_AND_VERSION _8441_113_99_004
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 #define CDG_ENTER__P_GSIM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_43_12_2007
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 #include "CDG_ENTER.h"
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 #undef CDG_ENTER__P_GSIM_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 * Value constants for VAL_gu
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #define GSIM_GU_NA (0x0) /* GPRS update status not applicable (i.e. this parameter shall be ignored) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #define GSIM_GU1_UPDATED (0x1) /* last GPRS attach or RAU attempt successful */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 #define GSIM_GU2_NOT_UPDATED (0x2) /* last GPRS attach or RAU attempt failed procedurally */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 #define GSIM_GU3_ROAMING_NOT_ALLOWED (0x3) /* last GPRS attach or RAU attempt correctly performed, but negative answer from network received */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 * Value constants for VAL_tmsi
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 #define GSIM_TMSI_INVALID (0xffffffff)/* P-TMSI invalid (see GSM 3.03) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 * Value constants for VAL_ptmsi_signature_flag
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 #define GSIM_PTMSI_SIG_DEL (0x0) /* P-TMSI Dignature shall be deleted */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 #define GSIM_PTMSI_SIG_VALID (0x1) /* P-TMSI Signature is valid */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 #define GSIM_PTMSI_SIG_NA (0x2) /* P-TMSI Signature not applicable (i.e. this parameter shall be ignored) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 * Value constants for VAL_gsim_cksn
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 #define GSIM_CKSN_NA (0x0) /* GPRS ciphering key sequence number not applicable (i.e. this parameter shall be ignored) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 * Value constants for VAL_sim_gprs_invalid
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 #define GSIM_SIM_GPRS_NA (0x0) /* not applicable (i.e. this parameter shall be ignored) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 #define GSIM_SIM_GPRS_VALID (0x1) /* SIM is considered as valid for GPRS */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 #define GSIM_SIM_GPRS_INVALID (0x2) /* SIM is considered as invalid for GPRS */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 * user defined constants
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 #define GSIM_PTMSI_NA (0xffffffff)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 #define SIZE_SRES (0x4)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 #define SIZE_KC (0x8)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 #define SIZE_RAND (0x10)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 #define MAX_IMSI (0x9)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 #include "CDG_LEAVE.h"
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 #endif