annotate gsm-fw/cdg/cdginc-conservative/p_rr.val @ 891:f3fba126778a

gsm-fw/comlib/cl_imei.c: implemented reading of Pirelli's factory IMEI record
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 29 Jun 2015 21:58:15 +0000
parents 9ba088a875bd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
656
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 | FILE : p_rr.val |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 | SOURCE : "sap\rr.pdf" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 | LastModified : "2003-02-04" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 | IdAndVersion : "6147.107.97.108" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 | SrcFileTime : "Tue Jun 3 11:14:30 2008" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 /* PRAGMAS
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 * PREFIX : NONE
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 * ENABLE_GROUP: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #ifndef P_RR_VAL
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 #define P_RR_VAL
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 #define CDG_ENTER__P_RR_VAL
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_RR_VAL
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 #define CDG_ENTER__P_RR_VAL__FILE_TYPE CDGINC
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 #define CDG_ENTER__P_RR_VAL__LAST_MODIFIED _2003_02_04
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 #define CDG_ENTER__P_RR_VAL__ID_AND_VERSION _6147_107_97_108
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 #define CDG_ENTER__P_RR_VAL__SRC_FILE_TIME _Tue_Jun_3_11_14_30_2008
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 #include "CDG_ENTER.h"
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 #undef CDG_ENTER__P_RR_VAL
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 * Value constants for VAL_abcs
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 #define ABCS_NORM (0x0) /* normal abort, MM->RR */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 #define ABCS_SIM_REM (0x1) /* SIM remove, MM->RR */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 * Value constants for VAL_accc
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 * Value constants for VAL_v_kc
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 #define V_KC_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 #define V_KC_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 * Value constants for VAL_v_bcch
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 #define V_BCCH_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 #define V_BCCH_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 * Value constants for VAL_bcch
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 #define BCCH_CH_NOT_INCL (0x0) /* channel is not included */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 #define BCCH_CH_INCL (0x1) /* channel is included */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 * Value constants for VAL_ch_mode
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 #define CHM_SIG_ONLY (0x0) /* signalling only */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 #define CHM_SPEECH (0x1) /* speech full rate or half rate version 1 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 #define CHM_SPEECH_V2 (0x21) /* speech full rate or half rate version 2 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 #define CHM_SPEECH_V3 (0x41) /* speech full rate or half rate version 3 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 #define CHM_DATA_9_6 (0x3) /* data 9.6 kBit/s */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 #define CHM_DATA_4_8 (0xb) /* data 4.8 kBit/s */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 #define CHM_DATA_2_4 (0x13) /* data 2.4 kBit/s */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 #define CHM_DATA_14_4 (0xf) /* data 2.4 kBit/s */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 * Value constants for VAL_ch_type
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 #define CH_SDCCH (0x0) /* SDCCH channel */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 #define CH_TCH_F (0x1) /* TCH Fullrate */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 #define CH_TCH_H (0x2) /* TCH Halfrate */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 * Value constants for VAL_cksn
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 #define CKSN_RES (0x7) /* reserved */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 #define CKSN_NOT_PRES (0xff) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 * Value constants for VAL_ciph
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 #define CIPH_OFF (0x0) /* ciphering off */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 #define CIPH_ON (0x1) /* ciphering on */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 #define CIPH_NOT_PRES (0xff) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 * Value constants for VAL_estcs
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 #define ESTCS_SERV_REQ_BY_MM (0x400) /* service requested by MM (Location updating or detach) */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 #define ESTCS_EMRG_CAL (0x4a0) /* emergency call */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 #define ESTCS_CAL_REEST (0x4c0) /* call reestablishment */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 #define ESTCS_MOB_ORIG_SPCH_CAL_BY_CC (0x4e0) /* mobile originated speech call by CC */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 #define ESTCS_MOB_ORIG_DATA_CAL_BY_CC (0x4e1) /* mobile originated data call by CC */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 #define ESTCS_MOB_ORIG_DATA_CAL_BY_CC_HR_SUFF (0x4e2)/* mobile originated data call by CC, halfrate sufficient */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 #define ESTCS_MOB_ORIG_CAL_BY_SS_SMS (0x4f0) /* mobile originated call by SS or SMS */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 * Value constants for VAL_thplmn
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 #define THPLMN_NO_HPLMN_SRCH (0x0) /* no HPLMN search */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 * Value constants for VAL_att
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 #define ATT_NOT_ALLOW (0x0) /* attach / detach not allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 #define ATT_ALLOW (0x1) /* attach / detach allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 * Value constants for VAL_band
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 #define BND_DMY_VAL (0xff) /* dummy value needed by TAP */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 * Value constants for VAL_valid
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 #define MM_INFO_NOT_PRES (0x0) /* information is not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 #define MM_INFO_PRES (0x1) /* information is present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 * Value constants for VAL_re
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 #define RE_ALLOW (0x0) /* re-establishment is allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 #define RE_NOT_ALLOW (0x1) /* re-establishment is not allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 * Value constants for VAL_t3212
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 #define T3212_NO_PRD_UPDAT (0x0) /* no periodic updating */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 * Value constants for VAL_la
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 #define LA_NOT_IN_FRBD_LST_INCL (0x0) /* not in forbidden list included */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 #define LA_IN_FRBD_LST_INCL (0x1) /* in forbidden list included */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 * Value constants for VAL_v_mid
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 #define V_MID_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 #define V_MID_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 * Value constants for VAL_id_type
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 #define TYPE_NO_ID (0x0) /* no identity */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 #define TYPE_IMSI (0x1) /* IMSI */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 #define TYPE_TMSI (0x4) /* TMSI */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 * Value constants for VAL_m
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 #define M_AUTO (0x0) /* automatic mode */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 #define M_MAN (0x1) /* manual mode */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 * Value constants for VAL_service
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 #define NO_SERVICE (0x0) /* no service available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 #define LIMITED_SERVICE (0x1) /* Limited service available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 #define FULL_SERVICE (0x2) /* Full service available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 * Value constants for VAL_v_op
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 #define V_OP_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 #define V_OP_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 * Value constants for VAL_func
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 #define FUNC_LIM_SERV_ST_SRCH (0x0) /* limited service state search */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 #define FUNC_PLMN_SRCH (0x1) /* PLMN search */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 #define FUNC_NET_SRCH_BY_MMI (0x2) /* Net search by MMI */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 #define FUNC_ST_PWR_SCAN (0x3) /* Initiate power scan */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 * Value constants for VAL_ts
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 #define TS_NO_AVAIL (0x0) /* no test SIM card available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 #define TS_AVAIL (0x1) /* test SIM card available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 * Value constants for VAL_sim_ins
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 #define SIM_NO_INSRT (0x0) /* no SIM inserted */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 #define SIM_INSRT (0x1) /* SIM inserted */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 * Value constants for VAL_plmn_avail
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210 * Value constants for VAL_v_plmn
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 #define V_PLMN_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 #define V_PLMN_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 * Value constants for VAL_cause
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 #define RRCS_NORM (0x300) /* Normal event */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219 #define RRCS_ABNORM_UNSPEC (0x301) /* Abnormal release, unspecified */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220 #define RRCS_ABNORM_CH_UNACC (0x302) /* Abnormal release, channel unacceptable */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221 #define RRCS_ABNORM_TIM_EXP (0x303) /* Abnormal release, timer expired */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 #define RRCS_ABNORM_NO_ACTIVE (0x304) /* Abnormal release, no activity on the radio path */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 #define RRCS_PREEM (0x305) /* Preemptive release */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 #define RRCS_TIME_ADVANCE (0x308) /* Handover impossible, timing advance out of range */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 #define RRCS_CHANNEL_MODE (0x309) /* Channel mode unacceptable */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226 #define RRCS_FREQ_NOT_IMPL (0x30a) /* Frequency not implemented */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227 #define RRCS_CAL_ALRED_CLR (0x341) /* Call already cleared */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228 #define RRCS_INCORRECT_MSG (0x35f) /* Semantically incorrect message */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229 #define RRCS_INVALID_MANDATORY (0x360) /* Invalid mandatory information */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230 #define RRCS_MSG_TYPE_NOT_IMPLEM (0x361) /* Message type non-existent or not implemented */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231 #define RRCS_MES_INCOMPAT (0x362) /* Message type not compatible with protocol state */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232 #define RRCS_INVALID_IE (0x364) /* Conditional IE error */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 #define RRCS_NO_CELL_ALLOCATION (0x365) /* No cell allocation available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234 #define RRCS_PROT_ERR_UNSPEC (0x36f) /* Protocol error, unspecified */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235 #define RRCS_ABORT_CEL_SEL_FAIL (0xc310) /* Cell selection failed (RR_ABORT_IND) */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236 #define RRCS_ABORT_RAD_LNK_FAIL (0xc311) /* Radio link failure (RR_ABORT_IND) */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 #define RRCS_DATA_LINK_FAIL (0xc312) /* Data link failure (RR_ABORT_IND / RR_RELEASE_IND) */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 #define RRCS_ACCESS_BARRED (0x8320) /* Access barred because of access class control */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239 #define RRCS_RND_ACC_DELAY (0x8321) /* Random access is delayed (immediate assignment reject) */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 #define RRCS_RND_ACC_FAIL (0xc322) /* Random access failed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 #define RRCS_DL_EST_FAIL (0xc323) /* DL establishment failure */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 #define RRCS_MO_MT_COLL (0xc324) /* Collision MO with MT; MT has higher priority than MO */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 #define RRCS_MM_ABORTED (0xc325) /* MM aborted the connection */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244 #define RRCS_QUEUE_FULL (0xc326) /* Internal RR primitive queue full */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 #define RRCS_T3122_RUNNING (0xc327) /* T3122 is still running, emergency calls only until expiry */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 #define RRCS_INVALID_HOP_FREQ (0xc328) /* Frequency hopping in more than one frequency band */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 #define RRCS_INT_NOT_PRESENT (0xc3ff) /* Internal release, release cause not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 #define RRCS_ABORT_PTM (0xc400) /* RR is in GPRS_PTM_BCCH, GPRS_PTM_PBCCH, GPRS_PAM_BCCH, GPRS_PAM_PBCCH states cannot handle RR_ACTIVATE__REQ */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 * Value constants for VAL_sapi
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 #define SAPI_0 (0x0) /* SAPI 0 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 #define SAPI_3 (0x3) /* SAPI 3 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257 * Value constants for VAL_synccs
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259 #define SYNCCS_ACC_CLS_CHA (0x8300) /* access class changed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260 #define SYNCCS_T3122_TIM_OUT (0x8301) /* T3122 time-out */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261 #define SYNCCS_TMSI_CKSN_KC_INVAL (0x8411) /* TMSI, CKSN, Kc invalid */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262 #define SYNCCS_TMSI_INVAL (0x8412) /* TMSI invalid */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263 #define SYNCCS_TMSI_CKSN_KC_INVAL_NO_PAG (0x8413) /* TMSI, CKSN, Kc invalid, no paging */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264 #define SYNCCS_LAI_NOT_ALLOW (0x8414) /* LAI not allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265 #define SYNCCS_LAI_ALLOW (0x8415) /* LAI allowed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
266 #define SYNCCS_LUP_RETRY (0x8416) /* Lup retry permission */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
267 #define SYNCCS_LIMITED_SERVICE (0x8417) /* RR is informed about limited service */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
268 #define SYNCCS_BACK_FROM_DEDICATED (0x8418) /* RR has selected old cell after conn */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
269 #define SYNCCS_SYS_INFO_CHANGE (0x8419) /* RR has detected a sysinfo change */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
270 #define SYNCCS_ACCC (0x841a) /* access class changed */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
271 #define SYNCCS_IDLE_SELECTION (0x841b) /* RR has selected the old cell */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
272 #define SYNCCS_LAI_NOT_ALLOW_FOR_ROAMING (0x841c) /* LAI not allowed for roaming */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
273 #define SYNCCS_EPLMN_LIST (0x841d) /* Changed EPLMN list available */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
274
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
275 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
276 * Value constants for VAL_cell_test
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
277 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
278 #define CELL_TEST_DISABLE (0x0) /* cell test operation disable */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
279 #define CELL_TEST_ENABLE (0x1) /* cell test operation enable */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
280
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
281 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
282 * Value constants for VAL_gprs_indication
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
283 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
284 #define GPRS_NO (0x0) /* no GPRS mode */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
285 #define GPRS_YES (0x1) /* GPRS mode */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
286
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
287 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
288 * Value constants for VAL_gprs_resumption
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
289 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
290 #define GPRS_RESUMPTION_NOT_ACK (0x0) /* GPRS resumption not successfull */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
291 #define GPRS_RESUMPTION_ACK (0x1) /* GPRS resumption successfull */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
292
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
293 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
294 * Value constants for VAL_check_hplmn
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
295 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
296 #define CHECK_PLMN_NOT_PRES (0x0) /* not present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
297 #define CHECK_PLMN_PRES (0x1) /* present */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
298
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
299 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
300 * user defined constants
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
301 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
302 #define MAX_SDU_LEN (0x1)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
303 #define MAX_PLMN (0xc)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
304 #define MAX_DIGITS (0x10)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
305 #define SIZE_MCC (0x3)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
306 #define SIZE_MNC (0x3)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
307 #define RR_ORIGINATING_ENTITY (0x3)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
308 #define SIZE_EPLMN (0x12)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
309 #define BA_BITMAP_SIZE (0x10)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
310 #define KC_STRING_SIZE (0x10)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
311
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
312 #include "CDG_LEAVE.h"
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
313
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
314
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
315 #endif