annotate cdg-hybrid/cdginc/p_gmmreg.val @ 216:2be687f4476c default tip

l1_init.c: sync with Tourmaline: L1 recovery ABB init fix
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Oct 2022 01:23:14 +0000
parents 6da1d56a96a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | FILE : p_gmmreg.val |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 | SOURCE : "sap\gmmreg.pdf" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | LastModified : "2002-11-28" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | IdAndVersion : "8441.115.99.013" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:42:12 2007" |
6da1d56a96a3 cdg-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 |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 /* PRAGMAS
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 * PREFIX : NONE
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 * ENABLE_GROUP: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 #ifndef P_GMMREG_VAL
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define P_GMMREG_VAL
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define CDG_ENTER__P_GMMREG_VAL
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_GMMREG_VAL
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 #define CDG_ENTER__P_GMMREG_VAL__FILE_TYPE CDGINC
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 #define CDG_ENTER__P_GMMREG_VAL__LAST_MODIFIED _2002_11_28
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 #define CDG_ENTER__P_GMMREG_VAL__ID_AND_VERSION _8441_115_99_013
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 #define CDG_ENTER__P_GMMREG_VAL__SRC_FILE_TIME _Thu_Nov_29_09_42_12_2007
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 #include "CDG_ENTER.h"
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 #undef CDG_ENTER__P_GMMREG_VAL
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 * Value constants for VAL_attach_type
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #define VAL_ATTACH_TYPE___DEF (0x0) /* Combined GPRS attached */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #define GMMREG_AT_GPRS (0x1) /* GPRS-only attached */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 #define GMMREG_AT_IMSI (0x2) /* non-GPRS-only attached */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 #define GMMREG_AT_COMB (0x3) /* Combined GPRS/IMSI attached */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 * Value constants for VAL_detach_type
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 #define VAL_DETACH_TYPE___DEF (0x0) /* GPRS detach */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 #define GMMREG_DT_GPRS (0x1) /* GPRS detach ( IMSI attached, GPRS will be reattached) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 #define GMMREG_DT_IMSI (0x2) /* IMSI detach ( GPRS attached) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 #define GMMREG_DT_COMB (0x3) /* Combined GPRS/IMSI detach ( GPRS will be reattached) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 #define GMMREG_DT_SIM_REMOVED (0x4) /* SIM removed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 #define GMMREG_DT_POWER_OFF (0x5) /* Power off */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 #define GMMREG_DT_DISABLE_GPRS (0x6) /* GPRS disabled */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 #define GMMREG_DT_LIMITED_SERVICE (0x7) /* Limited Service requested */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 #define GMMREG_DT_SOFT_OFF (0x8) /* soft power off. SIM data is not cleaned */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 * Value constants for VAL_v_plmn
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 #define V_PLMN_PRES (0x1) /* present */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 #define GMMREG_PLMN_NOT_PRES (0xff) /* not present */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 * Value constants for VAL_cause
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 #define MMCS_IMSI_IN_HLR (0x402) /* IMSI unknown in HLR */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 #define MMCS_ILLEGAL_MS (0x403) /* Illegal MS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 #define MMCS_IMSI_IN_VLR (0x404) /* IMSI unknown in VLR */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 #define MMCS_IMEI_NOT_ACCEPTED (0x405) /* IMEI not accepted */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 #define MMCS_ILLEGAL_ME (0x406) /* Illegal ME */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 #define MMCS_PLMN_NOT_ALLOWED (0x40b) /* PLMN not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 #define MMCS_LA_NOT_ALLOWED (0x40c) /* Location Area not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 #define MMCS_ROAMING_NOT_ALLOWED (0x40d) /* Roaming not allowed in this location area */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 // VAL-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 // #define MMCS_NO_SUITABLE_CELL_IN_LA (0x40f) /* Find another allowed location area in the same PLMN */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 #define MMCS_NETWORK_FAILURE (0x411) /* Network failure */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 #define MMCS_CONGESTION (0x416) /* Congestion */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 #define MMCS_SERVICE_NOT_SUPPORTED (0x420) /* Service option not supported */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 #define MMCS_SERVICE_NOT_SUBSCRIBED (0x421) /* Requested service option not subscribed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 #define MMCS_SERVICE_ORDER (0x422) /* Service option temporarily out of order */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 #define MMCS_IDENTIFIY (0x426) /* Call cannot be identified */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 #define MMCS_RETRY_IN_NEW_CELL (0x430) /* retry upon entry into a new cell (mapped 0x0430..0x043f -> 0x0430) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 #define MMCS_INCORRECT_MESSAGE (0x45f) /* Semantically incorrect message */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 #define MMCS_INVALID_MAND_MESSAGE (0x460) /* Invalid mandatory information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 #define MMCS_MESSAGE_TYPE_NOT_IMPLEM (0x461) /* Message type non-existent or not implemented */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 #define MMCS_MESSAGE_TYPE_INCOMPAT (0x462) /* Message type not compatible with the protocol state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 #define MMCS_IE_NOT_IMPLEM (0x463) /* Information element non-existent or not implemented */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 #define MMCS_CONDITIONAL_IE (0x464) /* Conditional IE error */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 #define MMCS_MESSAGE_INCOMPAT (0x465) /* Message not compatible with the protocol state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 #define MMCS_UNSPECIFIED (0x46f) /* Protocol error, unspecified */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 #define MMCS_SUCCESS (0xc400) /* No error, successful operation (MM) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 #define MMCS_NO_REGISTRATION (0xc480) /* MS is not registered or deregistration started */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 #define MMCS_TIMER_RECOVERY (0xc481) /* time-out in MM during establishment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 #define MMCS_NO_REESTABLISH (0xc482) /* Cell does not support call reestablishment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 #define MMCS_INT_PREEM (0xc483) /* Preemptive release, e.g. MO-MT clash in MM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 #define MMCS_PLMN_NOT_IDLE_MODE (0xc484) /* reject, not in idle mode (MMR_PLMN_IND) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 #define MMCS_AUTHENTICATION_REJECTED (0xc488) /* AUTHENTICATION REJECT received */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 #define MMCS_SIM_REMOVED (0xc489) /* A valid SIM is not present */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 #define MMCS_INT_NOT_PRESENT (0xc4ff) /* No error cause (MM) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 #define GMMCS_IMSI_UNKNOWN (0xa02) /* IMSI unknown in HLR */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 #define GMMCS_ILLEGAL_MS (0xa03) /* Illegal MS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 #define GMMCS_ILLEGAL_ME (0xa06) /* Illegal ME */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 #define GMMCS_GPRS_NOT_ALLOWED (0xa07) /* GPRS services not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 #define GMMCS_GSM_GPRS_NOT_ALLOWED (0xa08) /* GPRS services and non-GPRS services not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 #define GMMCS_NO_MS_ID (0xa09) /* MS identity cannot be derived by the network */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 #define GMMCS_IMPLICIT_DETACHED (0xa0a) /* Implicitly detached */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 #define GMMCS_PLMN_NOT_ALLOWED (0xa0b) /* PLMN not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 #define GMMCS_LA_NOT_ALLOWED (0xa0c) /* Location Area not allowed */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 #define GMMCS_ROAMING_NOT_ALLOWED (0xa0d) /* Roaming not allowed in this location area */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 #define GMMCS_GPRS_NOT_ALLOWED_IN_PLMN (0xa0e) /* GPRS services not allowed in this PLMN */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 // VAL-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 // #define GMMCS_NO_SUITABLE_CELL_IN_LA (0xa0f) /* No Suitable Cell */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 #define GMMCS_MSC_TEMP_NOT_REACHABLE (0xa10) /* MSC temporarily not reachable */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121 #define GMMCS_NET_FAIL (0xa11) /* Network failure */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 #define GMMCS_CONGESTION (0xa16) /* Congestion */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 #define GMMCS_RETRY_IN_NEW_CELL (0xa30) /* retry upon entry into a new cell (- 0x0A3F) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 #define GMMCS_SEMANTIC_INCORRECT (0xa5f) /* Semantically incorrect message */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 #define GMMCS_INVALID_M_INFO (0xa60) /* Invalid mandatory information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 #define GMMCS_TYPE_INVALID (0xa61) /* Message type non-existent or not implemented */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 #define GMMCS_TYPE_INCOMPATIBLE (0xa62) /* Message type not compatible with the protocol state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 #define GMMCS_IE_INVALID (0xa63) /* Information element non-existent or not implemented */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 #define GMMCS_COND_IE_ERROR (0xa64) /* Conditional IE error */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 #define GMMCS_MESSAGE_INVALID (0xa65) /* Message not compatible with the protocol state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 #define GMMCS_PROTOCOL_ERROR (0xa6f) /* Protocol error, unspecified */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 #define GMMCS_INT_PROTOCOL_ERROR (0x4a07) /* GPRS services not allowed (MS MM originated) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 #define GMMCS_INT_IMPLICIT_DETACHED (0x4a0a) /* Implicitely detached (MS MM originated) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 #define GNMCS_INT_PROTOCOL_ERROR (0x4a6f) /* Protocol error, unspecified (MS MM originated) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135 #define GMMCS_NET_CAUSE_NOT_PRESENT (0x8aff) /* Network send message without cause information element */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 #define GMMCS_SUCCESS (0xca00) /* No error, successful operation (GMM) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137 #define GMMCS_AAC_OVER_5 (0xca80) /* attach_attempt counter over or equal 5 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 #define GMMCS_AAC_UNDER_5 (0xca81) /* attach_attempt counter under 5 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139 #define GMMCS_AUTHENTICATION_REJECTED (0xca88) /* AUTHENTICATION REJECT received */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140 #define GMMCS_SIM_REMOVED (0xca89) /* reserved for GACI */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
141 #define GMMCS_POWER_OFF (0xca8a) /* reserved for GACI */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
142 #define GMMCS_NO_SERVICE (0xca8b) /* reserved for GACI, no service available */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 #define GMMCS_LIMITED_SERVICE (0xca8c) /* reserved for GACI */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144 #define GMMCS_INT_NOT_PRESENT (0xcaff) /* No error cause (GMM) */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147 * Value constants for VAL_mobile_class
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
148 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 #define VAL_MOBILE_CLASS___DEF (0x0) /* Combined GPRS attach */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 #define GMMREG_CLASS_A (0x1) /* Combined GPRS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 #define GMMREG_CLASS_B (0x2) /* GPRS and GSM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152 #define GMMREG_CLASS_BC (0x3) /* Combined GPRS if possible, otherwise GSM only */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 #define GMMREG_CLASS_BG (0x4) /* Combined GPRS if possible, otherwise GPRS only */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154 #define GMMREG_CLASS_CC (0x5) /* GSM-only */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
155 #define GMMREG_CLASS_CG (0x6) /* GPRS-only */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
156
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 * Value constants for VAL_forb_ind
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160 #define FORB_PLMN_NOT_INCLUDED (0x0) /* Not member of the forbidden PLMN list */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 #define FORB_PLMN_INCLUDED (0x1) /* Member of the forbidden PLMN list */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 * Value constants for VAL_gprs_status
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 #define VAL_GPRS_STATUS___DEF (0x0) /* PLMN supports GPRS and GSM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 #define GMMREG_GPRS_GSM (0x0) /* PLMN supports GPRS and GSM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 #define GMMREG_GPRS_ONLY (0x1) /* PLMN supports only GPRS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169 #define GMMREG_GSM_ONLY (0x2) /* PLMN supports only GSM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 * Value constants for VAL_cell_state
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 #define VAL_CELL_STATE___DEF (0x0) /* full service */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 #define GMMREG_FULL_SERVICE (0x0) /* full service */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 #define GMMREG_LIMITED_SERVICE (0x1) /* limited service */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177 #define GMMREG_CS_CALL (0x2) /* limited service because of switching to dedicated mode */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
178 #define GMMREG_GPRS_NOT_SUPPORTED (0x3) /* no GPRS cell available */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179 #define GMMREG_TRY_TO_UPDATE (0x4) /* next attempt to update MS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182 * Value constants for VAL_net_selection_mode
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
183 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184 #define GMMREG_NET_SEL_MODE_AUTO (0x0) /* automatic mode */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
185 #define GMMREG_NET_SEL_MODE_MAN (0x1) /* manual mode */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
188 * Value constants for VAL_time_zone
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 #define TIMEZONE_GMT (0x0) /* GMT */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
191 #define TIMEZONE_GMT_PLS_1HR (0x40) /* GMT + 1 hour */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
192 #define TIMEZONE_GMT_PLS_2HR (0x80) /* GMT + 2 hours */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
193 #define TIMEZONE_GMT_MIN_1HR (0x48) /* GMT - 1 hour */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
194 #define TIMEZONE_GMT_MIN_2HR (0x88) /* GMT - 2 hours */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
197 * Value constants for VAL_month
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
198 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
199
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
200 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
201 * Value constants for VAL_second
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
202 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
205 * Value constants for VAL_minute
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
206 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
207
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
208 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
209 * Value constants for VAL_hour
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
210 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
211
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213 * Value constants for VAL_day
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
214 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
215
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
216 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
217 * Value constants for VAL_year
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
218 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
219
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
220 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
221 * Value constants for VAL_service_mode
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
222 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
223 #define SERVICE_MODE_LIMITED (0x0) /* Search for limited service required */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
224 #define SERVICE_MODE_FULL (0x1) /* Search for full service required */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
226 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
227 * Value constants for VAL_search_running
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
228 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
229 #define GMMREG_SEARCH_NOT_RUNNING (0x0) /* Network search not running anymore */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
230 #define GMMREG_SEARCH_RUNNING (0x1) /* Network search still running */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
231
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
232 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
233 * Value constants for VAL_cipher_on
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
234 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
235 #define GMMREG_CIPHER_OFF (0x0) /* ciphering switch off */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
236 #define GMMREG_CIPHER_ON (0x1) /* ciphering switch on */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
237
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
238 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
239 * Value constants for VAL_tlli_handling
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
240 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
241 #define VAL_TLLI_HANDLING___DEF (0x0) /* normal TLLI handling */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
242 #define GMMREG_TLLI_STANDARD (0x0) /* normal TLLI handling */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
243 #define GMMREG_TLLI_TWICE (0x1) /* attach complete will be sent with old and with new TLLI */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
244
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
245 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
246 * Value constants for VAL_gsm_ciph
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
247 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
248 #define CIPH_OFF (0x0) /* ciphering off */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
249 #define CIPH_ON (0x1) /* ciphering on */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
250 #define CIPH_NA (0x2) /* ciphering not applicable / no change in ciphering */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
251
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253 * Value constants for VAL_lac
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
254 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
255 #define VAL_LAC___DEF (0x0) /* location area code */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256 #define GMMREG_LA_INVALID (0xfffe) /* location area code is not known */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
259 * Value constants for VAL_rac
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
260 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
261 #define VAL_RAC___DEF (0x0) /* routing area code */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
262 #define GMMREG_RA_INVALID (0xff) /* routing area code is not known */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
263
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
264 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
265 * Value constants for VAL_gprs_indicator
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
266 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
267 #define GMM_GPRS_SUPP_NO (0x0) /* GPRS is not supported within the cell */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
268 #define GMM_GPRS_SUPP_LIMITED (0x1) /* GPRS is supported in limited service */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
269 #define GMM_GPRS_SUPP_YES (0x2) /* GPRS is supported within the cell */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
270 #define GMM_GPRS_SUPP_UNKNOWN (0x3) /* GPRS support is unknown within the cell */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
271
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
272 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
273 * Value constants for VAL_service
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
274 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
275 #define NREG_NO_SERVICE (0x0) /* no service available */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
276 #define NREG_LIMITED_SERVICE (0x1) /* limited service available */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
277
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
278 // VALTAB-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
279 //
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
280 // Value constants for VAL_net_daylight_save_time
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
281 //
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
282 // VAL-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
283 // #define GMMREG_ADJ_NO (0x0) /* GMMREG_ADJ_NO */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
284 // VAL-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
285 // #define GMMREG_TIME_ADJ_1 (0x1) /* +1 hour adjustment for Daylight Saving Time */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
286 // VAL-FF: REL99
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
287 // #define GMMREG_TIME_ADJ_2 (0x2) /* +2 hours adjustment for Daylight Saving Time */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
288
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
289 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
290 * Value constants for VAL_rt
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
291 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
292 #define RT_GSM (0x0) /* GSM */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
293 #define RT_GPRS (0x1) /* GSM/GPRS */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
294 #define RT_EDGE (0x2) /* GSM/GPRS/EDGE */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
295 #define RT_UMTS_FDD (0x3) /* UMTS FDD */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
296
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
297 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
298 * Value constants for VAL_bootup_act
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
299 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
300 #define NORMAL_REG (0x0) /* Normal Registration */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
301 #define QUICK_REG (0x1) /* Fast Registration */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
302
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
303 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
304 * Value constants for VAL_bootup_cause
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
305 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
306 #define REG_END (0x0) /* end of registration */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
307 #define PWR_SCAN_START (0x1) /* power scanning started */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
308
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
309 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
310 * user defined constants
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
311 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
312 #define GMMREG_MAX_PLMN_ID (0xc)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
313 #define MMR_MAX_TEXT_LEN (0x28)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
314 #define SIZE_MCC (0x3)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
315 #define SIZE_MNC (0x3)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
316
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
317 #include "CDG_LEAVE.h"
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
318
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
319
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
320 #endif