comparison cdg211/cdginc/pconst.cdg @ 4:56abf6cf8a0b

cdg211: cdginc/mdf/pdf files from TCS211-20070608
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 01:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
3:93999a60b835 4:56abf6cf8a0b
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : pconst.cdg |
5 | SOURCE : "__out__\g23m_dfile\prim\aci.pdf" |
6 | LastModified : "2004-06-01" |
7 | IdAndVersion : "8411.105.00.205" |
8 | SrcFileTime : "Mon Jun 7 15:08:48 2004" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 2007 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14
15 #ifndef PCONST_CDG
16 #define PCONST_CDG
17
18 /*
19 * Constants for the Service access point aci
20 */
21 #define ACI_CMD_REQ (0x1500)
22 #define ACI_CMD_CNF (0x5502)
23 #define ACI_CMD_IND (0x5500)
24 #define ACI_CMD_RES (0x1502)
25 #define ACI_ABORT_REQ (0x1501)
26 #define ACI_URT_STAT_IND (0x5501)
27 #define ACI_INIT_IND (0x5503)
28 #define ACI_INIT_RES (0x1503)
29 #define ACI_DEINIT_REQ (0x1504)
30 #define ACI_DEINIT_CNF (0x5504)
31 #define ACI_OPEN_PORT_REQ (0x1505)
32 #define ACI_OPEN_PORT_CNF (0x5505)
33 #define ACI_CLOSE_PORT_REQ (0x1506)
34 #define ACI_CLOSE_PORT_CNF (0x5506)
35 #define ACI_ABORT_CNF (0x5507)
36 #define ACI_CMD_REQ_BT (0x1507)
37 #define ACI_CMD_CNF_BT (0x5508)
38 #define ACI_CMD_IND_BT (0x5509)
39 #define ACI_CMD_RES_BT (0x1508)
40 #define ACI_ABORT_REQ_BT (0x1509)
41 #define ACI_ABORT_CNF_BT (0x5510)
42 #define ACI_TRC_IND (0x550a)
43 #define ACI_RIV_CMD_REQ (0x1510)
44 #define ACI_EXT_IND (0x150b)
45
46 /*
47 * calculated constants
48 */
49 #define MAX_PRIMITIVE_ID_ACI (0x10) /* highest value for prim identifier */
50 #define MAX_PSTRUCT_LEN_ACI (0x324) /* max length of data part in primitive */
51 #define CCDSAP_ACI (0x15)
52 /*
53 * Constants for the Service access point cci
54 */
55 #define CCI_INIT_REQ (0x3604)
56
57 /*
58 * calculated constants
59 */
60 #define MAX_PRIMITIVE_ID_CCI (0x4) /* highest value for prim identifier */
61 #define MAX_PSTRUCT_LEN_CCI (0x4) /* max length of data part in primitive */
62 #define CCDSAP_CCI (0x36)
63 /*
64 * Constants for the Service access point cst
65 */
66 #define CST_ADC_IND (0x5600)
67 #define CST_VM_STOP_PLAY_IND (0x5601)
68 #define CST_VM_STOP_RECORD_IND (0x5602)
69 #define CST_SR_IND (0x5603)
70
71 /*
72 * calculated constants
73 */
74 #define MAX_PRIMITIVE_ID_CST (0x3) /* highest value for prim identifier */
75 #define MAX_PSTRUCT_LEN_CST (0x14) /* max length of data part in primitive */
76 #define CCDSAP_CST (0x16)
77 /*
78 * Constants for the Service access point dio
79 */
80
81 /*
82 * calculated constants
83 */
84 #define MAX_PRIMITIVE_ID_DIO (0x0) /* highest value for prim identifier */
85 #define MAX_PSTRUCT_LEN_DIO (0x2c) /* max length of data part in primitive */
86 #define CCDSAP_DIO (0x0)
87 /*
88 * Constants for the Service access point 8010_147_l1_include
89 */
90 #define L1_EXPORT (0x0)
91
92 /*
93 * calculated constants
94 */
95 #define MAX_PRIMITIVE_ID_L1_INCLUDE (0x0) /* highest value for prim identifier */
96 #define MAX_PSTRUCT_LEN_L1_INCLUDE (0x2f0) /* max length of data part in primitive */
97 #define CCDSAP_L1_INCLUDE (0x0)
98 /*
99 * Constants for the Service access point 8010_152_ps_include
100 */
101 #define PS_EXPORT (0x0)
102
103 /*
104 * calculated constants
105 */
106 #define MAX_PRIMITIVE_ID_PS (0x0) /* highest value for prim identifier */
107 #define MAX_PSTRUCT_LEN_PS (0x8cc) /* max length of data part in primitive */
108 #define CCDSAP_PS (0x0)
109 /*
110 * Constants for the Service access point 8010_153_cause_include
111 */
112 #define CAUSE_EXPORT (0x0)
113
114 /*
115 * calculated constants
116 */
117 #define MAX_PRIMITIVE_ID_CAUSE (0x0) /* highest value for prim identifier */
118 #define MAX_PSTRUCT_LEN_CAUSE (0x0) /* max length of data part in primitive */
119 #define CCDSAP_CAUSE (0x0)
120 /*
121 * Constants for the Service access point dl
122 */
123 #define DL_ESTABLISH_REQ (0x80000003)
124 #define DL_ESTABLISH_CNF (0x80014003)
125 #define DL_ESTABLISH_IND (0x80004003)
126 #define DL_RELEASE_REQ (0x80020003)
127 #define DL_RELEASE_CNF (0x80034003)
128 #define DL_RELEASE_IND (0x80024003)
129 #define DL_DATA_REQ (0x80040003)
130 #define DL_DATA_CNF (0x80050003)
131 #define DL_DATA_IND (0x80044003)
132 #define DL_UNITDATA_REQ (0x80060003)
133 #define DL_UNITDATA_IND (0x80064003)
134 #define DL_SHORT_UNITDATA_REQ (0x80100003)
135 #define DL_SHORT_UNITDATA_IND (0x80104003)
136 #define DL_SUSPEND_REQ (0x80080003)
137 #define DL_RESUME_REQ (0x800a0003)
138 #define DL_RECONNECT_REQ (0x800c0003)
139 #define DL_TRACE_REQ (0x800e0003)
140 #define DL_SIGNAL_ESTABLISH_IND (0x80124003)
141 #define DL_SIGNAL_ESTABLISH_CNF (0x80134003)
142 #define DL_SIGNAL_DATA_IND (0x80144003)
143 #define DL_SIGNAL_DATA_CNF (0x80154003)
144 #define DL_SIGNAL_UNITDATA_IND (0x80164003)
145 #define DL_SIGNAL_SHORT_UNITDATA_IND (0x80184003)
146 #define DL_SIGNAL_RELEASE_IND (0x801a4003)
147 #define DL_SIGNAL_RELEASE_CNF (0x801b4003)
148 #define DL_SIGNAL_ERROR_IND (0x801c4003)
149 #define DL_SIGNAL_FREE_POINTER (0x801d4003)
150 #define DL_SIGNAL_CONCATENATE (0x801e4003)
151 #define DL_SIGNAL_L2TRACE (0x801f4003)
152 #define DL_SIGNAL_L3TRACE (0x80204003)
153 #define DL_SIGNAL_EM_IND (0x80214003)
154 #define DL_SIGNAL_EM_WRITE (0x80224003)
155 #define DL_SIGNAL_EM_READ (0x80234003)
156
157 /*
158 * calculated constants
159 */
160 #define MAX_PRIMITIVE_ID_DL (0x23) /* highest value for prim identifier */
161 #define MAX_PSTRUCT_LEN_DL (0x8) /* max length of data part in primitive */
162 #define CCDSAP_DL (0x3)
163 /*
164 * Constants for the Service access point dti
165 */
166 #define DTI_READY_IND (0x7700)
167 #define DTI_GETDATA_REQ (0x3700)
168 #define DTI_DATA_REQ (0x3701)
169 #define DTI_DATA_IND (0x7701)
170 #define DTI_DATA_TEST_REQ (0x3702)
171 #define DTI_DATA_TEST_IND (0x7702)
172 #define DTI_DUMMY_REQ (0x3703)
173
174 /*
175 * calculated constants
176 */
177 #define MAX_PRIMITIVE_ID_DTI (0x3) /* highest value for prim identifier */
178 #define MAX_PSTRUCT_LEN_DTI (0xc) /* max length of data part in primitive */
179 #define CCDSAP_DTI (0x37)
180 /*
181 * Constants for the Service access point dti2
182 */
183 #define DTI2_CONNECT_REQ (0x3750)
184 #define DTI2_CONNECT_IND (0x7750)
185 #define DTI2_CONNECT_CNF (0x7751)
186 #define DTI2_CONNECT_RES (0x3751)
187 #define DTI2_DISCONNECT_REQ (0x3752)
188 #define DTI2_DISCONNECT_IND (0x7752)
189 #define DTI2_GETDATA_REQ (0x3753)
190 #define DTI2_READY_IND (0x7753)
191 #define DTI2_DATA_IND (0x7754)
192 #define DTI2_DATA_REQ (0x3754)
193 #define DTI2_DATA_TEST_IND (0x7755)
194 #define DTI2_DATA_TEST_REQ (0x3755)
195 #define DTI2_DUMMY_REQ (0x3756)
196
197 /*
198 * calculated constants
199 */
200 #define MAX_PRIMITIVE_ID_DTI2 (0x56) /* highest value for prim identifier */
201 #define MAX_PSTRUCT_LEN_DTI2 (0x18) /* max length of data part in primitive */
202 #define CCDSAP_DTI2 (0x37)
203 /*
204 * Constants for the Service access point em
205 */
206 #define EM_SC_INFO_REQ (0x3e00)
207 #define EM_SC_INFO_CNF (0x7e00)
208 #define EM_SC_GPRS_INFO_REQ (0x3e01)
209 #define EM_SC_GPRS_INFO_CNF (0x7e01)
210 #define EM_NC_INFO_REQ (0x3e02)
211 #define EM_NC_INFO_CNF (0x7e02)
212 #define EM_LOC_PAG_INFO_REQ (0x3e03)
213 #define EM_LOC_PAG_INFO_CNF (0x7e03)
214 #define EM_PLMN_INFO_REQ (0x3e04)
215 #define EM_PLMN_INFO_CNF (0x7e04)
216 #define EM_CIP_HOP_DTX_INFO_REQ (0x3e05)
217 #define EM_CIP_HOP_DTX_INFO_CNF (0x7e05)
218 #define EM_POWER_INFO_REQ (0x3e06)
219 #define EM_POWER_INFO_CNF (0x7e06)
220 #define EM_IDENTITY_INFO_REQ (0x3e07)
221 #define EM_IDENTITY_INFO_CNF (0x7e07)
222 #define EM_SW_VERSION_INFO_REQ (0x3e08)
223 #define EM_SW_VERSION_INFO_CNF (0x7e08)
224 #define EM_COUNTER_IDLE_IND (0x7e09)
225 #define EM_COUNTER_DEDI_IND (0x7e0a)
226 #define EM_L1_EVENT_REQ (0x3e09)
227 #define EM_DL_EVENT_REQ (0x3e0a)
228 #define EM_RR_EVENT_REQ (0x3e0b)
229 #define EM_MM_EVENT_REQ (0x3e0c)
230 #define EM_CC_EVENT_REQ (0x3e0d)
231 #define EM_SS_EVENT_REQ (0x3e0e)
232 #define EM_SMS_EVENT_REQ (0x3e0f)
233 #define EM_SIM_EVENT_REQ (0x3e10)
234 #define EM_DATA_IND (0x7e0b)
235 #define EM_FMM_SC_INFO_REQ (0x3e12)
236 #define EM_FMM_SC_INFO_CNF (0x7e12)
237 #define EM_FMM_SC_GPRS_INFO_REQ (0x3e13)
238 #define EM_FMM_SC_GPRS_INFO_CNF (0x7e13)
239 #define EM_FMM_NC_INFO_REQ (0x3e14)
240 #define EM_FMM_NC_INFO_CNF (0x7e14)
241 #define EM_FMM_RLC_TRANS_INFO_REQ (0x3e15)
242 #define EM_FMM_RLC_TRANS_INFO_CNF (0x7e15)
243 #define EM_FMM_RESELECTION_START_IND (0x7e0c)
244 #define EM_FMM_RESELECTION_END_IND (0x7e0d)
245 #define EM_FMM_TBF_INFO_REQ (0x3e16)
246 #define EM_FMM_TBF_INFO_CNF (0x7e16)
247 #define EM_PCO_TRACE_REQ (0x3e11)
248 #define EM_GRLC_INFO_REQ (0x3e18)
249 #define EM_GRLC_INFO_CNF (0x7e18)
250 #define EM_GMM_INFO_REQ (0x3e17)
251 #define EM_GMM_INFO_CNF (0x7e17)
252 #define EM_AMR_INFO_REQ (0x3e19)
253 #define EM_AMR_INFO_CNF (0x7e19)
254
255 /*
256 * calculated constants
257 */
258 #define MAX_PRIMITIVE_ID_EM (0x19) /* highest value for prim identifier */
259 #define MAX_PSTRUCT_LEN_EM (0x110) /* max length of data part in primitive */
260 #define CCDSAP_EM (0x3e)
261 /*
262 * Constants for the Service access point fad
263 */
264 #define FAD_ACTIVATE_REQ (0x80000013)
265 #define FAD_DEACTIVATE_REQ (0x80010013)
266 #define FAD_MODIFY_REQ (0x80020013)
267 #define FAD_DATA_REQ (0x80030013)
268 #define FAD_DATA_IND (0x80004013)
269 #define FAD_DATA_CNF (0x80014013)
270 #define FAD_SND_TCF_REQ (0x80040013)
271 #define FAD_SND_TCF_CNF (0x80024013)
272 #define FAD_RCV_TCF_REQ (0x80050013)
273 #define FAD_RCV_TCF_CNF (0x80034013)
274 #define FAD_READY_REQ (0x80060013)
275 #define FAD_READY_IND (0x80044013)
276 #define FAD_IGNORE_REQ (0x80070013)
277 #define FAD_MUX_IND (0x80054013)
278 #define FAD_ERROR_IND (0x80064013)
279 #define FAD_DEACTIVATE_CNF (0x80074013)
280 #define FAD_ACTIVATE_CNF (0x80084013)
281
282 /*
283 * calculated constants
284 */
285 #define MAX_PRIMITIVE_ID_FAD (0x8) /* highest value for prim identifier */
286 #define MAX_PSTRUCT_LEN_FAD (0x4) /* max length of data part in primitive */
287 #define CCDSAP_FAD (0x13)
288 /*
289 * Constants for the Service access point gmmaa
290 */
291 #define GMMAA_ESTABLISH_REQ (0x2500)
292 #define GMMAA_RELEASE_IND (0x6500)
293 #define GMMAA_ESTABLISH_REJ (0x6501)
294 #define GMMAA_TIMER_REQ (0x2501)
295
296 /*
297 * calculated constants
298 */
299 #define MAX_PRIMITIVE_ID_GMMAA (0x1) /* highest value for prim identifier */
300 #define MAX_PSTRUCT_LEN_GMMAA (0x4) /* max length of data part in primitive */
301 #define CCDSAP_GMMAA (0x25)
302 /*
303 * Constants for the Service access point gmmreg
304 */
305 #define GMMREG_ATTACH_REQ (0x3300)
306 #define GMMREG_ATTACH_CNF (0x7300)
307 #define GMMREG_ATTACH_REJ (0x7301)
308 #define GMMREG_DETACH_REQ (0x3301)
309 #define GMMREG_DETACH_CNF (0x7302)
310 #define GMMREG_DETACH_IND (0x7303)
311 #define GMMREG_NET_REQ (0x3302)
312 #define GMMREG_PLMN_IND (0x7304)
313 #define GMMREG_PLMN_RES (0x3303)
314 #define GMMREG_SUSPEND_IND (0x7305)
315 #define GMMREG_RESUME_IND (0x7306)
316 #define GMMREG_PLMN_MODE_REQ (0x3304)
317 #define GMMREG_INFO_IND (0x7307)
318 #define GMMREG_CONFIG_REQ (0x3305)
319 #define GMMREG_CIPHERING_IND (0x7308)
320 #define GMMREG_AHPLMN_IND (0x7309)
321
322 /*
323 * calculated constants
324 */
325 #define MAX_PRIMITIVE_ID_GMMREG (0x9) /* highest value for prim identifier */
326 #define MAX_PSTRUCT_LEN_GMMREG (0xa0) /* max length of data part in primitive */
327 #define CCDSAP_GMMREG (0x33)
328 /*
329 * Constants for the Service access point gmmrr
330 */
331 #define GMMRR_ASSIGN_REQ (0x1f00)
332 #define GMMRR_ENABLE_REQ (0x1f01)
333 #define GMMRR_DISABLE_REQ (0x1f02)
334 #define GMMRR_CELL_IND (0x5f00)
335 #define GMMRR_READY_REQ (0x1f03)
336 #define GMMRR_STANDBY_REQ (0x1f04)
337 #define GMMRR_PAGE_IND (0x5f02)
338 #define GMMRR_CS_PAGE_IND (0x5f03)
339 #define GMMRR_CS_PAGE_RES (0x1f05)
340 #define GMMRR_SUSPEND_REQ (0x1f06)
341 #define GMMRR_SUSPEND_CNF (0x5f04)
342 #define GMMRR_RESUME_REQ (0x1f07)
343 #define GMMRR_ATTACH_STARTED_REQ (0x1f0a)
344 #define GMMRR_ATTACH_FINISHED_REQ (0x1f0b)
345 #define GMMRR_CELL_RES (0x1f0c)
346 #define GMMRR_CR_IND (0x5f08)
347
348 /*
349 * calculated constants
350 */
351 #define MAX_PRIMITIVE_ID_GMMRR (0xc) /* highest value for prim identifier */
352 #define MAX_PSTRUCT_LEN_GMMRR (0x34) /* max length of data part in primitive */
353 #define CCDSAP_GMMRR (0x1f)
354 /*
355 * Constants for the Service access point gmmsm
356 */
357 #define GMMSM_ESTABLISH_REQ (0x2400)
358 #define GMMSM_ESTABLISH_CNF (0x6400)
359 #define GMMSM_ESTABLISH_REJ (0x6401)
360 #define GMMSM_RELEASE_IND (0x6402)
361 #define GMMSM_UNITDATA_REQ (0x2401)
362 #define GMMSM_UNITDATA_IND (0x6403)
363 #define GMMSM_SEQUENCE_IND (0x6404)
364 #define GMMSM_SEQUENCE_RES (0x2402)
365
366 /*
367 * calculated constants
368 */
369 #define MAX_PRIMITIVE_ID_GMMSM (0x4) /* highest value for prim identifier */
370 #define MAX_PSTRUCT_LEN_GMMSM (0x44) /* max length of data part in primitive */
371 #define CCDSAP_GMMSM (0x24)
372 /*
373 * Constants for the Service access point gmmsms
374 */
375 #define GMMSMS_REG_STATE_REQ (0x2300)
376 #define GMMSMS_REG_STATE_CNF (0x6300)
377
378 /*
379 * calculated constants
380 */
381 #define MAX_PRIMITIVE_ID_GMMSMS (0x0) /* highest value for prim identifier */
382 #define MAX_PSTRUCT_LEN_GMMSMS (0x4) /* max length of data part in primitive */
383 #define CCDSAP_GMMSMS (0x23)
384 /*
385 * Constants for the Service access point grlc
386 */
387 #define GRLC_DATA_REQ (0x80000097)
388 #define GRLC_DATA_IND (0x80004097)
389 #define GRLC_DATA_IND_TEST (0x80014097)
390 #define GRLC_UNITDATA_REQ (0x80010097)
391 #define GRLC_UNITDATA_IND (0x80024097)
392 #define GRLC_UNITDATA_IND_TEST (0x80034097)
393 #define GRLC_READY_IND (0x80044097)
394 #define GRLC_ACTIVATE_GMM_QUEUE_REQ (0x80020097)
395 #define GRLC_SUSPEND_READY_IND (0x80054097)
396 #define GRLC_MAC_DATA_IND (0x80060097)
397 #define GRLC_MAC_READY_IND (0x80070097)
398 #define GRLC_MAC_PWR_CTRL_IND (0x80080097)
399
400 /*
401 * calculated constants
402 */
403 #define MAX_PRIMITIVE_ID_GRLC (0x8) /* highest value for prim identifier */
404 #define MAX_PSTRUCT_LEN_GRLC (0x24) /* max length of data part in primitive */
405 #define CCDSAP_GRLC (0x97)
406 /*
407 * Constants for the Service access point cgrlc
408 */
409 #define CGRLC_ENABLE_REQ (0x80000098)
410 #define CGRLC_DISABLE_REQ (0x80010098)
411 #define CGRLC_UL_TBF_RES (0x80020098)
412 #define CGRLC_DL_TBF_REQ (0x80030098)
413 #define CGRLC_TBF_REL_REQ (0x80040098)
414 #define CGRLC_TBF_REL_IND (0x80004098)
415 #define CGRLC_TBF_REL_RES (0x80050098)
416 #define CGRLC_UL_TBF_IND (0x80014098)
417 #define CGRLC_DATA_REQ (0x80060098)
418 #define CGRLC_DATA_IND (0x80024098)
419 #define CGRLC_POLL_REQ (0x80070098)
420 #define CGRLC_ACCESS_STATUS_REQ (0x80080098)
421 #define CGRLC_CTRL_MSG_SENT_IND (0x80034098)
422 #define CGRLC_STARTING_TIME_IND (0x80044098)
423 #define CGRLC_T3192_STARTED_IND (0x80054098)
424 #define CGRLC_CONT_RES_DONE_IND (0x80064098)
425 #define CGRLC_TA_VALUE_IND (0x80074098)
426 #define CGRLC_STATUS_IND (0x80084098)
427 #define CGRLC_TEST_MODE_REQ (0x80090098)
428 #define CGRLC_TEST_MODE_CNF (0x80094098)
429 #define CGRLC_TEST_END_REQ (0x800a0098)
430 #define CGRLC_TRIGGER_IND (0x800a4098)
431 #define CGRLC_STANDBY_STATE_IND (0x800b4098)
432 #define CGRLC_READY_STATE_IND (0x800c4098)
433 #define CGRLC_TA_VALUE_REQ (0x800b0098)
434 #define CGRLC_INT_LEVEL_REQ (0x800c0098)
435 #define CGRLC_TEST_MODE_IND (0x800e4098)
436 #define CGRLC_READY_TIMER_CONFIG_REQ (0x800e0098)
437 #define CGRLC_FORCE_TO_STANDBY_REQ (0x800f0098)
438 #define CGRLC_PWR_CTRL_REQ (0x800d0098)
439 #define CGRLC_PWR_CTRL_CNF (0x800d4098)
440
441 /*
442 * calculated constants
443 */
444 #define MAX_PRIMITIVE_ID_CGRLC (0xf) /* highest value for prim identifier */
445 #define MAX_PSTRUCT_LEN_CGRLC (0xcc) /* max length of data part in primitive */
446 #define CCDSAP_CGRLC (0x98)
447 /*
448 * Constants for the Service access point l1test
449 */
450 #define L1TEST_CALL_MPHC_READ_DCCH (0x8000409b)
451 #define L1TEST_RETURN_MPHC_READ_DCCH (0x8000009b)
452 #define L1TEST_CALL_MPHC_DCCH_DOWNLINK (0x8001409b)
453 #define L1TEST_RETURN_MPHC_DCCH_DOWNLINK (0x8001009b)
454 #define L1TEST_CALL_MPHC_DATA_UL (0x8002409b)
455 #define L1TEST_RETURN_MPHC_DATA_UL (0x8002009b)
456 #define L1TEST_CALL_MPHC_DATA_DL (0x8003409b)
457 #define L1TEST_RETURN_MPHC_DATA_DL (0x8003009b)
458 #define L1TEST_CALL_MPHP_POWER_CONTROL (0x8004409b)
459 #define L1TEST_RETURN_MPHP_POWER_CONTROL (0x8004009b)
460 #define L1TEST_CALL_MPHP_UPLINK (0x8005409b)
461 #define L1TEST_RETURN_MPHP_UPLINK (0x8005009b)
462 #define L1TEST_CALL_MPHP_DOWNLINK (0x8006409b)
463 #define L1TEST_RETURN_MPHP_DOWNLINK (0x8006009b)
464
465 /*
466 * calculated constants
467 */
468 #define MAX_PRIMITIVE_ID_L1TEST (0x6) /* highest value for prim identifier */
469 #define MAX_PSTRUCT_LEN_L1TEST (0x170) /* max length of data part in primitive */
470 #define CCDSAP_L1TEST (0x9b)
471 /*
472 * Constants for the Service access point gsim
473 */
474 #define GSIM_UPDATE_REQ (0x2900)
475 #define GSIM_STORE_KC_REQ (0x2901)
476 #define GSIM_INSERTED_IND (0x6900)
477 #define GSIM_REMOVED_IND (0x6901)
478 #define GSIM_AUTHENTICATION_REQ (0x2902)
479 #define GSIM_AUTHENTICATION_CNF (0x6902)
480
481 /*
482 * calculated constants
483 */
484 #define MAX_PRIMITIVE_ID_GSIM (0x2) /* highest value for prim identifier */
485 #define MAX_PSTRUCT_LEN_GSIM (0x2c) /* max length of data part in primitive */
486 #define CCDSAP_GSIM (0x29)
487 /*
488 * Constants for the Service access point gsmcom
489 */
490 #define GSMCOM_DUMMY_REQ (0x80000000)
491
492 /*
493 * calculated constants
494 */
495 #define MAX_PRIMITIVE_ID_GSMCOM (0x0) /* highest value for prim identifier */
496 #define MAX_PSTRUCT_LEN_GSMCOM (0x4) /* max length of data part in primitive */
497 #define CCDSAP_GSMCOM (0x0)
498 /*
499 * Constants for the Service access point l2r
500 */
501 #define L2R_ACTIVATE_REQ (0x80000012)
502 #define L2R_ACTIVATE_CNF (0x80004012)
503 #define L2R_DEACTIVATE_REQ (0x80010012)
504 #define L2R_DEACTIVATE_CNF (0x80014012)
505 #define L2R_CONNECT_REQ (0x80020012)
506 #define L2R_CONNECT_CNF (0x80024012)
507 #define L2R_CONNECT_IND (0x80034012)
508 #define L2R_DISC_REQ (0x80030012)
509 #define L2R_DISC_CNF (0x80044012)
510 #define L2R_DISC_IND (0x80054012)
511 #define L2R_XID_IND (0x800a4012)
512 #define L2R_ERROR_IND (0x800b4012)
513 #define L2R_RESET_IND (0x800c4012)
514 #define L2R_STATISTIC_IND (0x800d4012)
515 #define L2R_DTI_REQ (0x80070012)
516 #define L2R_DTI_CNF (0x800e4012)
517 #define L2R_DTI_IND (0x800f4012)
518 #define L2R_CHANGE_RATE_REQ (0x80080012)
519
520 /*
521 * calculated constants
522 */
523 #define MAX_PRIMITIVE_ID_L2R (0xf) /* highest value for prim identifier */
524 #define MAX_PSTRUCT_LEN_L2R (0x14) /* max length of data part in primitive */
525 #define CCDSAP_L2R (0x12)
526 /*
527 * Constants for the Service access point ll
528 */
529 #define LL_RESET_IND (0x6200)
530 #define LL_ESTABLISH_REQ (0x2200)
531 #define LL_ESTABLISH_CNF (0x6201)
532 #define LL_ESTABLISH_IND (0x6202)
533 #define LL_ESTABLISH_RES (0x2201)
534 #define LL_RELEASE_REQ (0x2202)
535 #define LL_RELEASE_CNF (0x6203)
536 #define LL_RELEASE_IND (0x6204)
537 #define LL_XID_REQ (0x2203)
538 #define LL_XID_CNF (0x6205)
539 #define LL_XID_IND (0x6206)
540 #define LL_XID_RES (0x2204)
541 #define LL_READY_IND (0x6207)
542 #define LL_UNITREADY_IND (0x6208)
543 #define LL_GETDATA_REQ (0x2205)
544 #define LL_GETUNITDATA_REQ (0x2206)
545 #define LL_DATA_REQ (0x2207)
546 #define LL_DATA_CNF (0x6209)
547 #define LL_DATA_IND (0x620a)
548 #define LL_UNITDATA_REQ (0x2208)
549 #define LL_UNITDATA_IND (0x620b)
550 #define LL_STATUS_IND (0x620c)
551 #define LL_DESC_REQ (0x2209)
552 #define LL_UNITDESC_REQ (0x220a)
553 #define LLC_DUMMY_REQ (0x220b)
554
555 /*
556 * calculated constants
557 */
558 #define MAX_PRIMITIVE_ID_LL (0xc) /* highest value for prim identifier */
559 #define MAX_PSTRUCT_LEN_LL (0x104) /* max length of data part in primitive */
560 #define CCDSAP_LL (0x22)
561 /*
562 * Constants for the Service access point llgmm
563 */
564 #define LLGMM_ASSIGN_REQ (0x2100)
565 #define LLGMM_TRIGGER_REQ (0x2101)
566 #define LLGMM_SUSPEND_REQ (0x2102)
567 #define LLGMM_RESUME_REQ (0x2103)
568 #define LLGMM_STATUS_IND (0x6100)
569 #define LLGMM_TLLI_IND (0x6101)
570
571 /*
572 * calculated constants
573 */
574 #define MAX_PRIMITIVE_ID_LLGMM (0x3) /* highest value for prim identifier */
575 #define MAX_PSTRUCT_LEN_LLGMM (0x14) /* max length of data part in primitive */
576 #define CCDSAP_LLGMM (0x21)
577 /*
578 * Constants for the Service access point mac
579 */
580 #define MAC_DATA_REQ (0x3200)
581 #define MAC_DATA_IND (0x7200)
582 #define MAC_READY_IND (0x7201)
583 #define MAC_POLL_REQ (0x3201)
584 #define MAC_PWR_CTRL_IND (0x7202)
585
586 /*
587 * calculated constants
588 */
589 #define MAX_PRIMITIVE_ID_MAC (0x2) /* highest value for prim identifier */
590 #define MAX_PSTRUCT_LEN_MAC (0x48) /* max length of data part in primitive */
591 #define CCDSAP_MAC (0x32)
592 /*
593 * Constants for the Service access point mdl
594 */
595 #define MDL_ERROR_IND (0x80000004)
596 #define MDL_RELEASE_REQ (0x80004004)
597
598 /*
599 * calculated constants
600 */
601 #define MAX_PRIMITIVE_ID_MDL (0x0) /* highest value for prim identifier */
602 #define MAX_PSTRUCT_LEN_MDL (0x4) /* max length of data part in primitive */
603 #define CCDSAP_MDL (0x4)
604 /*
605 * Constants for the Service access point mmcc
606 */
607 #define MMCC_ESTABLISH_REQ (0x80000007)
608 #define MMCC_RELEASE_REQ (0x80010007)
609 #define MMCC_DATA_REQ (0x80020007)
610 #define MMCC_DATA_IND (0x80004007)
611 #define MMCC_REESTABLISH_REQ (0x80030007)
612 #define MMCC_PROMPT_REJ (0x80040007)
613 #define MMCC_PROMPT_RSP (0x80050007)
614 #define MMCC_SYNC_IND (0x80014007)
615 #define MMCC_ERROR_IND (0x80024007)
616 #define MMCC_ESTABLISH_CNF (0x80034007)
617 #define MMCC_ESTABLISH_IND (0x80044007)
618 #define MMCC_REESTABLISH_CNF (0x80054007)
619 #define MMCC_RELEASE_IND (0x80064007)
620 #define MMCC_PROMPT_IND (0x80074007)
621
622 /*
623 * calculated constants
624 */
625 #define MAX_PRIMITIVE_ID_MMCC (0x7) /* highest value for prim identifier */
626 #define MAX_PSTRUCT_LEN_MMCC (0x8) /* max length of data part in primitive */
627 #define CCDSAP_MMCC (0x7)
628 /*
629 * Constants for the Service access point mmgmm
630 */
631 #define MMGMM_REG_REQ (0x2e00)
632 #define MMGMM_REG_CNF (0x6e00)
633 #define MMGMM_REG_REJ (0x6e01)
634 #define MMGMM_NREG_IND (0x6e02)
635 #define MMGMM_NREG_REQ (0x2e01)
636 #define MMGMM_NREG_CNF (0x6e03)
637 #define MMGMM_NET_REQ (0x2e02)
638 #define MMGMM_PLMN_IND (0x6e04)
639 #define MMGMM_PLMN_RES (0x2e03)
640 #define MMGMM_PLMN_MODE_REQ (0x2e04)
641 #define MMGMM_AUTH_REJ_REQ (0x2e05)
642 #define MMGMM_AUTH_REJ_IND (0x6e05)
643 #define MMGMM_CM_ESTABLISH_IND (0x6e06)
644 #define MMGMM_CM_ESTABLISH_RES (0x2e06)
645 #define MMGMM_CM_RELEASE_IND (0x6e07)
646 #define MMGMM_ACTIVATE_IND (0x6e08)
647 #define MMGMM_ATTACH_STARTED_REQ (0x2e07)
648 #define MMGMM_ATTACH_ACC_REQ (0x2e08)
649 #define MMGMM_ATTACH_REJ_REQ (0x2e09)
650 #define MMGMM_DETACH_STARTED_REQ (0x2e0a)
651 #define MMGMM_START_T3212_REQ (0x2e0b)
652 #define MMGMM_T3212_VAL_IND (0x6e09)
653 #define MMGMM_INFO_IND (0x6e0a)
654 #define MMGMM_CM_EMERGENCY_IND (0x6e0b)
655 #define MMGMM_CM_EMERGENCY_RES (0x2e0c)
656 #define MMGMM_LUP_ACCEPT_IND (0x6e0c)
657 #define MMGMM_LUP_NEEDED_IND (0x6e0d)
658 #define MMGMM_CIPHERING_IND (0x6e0e)
659 #define MMGMM_ALLOWED_REQ (0x2e0d)
660 #define MMGMM_TMSI_IND (0x6e0f)
661 #define MMGMM_TRIGGER_REQ (0x2e0e)
662 #define MMGMM_AHPLMN_IND (0x6e10)
663
664 /*
665 * calculated constants
666 */
667 #define MAX_PRIMITIVE_ID_MMGMM (0x10) /* highest value for prim identifier */
668 #define MAX_PSTRUCT_LEN_MMGMM (0xa0) /* max length of data part in primitive */
669 #define CCDSAP_MMGMM (0x2e)
670 /*
671 * Constants for the Service access point mmi
672 */
673 #define MMI_KEYPAD_IND (0x4e00)
674 #define MMI_AUDIO_INPUT_REQ (0xe00)
675 #define MMI_AUDIO_OUTPUT_REQ (0xe01)
676 #define MMI_SPEECH_MODE_REQ (0xe02)
677 #define MMI_AUDIO_MUTE_REQ (0xe03)
678 #define MMI_AUDIO_TONE_REQ (0xe05)
679 #define MMI_BACKLIGHT_REQ (0xe06)
680 #define MMI_CBCH_REQ (0xe07)
681 #define MMI_CBCH_IND (0x4e01)
682 #define MMI_RXLEV_REQ (0xe08)
683 #define MMI_RXLEV_IND (0x4e02)
684 #define MMI_BATTERY_REQ (0xe09)
685 #define MMI_BATTERY_IND (0x4e03)
686 #define MMI_DISPLAY_REQ (0xe0a)
687 #define MMI_SAT_CBCH_DWNLD_REQ (0xe0b)
688 #define MMI_SAT_CBCH_DWNLD_IND (0x4e04)
689 #define MMI_BT_CB_NOTIFY_IND (0x4e05)
690 #define MMI_RPD_MSG (0x4e06)
691 #define MMI_GIL_IND (0x4e07)
692 #define MMI_TCH_VOCODER_CFG_REQ (0xe0c)
693 #define MMI_TCH_VOCODER_CFG_CON (0x4e08)
694 #define MMI_HEADSET_IND (0x4e0c)
695 #define MMI_CARKIT_IND (0x4e0d)
696
697 /*
698 * calculated constants
699 */
700 #define MAX_PRIMITIVE_ID_MMI (0xd) /* highest value for prim identifier */
701 #define MAX_PSTRUCT_LEN_MMI (0x7c) /* max length of data part in primitive */
702 #define CCDSAP_MMI (0xe)
703 /*
704 * Constants for the Service access point mmreg
705 */
706 #define MMR_REG_REQ (0x8000000a)
707 #define MMR_REG_CNF (0x8000400a)
708 #define MMR_NREG_IND (0x8001400a)
709 #define MMR_NREG_REQ (0x8001000a)
710 #define MMR_NREG_CNF (0x8002400a)
711 #define MMR_NET_REQ (0x8002000a)
712 #define MMR_PLMN_IND (0x8003400a)
713 #define MMR_PLMN_RES (0x8003000a)
714 #define MMR_PLMN_MODE_REQ (0x8004000a)
715 #define MMR_INFO_IND (0x8004400a)
716 #define MMR_CIPHERING_IND (0x8005400a)
717 #define MMR_AHPLMN_IND (0x8006400a)
718
719 /*
720 * calculated constants
721 */
722 #define MAX_PRIMITIVE_ID_MMREG (0x6) /* highest value for prim identifier */
723 #define MAX_PSTRUCT_LEN_MMREG (0x94) /* max length of data part in primitive */
724 #define CCDSAP_MMREG (0xa)
725 /*
726 * Constants for the Service access point mmsms
727 */
728 #define MMSMS_ESTABLISH_REQ (0x80000009)
729 #define MMSMS_RELEASE_REQ (0x80010009)
730 #define MMSMS_DATA_REQ (0x80020009)
731 #define MMSMS_DATA_IND (0x80004009)
732 #define MMSMS_ERROR_IND (0x80014009)
733 #define MMSMS_ESTABLISH_CNF (0x80024009)
734 #define MMSMS_ESTABLISH_IND (0x80034009)
735 #define MMSMS_RELEASE_IND (0x80044009)
736 #define MMSMS_UNITDATA_IND (0x80054009)
737
738 /*
739 * calculated constants
740 */
741 #define MAX_PRIMITIVE_ID_MMSMS (0x5) /* highest value for prim identifier */
742 #define MAX_PSTRUCT_LEN_MMSMS (0x4) /* max length of data part in primitive */
743 #define CCDSAP_MMSMS (0x9)
744 /*
745 * Constants for the Service access point mmss
746 */
747 #define MMSS_ESTABLISH_REQ (0x80000008)
748 #define MMSS_RELEASE_REQ (0x80010008)
749 #define MMSS_DATA_REQ (0x80020008)
750 #define MMSS_DATA_IND (0x80004008)
751 #define MMSS_ERROR_IND (0x80014008)
752 #define MMSS_ESTABLISH_CNF (0x80024008)
753 #define MMSS_ESTABLISH_IND (0x80034008)
754 #define MMSS_RELEASE_IND (0x80044008)
755
756 /*
757 * calculated constants
758 */
759 #define MAX_PRIMITIVE_ID_MMSS (0x4) /* highest value for prim identifier */
760 #define MAX_PSTRUCT_LEN_MMSS (0x4) /* max length of data part in primitive */
761 #define CCDSAP_MMSS (0x8)
762 /*
763 * Constants for the Service access point mncc
764 */
765 #define MNCC_ALERT_IND (0x8000400b)
766 #define MNCC_CALL_PROCEED_IND (0x8001400b)
767 #define MNCC_DISCONNECT_IND (0x8002400b)
768 #define MNCC_HOLD_CNF (0x8003400b)
769 #define MNCC_MODIFY_CNF (0x8004400b)
770 #define MNCC_MODIFY_IND (0x8005400b)
771 #define MNCC_NOTIFY_IND (0x8006400b)
772 #define MNCC_PROGRESS_IND (0x8007400b)
773 #define MNCC_REJECT_IND (0x8008400b)
774 #define MNCC_RELEASE_CNF (0x8009400b)
775 #define MNCC_RELEASE_IND (0x800a400b)
776 #define MNCC_RETRIEVE_CNF (0x800b400b)
777 #define MNCC_SETUP_CNF (0x800c400b)
778 #define MNCC_SETUP_COMPL_IND (0x800d400b)
779 #define MNCC_SETUP_IND (0x800e400b)
780 #define MNCC_START_DTMF_CNF (0x800f400b)
781 #define MNCC_BEARER_CAP_CNF (0x8013400b)
782 #define MNCC_SYNC_IND (0x8010400b)
783 #define MNCC_USER_IND (0x8011400b)
784 #define MNCC_FACILITY_IND (0x8012400b)
785 #define MNCC_PROMPT_IND (0x8014400b)
786 #define MNCC_RECALL_IND (0x8015400b)
787 #define MNCC_STATUS_IND (0x8016400b)
788 #define MNCC_SETUP_REQ (0x8000000b)
789 #define MNCC_SETUP_RES (0x8001000b)
790 #define MNCC_ALERT_REQ (0x8002000b)
791 #define MNCC_DISCONNECT_REQ (0x8003000b)
792 #define MNCC_RELEASE_REQ (0x8004000b)
793 #define MNCC_MODIFY_REQ (0x8005000b)
794 #define MNCC_CONFIGURE_REQ (0x8006000b)
795 #define MNCC_NOTIFY_REQ (0x8007000b)
796 #define MNCC_START_DTMF_REQ (0x8008000b)
797 #define MNCC_HOLD_REQ (0x8009000b)
798 #define MNCC_RETRIEVE_REQ (0x800a000b)
799 #define MNCC_FACILITY_REQ (0x800b000b)
800 #define MNCC_USER_REQ (0x800c000b)
801 #define MNCC_BEARER_CAP_REQ (0x800d000b)
802 #define MNCC_PROMPT_RSP (0x800e000b)
803 #define MNCC_PROMPT_REJ (0x800f000b)
804 #define MNCC_REJECT_REQ (0x8010000b)
805 #define MNCC_SYNC_REQ (0x8011000b)
806 #define MNCC_STATUS_RES (0x8012000b)
807
808 /*
809 * calculated constants
810 */
811 #define MAX_PRIMITIVE_ID_MNCC (0x16) /* highest value for prim identifier */
812 #define MAX_PSTRUCT_LEN_MNCC (0x184) /* max length of data part in primitive */
813 #define CCDSAP_MNCC (0xb)
814 /*
815 * Constants for the Service access point mnlc
816 */
817 #define MNLC_SMS_MEAS_REQ (0x80000044)
818 #define MNLC_SMS_MEAS_CNF (0x80004044)
819
820 /*
821 * calculated constants
822 */
823 #define MAX_PRIMITIVE_ID_MNLC (0x0) /* highest value for prim identifier */
824 #define MAX_PSTRUCT_LEN_MNLC (0x90) /* max length of data part in primitive */
825 #define CCDSAP_MNLC (0x44)
826 /*
827 * Constants for the Service access point mnsms
828 */
829 #define MNSMS_MESSAGE_IND (0x8008400d)
830 #define MNSMS_REPORT_IND (0x8006400d)
831 #define MNSMS_STATUS_IND (0x8007400d)
832 #define MNSMS_DELETE_REQ (0x8000000d)
833 #define MNSMS_DELETE_CNF (0x8000400d)
834 #define MNSMS_READ_REQ (0x8001000d)
835 #define MNSMS_READ_CNF (0x8001400d)
836 #define MNSMS_STORE_REQ (0x8002000d)
837 #define MNSMS_STORE_CNF (0x8002400d)
838 #define MNSMS_SUBMIT_REQ (0x8003000d)
839 #define MNSMS_SUBMIT_CNF (0x8003400d)
840 #define MNSMS_COMMAND_REQ (0x8004000d)
841 #define MNSMS_COMMAND_CNF (0x8004400d)
842 #define MNSMS_ACK_RES (0x8008000d)
843 #define MNSMS_CONFIGURE_REQ (0x8005000d)
844 #define MNSMS_ERROR_IND (0x8009400d)
845 #define MNSMS_MO_SERV_REQ (0x800c000d)
846 #define MNSMS_MO_SERV_CNF (0x800c400d)
847 #define MNSMS_PAUSE_REQ (0x8006000d)
848 #define MNSMS_RESUME_REQ (0x8007000d)
849 #define MNSMS_RESUME_CNF (0x800a400d)
850 #define MNSMS_QUERY_REQ (0x800b000d)
851 #define MNSMS_QUERY_CNF (0x800b400d)
852 #define MNSMS_OTA_DECODE_IND (0x800d400d)
853 #define MNSMS_OTA_DECODE_RES (0x800d000d)
854
855 /*
856 * calculated constants
857 */
858 #define MAX_PRIMITIVE_ID_MNSMS (0xd) /* highest value for prim identifier */
859 #define MAX_PSTRUCT_LEN_MNSMS (0xbc) /* max length of data part in primitive */
860 #define CCDSAP_MNSMS (0xd)
861 /*
862 * Constants for the Service access point mnss
863 */
864 #define MNSS_BEGIN_REQ (0x8000000c)
865 #define MNSS_FACILITY_REQ (0x8001000c)
866 #define MNSS_END_REQ (0x8002000c)
867 #define MNSS_BEGIN_IND (0x8000400c)
868 #define MNSS_FACILITY_IND (0x8001400c)
869 #define MNSS_END_IND (0x8002400c)
870
871 /*
872 * calculated constants
873 */
874 #define MAX_PRIMITIVE_ID_MNSS (0x2) /* highest value for prim identifier */
875 #define MAX_PSTRUCT_LEN_MNSS (0x110) /* max length of data part in primitive */
876 #define CCDSAP_MNSS (0xc)
877 /*
878 * Constants for the Service access point mon
879 */
880 #define MON_CHAN_IDLE_IND (0xf00)
881 #define MON_MEAS_IDLE_IND (0xf01)
882 #define MON_COUNTER_IDLE_IND (0xf02)
883 #define MON_CHAN_DEDI_IND (0xf03)
884 #define MON_MEAS_DEDI_IND (0xf05)
885 #define MON_COUNTER_DEDI_IND (0xf06)
886 #define MON_COVERAGE_IND (0xf07)
887
888 /*
889 * calculated constants
890 */
891 #define MAX_PRIMITIVE_ID_MON (0x7) /* highest value for prim identifier */
892 #define MAX_PSTRUCT_LEN_MON (0xf8) /* max length of data part in primitive */
893 #define CCDSAP_MON (0xf)
894 /*
895 * Constants for the Service access point mph
896 */
897 #define MPH_POWER_REQ (0x5715)
898 #define MPH_POWER_CNF (0x1707)
899 #define MPH_BSIC_REQ (0x5716)
900 #define MPH_BSIC_CNF (0x1708)
901 #define MPH_UNITDATA_IND (0x1709)
902 #define MPH_RANDOM_ACCESS_REQ (0x5717)
903 #define MPH_RANDOM_ACCESS_CNF (0x170a)
904 #define MPH_IDLE_REQ (0x5703)
905 #define MPH_MEASUREMENT_IND (0x1701)
906 #define MPH_NEIGHBOURCELL_REQ (0x5704)
907 #define MPH_DEDICATED_REQ (0x5706)
908 #define MPH_DEDICATED_CNF (0x1702)
909 #define MPH_DEDICATED_FAIL_REQ (0x5707)
910 #define MPH_DEDICATED_FAIL_CNF (0x1703)
911 #define MPH_CIPHERING_REQ (0x5708)
912 #define MPH_FREQ_REDEF_REQ (0x5709)
913 #define MPH_CHANNEL_MODE_REQ (0x570a)
914 #define MPH_ERROR_IND (0x1704)
915 #define MPH_DEACTIVATE_REQ (0x570b)
916 #define MPH_CLASSMARK_REQ (0x570c)
917 #define MPH_TCH_LOOP_REQ (0x5711)
918 #define MPH_DAI_REQ (0x5712)
919 #define MPH_CBCH_REQ (0x5713)
920 #define MPH_IDENTITY_REQ (0x5714)
921 #define MPH_PAGING_IND (0x1706)
922 #define MPH_MON_CTRL_REQ (0x5718)
923 #define MPH_SYNC_REQ (0x5719)
924 #define MPH_SYNC_IND (0x170b)
925 #define MPH_MEAS_ORDER_CNF (0x170c)
926 #define MPH_EMO_REQ (0x5705)
927 #define MPH_EMO_MEAS_IND (0x1705)
928 #define MPH_EXT_MEAS_REQ (0x570d)
929 #define MPH_EXT_MEAS_CNF (0x170d)
930 #define MPH_NCELL_POS_REQ (0x570e)
931 #define MPH_NCELL_POS_IND (0x170e)
932 #define MPH_CLEAN_BUF_REQ (0x571a)
933 #define MPH_STOP_DEDICATED_REQ (0x571b)
934 #define MPH_STOP_DEDICATED_CNF (0x170f)
935 #define MPH_MEAS_REP_REQ (0x571c)
936 #define MPH_MEAS_REP_CNF (0x1710)
937
938 /*
939 * calculated constants
940 */
941 #define MAX_PRIMITIVE_ID_MPH (0x1c) /* highest value for prim identifier */
942 #define MAX_PSTRUCT_LEN_MPH (0x2e4) /* max length of data part in primitive */
943 #define CCDSAP_MPH (0x17)
944 /*
945 * Constants for the Service access point mphc
946 */
947 #define MPHC_NETWORK_SYNC_REQ (0xf)
948 #define MPHC_NETWORK_SYNC_IND (0x10)
949 #define MPHC_STOP_NETWORK_SYNC_REQ (0x11)
950 #define MPHC_STOP_NETWORK_SYNC_CON (0x12)
951 #define MPHC_START_CCCH_REQ (0x15)
952 #define MPHC_STOP_CCCH_REQ (0x16)
953 #define MPHC_STOP_CCCH_CON (0x17)
954 #define MPHC_SCELL_NBCCH_REQ (0x18)
955 #define MPHC_SCELL_EBCCH_REQ (0x19)
956 #define MPHC_STOP_SCELL_BCCH_REQ (0x1a)
957 #define MPHC_STOP_SCELL_BCCH_CON (0x1b)
958 #define MPHC_DATA_IND (0x32)
959 #define MPHC_NCELL_SYNC_REQ (0x20)
960 #define MPHC_NCELL_LIST_SYNC_REQ (0x7a)
961 #define MPHC_NCELL_SYNC_IND (0x21)
962 #define MPHC_STOP_NCELL_SYNC_REQ (0x22)
963 #define MPHC_STOP_NCELL_SYNC_CON (0x23)
964 #define MPHC_NCELL_BCCH_REQ (0x1c)
965 #define MPHC_NCELL_BCCH_IND (0x1d)
966 #define MPHC_STOP_NCELL_BCCH_REQ (0x1e)
967 #define MPHC_STOP_NCELL_BCCH_CON (0x1f)
968 #define MPHC_RXLEV_PERIODIC_REQ (0x24)
969 #define MPHC_RXLEV_PERIODIC_IND (0x25)
970 #define MPHC_STOP_RXLEV_PERIODIC_REQ (0x26)
971 #define MPHC_STOP_RXLEV_PERIODIC_CON (0x27)
972 #define MPHC_RXLEV_REQ (0xb)
973 #define MPHC_RXLEV_IND (0xc)
974 #define MPHC_STOP_RXLEV_REQ (0xd)
975 #define MPHC_STOP_RXLEV_CON (0xe)
976 #define MPHC_CONFIG_CBCH_REQ (0x28)
977 #define MPHC_CBCH_SCHEDULE_REQ (0x29)
978 #define MPHC_CBCH_INFO_REQ (0x2b)
979 #define MPHC_CBCH_UPDATE_REQ (0x2a)
980 #define MPHC_STOP_CBCH_REQ (0x2c)
981 #define MPHC_STOP_CBCH_CON (0x2d)
982 #define MPHC_NEW_SCELL_REQ (0x13)
983 #define MPHC_NEW_SCELL_CON (0x14)
984 #define MPHC_RA_REQ (0x2e)
985 #define MPHC_RA_CON (0x2f)
986 #define MPHC_STOP_RA_REQ (0x30)
987 #define MPHC_STOP_RA_CON (0x31)
988 #define MPHC_IMMED_ASSIGN_REQ (0x33)
989 #define MPHC_IMMED_ASSIGN_CON (0x3f)
990 #define MPHC_CHANNEL_ASSIGN_REQ (0x34)
991 #define MPHC_CHANNEL_ASSIGN_CON (0x3c)
992 #define MPHC_ASYNC_HO_REQ (0x35)
993 #define MPHC_ASYNC_HO_CON (0x3b)
994 #define MPHC_HANDOVER_FINISHED (0x44)
995 #define MPHC_SYNC_HO_REQ (0x36)
996 #define MPHC_SYNC_HO_CON (0x42)
997 #define MPHC_TA_FAIL_IND (0x43)
998 #define MPHC_PRE_SYNC_HO_REQ (0x37)
999 #define MPHC_PRE_SYNC_HO_CON (0x40)
1000 #define MPHC_HANDOVER_FAIL_REQ (0x47)
1001 #define MPHC_HANDOVER_FAIL_CON (0x3e)
1002 #define MPHC_CHANGE_FREQUENCY (0x45)
1003 #define MPHC_CHANGE_FREQUENCY_CON (0x3a)
1004 #define MPHC_CHANNEL_MODE_MODIFY_REQ (0x46)
1005 #define MPHC_CHANNEL_MODE_MODIFY_CON (0x3d)
1006 #define MPHC_SET_CIPHERING_REQ (0x48)
1007 #define MPHC_SET_CIPHERING_CON (0x41)
1008 #define MPHC_MEAS_REPORT (0x49)
1009 #define MPHC_UPDATE_BA_LIST (0x4a)
1010 #define MPHC_STOP_DEDICATED_REQ (0x39)
1011 #define MPHC_NCELL_FB_SB_READ (0x4b)
1012 #define MPHC_NCELL_SB_READ (0x4c)
1013 #define OML1_CLOSE_TCH_LOOP_REQ (0x61)
1014 #define OML1_CLOSE_TCH_LOOP_CON (0x65)
1015 #define OML1_OPEN_TCH_LOOP_REQ (0x62)
1016 #define OML1_OPEN_TCH_LOOP_CON (0x66)
1017 #define OML1_START_DAI_TEST_REQ (0x63)
1018 #define OML1_START_DAI_TEST_CON (0x67)
1019 #define OML1_STOP_DAI_TEST_REQ (0x64)
1020 #define OML1_STOP_DAI_TEST_CON (0x68)
1021 #define TST_SLEEP_REQ (0x4)
1022 #define MPHC_ADC_IND (0x69)
1023 #define MPHC_INIT_L1_REQ (0x72)
1024 #define MPHC_INIT_L1_CON (0x73)
1025 #define MPHC_DEACTIVATE_REQ (0x6e)
1026 #define TST_TEST_HW_REQ (0x1)
1027 #define TST_TEST_HW_CON (0x2)
1028 #define PH_DATA_IND (0x6d)
1029 #define MPHC_STOP_DEDICATED_CON (0x80)
1030
1031 /*
1032 * calculated constants
1033 */
1034 #define MAX_PRIMITIVE_ID_MPHC (0x80) /* highest value for prim identifier */
1035 #define MAX_PSTRUCT_LEN_MPHC (0x174) /* max length of data part in primitive */
1036 #define CCDSAP_MPHC (0x0)
1037 /*
1038 * Constants for the Service access point mphp
1039 */
1040 #define MPHP_SCELL_PBCCH_REQ (0x21c)
1041 #define MPHP_DATA_IND (0x228)
1042 #define MPHP_SCELL_PBCCH_STOP_REQ (0x21d)
1043 #define MPHP_SCELL_PBCCH_STOP_CON (0x21e)
1044 #define MPHP_START_PCCCH_REQ (0x219)
1045 #define MPHP_STOP_PCCCH_REQ (0x21a)
1046 #define MPHP_STOP_PCCCH_CON (0x21b)
1047 #define MPHP_CR_MEAS_REQ (0x21f)
1048 #define MPHP_CR_MEAS_IND (0x229)
1049 #define MPHP_CR_MEAS_STOP_REQ (0x220)
1050 #define MPHP_CR_MEAS_STOP_CON (0x221)
1051 #define MPHP_INT_MEAS_REQ (0x222)
1052 #define MPHP_INT_MEAS_IND (0x22a)
1053 #define MPHP_INT_MEAS_STOP_REQ (0x223)
1054 #define MPHP_INT_MEAS_STOP_CON (0x224)
1055 #define MPHP_NCELL_PBCCH_REQ (0x225)
1056 #define MPHP_NCELL_PBCCH_IND (0x22c)
1057 #define MPHP_NCELL_PBCCH_STOP_REQ (0x226)
1058 #define MPHP_NCELL_PBCCH_STOP_CON (0x227)
1059 #define MPHP_RA_REQ (0x212)
1060 #define MPHP_RA_CON (0x213)
1061 #define MPHP_RA_STOP_REQ (0x214)
1062 #define MPHP_RA_STOP_CON (0x215)
1063 #define MPHP_POLLING_RESPONSE_REQ (0x216)
1064 #define MPHP_POLLING_IND (0x217)
1065 #define MPHP_ASSIGNMENT_REQ (0x206)
1066 #define MPHP_ASSIGNMENT_CON (0x207)
1067 #define MPHP_REPEAT_UL_FIXED_ALLOC_REQ (0x20a)
1068 #define MPHP_REPEAT_UL_FIXED_ALLOC_CON (0x20b)
1069 #define MPHP_SINGLE_BLOCK_REQ (0x201)
1070 #define MPHP_SINGLE_BLOCK_CON (0x202)
1071 #define MPHP_STOP_SINGLE_BLOCK_REQ (0x203)
1072 #define MPHP_STOP_SINGLE_BLOCK_CON (0x204)
1073 #define MPHP_TBF_RELEASE_REQ (0x208)
1074 #define MPHP_TBF_RELEASE_CON (0x209)
1075 #define MPHP_PDCH_RELEASE_REQ (0x20c)
1076 #define MPHP_PDCH_RELEASE_CON (0x20d)
1077 #define MPHP_TIMING_ADVANCE_REQ (0x20e)
1078 #define MPHP_TIMING_ADVANCE_CON (0x20f)
1079 #define MPHP_UPDATE_PSI_PARAM_REQ (0x210)
1080 #define MPHP_UPDATE_PSI_PARAM_CON (0x211)
1081 #define MPHP_TCR_MEAS_REQ (0x22d)
1082 #define MPHP_TCR_MEAS_IND (0x22e)
1083 #define MPHP_TINT_MEAS_IND (0x22b)
1084
1085 /*
1086 * calculated constants
1087 */
1088 #define MAX_PRIMITIVE_ID_MPHP (0x2e) /* highest value for prim identifier */
1089 #define MAX_PSTRUCT_LEN_MPHP (0x144) /* max length of data part in primitive */
1090 #define CCDSAP_MPHP (0x2)
1091 /*
1092 * Constants for the Service access point ph
1093 */
1094 #define PH_READY_TO_SEND (0x4100)
1095 #define PH_DATA_REQ (0x100)
1096 #define PH_TRACE_IND (0x4102)
1097
1098 /*
1099 * calculated constants
1100 */
1101 #define MAX_PRIMITIVE_ID_PH (0x2) /* highest value for prim identifier */
1102 #define MAX_PSTRUCT_LEN_PH (0x4) /* max length of data part in primitive */
1103 #define CCDSAP_PH (0x1)
1104 /*
1105 * Constants for the Service access point pkt
1106 */
1107 #define PKT_CONNECT_IND (0x80004045)
1108 #define PKT_CONNECT_RES (0x80000045)
1109 #define PKT_CONNECT_REJ (0x80010045)
1110 #define PKT_DISCONNECT_IND (0x80014045)
1111 #define PKT_DTI_OPEN_REQ (0x80020045)
1112 #define PKT_DTI_OPEN_CNF (0x80024045)
1113 #define PKT_MODIFY_REQ (0x80030045)
1114 #define PKT_MODIFY_CNF (0x80034045)
1115 #define PKT_DTI_CLOSE_REQ (0x80040045)
1116 #define PKT_DTI_CLOSE_CNF (0x80044045)
1117 #define PKT_DTI_CLOSE_IND (0x80054045)
1118 #define PKT_SIG_CLEAR_IND (0x80050045)
1119 #define PKT_SIG_FLUSH_IND (0x80060045)
1120 #define PKT_SIG_READ_IND (0x80070045)
1121 #define PKT_SIG_WRITE_IND (0x80080045)
1122 #define PKT_SIG_CONNECT_IND (0x80090045)
1123 #define PKT_SIG_DISCONNECT_IND (0x800a0045)
1124 #define PKT_DIO_SIGNAL_IND (0x80200045)
1125 #define PKT_DIO_INIT_REQ (0x80204045)
1126 #define PKT_DIO_INIT_CNF (0x80210045)
1127 #define PKT_DIO_EXIT_REQ (0x80214045)
1128 #define PKT_DIO_READ_REQ (0x80224045)
1129 #define PKT_DIO_READ_CNF (0x80220045)
1130 #define PKT_DIO_GETDATA_REQ (0x80234045)
1131 #define PKT_DIO_GETDATA_CNF (0x80230045)
1132 #define PKT_DIO_WRITE_REQ (0x80244045)
1133 #define PKT_DIO_WRITE_CNF (0x80240045)
1134 #define PKT_DIO_GETBUFFER_REQ (0x80254045)
1135 #define PKT_DIO_GETBUFFER_CNF (0x80250045)
1136 #define PKT_DIO_CLEAR_REQ (0x80264045)
1137 #define PKT_DIO_CLEAR_CNF (0x80260045)
1138 #define PKT_DIO_FLUSH_REQ (0x80274045)
1139 #define PKT_DIO_FLUSH_CNF (0x80270045)
1140 #define PKT_DIO_SETSIGNAL_REQ (0x80284045)
1141 #define PKT_DIO_SETSIGNAL_CNF (0x80280045)
1142 #define PKT_DIO_RESETSIGNAL_REQ (0x80294045)
1143 #define PKT_DIO_RESETSIGNAL_CNF (0x80290045)
1144 #define PKT_DIO_GETCAP_REQ (0x802a4045)
1145 #define PKT_DIO_GETCAP_CNF (0x802a0045)
1146 #define PKT_DIO_SETCONFIG_REQ (0x802b4045)
1147 #define PKT_DIO_SETCONFIG_CNF (0x802b0045)
1148 #define PKT_DIO_GETCONFIG_REQ (0x802c4045)
1149 #define PKT_DIO_GETCONFIG_CNF (0x802c0045)
1150 #define PKT_DIO_CLOSEDEVICE_REQ (0x802d4045)
1151 #define PKT_DIO_CLOSEDEVICE_CNF (0x802d0045)
1152
1153 /*
1154 * calculated constants
1155 */
1156 #define MAX_PRIMITIVE_ID_PKT (0x2d) /* highest value for prim identifier */
1157 #define MAX_PSTRUCT_LEN_PKT (0x28) /* max length of data part in primitive */
1158 #define CCDSAP_PKT (0x45)
1159 /*
1160 * Constants for the Service access point ppp
1161 */
1162 #define PPP_ESTABLISH_REQ (0x7500)
1163 #define PPP_ESTABLISH_CNF (0x3500)
1164 #define PPP_TERMINATE_REQ (0x7501)
1165 #define PPP_TERMINATE_IND (0x3501)
1166 #define PPP_PDP_ACTIVATE_IND (0x3502)
1167 #define PPP_PDP_ACTIVATE_RES (0x7502)
1168 #define PPP_PDP_ACTIVATE_REJ (0x7503)
1169 #define PPP_MODIFICATION_REQ (0x7504)
1170 #define PPP_MODIFICATION_CNF (0x3503)
1171 #define PPP_DTI_CONNECTED_IND (0x3504)
1172 #define NEW_POWER_STATUS (0x7505)
1173
1174 /*
1175 * calculated constants
1176 */
1177 #define MAX_PRIMITIVE_ID_PPP (0x5) /* highest value for prim identifier */
1178 #define MAX_PSTRUCT_LEN_PPP (0x70) /* max length of data part in primitive */
1179 #define CCDSAP_PPP (0x35)
1180 /*
1181 * Constants for the Service access point ra
1182 */
1183 #define RA_ACTIVATE_REQ (0x80000010)
1184 #define RA_DEACTIVATE_REQ (0x80010010)
1185 #define RA_READY_IND (0x80004010)
1186 #define RA_DATA_REQ (0x80020010)
1187 #define RA_BREAK_REQ (0x80030010)
1188 #define RA_DATA_IND (0x80014010)
1189 #define RA_ACTIVATE_CNF (0x80024010)
1190 #define RA_DEACTIVATE_CNF (0x80034010)
1191 #define RA_BREAK_IND (0x80044010)
1192 #define RA_DETECT_REQ (0x80040010)
1193 #define RA_MODIFY_REQ (0x80050010)
1194 #define RA_MODIFY_CNF (0x80054010)
1195 #define RA_DATATRANS_REQ (0x80060010)
1196 #define SHM_TICK_REQ (0x80070010)
1197 #define SHM_DATA_REQ (0x80080010)
1198 #define SHM_READ_REQ (0x80090010)
1199 #define SHM_DATA_IND (0x80064010)
1200 #define SHM_BITSET_REQ (0x800a0010)
1201 #define SHM_BITTEST_REQ (0x800b0010)
1202 #define SHM_BITTEST_IND (0x80074010)
1203
1204 /*
1205 * calculated constants
1206 */
1207 #define MAX_PRIMITIVE_ID_RA (0xb) /* highest value for prim identifier */
1208 #define MAX_PSTRUCT_LEN_RA (0x8) /* max length of data part in primitive */
1209 #define CCDSAP_RA (0x10)
1210 /*
1211 * Constants for the Service access point rlp
1212 */
1213 #define RLP_ATTACH_REQ (0x80000011)
1214 #define RLP_DETACH_REQ (0x80010011)
1215 #define RLP_DETACH_CNF (0x80004011)
1216 #define RLP_CONNECT_REQ (0x80020011)
1217 #define RLP_CONNECT_IND (0x80014011)
1218 #define RLP_CONNECT_RES (0x80030011)
1219 #define RLP_CONNECT_CNF (0x80024011)
1220 #define RLP_DISC_REQ (0x80040011)
1221 #define RLP_DISC_IND (0x80034011)
1222 #define RLP_DISC_CNF (0x80044011)
1223 #define RLP_RESET_REQ (0x80050011)
1224 #define RLP_RESET_IND (0x80054011)
1225 #define RLP_RESET_RES (0x80060011)
1226 #define RLP_RESET_CNF (0x80064011)
1227 #define RLP_READY_IND (0x80074011)
1228 #define RLP_DATA_REQ (0x80070011)
1229 #define RLP_GETDATA_REQ (0x80080011)
1230 #define RLP_DATA_IND (0x80084011)
1231 #define RLP_UI_REQ (0x80090011)
1232 #define RLP_UI_IND (0x80094011)
1233 #define RLP_XID_IND (0x800a4011)
1234 #define RLP_ERROR_IND (0x800b4011)
1235 #define RLP_STATISTIC_IND (0x800c4011)
1236 #define RLP_REMAP_REQ (0x800a0011)
1237 #define RLP_REMAP_CNF (0x800d4011)
1238 #define RLP_REMAP_DATA_IND (0x800e4011)
1239 #define RLP_REMAP_DATA_RES (0x800b0011)
1240
1241 /*
1242 * calculated constants
1243 */
1244 #define MAX_PRIMITIVE_ID_RLP (0xe) /* highest value for prim identifier */
1245 #define MAX_PSTRUCT_LEN_RLP (0x14) /* max length of data part in primitive */
1246 #define CCDSAP_RLP (0x11)
1247 /*
1248 * Constants for the Service access point rr
1249 */
1250 #define RR_ABORT_REQ (0x80000006)
1251 #define RR_ABORT_IND (0x80004006)
1252 #define RR_ACTIVATE_REQ (0x80010006)
1253 #define RR_ACTIVATE_CNF (0x80014006)
1254 #define RR_ACTIVATE_IND (0x80024006)
1255 #define RR_DATA_REQ (0x80020006)
1256 #define RR_DATA_IND (0x80034006)
1257 #define RR_DEACTIVATE_REQ (0x80030006)
1258 #define RR_ESTABLISH_REQ (0x80040006)
1259 #define RR_ESTABLISH_CNF (0x80044006)
1260 #define RR_ESTABLISH_IND (0x80054006)
1261 #define RR_RELEASE_IND (0x80074006)
1262 #define RR_SYNC_REQ (0x80050006)
1263 #define RR_SYNC_IND (0x80084006)
1264 #define RR_SYNC_HPLMN_REQ (0x80060006)
1265
1266 /*
1267 * calculated constants
1268 */
1269 #define MAX_PRIMITIVE_ID_RR (0x8) /* highest value for prim identifier */
1270 #define MAX_PSTRUCT_LEN_RR (0x94) /* max length of data part in primitive */
1271 #define CCDSAP_RR (0x6)
1272 /*
1273 * Constants for the Service access point rrgrr
1274 */
1275 #define RRGRR_GPRS_SI13_IND (0x6d00)
1276 #define RRGRR_PACKET_PAGING_IND (0x6d02)
1277 #define RRGRR_CHANNEL_REQ (0x2d00)
1278 #define RRGRR_IA_IND (0x6d03)
1279 #define RRGRR_IAEXT_IND (0x6d04)
1280 #define RRGRR_ASSIGNMENT_REJ_IND (0x6d05)
1281 #define RRGRR_DATA_IND (0x6d06)
1282 #define RRGRR_DATA_REQ (0x2d02)
1283 #define RRGRR_IA_DOWNLINK_IND (0x6d08)
1284 #define RRGRR_START_MON_CCCH_REQ (0x2d03)
1285 #define RRGRR_STOP_MON_CCCH_REQ (0x2d04)
1286 #define RRGRR_CR_REQ (0x2d05)
1287 #define RRGRR_START_MON_BCCH_REQ (0x2d06)
1288 #define RRGRR_RR_EST_REQ (0x2d07)
1289 #define RRGRR_RR_EST_RSP (0x2d08)
1290 #define RRGRR_RR_EST_IND (0x6d0d)
1291 #define RRGRR_ACTIVATE_REQ (0x2d0a)
1292 #define RRGRR_GPRS_DATA_REQ (0x2d0c)
1293 #define RRGRR_SUSPEND_DCCH_REQ (0x2d0d)
1294 #define RRGRR_SUSPEND_DCCH_CNF (0x6d10)
1295 #define RRGRR_RECONNECT_DCCH_REQ (0x2d0e)
1296 #define RRGRR_RECONNECT_DCCH_CNF (0x6d11)
1297 #define RRGRR_RESUMED_TBF_REQ (0x2d01)
1298 #define RRGRR_RESUMED_TBF_CNF (0x6d07)
1299 #define RRGRR_STOP_DCCH_IND (0x6d12)
1300 #define RRGRR_CR_IND (0x6d13)
1301 #define RRGRR_NCELL_SYNC_REQ (0x2d0f)
1302 #define RRGRR_NCELL_SYNC_IND (0x6d15)
1303 #define RRGRR_SYNC_REQ (0x2d10)
1304 #define RRGRR_SYNC_IND (0x6d16)
1305 #define RRGRR_UPDATE_BA_REQ (0x2d12)
1306 #define RRGRR_MEAS_REP_REQ (0x2d13)
1307 #define RRGRR_MEAS_REP_CNF (0x6d17)
1308 #define RRGRR_TBF_ESTABLISHED_REQ (0x2d14)
1309 #define RRGRR_CR_RSP (0x2d15)
1310 #define RRGRR_MS_ID_IND (0x6d19)
1311 #define RRGRR_EXT_MEAS_REQ (0x2d16)
1312 #define RRGRR_EXT_MEAS_CNF (0x6d0a)
1313 #define RRGRR_EXT_MEAS_STOP_REQ (0x2d17)
1314 #define RRGRR_STOP_TASK_REQ (0x2d18)
1315 #define RRGRR_STOP_TASK_CNF (0x6d09)
1316 #define RRGRR_START_TASK_REQ (0x2d19)
1317 #define RRGRR_START_TASK_CNF (0x6d1a)
1318 #define RRGRR_STANDBY_STATE_IND (0x2d1a)
1319 #define RRGRR_READY_STATE_IND (0x2d1b)
1320
1321 /*
1322 * calculated constants
1323 */
1324 #define MAX_PRIMITIVE_ID_RRGRR (0x1b) /* highest value for prim identifier */
1325 #define MAX_PSTRUCT_LEN_RRGRR (0x304) /* max length of data part in primitive */
1326 #define CCDSAP_RRGRR (0x2d)
1327 /*
1328 * Constants for the Service access point rrlc
1329 */
1330 #define RRLC_MEAS_REQ (0x80000040)
1331 #define RRLC_MEAS_IND (0x80004040)
1332 #define RRLC_ERROR_IND (0x80014040)
1333
1334 /*
1335 * calculated constants
1336 */
1337 #define MAX_PRIMITIVE_ID_RRLC (0x1) /* highest value for prim identifier */
1338 #define MAX_PSTRUCT_LEN_RRLC (0x2b8) /* max length of data part in primitive */
1339 #define CCDSAP_RRLC (0x40)
1340 /*
1341 * Constants for the Service access point rrlp
1342 */
1343 #define RRLP_POS_IND (0x80004042)
1344 #define RRLP_POS_RES (0x80000042)
1345 #define RRLP_ERROR_REQ (0x80010042)
1346
1347 /*
1348 * calculated constants
1349 */
1350 #define MAX_PRIMITIVE_ID_RRLP (0x1) /* highest value for prim identifier */
1351 #define MAX_PSTRUCT_LEN_RRLP (0x324) /* max length of data part in primitive */
1352 #define CCDSAP_RRLP (0x42)
1353 /*
1354 * Constants for the Service access point rrrrlp
1355 */
1356 #define RRRRLP_DATA_IND (0x80004041)
1357 #define RRRRLP_DATA_REQ (0x80000041)
1358 #define RRRRLP_DATA_CNF (0x80014041)
1359 #define RRRRLP_ERROR_IND (0x80024041)
1360
1361 /*
1362 * calculated constants
1363 */
1364 #define MAX_PRIMITIVE_ID_RRRRLP (0x2) /* highest value for prim identifier */
1365 #define MAX_PSTRUCT_LEN_RRRRLP (0x4) /* max length of data part in primitive */
1366 #define CCDSAP_RRRRLP (0x41)
1367 /*
1368 * Constants for the Service access point sim
1369 */
1370 #define SIM_READ_REQ (0x80004005)
1371 #define SIM_READ_CNF (0x80000005)
1372 #define SIM_UPDATE_REQ (0x80014005)
1373 #define SIM_UPDATE_CNF (0x80010005)
1374 #define SIM_READ_RECORD_REQ (0x80024005)
1375 #define SIM_READ_RECORD_CNF (0x80020005)
1376 #define SIM_UPDATE_RECORD_REQ (0x80044005)
1377 #define SIM_UPDATE_RECORD_CNF (0x80040005)
1378 #define SIM_INCREMENT_REQ (0x80084005)
1379 #define SIM_INCREMENT_CNF (0x80080005)
1380 #define SIM_VERIFY_PIN_REQ (0x80094005)
1381 #define SIM_VERIFY_PIN_CNF (0x80090005)
1382 #define SIM_CHANGE_PIN_REQ (0x800a4005)
1383 #define SIM_CHANGE_PIN_CNF (0x800a0005)
1384 #define SIM_DISABLE_PIN_REQ (0x800b4005)
1385 #define SIM_DISABLE_PIN_CNF (0x800b0005)
1386 #define SIM_ENABLE_PIN_REQ (0x800c4005)
1387 #define SIM_ENABLE_PIN_CNF (0x800c0005)
1388 #define SIM_UNBLOCK_REQ (0x800d4005)
1389 #define SIM_UNBLOCK_CNF (0x800d0005)
1390 #define SIM_AUTHENTICATION_REQ (0x800e4005)
1391 #define SIM_AUTHENTICATION_CNF (0x800e0005)
1392 #define SIM_MMI_INSERT_IND (0x800f0005)
1393 #define SIM_MM_INSERT_IND (0x80100005)
1394 #define SIM_REMOVE_IND (0x80110005)
1395 #define SIM_MM_UPDATE_REQ (0x800f4005)
1396 #define SIM_SYNC_REQ (0x80104005)
1397 #define SIM_SYNC_CNF (0x80120005)
1398 #define SIM_ACTIVATE_REQ (0x80114005)
1399 #define SIM_ACTIVATE_CNF (0x80130005)
1400 #define SIM_SMS_INSERT_IND (0x80140005)
1401 #define SIM_TOOLKIT_REQ (0x80124005)
1402 #define SIM_TOOLKIT_RES (0x80134005)
1403 #define SIM_TOOLKIT_IND (0x80150005)
1404 #define SIM_TOOLKIT_CNF (0x80160005)
1405 #define SIM_ACTIVATE_IND (0x80170005)
1406 #define SIM_MM_INFO_IND (0x80180005)
1407 #define SIM_ACCESS_REQ (0x80144005)
1408 #define SIM_ACCESS_CNF (0x80190005)
1409 #define SIM_FILE_UPDATE_IND (0x801a0005)
1410 #define SIM_FILE_UPDATE_RES (0x80154005)
1411 #define SIM_GMM_INSERT_IND (0x801b0005)
1412 #define SIM_GMM_UPDATE_REQ (0x80164005)
1413 #define SIM_DTI_REQ (0x80174005)
1414 #define SIM_DTI_CNF (0x801c0005)
1415 #define SIM_BIP_REQ (0x80184005)
1416 #define SIM_BIP_CNF (0x801d0005)
1417 #define SIM_BIP_CONFIG_REQ (0x80194005)
1418 #define SIM_BIP_CONFIG_CNF (0x801e0005)
1419 #define SIM_DTI_BIP_IND (0x801f0005)
1420 #define SIM_EVENTLIST_REQ (0x801a4005)
1421 #define SIM_EVENTLIST_CNF (0x80200005)
1422 #define SIM_TEST_REQ (0x80210005)
1423 #define SIM_TEST_CNF (0x801b4005)
1424 #define SIM_REFRESH_USER_RES (0x80074005)
1425
1426 /*
1427 * calculated constants
1428 */
1429 #define MAX_PRIMITIVE_ID_SIM (0x21) /* highest value for prim identifier */
1430 #define MAX_PSTRUCT_LEN_SIM (0x218) /* max length of data part in primitive */
1431 #define CCDSAP_SIM (0x5)
1432 /*
1433 * Constants for the Service access point smreg
1434 */
1435 #define SMREG_PDP_ACTIVATE_REQ (0x2600)
1436 #define SMREG_PDP_ACTIVATE_CNF (0x6600)
1437 #define SMREG_PDP_ACTIVATE_REJ (0x6601)
1438 #define SMREG_PDP_ACTIVATE_IND (0x6602)
1439 #define SMREG_PDP_DEACTIVATE_REQ (0x2601)
1440 #define SMREG_PDP_DEACTIVATE_CNF (0x6603)
1441 #define SMREG_PDP_DEACTIVATE_IND (0x6604)
1442 #define SMREG_PDP_MODIFY_IND (0x6605)
1443 #define SMREG_PDP_ACTIVATE_RES (0x2602)
1444
1445 /*
1446 * calculated constants
1447 */
1448 #define MAX_PRIMITIVE_ID_SMREG (0x5) /* highest value for prim identifier */
1449 #define MAX_PSTRUCT_LEN_SMREG (0xa4) /* max length of data part in primitive */
1450 #define CCDSAP_SMREG (0x26)
1451 /*
1452 * Constants for the Service access point sn
1453 */
1454 #define SN_MODIFICATION_IND (0x6808)
1455 #define SN_COUNT_REQ (0x2808)
1456 #define SN_COUNT_CNF (0x6809)
1457 #define SN_SWITCH_REQ (0x2809)
1458 #define SN_SWITCH_CNF (0x680a)
1459
1460 /*
1461 * calculated constants
1462 */
1463 #define MAX_PRIMITIVE_ID_SN (0xa) /* highest value for prim identifier */
1464 #define MAX_PSTRUCT_LEN_SN (0x14) /* max length of data part in primitive */
1465 #define CCDSAP_SN (0x28)
1466 /*
1467 * Constants for the Service access point snsm
1468 */
1469 #define SNSM_ACTIVATE_IND (0x6700)
1470 #define SNSM_ACTIVATE_RES (0x2700)
1471 #define SNSM_DEACTIVATE_IND (0x6701)
1472 #define SNSM_DEACTIVATE_RES (0x2701)
1473 #define SNSM_MODIFY_IND (0x6702)
1474 #define SNSM_MODIFY_RES (0x2702)
1475 #define SNSM_STATUS_REQ (0x2703)
1476 #define SNSM_SEQUENCE_IND (0x6703)
1477 #define SNSM_SEQUENCE_RES (0x2704)
1478
1479 /*
1480 * calculated constants
1481 */
1482 #define MAX_PRIMITIVE_ID_SNSM (0x4) /* highest value for prim identifier */
1483 #define MAX_PSTRUCT_LEN_SNSM (0x20) /* max length of data part in primitive */
1484 #define CCDSAP_SNSM (0x27)
1485 /*
1486 * Constants for the Service access point t30
1487 */
1488 #define T30_ACTIVATE_REQ (0x80000014)
1489 #define T30_CONFIG_REQ (0x80010014)
1490 #define T30_CAP_IND (0x80004014)
1491 #define T30_CAP_REQ (0x80020014)
1492 #define T30_DTI_REQ (0x80060014)
1493 #define T30_DTI_CNF (0x80094014)
1494 #define T30_DTI_IND (0x80084014)
1495 #define T30_PHASE_IND (0x800a4014)
1496 #define T30_SGN_IND (0x80014014)
1497 #define T30_SGN_REQ (0x80030014)
1498 #define T30_CMPL_IND (0x80024014)
1499 #define T30_REPORT_IND (0x80034014)
1500 #define T30_MODIFY_REQ (0x80040014)
1501 #define T30_ERROR_IND (0x80044014)
1502 #define T30_EOL_IND (0x800b4014)
1503 #define T30_DEACTIVATE_REQ (0x80050014)
1504 #define T30_DEACTIVATE_CNF (0x80054014)
1505 #define T30_ACTIVATE_CNF (0x80064014)
1506 #define T30_PREAMBLE_IND (0x80074014)
1507
1508 /*
1509 * calculated constants
1510 */
1511 #define MAX_PRIMITIVE_ID_T30 (0xb) /* highest value for prim identifier */
1512 #define MAX_PSTRUCT_LEN_T30 (0x22c) /* max length of data part in primitive */
1513 #define CCDSAP_T30 (0x14)
1514 /*
1515 * Constants for the Service access point tb
1516 */
1517 #define TB_MEAS_IND (0x1800)
1518 #define TB_RXLEV_SC_REQ (0x5800)
1519
1520 /*
1521 * calculated constants
1522 */
1523 #define MAX_PRIMITIVE_ID_TB (0x0) /* highest value for prim identifier */
1524 #define MAX_PSTRUCT_LEN_TB (0x108) /* max length of data part in primitive */
1525 #define CCDSAP_TB (0x18)
1526 /*
1527 * Constants for the Service access point tra
1528 */
1529 #define TRA_ACTIVATE_REQ (0x80000019)
1530 #define TRA_ACTIVATE_CNF (0x80004019)
1531 #define TRA_DEACTIVATE_REQ (0x80010019)
1532 #define TRA_DEACTIVATE_CNF (0x80014019)
1533 #define TRA_DTI_REQ (0x80020019)
1534 #define TRA_DTI_CNF (0x80024019)
1535 #define TRA_DTI_IND (0x80034019)
1536
1537 /*
1538 * calculated constants
1539 */
1540 #define MAX_PRIMITIVE_ID_TRA (0x3) /* highest value for prim identifier */
1541 #define MAX_PSTRUCT_LEN_TRA (0x10) /* max length of data part in primitive */
1542 #define CCDSAP_TRA (0x19)
1543 /*
1544 * Constants for the Service access point uart
1545 */
1546 #define UART_PARAMETERS_REQ (0x7400)
1547 #define UART_PARAMETERS_CNF (0x3400)
1548 #define UART_PARAMETERS_IND (0x3401)
1549 #define UART_DTI_REQ (0x7401)
1550 #define UART_DTI_CNF (0x3402)
1551 #define UART_DTI_IND (0x3403)
1552 #define UART_DISABLE_REQ (0x7402)
1553 #define UART_DISABLE_CNF (0x3404)
1554 #define UART_RING_REQ (0x7403)
1555 #define UART_RING_CNF (0x3405)
1556 #define UART_DCD_REQ (0x7404)
1557 #define UART_DCD_CNF (0x3406)
1558 #define UART_ESCAPE_REQ (0x7405)
1559 #define UART_ESCAPE_CNF (0x3407)
1560 #define UART_DETECTED_IND (0x3408)
1561 #define UART_ERROR_IND (0x3409)
1562 #define UART_MUX_START_REQ (0x7406)
1563 #define UART_MUX_START_CNF (0x340a)
1564 #define UART_MUX_DLC_ESTABLISH_IND (0x340b)
1565 #define UART_MUX_DLC_ESTABLISH_RES (0x7407)
1566 #define UART_MUX_DLC_RELEASE_REQ (0x7408)
1567 #define UART_MUX_DLC_RELEASE_IND (0x340c)
1568 #define UART_MUX_SLEEP_REQ (0x7409)
1569 #define UART_MUX_SLEEP_IND (0x340d)
1570 #define UART_MUX_WAKEUP_REQ (0x740a)
1571 #define UART_MUX_WAKEUP_IND (0x340e)
1572 #define UART_MUX_CLOSE_REQ (0x740b)
1573 #define UART_MUX_CLOSE_IND (0x340f)
1574 #define UART_DRIVER_SENT_IND (0x740c)
1575 #define UART_DRIVER_RECEIVED_IND (0x740d)
1576 #define UART_DRIVER_FLUSHED_IND (0x740e)
1577 #define UART_DRIVER_CONNECT_IND (0x740f)
1578 #define UART_DRIVER_DISCONNECT_IND (0x7410)
1579 #define UART_DRIVER_CLEAR_IND (0x7411)
1580
1581 /*
1582 * calculated constants
1583 */
1584 #define MAX_PRIMITIVE_ID_UART (0x11) /* highest value for prim identifier */
1585 #define MAX_PSTRUCT_LEN_UART (0x14) /* max length of data part in primitive */
1586 #define CCDSAP_UART (0x34)
1587
1588 /*
1589 * global constants
1590 */
1591 #undef CCD_SYMBOLS
1592
1593 #define MAX_SAP_NUM (0x9b) /* number of service access points */
1594 #define MAX_PRIMITIVE_ID (0x80) /* maximum of all used prim opcodes */
1595 #define MAX_PSTRUCT_LEN (0x8cc) /* max size of all primitive structures */
1596
1597 #endif