comparison cdg-hybrid/cdginc/m_grlc.val @ 14:35f7a1dc9f7d

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:15:38 +0000
parents
children
comparison
equal deleted inserted replaced
13:83146a4ae927 14:35f7a1dc9f7d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : m_grlc.val |
5 | SOURCE : "msg\grlc.mdf" |
6 | LastModified : "2004-02-18" |
7 | IdAndVersion : "8010.603.99.004" |
8 | SrcFileTime : "Wed Nov 28 10:18:54 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 * CCDNAME: GRLC
21 */
22
23
24 #ifndef M_GRLC_VAL
25 #define M_GRLC_VAL
26
27
28 #define CDG_ENTER__M_GRLC_VAL
29
30 #define CDG_ENTER__FILENAME _M_GRLC_VAL
31 #define CDG_ENTER__M_GRLC_VAL__FILE_TYPE CDGINC
32 #define CDG_ENTER__M_GRLC_VAL__LAST_MODIFIED _2004_02_18
33 #define CDG_ENTER__M_GRLC_VAL__ID_AND_VERSION _8010_603_99_004
34
35 #define CDG_ENTER__M_GRLC_VAL__SRC_FILE_TIME _Wed_Nov_28_10_18_54_2007
36
37 #include "CDG_ENTER.h"
38
39 #undef CDG_ENTER__M_GRLC_VAL
40
41 #undef CDG_ENTER__FILENAME
42
43 #include "m_rr_com.val" /* Access values independent from the corresponding h-file. */
44
45
46 /*
47 * Value constants for VAL_final_alloc
48 */
49 #define GRLC_NO (0x0) /* not present */
50 #define GRLC_YES (0x1) /* present */
51
52 /*
53 * Value constants for VAL_msg_type
54 */
55 #define D_GRLC_UL_ACK_c (0x9) /* Packet Uplink Ack/Nack */
56 #define U_GRLC_CTRL_ACK_c (0x1) /* Packet Control Acknowledgement */
57 #define U_GRLC_DL_ACK_c (0x2) /* Packet Downlink Ack/Nack */
58 #define U_GRLC_UL_DUMMY_c (0x3) /* Packet Uplink Dummy Control Block */
59 #define U_GRLC_RESOURCE_REQ_c (0x5) /* Packet Resource Request */
60 // VAL-FF: REL99 AND FF_EGPRS
61 // #define U_GRLC_ADD_MS_RADIO_CAP_c (0xb) /* Additional MS Radio Access Capabilities */
62 // VAL-FF: REL99 AND FF_EGPRS
63 // #define U_GRLC_E_DL_ACK_c (0x8) /* EGPRS Packet Downlink Ack/Nack */
64 #define U_GRLC_PACKET_PSI_STATUS_c (0x7) /* Packet PSI status message. */
65 #define U_GRLC_PACKET_SI_STATUS_c (0xd) /* Packet SI status message. */
66 #define U_GRLC_PACKET_CELL_CHANGE_NOTIFICATION_c (0xc)/* Packet Cell Change Notification. */
67
68 /*
69 * Value constants for VAL_page_mode
70 */
71 #define NORMAL_PAGING (0x0) /* Normal Paging */
72 #define EXT_PAGING (0x1) /* Extended Paging */
73 #define REORG_PAGING (0x2) /* Paging Reorganisation */
74 #define SAME_PAGING (0x3) /* Same as before */
75
76 /*
77 * Value constants for VAL_access_type
78 */
79 #define TWO_PHASE (0x0) /* Two Phase Access Request */
80 #define PAGE (0x1) /* Page Response */
81 #define CELL_UPDATE (0x2) /* Cell Update */
82 #define MM_PROC (0x3) /* Mobility Management procedure */
83
84 /*
85 * Value constants for VAL_chan_coding_cmd
86 */
87 #define VAL_CHAN_CODING_CMD___0 (0x0) /* CS-1 */
88 #define VAL_CHAN_CODING_CMD___1 (0x1) /* CS-2 */
89 #define VAL_CHAN_CODING_CMD___2 (0x2) /* CS-3 */
90 #define VAL_CHAN_CODING_CMD___3 (0x3) /* CS-4 */
91
92 /*
93 * Value constants for VAL_rlc_mode
94 */
95 #define VAL_RLC_MODE___0 (0x0) /* RLC acknowledged mode */
96 #define VAL_RLC_MODE___1 (0x1) /* RLC unacknowledged mode */
97
98 /*
99 * Value constants for VAL_pctrl_ack
100 */
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'. */
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. */
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. */
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. */
105
106 /*
107 * Value constants for VAL_alpha
108 */
109 #define VAL_ALPHA___0 (0x0) /* Alpha = 0.0 */
110 #define VAL_ALPHA___1 (0x1) /* Alpha = 0.1 */
111 #define VAL_ALPHA___2 (0x2) /* Alpha = 0.2 */
112 #define VAL_ALPHA___3 (0x3) /* Alpha = 0.3 */
113 #define VAL_ALPHA___4 (0x4) /* Alpha = 0.4 */
114 #define VAL_ALPHA___5 (0x5) /* Alpha = 0.5 */
115 #define VAL_ALPHA___6 (0x6) /* Alpha = 0.6 */
116 #define VAL_ALPHA___7 (0x7) /* Alpha = 0.7 */
117 #define VAL_ALPHA___8 (0x8) /* Alpha = 0.8 */
118 #define VAL_ALPHA___9 (0x9) /* Alpha = 0.9 */
119 #define VAL_ALPHA___A (0xa) /* Alpha = 1.0 */
120
121 /*
122 * Value constants for VAL_radio_prio
123 */
124 #define VAL_RADIO_PRIO___0 (0x0) /* Radio Priority 1 (Highest priority) */
125 #define VAL_RADIO_PRIO___1 (0x1) /* Radio Priority 2 */
126 #define VAL_RADIO_PRIO___2 (0x2) /* Radio Priority 3 */
127 #define VAL_RADIO_PRIO___3 (0x3) /* Radio Priority 4 (Lower priority) */
128
129 /*
130 * Value constants for VAL_llc_pdu_type
131 */
132 #define VAL_LLC_PDU_TYPE___0 (0x0) /* LLC PDU is SACK or ACK */
133 #define VAL_LLC_PDU_TYPE___1 (0x1) /* LLC PDU is not SACK or ACK */
134
135 /*
136 * Value constants for VAL_bl_o_bl_per
137 */
138 #define BLOCKS (0x0) /* ALLOCATION_BITMAP is to be interpreted as blocks */
139 #define BLOCK_PERIODS (0x1) /* ALLOCATION_BITMAP is to be interpreted as block periods */
140
141 /*
142 * Value constants for VAL_rbb
143 */
144 #define INVALID (0x0) /* Negative Ack of the RLC data block with BSN=(SSN-bit_nr)mod128 */
145 #define RECEIVED (0x1) /* Positive Ack of the RLC data block with BSN=(SSN-bit_nr)mod128 */
146
147 /*
148 * Value constants for VAL_f_ack_ind
149 */
150 #define VAL_F_ACK_IND___0 (0x0) /* retransmission are requested and the TBF is incomplete */
151 #define VAL_F_ACK_IND___1 (0x1) /* no retransmissions are requested and this message indicates acknowledgement of all RLC data in the TBF */
152
153 // VALTAB-FF: REL99
154 //
155 // Value constants for VAL_add_ms_rac
156 //
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 */
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 */
159
160 // VALTAB-FF: REL99
161 //
162 // Value constants for VAL_retrans_of_prr
163 //
164 // #define RETRANS_OF_PRR_0 (0x0) /* indicates that this message is an initial Packet Resource Request */
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. */
166
167 // VALTAB-FF: REL99
168 //
169 // Value constants for VAL_tbf_est
170 //
171 // #define TBF_EST_NOT_ALLOWED_0 (0x0) /* the mobile station is not allowed to request the establishment of new TBF */
172 // #define TBF_EST_ALLOWED_1 (0x1) /* the mobile station is allowed to request the establishment of new TBF */
173
174 // VALTAB-FF: REL99 AND FF_EGPRS
175 //
176 // Value constants for VAL_egprs_chan_coding_cmd
177 //
178 // #define MCS1 (0x0) /* MCS-1 */
179 // #define MCS2 (0x1) /* MCS-2 */
180 // #define MCS3 (0x2) /* MCS-3 */
181 // #define MCS4 (0x3) /* MCS-4 */
182 // #define MCS5 (0x4) /* MCS-5 */
183 // #define MCS6 (0x5) /* MCS-6 */
184 // #define MCS7 (0x6) /* MCS-7 */
185 // #define MCS8 (0x7) /* MCS-8 */
186 // #define MCS9 (0x8) /* MCS-9 */
187 // #define MCS5_7 (0x9) /* MCS-5-7 */
188 // #define MCS6_9 (0xa) /* MCS-6-9 */
189
190 // VALTAB-FF: REL99 AND FF_EGPRS
191 //
192 // Value constants for VAL_Choice_flag
193 //
194 // #define GRLC_CHOICE_00 (0x0)
195 // #define GRLC_CHOICE_01 (0x1)
196 // #define GRLC_CHOICE_10 (0x2)
197 // #define GRLC_CHOICE_11 (0x3)
198
199 // VALTAB-FF: REL99 AND FF_EGPRS
200 //
201 // Value constants for VAL_cbmp_color_code
202 //
203 // #define CRBB_CW_0 (0x0) /* First code word in CRBB represents run length of zeros */
204 // #define CRBB_CW_1 (0x1) /* First code word in CRBB represents run length of ones */
205
206 /*
207 * user defined constants
208 */
209 #define MAX_NUM_BEP_TN (0x8)
210 #define MAX_SIZE_URBB_DL (0x90)
211 #define MAX_SIZE_CRBB (0x7f)
212 #define MAX_SIZE_URBB_UL (0x80)
213
214 #include "CDG_LEAVE.h"
215
216
217 #endif