FreeCalypso > hg > fc-selenite
annotate cdg-hybrid/cdginc/m_grlc.val @ 192:4f40ae165be4
abb.c & init.c: sync with Magnetite for Luna additions
These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA,
a C preprocessor symbol that will never be defined in Selenite, hence this
change has exactly zero impact on FC Selenite. However, they are being pulled
in as a sync in order to keep the diff between Magnetite and Selenite to a
minimum; keeping this diff to a minimum increases our opportunities for
possible evolution of future FC firmwares.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 07:03:46 +0000 |
parents | 6da1d56a96a3 |
children |
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 : m_grlc.val | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 | SOURCE : "msg\grlc.mdf" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | LastModified : "2004-02-18" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | IdAndVersion : "8010.603.99.004" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 | SrcFileTime : "Wed Nov 28 10:18:54 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 * CCDNAME: GRLC |
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 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #ifndef M_GRLC_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 #define M_GRLC_VAL |
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 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 #define CDG_ENTER__M_GRLC_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 #define CDG_ENTER__FILENAME _M_GRLC_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 #define CDG_ENTER__M_GRLC_VAL__FILE_TYPE CDGINC |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 #define CDG_ENTER__M_GRLC_VAL__LAST_MODIFIED _2004_02_18 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 #define CDG_ENTER__M_GRLC_VAL__ID_AND_VERSION _8010_603_99_004 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 #define CDG_ENTER__M_GRLC_VAL__SRC_FILE_TIME _Wed_Nov_28_10_18_54_2007 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 #include "CDG_ENTER.h" |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 #undef CDG_ENTER__M_GRLC_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 #undef CDG_ENTER__FILENAME |
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 #include "m_rr_com.val" /* Access values independent from the corresponding h-file. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
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 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 * Value constants for VAL_final_alloc |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 #define GRLC_NO (0x0) /* not present */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 #define GRLC_YES (0x1) /* present */ |
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 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 * Value constants for VAL_msg_type |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 #define D_GRLC_UL_ACK_c (0x9) /* Packet Uplink Ack/Nack */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 #define U_GRLC_CTRL_ACK_c (0x1) /* Packet Control Acknowledgement */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 #define U_GRLC_DL_ACK_c (0x2) /* Packet Downlink Ack/Nack */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 #define U_GRLC_UL_DUMMY_c (0x3) /* Packet Uplink Dummy Control Block */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 #define U_GRLC_RESOURCE_REQ_c (0x5) /* Packet Resource Request */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 // VAL-FF: REL99 AND FF_EGPRS |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 // #define U_GRLC_ADD_MS_RADIO_CAP_c (0xb) /* Additional MS Radio Access Capabilities */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 // VAL-FF: REL99 AND FF_EGPRS |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 // #define U_GRLC_E_DL_ACK_c (0x8) /* EGPRS Packet Downlink Ack/Nack */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 #define U_GRLC_PACKET_PSI_STATUS_c (0x7) /* Packet PSI status message. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 #define U_GRLC_PACKET_SI_STATUS_c (0xd) /* Packet SI status message. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 #define U_GRLC_PACKET_CELL_CHANGE_NOTIFICATION_c (0xc)/* Packet Cell Change Notification. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 * Value constants for VAL_page_mode |
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 #define NORMAL_PAGING (0x0) /* Normal Paging */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 #define EXT_PAGING (0x1) /* Extended Paging */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 #define REORG_PAGING (0x2) /* Paging Reorganisation */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 #define SAME_PAGING (0x3) /* Same as before */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 * Value constants for VAL_access_type |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 #define TWO_PHASE (0x0) /* Two Phase Access Request */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 #define PAGE (0x1) /* Page Response */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 #define CELL_UPDATE (0x2) /* Cell Update */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 #define MM_PROC (0x3) /* Mobility Management procedure */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 * Value constants for VAL_chan_coding_cmd |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 #define VAL_CHAN_CODING_CMD___0 (0x0) /* CS-1 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 #define VAL_CHAN_CODING_CMD___1 (0x1) /* CS-2 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 #define VAL_CHAN_CODING_CMD___2 (0x2) /* CS-3 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 #define VAL_CHAN_CODING_CMD___3 (0x3) /* CS-4 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 * Value constants for VAL_rlc_mode |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 #define VAL_RLC_MODE___0 (0x0) /* RLC acknowledged mode */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 #define VAL_RLC_MODE___1 (0x1) /* RLC unacknowledged mode */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 * Value constants for VAL_pctrl_ack |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 #define VAL_PCTRL_ACK___0 (0x0) /* in case the message is sent in access burst format, the same meaning as for the value '11' except that the mobile station is requesting new TBF. Otherwise the bit value '00' is reserved and shall not be sent. If received it shall be intepreted as bit value '01'. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 #define VAL_PCTRL_ACK___1 (0x1) /* the MS received an RLC/MAC control block addressed to itself and with RBSN = 1, and did not receive an RLC/MAC control block with the same RTI value and RBSN = 0. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 #define VAL_PCTRL_ACK___2 (0x2) /* the MS received an RLC/MAC control block addressed to itself and with RBSN = 0, and did not receive an RLC/MAC control block with the same RTI value and RBSN = 1. This value is sent irrespective of the value of the FS bit. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 #define VAL_PCTRL_ACK___3 (0x3) /* the MS received two RLC/MAC blocks with the same RTI value, one with RBSN = 0 and the other with RBSN = 1. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 * Value constants for VAL_alpha |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 #define VAL_ALPHA___0 (0x0) /* Alpha = 0.0 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 #define VAL_ALPHA___1 (0x1) /* Alpha = 0.1 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 #define VAL_ALPHA___2 (0x2) /* Alpha = 0.2 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 #define VAL_ALPHA___3 (0x3) /* Alpha = 0.3 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 #define VAL_ALPHA___4 (0x4) /* Alpha = 0.4 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 #define VAL_ALPHA___5 (0x5) /* Alpha = 0.5 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 #define VAL_ALPHA___6 (0x6) /* Alpha = 0.6 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 #define VAL_ALPHA___7 (0x7) /* Alpha = 0.7 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 #define VAL_ALPHA___8 (0x8) /* Alpha = 0.8 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 #define VAL_ALPHA___9 (0x9) /* Alpha = 0.9 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 #define VAL_ALPHA___A (0xa) /* Alpha = 1.0 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 * Value constants for VAL_radio_prio |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 #define VAL_RADIO_PRIO___0 (0x0) /* Radio Priority 1 (Highest priority) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 #define VAL_RADIO_PRIO___1 (0x1) /* Radio Priority 2 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 #define VAL_RADIO_PRIO___2 (0x2) /* Radio Priority 3 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 #define VAL_RADIO_PRIO___3 (0x3) /* Radio Priority 4 (Lower priority) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 * Value constants for VAL_llc_pdu_type |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 #define VAL_LLC_PDU_TYPE___0 (0x0) /* LLC PDU is SACK or ACK */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 #define VAL_LLC_PDU_TYPE___1 (0x1) /* LLC PDU is not SACK or ACK */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 * Value constants for VAL_bl_o_bl_per |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 #define BLOCKS (0x0) /* ALLOCATION_BITMAP is to be interpreted as blocks */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 #define BLOCK_PERIODS (0x1) /* ALLOCATION_BITMAP is to be interpreted as block periods */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 * Value constants for VAL_rbb |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 #define INVALID (0x0) /* Negative Ack of the RLC data block with BSN=(SSN-bit_nr)mod128 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 #define RECEIVED (0x1) /* Positive Ack of the RLC data block with BSN=(SSN-bit_nr)mod128 */ |
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 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 * Value constants for VAL_f_ack_ind |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 #define VAL_F_ACK_IND___0 (0x0) /* retransmission are requested and the TBF is incomplete */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 #define VAL_F_ACK_IND___1 (0x1) /* no retransmissions are requested and this message indicates acknowledgement of all RLC data in the TBF */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 // VALTAB-FF: REL99 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 // Value constants for VAL_add_ms_rac |
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 // #define ADD_MS_RAC_INFO_AVAIL_0 (0x0) /* indicates that MS will not send more information about its radio access capabilities than included in this message */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 // #define ADD_MS_RAC_INFO_AVAIL_1 (0x1) /* indicates that MS will send more information about its radio access capabilities in the next control message */ |
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 // VALTAB-FF: REL99 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 // Value constants for VAL_retrans_of_prr |
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 // #define RETRANS_OF_PRR_0 (0x0) /* indicates that this message is an initial Packet Resource Request */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 // #define RETRANS_OF_PRR_1 (0x1) /* indicates that this message is a retransmitted Packet Resource Request: in this case the corresponding PRR message shall not be interpreted as a request for resource reassignment. */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 // VALTAB-FF: REL99 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 // Value constants for VAL_tbf_est |
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 // #define TBF_EST_NOT_ALLOWED_0 (0x0) /* the mobile station is not allowed to request the establishment of new TBF */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 // #define TBF_EST_ALLOWED_1 (0x1) /* the mobile station is allowed to request the establishment of new TBF */ |
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 // VALTAB-FF: REL99 AND FF_EGPRS |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 // Value constants for VAL_egprs_chan_coding_cmd |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 // #define MCS1 (0x0) /* MCS-1 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 // #define MCS2 (0x1) /* MCS-2 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 // #define MCS3 (0x2) /* MCS-3 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 // #define MCS4 (0x3) /* MCS-4 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 // #define MCS5 (0x4) /* MCS-5 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 // #define MCS6 (0x5) /* MCS-6 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 // #define MCS7 (0x6) /* MCS-7 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 // #define MCS8 (0x7) /* MCS-8 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 // #define MCS9 (0x8) /* MCS-9 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 // #define MCS5_7 (0x9) /* MCS-5-7 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 // #define MCS6_9 (0xa) /* MCS-6-9 */ |
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 // VALTAB-FF: REL99 AND FF_EGPRS |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 // Value constants for VAL_Choice_flag |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 // |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 // #define GRLC_CHOICE_00 (0x0) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 // #define GRLC_CHOICE_01 (0x1) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 // #define GRLC_CHOICE_10 (0x2) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 // #define GRLC_CHOICE_11 (0x3) |
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 // VALTAB-FF: REL99 AND FF_EGPRS |
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_cbmp_color_code |
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 // #define CRBB_CW_0 (0x0) /* First code word in CRBB represents run length of zeros */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 // #define CRBB_CW_1 (0x1) /* First code word in CRBB represents run length of ones */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 |
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 * user defined constants |
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 #define MAX_NUM_BEP_TN (0x8) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 #define MAX_SIZE_URBB_DL (0x90) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 #define MAX_SIZE_CRBB (0x7f) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 #define MAX_SIZE_URBB_UL (0x80) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 #include "CDG_LEAVE.h" |
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 #endif |