comparison cdg3/cdginc-conservative/pconst.cdg @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : pconst.cdg |
5 | SOURCE : "sap\aci.pdf" |
6 | LastModified : "2004-06-01" |
7 | IdAndVersion : "8411.105.00.205" |
8 | SrcFileTime : "Thu Nov 29 09:29:50 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 |
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 dcm
54 */
55 #define DCM_OPEN_CONN_REQ (0x8000401c)
56 #define DCM_OPEN_CONN_CNF (0x8000001c)
57 #define DCM_CLOSE_CONN_REQ (0x8001401c)
58 #define DCM_CLOSE_CONN_CNF (0x8001001c)
59 #define DCM_GET_CURRENT_CONN_REQ (0x8002401c)
60 #define DCM_GET_CURRENT_CONN_CNF (0x8002001c)
61 #define DCM_ERROR_IND (0x8003001c)
62
63 /*
64 * calculated constants
65 */
66 #define MAX_PRIMITIVE_ID_DCM (0x3) /* highest value for prim identifier */
67 #define MAX_PSTRUCT_LEN_DCM (0x128) /* max length of data part in primitive */
68 #define CCDSAP_DCM (0x1c)
69 /*
70 * Constants for the Service access point tcpip
71 */
72 #define TCPIP_INITIALIZE_REQ (0x80000048)
73 #define TCPIP_INITIALIZE_CNF (0x80004048)
74 #define TCPIP_SHUTDOWN_REQ (0x80010048)
75 #define TCPIP_SHUTDOWN_CNF (0x80014048)
76 #define TCPIP_IFCONFIG_REQ (0x80020048)
77 #define TCPIP_IFCONFIG_CNF (0x80024048)
78 #define TCPIP_DTI_REQ (0x80030048)
79 #define TCPIP_DTI_CNF (0x80034048)
80 #define TCPIP_CREATE_REQ (0x80040048)
81 #define TCPIP_CREATE_CNF (0x80044048)
82 #define TCPIP_CLOSE_REQ (0x80050048)
83 #define TCPIP_CLOSE_CNF (0x80054048)
84 #define TCPIP_BIND_REQ (0x80060048)
85 #define TCPIP_BIND_CNF (0x80064048)
86 #define TCPIP_LISTEN_REQ (0x80070048)
87 #define TCPIP_LISTEN_CNF (0x80074048)
88 #define TCPIP_CONNECT_REQ (0x80080048)
89 #define TCPIP_CONNECT_CNF (0x80084048)
90 #define TCPIP_DATA_REQ (0x80090048)
91 #define TCPIP_DATA_CNF (0x80094048)
92 #define TCPIP_DATA_IND (0x800a4048)
93 #define TCPIP_DATA_RES (0x800a0048)
94 #define TCPIP_SOCKNAME_REQ (0x800b0048)
95 #define TCPIP_SOCKNAME_CNF (0x800b4048)
96 #define TCPIP_PEERNAME_REQ (0x800c0048)
97 #define TCPIP_PEERNAME_CNF (0x800c4048)
98 #define TCPIP_HOSTINFO_REQ (0x800d0048)
99 #define TCPIP_HOSTINFO_CNF (0x800d4048)
100 #define TCPIP_MTU_SIZE_REQ (0x800e0048)
101 #define TCPIP_MTU_SIZE_CNF (0x800e4048)
102 #define TCPIP_CONNECT_IND (0x800f4048)
103 #define TCPIP_CONN_CLOSED_IND (0x80104048)
104 #define TCPIP_ERROR_IND (0x80114048)
105 #define TCPIP_INTERNAL_IND (0x800f0048)
106
107 /*
108 * calculated constants
109 */
110 #define MAX_PRIMITIVE_ID_TCPIP (0x11) /* highest value for prim identifier */
111 #define MAX_PSTRUCT_LEN_TCPIP (0x114) /* max length of data part in primitive */
112 #define CCDSAP_TCPIP (0x48)
113 /*
114 * Constants for the Service access point cci
115 */
116 #define CCI_INIT_REQ (0x3604)
117
118 /*
119 * calculated constants
120 */
121 #define MAX_PRIMITIVE_ID_CCI (0x4) /* highest value for prim identifier */
122 #define MAX_PSTRUCT_LEN_CCI (0x4) /* max length of data part in primitive */
123 #define CCDSAP_CCI (0x36)
124 /*
125 * Constants for the Service access point cst
126 */
127 #define CST_ADC_IND (0x5600)
128 #define CST_VM_STOP_PLAY_IND (0x5601)
129 #define CST_VM_STOP_RECORD_IND (0x5602)
130 #define CST_SR_IND (0x5603)
131
132 /*
133 * calculated constants
134 */
135 #define MAX_PRIMITIVE_ID_CST (0x3) /* highest value for prim identifier */
136 #define MAX_PSTRUCT_LEN_CST (0x14) /* max length of data part in primitive */
137 #define CCDSAP_CST (0x16)
138 /*
139 * Constants for the Service access point dio
140 */
141
142 /*
143 * calculated constants
144 */
145 #define MAX_PRIMITIVE_ID_DIO (0x0) /* highest value for prim identifier */
146 #define MAX_PSTRUCT_LEN_DIO (0x2c) /* max length of data part in primitive */
147 #define CCDSAP_DIO (0x0)
148 /*
149 * Constants for the Service access point 8010_128_sm_sap
150 */
151 #define SM_ACTIVATE_STARTED_IND (0x80004090)
152 #define SM_ACTIVATE_IND (0x80014090)
153 #define SM_ACTIVATE_RES (0x80000090)
154 #define SM_DEACTIVATE_IND (0x80024090)
155 #define SM_DEACTIVATE_RES (0x80010090)
156 #define SM_MODIFY_IND (0x80034090)
157 #define SM_MODIFY_RES (0x80020090)
158 #define SM_STATUS_REQ (0x80030090)
159 #define SM_COMPRESSION_REQ (0x80040090)
160
161 /*
162 * calculated constants
163 */
164 #define MAX_PRIMITIVE_ID_SM (0x4) /* highest value for prim identifier */
165 #define MAX_PSTRUCT_LEN_SM (0x8) /* max length of data part in primitive */
166 #define CCDSAP_SM (0x90)
167 /*
168 * Constants for the Service access point 8010_134_mmpm_sap
169 */
170 #define MMPM_ATTACH_IND (0x800b4096)
171 #define MMPM_DETACH_IND (0x80004096)
172 #define MMPM_PDP_CONTEXT_STATUS_REQ (0x80000096)
173 #define MMPM_RAT_CHANGE_COMPLETED_IND (0x80014096)
174 #define MMPM_RAT_CHANGE_IND (0x80024096)
175 #define MMPM_REESTABLISH_REQ (0x80010096)
176 #define MMPM_REESTABLISH_CNF (0x80034096)
177 #define MMPM_REESTABLISH_REJ (0x80044096)
178 #define MMPM_REG_STATE_REQ (0x80020096)
179 #define MMPM_REG_STATE_CNF (0x80054096)
180 #define MMPM_ERROR_IND (0x80064096)
181 #define MMPM_RESUME_IND (0x80074096)
182 #define MMPM_SEQUENCE_IND (0x80084096)
183 #define MMPM_SEQUENCE_RES (0x80030096)
184 #define MMPM_SUSPEND_IND (0x80094096)
185 #define MMPM_UNITDATA_IND (0x800a4096)
186 #define MMPM_UNITDATA_REQ (0x80040096)
187
188 /*
189 * calculated constants
190 */
191 #define MAX_PRIMITIVE_ID_MMPM (0xb) /* highest value for prim identifier */
192 #define MAX_PSTRUCT_LEN_MMPM (0x44) /* max length of data part in primitive */
193 #define CCDSAP_MMPM (0x96)
194 /*
195 * Constants for the Service access point 8010_135_sn_sap
196 */
197 #define SN_ACTIVATE_CNF (0x8000409e)
198 #define SN_ACTIVATE_REQ (0x8000009e)
199 #define SN_DEACTIVATE_CNF (0x8002409e)
200 #define SN_DEACTIVATE_REQ (0x8001009e)
201 #define SN_GET_PENDING_PDU_CNF (0x8003409e)
202 #define SN_GET_PENDING_PDU_REQ (0x8002009e)
203 #define SN_MODIFY_CNF (0x8004409e)
204 #define SN_MODIFY_REQ (0x8003009e)
205 #define SN_STATUS_IND (0x8005409e)
206 #define SN_SEQUENCE_REQ (0x8004009e)
207 #define SN_SEQUENCE_CNF (0x8006409e)
208 #define SN_COUNT_REQ (0x8005009e)
209 #define SN_COUNT_CNF (0x8008409e)
210 #define SN_DTI_REQ (0x8006009e)
211 #define SN_DTI_CNF (0x8009409e)
212
213 /*
214 * calculated constants
215 */
216 #define MAX_PRIMITIVE_ID_SN (0x9) /* highest value for prim identifier */
217 #define MAX_PSTRUCT_LEN_SN (0x84) /* max length of data part in primitive */
218 #define CCDSAP_SN (0x9e)
219 /*
220 * Constants for the Service access point 8010_136_simdrv_sap
221 */
222 #define SIMDRV_DUMMY (0x80ff009a)
223
224 /*
225 * calculated constants
226 */
227 #define MAX_PRIMITIVE_ID_SIMDRV (0xff) /* highest value for prim identifier */
228 #define MAX_PSTRUCT_LEN_SIMDRV (0x28) /* max length of data part in primitive */
229 #define CCDSAP_SIMDRV (0x9a)
230 /*
231 * Constants for the Service access point 8010_137_nas_include
232 */
233 #define NAS_EXPORT (0x0)
234
235 /*
236 * calculated constants
237 */
238 #define MAX_PRIMITIVE_ID_NAS (0x0) /* highest value for prim identifier */
239 #define MAX_PSTRUCT_LEN_NAS (0x2b8) /* max length of data part in primitive */
240 #define CCDSAP_NAS (0x0)
241 /*
242 * Constants for the Service access point 8010_142_smreg_sap
243 */
244 #define SMREG_CONFIGURE_REQ (0x2600)
245 #define SMREG_PDP_ACTIVATE_REQ (0x2601)
246 #define SMREG_PDP_ACTIVATE_CNF (0x6600)
247 #define SMREG_PDP_ACTIVATE_IND (0x6602)
248 #define SMREG_PDP_ACTIVATE_REJ (0x6601)
249 #define SMREG_PDP_ACTIVATE_REJ_RES (0x2604)
250 #define SMREG_PDP_ACTIVATE_SEC_REQ (0x2606)
251 #define SMREG_PDP_ACTIVATE_SEC_CNF (0x6608)
252 #define SMREG_PDP_ACTIVATE_SEC_REJ (0x6609)
253 #define SMREG_PDP_DEACTIVATE_REQ (0x2602)
254 #define SMREG_PDP_DEACTIVATE_CNF (0x6603)
255 #define SMREG_PDP_DEACTIVATE_IND (0x6604)
256 #define SMREG_PDP_MODIFY_REQ (0x2605)
257 #define SMREG_PDP_MODIFY_CNF (0x6606)
258 #define SMREG_PDP_MODIFY_IND (0x6605)
259 #define SMREG_PDP_MODIFY_REJ (0x6607)
260
261 /*
262 * calculated constants
263 */
264 #define MAX_PRIMITIVE_ID_SMREG (0x9) /* highest value for prim identifier */
265 #define MAX_PSTRUCT_LEN_SMREG (0x80) /* max length of data part in primitive */
266 #define CCDSAP_SMREG (0x26)
267 /*
268 * Constants for the Service access point 8010_147_l1_include
269 */
270 #define L1_EXPORT (0x0)
271
272 /*
273 * calculated constants
274 */
275 #define MAX_PRIMITIVE_ID_L1_INCLUDE (0x0) /* highest value for prim identifier */
276 #define MAX_PSTRUCT_LEN_L1_INCLUDE (0x2f0) /* max length of data part in primitive */
277 #define CCDSAP_L1_INCLUDE (0x0)
278 /*
279 * Constants for the Service access point 8010_152_ps_include
280 */
281 #define PS_EXPORT (0x0)
282
283 /*
284 * calculated constants
285 */
286 #define MAX_PRIMITIVE_ID_PS (0x0) /* highest value for prim identifier */
287 #define MAX_PSTRUCT_LEN_PS (0x934) /* max length of data part in primitive */
288 #define CCDSAP_PS (0x0)
289 /*
290 * Constants for the Service access point 8010_153_cause_include
291 */
292 #define CAUSE_EXPORT (0x0)
293
294 /*
295 * calculated constants
296 */
297 #define MAX_PRIMITIVE_ID_CAUSE (0x0) /* highest value for prim identifier */
298 #define MAX_PSTRUCT_LEN_CAUSE (0x8) /* max length of data part in primitive */
299 #define CCDSAP_CAUSE (0x0)
300 /*
301 * Constants for the Service access point 8010_157_upm_sap
302 */
303 #define UPM_DTI_REQ (0x8000009d)
304 #define UPM_DTI_CNF (0x8000409d)
305 #define UPM_COUNT_REQ (0x8001009d)
306 #define UPM_COUNT_CNF (0x8001409d)
307
308 /*
309 * calculated constants
310 */
311 #define MAX_PRIMITIVE_ID_UPM (0x1) /* highest value for prim identifier */
312 #define MAX_PSTRUCT_LEN_UPM (0x14) /* max length of data part in primitive */
313 #define CCDSAP_UPM (0x9d)
314 /*
315 * Constants for the Service access point dl
316 */
317 #define DL_ESTABLISH_REQ (0x80000003)
318 #define DL_ESTABLISH_CNF (0x80014003)
319 #define DL_ESTABLISH_IND (0x80004003)
320 #define DL_RELEASE_REQ (0x80020003)
321 #define DL_RELEASE_CNF (0x80034003)
322 #define DL_RELEASE_IND (0x80024003)
323 #define DL_DATA_REQ (0x80040003)
324 #define DL_DATA_CNF (0x80050003)
325 #define DL_DATA_IND (0x80044003)
326 #define DL_UNITDATA_REQ (0x80060003)
327 #define DL_UNITDATA_IND (0x80064003)
328 #define DL_SHORT_UNITDATA_REQ (0x80100003)
329 #define DL_SHORT_UNITDATA_IND (0x80104003)
330 #define DL_SUSPEND_REQ (0x80080003)
331 #define DL_RESUME_REQ (0x800a0003)
332 #define DL_RECONNECT_REQ (0x800c0003)
333 #define DL_TRACE_REQ (0x800e0003)
334 #define DL_SIGNAL_ESTABLISH_IND (0x80124003)
335 #define DL_SIGNAL_ESTABLISH_CNF (0x80134003)
336 #define DL_SIGNAL_DATA_IND (0x80144003)
337 #define DL_SIGNAL_DATA_CNF (0x80154003)
338 #define DL_SIGNAL_UNITDATA_IND (0x80164003)
339 #define DL_SIGNAL_SHORT_UNITDATA_IND (0x80184003)
340 #define DL_SIGNAL_RELEASE_IND (0x801a4003)
341 #define DL_SIGNAL_RELEASE_CNF (0x801b4003)
342 #define DL_SIGNAL_ERROR_IND (0x801c4003)
343 #define DL_SIGNAL_FREE_POINTER (0x801d4003)
344 #define DL_SIGNAL_CONCATENATE (0x801e4003)
345 #define DL_SIGNAL_L2TRACE (0x801f4003)
346 #define DL_SIGNAL_L3TRACE (0x80204003)
347 #define DL_SIGNAL_EM_IND (0x80214003)
348 #define DL_SIGNAL_EM_WRITE (0x80224003)
349 #define DL_SIGNAL_EM_READ (0x80234003)
350
351 /*
352 * calculated constants
353 */
354 #define MAX_PRIMITIVE_ID_DL (0x23) /* highest value for prim identifier */
355 #define MAX_PSTRUCT_LEN_DL (0x8) /* max length of data part in primitive */
356 #define CCDSAP_DL (0x3)
357 /*
358 * Constants for the Service access point dti
359 */
360 #define DTI_READY_IND (0x7700)
361 #define DTI_GETDATA_REQ (0x3700)
362 #define DTI_DATA_REQ (0x3701)
363 #define DTI_DATA_IND (0x7701)
364 #define DTI_DATA_TEST_REQ (0x3702)
365 #define DTI_DATA_TEST_IND (0x7702)
366 #define DTI_DUMMY_REQ (0x3703)
367
368 /*
369 * calculated constants
370 */
371 #define MAX_PRIMITIVE_ID_DTI (0x3) /* highest value for prim identifier */
372 #define MAX_PSTRUCT_LEN_DTI (0xc) /* max length of data part in primitive */
373 #define CCDSAP_DTI (0x37)
374 /*
375 * Constants for the Service access point dti2
376 */
377 #define DTI2_CONNECT_REQ (0x3750)
378 #define DTI2_CONNECT_IND (0x7750)
379 #define DTI2_CONNECT_CNF (0x7751)
380 #define DTI2_CONNECT_RES (0x3751)
381 #define DTI2_DISCONNECT_REQ (0x3752)
382 #define DTI2_DISCONNECT_IND (0x7752)
383 #define DTI2_GETDATA_REQ (0x3753)
384 #define DTI2_READY_IND (0x7753)
385 #define DTI2_DATA_IND (0x7754)
386 #define DTI2_DATA_REQ (0x3754)
387 #define DTI2_DATA_TEST_IND (0x7755)
388 #define DTI2_DATA_TEST_REQ (0x3755)
389 #define DTI2_DUMMY_REQ (0x3756)
390
391 /*
392 * calculated constants
393 */
394 #define MAX_PRIMITIVE_ID_DTI2 (0x56) /* highest value for prim identifier */
395 #define MAX_PSTRUCT_LEN_DTI2 (0x18) /* max length of data part in primitive */
396 #define CCDSAP_DTI2 (0x37)
397 /*
398 * Constants for the Service access point em
399 */
400 #define EM_SC_INFO_REQ (0x3e00)
401 #define EM_SC_INFO_CNF (0x7e00)
402 #define EM_SC_GPRS_INFO_REQ (0x3e01)
403 #define EM_SC_GPRS_INFO_CNF (0x7e01)
404 #define EM_NC_INFO_REQ (0x3e02)
405 #define EM_NC_INFO_CNF (0x7e02)
406 #define EM_LOC_PAG_INFO_REQ (0x3e03)
407 #define EM_LOC_PAG_INFO_CNF (0x7e03)
408 #define EM_PLMN_INFO_REQ (0x3e04)
409 #define EM_PLMN_INFO_CNF (0x7e04)
410 #define EM_CIP_HOP_DTX_INFO_REQ (0x3e05)
411 #define EM_CIP_HOP_DTX_INFO_CNF (0x7e05)
412 #define EM_POWER_INFO_REQ (0x3e06)
413 #define EM_POWER_INFO_CNF (0x7e06)
414 #define EM_IDENTITY_INFO_REQ (0x3e07)
415 #define EM_IDENTITY_INFO_CNF (0x7e07)
416 #define EM_SW_VERSION_INFO_REQ (0x3e08)
417 #define EM_SW_VERSION_INFO_CNF (0x7e08)
418 #define EM_COUNTER_IDLE_IND (0x7e09)
419 #define EM_COUNTER_DEDI_IND (0x7e0a)
420 #define EM_L1_EVENT_REQ (0x3e09)
421 #define EM_DL_EVENT_REQ (0x3e0a)
422 #define EM_RR_EVENT_REQ (0x3e0b)
423 #define EM_MM_EVENT_REQ (0x3e0c)
424 #define EM_CC_EVENT_REQ (0x3e0d)
425 #define EM_SS_EVENT_REQ (0x3e0e)
426 #define EM_SMS_EVENT_REQ (0x3e0f)
427 #define EM_SIM_EVENT_REQ (0x3e10)
428 #define EM_DATA_IND (0x7e0b)
429 #define EM_FMM_SC_INFO_REQ (0x3e12)
430 #define EM_FMM_SC_INFO_CNF (0x7e12)
431 #define EM_FMM_SC_GPRS_INFO_REQ (0x3e13)
432 #define EM_FMM_SC_GPRS_INFO_CNF (0x7e13)
433 #define EM_FMM_NC_INFO_REQ (0x3e14)
434 #define EM_FMM_NC_INFO_CNF (0x7e14)
435 #define EM_FMM_RLC_TRANS_INFO_REQ (0x3e15)
436 #define EM_FMM_RLC_TRANS_INFO_CNF (0x7e15)
437 #define EM_FMM_RESELECTION_START_IND (0x7e0c)
438 #define EM_FMM_RESELECTION_END_IND (0x7e0d)
439 #define EM_FMM_TBF_INFO_REQ (0x3e16)
440 #define EM_FMM_TBF_INFO_CNF (0x7e16)
441 #define EM_PCO_TRACE_REQ (0x3e11)
442 #define EM_GRLC_INFO_REQ (0x3e18)
443 #define EM_GRLC_INFO_CNF (0x7e18)
444 #define EM_GMM_INFO_REQ (0x3e17)
445 #define EM_GMM_INFO_CNF (0x7e17)
446 #define EM_AMR_INFO_REQ (0x3e19)
447 #define EM_AMR_INFO_CNF (0x7e19)
448 #define EM_THROUGHPUT_INFO_REQ (0x3e1d)
449 #define EM_THROUGHPUT_INFO_CNF (0x7e1d)
450 #define EM_GRR_EVENT_REQ (0x3e1a)
451 #define EM_GMM_EVENT_REQ (0x3e1b)
452 #define EM_GRLC_EVENT_REQ (0x3e1c)
453
454 /*
455 * calculated constants
456 */
457 #define MAX_PRIMITIVE_ID_EM (0x1d) /* highest value for prim identifier */
458 #define MAX_PSTRUCT_LEN_EM (0x110) /* max length of data part in primitive */
459 #define CCDSAP_EM (0x3e)
460 /*
461 * Constants for the Service access point fad
462 */
463 #define FAD_ACTIVATE_REQ (0x80000013)
464 #define FAD_DEACTIVATE_REQ (0x80010013)
465 #define FAD_MODIFY_REQ (0x80020013)
466 #define FAD_DATA_REQ (0x80030013)
467 #define FAD_DATA_IND (0x80004013)
468 #define FAD_DATA_CNF (0x80014013)
469 #define FAD_SND_TCF_REQ (0x80040013)
470 #define FAD_SND_TCF_CNF (0x80024013)
471 #define FAD_RCV_TCF_REQ (0x80050013)
472 #define FAD_RCV_TCF_CNF (0x80034013)
473 #define FAD_READY_REQ (0x80060013)
474 #define FAD_READY_IND (0x80044013)
475 #define FAD_IGNORE_REQ (0x80070013)
476 #define FAD_MUX_IND (0x80054013)
477 #define FAD_ERROR_IND (0x80064013)
478 #define FAD_DEACTIVATE_CNF (0x80074013)
479 #define FAD_ACTIVATE_CNF (0x80084013)
480
481 /*
482 * calculated constants
483 */
484 #define MAX_PRIMITIVE_ID_FAD (0x8) /* highest value for prim identifier */
485 #define MAX_PSTRUCT_LEN_FAD (0x4) /* max length of data part in primitive */
486 #define CCDSAP_FAD (0x13)
487 /*
488 * Constants for the Service access point gmmaa
489 */
490 #define GMMAA_ESTABLISH_REQ (0x2500)
491 #define GMMAA_RELEASE_IND (0x6500)
492 #define GMMAA_ESTABLISH_REJ (0x6501)
493 #define GMMAA_TIMER_REQ (0x2501)
494
495 /*
496 * calculated constants
497 */
498 #define MAX_PRIMITIVE_ID_GMMAA (0x1) /* highest value for prim identifier */
499 #define MAX_PSTRUCT_LEN_GMMAA (0x4) /* max length of data part in primitive */
500 #define CCDSAP_GMMAA (0x25)
501 /*
502 * Constants for the Service access point gmmreg
503 */
504 #define GMMREG_ATTACH_REQ (0x3300)
505 #define GMMREG_ATTACH_CNF (0x7300)
506 #define GMMREG_ATTACH_REJ (0x7301)
507 #define GMMREG_DETACH_REQ (0x3301)
508 #define GMMREG_DETACH_CNF (0x7302)
509 #define GMMREG_DETACH_IND (0x7303)
510 #define GMMREG_NET_REQ (0x3302)
511 #define GMMREG_PLMN_IND (0x7304)
512 #define GMMREG_PLMN_RES (0x3303)
513 #define GMMREG_SUSPEND_IND (0x7305)
514 #define GMMREG_RESUME_IND (0x7306)
515 #define GMMREG_PLMN_MODE_REQ (0x3304)
516 #define GMMREG_INFO_IND (0x7307)
517 #define GMMREG_CONFIG_REQ (0x3305)
518 #define GMMREG_CIPHERING_IND (0x7308)
519 #define GMMREG_AHPLMN_IND (0x7309)
520
521 /*
522 * calculated constants
523 */
524 #define MAX_PRIMITIVE_ID_GMMREG (0x9) /* highest value for prim identifier */
525 #define MAX_PSTRUCT_LEN_GMMREG (0xa0) /* max length of data part in primitive */
526 #define CCDSAP_GMMREG (0x33)
527 /*
528 * Constants for the Service access point gmmrr
529 */
530 #define GMMRR_ASSIGN_REQ (0x1f00)
531 #define GMMRR_ENABLE_REQ (0x1f01)
532 #define GMMRR_DISABLE_REQ (0x1f02)
533 #define GMMRR_CELL_IND (0x5f00)
534 #define GMMRR_READY_REQ (0x1f03)
535 #define GMMRR_STANDBY_REQ (0x1f04)
536 #define GMMRR_PAGE_IND (0x5f02)
537 #define GMMRR_CS_PAGE_IND (0x5f03)
538 #define GMMRR_CS_PAGE_RES (0x1f05)
539 #define GMMRR_SUSPEND_REQ (0x1f06)
540 #define GMMRR_SUSPEND_CNF (0x5f04)
541 #define GMMRR_RESUME_REQ (0x1f07)
542 #define GMMRR_ATTACH_STARTED_REQ (0x1f0a)
543 #define GMMRR_ATTACH_FINISHED_REQ (0x1f0b)
544 #define GMMRR_CELL_RES (0x1f0c)
545 #define GMMRR_CR_IND (0x5f08)
546
547 /*
548 * calculated constants
549 */
550 #define MAX_PRIMITIVE_ID_GMMRR (0xc) /* highest value for prim identifier */
551 #define MAX_PSTRUCT_LEN_GMMRR (0x34) /* max length of data part in primitive */
552 #define CCDSAP_GMMRR (0x1f)
553 /*
554 * Constants for the Service access point gmmsms
555 */
556 #define GMMSMS_REG_STATE_REQ (0x2300)
557 #define GMMSMS_REG_STATE_CNF (0x6300)
558
559 /*
560 * calculated constants
561 */
562 #define MAX_PRIMITIVE_ID_GMMSMS (0x0) /* highest value for prim identifier */
563 #define MAX_PSTRUCT_LEN_GMMSMS (0x4) /* max length of data part in primitive */
564 #define CCDSAP_GMMSMS (0x23)
565 /*
566 * Constants for the Service access point grlc
567 */
568 #define GRLC_DATA_REQ (0x80000097)
569 #define GRLC_DATA_IND (0x80004097)
570 #define GRLC_DATA_IND_TEST (0x80014097)
571 #define GRLC_UNITDATA_REQ (0x80010097)
572 #define GRLC_UNITDATA_IND (0x80024097)
573 #define GRLC_UNITDATA_IND_TEST (0x80034097)
574 #define GRLC_READY_IND (0x80044097)
575 #define GRLC_ACTIVATE_GMM_QUEUE_REQ (0x80020097)
576 #define GRLC_SUSPEND_READY_IND (0x80054097)
577 #define GRLC_MAC_DATA_IND (0x80060097)
578 #define GRLC_MAC_READY_IND (0x80070097)
579 #define GRLC_MAC_PWR_CTRL_IND (0x80080097)
580 #define GRLC_FLUSH_DATA_REQ (0x80030097)
581
582 /*
583 * calculated constants
584 */
585 #define MAX_PRIMITIVE_ID_GRLC (0x8) /* highest value for prim identifier */
586 #define MAX_PSTRUCT_LEN_GRLC (0x24) /* max length of data part in primitive */
587 #define CCDSAP_GRLC (0x97)
588 /*
589 * Constants for the Service access point cgrlc
590 */
591 #define CGRLC_ENABLE_REQ (0x80000098)
592 #define CGRLC_DISABLE_REQ (0x80010098)
593 #define CGRLC_UL_TBF_RES (0x80020098)
594 #define CGRLC_DL_TBF_REQ (0x80030098)
595 #define CGRLC_TBF_REL_REQ (0x80040098)
596 #define CGRLC_TBF_REL_IND (0x80004098)
597 #define CGRLC_TBF_REL_RES (0x80050098)
598 #define CGRLC_UL_TBF_IND (0x80014098)
599 #define CGRLC_DATA_REQ (0x80060098)
600 #define CGRLC_DATA_IND (0x80024098)
601 #define CGRLC_POLL_REQ (0x80070098)
602 #define CGRLC_ACCESS_STATUS_REQ (0x80080098)
603 #define CGRLC_CTRL_MSG_SENT_IND (0x80034098)
604 #define CGRLC_STARTING_TIME_IND (0x80044098)
605 #define CGRLC_T3192_STARTED_IND (0x80054098)
606 #define CGRLC_CONT_RES_DONE_IND (0x80064098)
607 #define CGRLC_TA_VALUE_IND (0x80074098)
608 #define CGRLC_STATUS_IND (0x80084098)
609 #define CGRLC_TEST_MODE_REQ (0x80090098)
610 #define CGRLC_TEST_MODE_CNF (0x80094098)
611 #define CGRLC_TEST_END_REQ (0x800a0098)
612 #define CGRLC_TRIGGER_IND (0x800a4098)
613 #define CGRLC_STANDBY_STATE_IND (0x800b4098)
614 #define CGRLC_READY_STATE_IND (0x800c4098)
615 #define CGRLC_TA_VALUE_REQ (0x800b0098)
616 #define CGRLC_INT_LEVEL_REQ (0x800c0098)
617 #define CGRLC_TEST_MODE_IND (0x800e4098)
618 #define CGRLC_READY_TIMER_CONFIG_REQ (0x800e0098)
619 #define CGRLC_FORCE_TO_STANDBY_REQ (0x800f0098)
620 #define CGRLC_PWR_CTRL_REQ (0x800d0098)
621 #define CGRLC_PWR_CTRL_CNF (0x800d4098)
622
623 /*
624 * calculated constants
625 */
626 #define MAX_PRIMITIVE_ID_CGRLC (0xf) /* highest value for prim identifier */
627 #define MAX_PSTRUCT_LEN_CGRLC (0xcc) /* max length of data part in primitive */
628 #define CCDSAP_CGRLC (0x98)
629 /*
630 * Constants for the Service access point cl
631 */
632 #define CL_NWRL_SET_SGSN_RELEASE_REQ (0x8000009c)
633 #define CL_NWRL_SET_SGSN_RELEASE_CNF (0x8000409c)
634 #define CL_NWRL_GET_SGSN_RELEASE_REQ (0x8001009c)
635 #define CL_NWRL_GET_SGSN_RELEASE_CNF (0x8001409c)
636
637 /*
638 * calculated constants
639 */
640 #define MAX_PRIMITIVE_ID_CL (0x1) /* highest value for prim identifier */
641 #define MAX_PSTRUCT_LEN_CL (0x4) /* max length of data part in primitive */
642 #define CCDSAP_CL (0x9c)
643 /*
644 * Constants for the Service access point l1test
645 */
646 #define L1TEST_CALL_MPHC_READ_DCCH (0x8000409b)
647 #define L1TEST_RETURN_MPHC_READ_DCCH (0x8000009b)
648 #define L1TEST_CALL_MPHC_DCCH_DOWNLINK (0x8001409b)
649 #define L1TEST_RETURN_MPHC_DCCH_DOWNLINK (0x8001009b)
650 #define L1TEST_CALL_MPHC_DATA_UL (0x8002409b)
651 #define L1TEST_RETURN_MPHC_DATA_UL (0x8002009b)
652 #define L1TEST_CALL_MPHC_DATA_DL (0x8003409b)
653 #define L1TEST_RETURN_MPHC_DATA_DL (0x8003009b)
654 #define L1TEST_CALL_MPHP_POWER_CONTROL (0x8004409b)
655 #define L1TEST_RETURN_MPHP_POWER_CONTROL (0x8004009b)
656 #define L1TEST_CALL_MPHP_UPLINK (0x8005409b)
657 #define L1TEST_RETURN_MPHP_UPLINK (0x8005009b)
658 #define L1TEST_CALL_MPHP_DOWNLINK (0x8006409b)
659 #define L1TEST_RETURN_MPHP_DOWNLINK (0x8006009b)
660
661 /*
662 * calculated constants
663 */
664 #define MAX_PRIMITIVE_ID_L1TEST (0x6) /* highest value for prim identifier */
665 #define MAX_PSTRUCT_LEN_L1TEST (0x170) /* max length of data part in primitive */
666 #define CCDSAP_L1TEST (0x9b)
667 /*
668 * Constants for the Service access point gsim
669 */
670 #define GSIM_UPDATE_REQ (0x2900)
671 #define GSIM_STORE_KC_REQ (0x2901)
672 #define GSIM_INSERTED_IND (0x6900)
673 #define GSIM_REMOVED_IND (0x6901)
674 #define GSIM_AUTHENTICATION_REQ (0x2902)
675 #define GSIM_AUTHENTICATION_CNF (0x6902)
676
677 /*
678 * calculated constants
679 */
680 #define MAX_PRIMITIVE_ID_GSIM (0x2) /* highest value for prim identifier */
681 #define MAX_PSTRUCT_LEN_GSIM (0x2c) /* max length of data part in primitive */
682 #define CCDSAP_GSIM (0x29)
683 /*
684 * Constants for the Service access point gsmcom
685 */
686 #define GSMCOM_DUMMY_REQ (0x80000000)
687
688 /*
689 * calculated constants
690 */
691 #define MAX_PRIMITIVE_ID_GSMCOM (0x0) /* highest value for prim identifier */
692 #define MAX_PSTRUCT_LEN_GSMCOM (0x4) /* max length of data part in primitive */
693 #define CCDSAP_GSMCOM (0x0)
694 /*
695 * Constants for the Service access point ip
696 */
697 #define IP_ADDR_REQ (0x3900)
698 #define IP_ADDR_CNF (0x7900)
699
700 /*
701 * calculated constants
702 */
703 #define MAX_PRIMITIVE_ID_IP (0x0) /* highest value for prim identifier */
704 #define MAX_PSTRUCT_LEN_IP (0x8) /* max length of data part in primitive */
705 #define CCDSAP_IP (0x39)
706 /*
707 * Constants for the Service access point ipa
708 */
709 #define IPA_DTI_REQ (0x8000003c)
710 #define IPA_DTI_CNF (0x8000403c)
711 #define IPA_DTI_IND (0x8001403c)
712 #define IPA_CONFIG_REQ (0x8001003c)
713 #define IPA_CONFIG_CNF (0x8002403c)
714
715 /*
716 * calculated constants
717 */
718 #define MAX_PRIMITIVE_ID_IPA (0x2) /* highest value for prim identifier */
719 #define MAX_PSTRUCT_LEN_IPA (0x10) /* max length of data part in primitive */
720 #define CCDSAP_IPA (0x3c)
721 /*
722 * Constants for the Service access point l2r
723 */
724 #define L2R_ACTIVATE_REQ (0x80000012)
725 #define L2R_ACTIVATE_CNF (0x80004012)
726 #define L2R_DEACTIVATE_REQ (0x80010012)
727 #define L2R_DEACTIVATE_CNF (0x80014012)
728 #define L2R_CONNECT_REQ (0x80020012)
729 #define L2R_CONNECT_CNF (0x80024012)
730 #define L2R_CONNECT_IND (0x80034012)
731 #define L2R_DISC_REQ (0x80030012)
732 #define L2R_DISC_CNF (0x80044012)
733 #define L2R_DISC_IND (0x80054012)
734 #define L2R_XID_IND (0x800a4012)
735 #define L2R_ERROR_IND (0x800b4012)
736 #define L2R_RESET_IND (0x800c4012)
737 #define L2R_STATISTIC_IND (0x800d4012)
738 #define L2R_DTI_REQ (0x80070012)
739 #define L2R_DTI_CNF (0x800e4012)
740 #define L2R_DTI_IND (0x800f4012)
741 #define L2R_CHANGE_RATE_REQ (0x80080012)
742
743 /*
744 * calculated constants
745 */
746 #define MAX_PRIMITIVE_ID_L2R (0xf) /* highest value for prim identifier */
747 #define MAX_PSTRUCT_LEN_L2R (0x14) /* max length of data part in primitive */
748 #define CCDSAP_L2R (0x12)
749 /*
750 * Constants for the Service access point ll
751 */
752 #define LL_RESET_IND (0x6200)
753 #define LL_ESTABLISH_REQ (0x2200)
754 #define LL_ESTABLISH_CNF (0x6201)
755 #define LL_ESTABLISH_IND (0x6202)
756 #define LL_ESTABLISH_RES (0x2201)
757 #define LL_RELEASE_REQ (0x2202)
758 #define LL_RELEASE_CNF (0x6203)
759 #define LL_RELEASE_IND (0x6204)
760 #define LL_XID_REQ (0x2203)
761 #define LL_XID_CNF (0x6205)
762 #define LL_XID_IND (0x6206)
763 #define LL_XID_RES (0x2204)
764 #define LL_READY_IND (0x6207)
765 #define LL_UNITREADY_IND (0x6208)
766 #define LL_GETDATA_REQ (0x2205)
767 #define LL_GETUNITDATA_REQ (0x2206)
768 #define LL_DATA_REQ (0x2207)
769 #define LL_DATA_CNF (0x6209)
770 #define LL_DATA_IND (0x620a)
771 #define LL_UNITDATA_REQ (0x2208)
772 #define LL_UNITDATA_IND (0x620b)
773 #define LL_STATUS_IND (0x620c)
774 #define LL_DESC_REQ (0x2209)
775 #define LL_UNITDESC_REQ (0x220a)
776 #define LLC_DUMMY_REQ (0x220b)
777
778 /*
779 * calculated constants
780 */
781 #define MAX_PRIMITIVE_ID_LL (0xc) /* highest value for prim identifier */
782 #define MAX_PSTRUCT_LEN_LL (0x104) /* max length of data part in primitive */
783 #define CCDSAP_LL (0x22)
784 /*
785 * Constants for the Service access point llgmm
786 */
787 #define LLGMM_ASSIGN_REQ (0x2100)
788 #define LLGMM_TRIGGER_REQ (0x2101)
789 #define LLGMM_SUSPEND_REQ (0x2102)
790 #define LLGMM_RESUME_REQ (0x2103)
791 #define LLGMM_STATUS_IND (0x6100)
792 #define LLGMM_TLLI_IND (0x6101)
793
794 /*
795 * calculated constants
796 */
797 #define MAX_PRIMITIVE_ID_LLGMM (0x3) /* highest value for prim identifier */
798 #define MAX_PSTRUCT_LEN_LLGMM (0x14) /* max length of data part in primitive */
799 #define CCDSAP_LLGMM (0x21)
800 /*
801 * Constants for the Service access point mac
802 */
803 #define MAC_DATA_REQ (0x3200)
804 #define MAC_DATA_IND (0x7200)
805 #define MAC_READY_IND (0x7201)
806 #define MAC_POLL_REQ (0x3201)
807 #define MAC_PWR_CTRL_IND (0x7202)
808
809 /*
810 * calculated constants
811 */
812 #define MAX_PRIMITIVE_ID_MAC (0x2) /* highest value for prim identifier */
813 #define MAX_PSTRUCT_LEN_MAC (0x48) /* max length of data part in primitive */
814 #define CCDSAP_MAC (0x32)
815 /*
816 * Constants for the Service access point mdl
817 */
818 #define MDL_ERROR_IND (0x80000004)
819 #define MDL_RELEASE_REQ (0x80004004)
820
821 /*
822 * calculated constants
823 */
824 #define MAX_PRIMITIVE_ID_MDL (0x0) /* highest value for prim identifier */
825 #define MAX_PSTRUCT_LEN_MDL (0x4) /* max length of data part in primitive */
826 #define CCDSAP_MDL (0x4)
827 /*
828 * Constants for the Service access point mmcm
829 */
830 #define MMCM_ESTABLISH_REQ (0x80000007)
831 #define MMCM_ESTABLISH_CNF (0x80004007)
832 #define MMCM_ESTABLISH_IND (0x80014007)
833 #define MMCM_DATA_REQ (0x80010007)
834 #define MMCM_DATA_IND (0x80024007)
835 #define MMCM_RELEASE_REQ (0x80020007)
836 #define MMCM_RELEASE_IND (0x80034007)
837 #define MMCM_ERROR_IND (0x80044007)
838 #define MMCM_REESTABLISH_REQ (0x80030007)
839 #define MMCM_REESTABLISH_CNF (0x80064007)
840 #define MMCM_PROMPT_IND (0x80074007)
841 #define MMCM_PROMPT_RES (0x80040007)
842 #define MMCM_PROMPT_REJ (0x80050007)
843 #define MMCM_SYNC_IND (0x80094007)
844
845 /*
846 * calculated constants
847 */
848 #define MAX_PRIMITIVE_ID_MMCM (0x9) /* highest value for prim identifier */
849 #define MAX_PSTRUCT_LEN_MMCM (0x8) /* max length of data part in primitive */
850 #define CCDSAP_MMCM (0x7)
851 /*
852 * Constants for the Service access point mmgmm
853 */
854 #define MMGMM_REG_REQ (0x2e00)
855 #define MMGMM_REG_CNF (0x6e00)
856 #define MMGMM_REG_REJ (0x6e01)
857 #define MMGMM_NREG_IND (0x6e02)
858 #define MMGMM_NREG_REQ (0x2e01)
859 #define MMGMM_NREG_CNF (0x6e03)
860 #define MMGMM_NET_REQ (0x2e02)
861 #define MMGMM_PLMN_IND (0x6e04)
862 #define MMGMM_PLMN_RES (0x2e03)
863 #define MMGMM_PLMN_MODE_REQ (0x2e04)
864 #define MMGMM_AUTH_REJ_REQ (0x2e05)
865 #define MMGMM_AUTH_REJ_IND (0x6e05)
866 #define MMGMM_CM_ESTABLISH_IND (0x6e06)
867 #define MMGMM_CM_ESTABLISH_RES (0x2e06)
868 #define MMGMM_CM_RELEASE_IND (0x6e07)
869 #define MMGMM_ACTIVATE_IND (0x6e08)
870 #define MMGMM_ATTACH_STARTED_REQ (0x2e07)
871 #define MMGMM_ATTACH_ACC_REQ (0x2e08)
872 #define MMGMM_ATTACH_REJ_REQ (0x2e09)
873 #define MMGMM_DETACH_STARTED_REQ (0x2e0a)
874 #define MMGMM_START_T3212_REQ (0x2e0b)
875 #define MMGMM_T3212_VAL_IND (0x6e09)
876 #define MMGMM_INFO_IND (0x6e0a)
877 #define MMGMM_CM_EMERGENCY_IND (0x6e0b)
878 #define MMGMM_CM_EMERGENCY_RES (0x2e0c)
879 #define MMGMM_LUP_ACCEPT_IND (0x6e0c)
880 #define MMGMM_LUP_NEEDED_IND (0x6e0d)
881 #define MMGMM_CIPHERING_IND (0x6e0e)
882 #define MMGMM_ALLOWED_REQ (0x2e0d)
883 #define MMGMM_TMSI_IND (0x6e0f)
884 #define MMGMM_TRIGGER_REQ (0x2e0e)
885 #define MMGMM_AHPLMN_IND (0x6e10)
886
887 /*
888 * calculated constants
889 */
890 #define MAX_PRIMITIVE_ID_MMGMM (0x10) /* highest value for prim identifier */
891 #define MAX_PSTRUCT_LEN_MMGMM (0xa0) /* max length of data part in primitive */
892 #define CCDSAP_MMGMM (0x2e)
893 /*
894 * Constants for the Service access point mmi
895 */
896 #define MMI_KEYPAD_IND (0x4e00)
897 #define MMI_AUDIO_INPUT_REQ (0xe00)
898 #define MMI_AUDIO_OUTPUT_REQ (0xe01)
899 #define MMI_SPEECH_MODE_REQ (0xe02)
900 #define MMI_AUDIO_MUTE_REQ (0xe03)
901 #define MMI_AUDIO_TONE_REQ (0xe05)
902 #define MMI_BACKLIGHT_REQ (0xe06)
903 #define MMI_CBCH_REQ (0xe07)
904 #define MMI_CBCH_IND (0x4e01)
905 #define MMI_RXLEV_REQ (0xe08)
906 #define MMI_RXLEV_IND (0x4e02)
907 #define MMI_BATTERY_REQ (0xe09)
908 #define MMI_BATTERY_IND (0x4e03)
909 #define MMI_DISPLAY_REQ (0xe0a)
910 #define MMI_SAT_CBCH_DWNLD_REQ (0xe0b)
911 #define MMI_SAT_CBCH_DWNLD_IND (0x4e04)
912 #define MMI_BT_CB_NOTIFY_IND (0x4e05)
913 #define MMI_RPD_MSG (0x4e06)
914 #define MMI_GIL_IND (0x4e07)
915 #define MMI_TCH_VOCODER_CFG_REQ (0xe0c)
916 #define MMI_TCH_VOCODER_CFG_CON (0x4e08)
917 #define MMI_HEADSET_IND (0x4e0c)
918 #define MMI_CARKIT_IND (0x4e0d)
919
920 /*
921 * calculated constants
922 */
923 #define MAX_PRIMITIVE_ID_MMI (0xd) /* highest value for prim identifier */
924 #define MAX_PSTRUCT_LEN_MMI (0x7c) /* max length of data part in primitive */
925 #define CCDSAP_MMI (0xe)
926 /*
927 * Constants for the Service access point mmreg
928 */
929 #define MMR_REG_REQ (0x8000000a)
930 #define MMR_REG_CNF (0x8000400a)
931 #define MMR_NREG_IND (0x8001400a)
932 #define MMR_NREG_REQ (0x8001000a)
933 #define MMR_NREG_CNF (0x8002400a)
934 #define MMR_NET_REQ (0x8002000a)
935 #define MMR_PLMN_IND (0x8003400a)
936 #define MMR_PLMN_RES (0x8003000a)
937 #define MMR_PLMN_MODE_REQ (0x8004000a)
938 #define MMR_INFO_IND (0x8004400a)
939 #define MMR_CIPHERING_IND (0x8005400a)
940 #define MMR_AHPLMN_IND (0x8006400a)
941
942 /*
943 * calculated constants
944 */
945 #define MAX_PRIMITIVE_ID_MMREG (0x6) /* highest value for prim identifier */
946 #define MAX_PSTRUCT_LEN_MMREG (0x94) /* max length of data part in primitive */
947 #define CCDSAP_MMREG (0xa)
948 /*
949 * Constants for the Service access point mmsms
950 */
951 #define MMSMS_ESTABLISH_REQ (0x80000009)
952 #define MMSMS_RELEASE_REQ (0x80010009)
953 #define MMSMS_DATA_REQ (0x80020009)
954 #define MMSMS_DATA_IND (0x80004009)
955 #define MMSMS_ERROR_IND (0x80014009)
956 #define MMSMS_ESTABLISH_CNF (0x80024009)
957 #define MMSMS_ESTABLISH_IND (0x80034009)
958 #define MMSMS_RELEASE_IND (0x80044009)
959 #define MMSMS_UNITDATA_IND (0x80054009)
960
961 /*
962 * calculated constants
963 */
964 #define MAX_PRIMITIVE_ID_MMSMS (0x5) /* highest value for prim identifier */
965 #define MAX_PSTRUCT_LEN_MMSMS (0x4) /* max length of data part in primitive */
966 #define CCDSAP_MMSMS (0x9)
967 /*
968 * Constants for the Service access point mmss
969 */
970 #define MMSS_ESTABLISH_REQ (0x80000008)
971 #define MMSS_RELEASE_REQ (0x80010008)
972 #define MMSS_DATA_REQ (0x80020008)
973 #define MMSS_DATA_IND (0x80004008)
974 #define MMSS_ERROR_IND (0x80014008)
975 #define MMSS_ESTABLISH_CNF (0x80024008)
976 #define MMSS_ESTABLISH_IND (0x80034008)
977 #define MMSS_RELEASE_IND (0x80044008)
978
979 /*
980 * calculated constants
981 */
982 #define MAX_PRIMITIVE_ID_MMSS (0x4) /* highest value for prim identifier */
983 #define MAX_PSTRUCT_LEN_MMSS (0x4) /* max length of data part in primitive */
984 #define CCDSAP_MMSS (0x8)
985 /*
986 * Constants for the Service access point mncc
987 */
988 #define MNCC_ALERT_IND (0x8000400b)
989 #define MNCC_CALL_PROCEED_IND (0x8001400b)
990 #define MNCC_DISCONNECT_IND (0x8002400b)
991 #define MNCC_HOLD_CNF (0x8003400b)
992 #define MNCC_MODIFY_CNF (0x8004400b)
993 #define MNCC_MODIFY_IND (0x8005400b)
994 #define MNCC_NOTIFY_IND (0x8006400b)
995 #define MNCC_PROGRESS_IND (0x8007400b)
996 #define MNCC_REJECT_IND (0x8008400b)
997 #define MNCC_RELEASE_CNF (0x8009400b)
998 #define MNCC_RELEASE_IND (0x800a400b)
999 #define MNCC_RETRIEVE_CNF (0x800b400b)
1000 #define MNCC_SETUP_CNF (0x800c400b)
1001 #define MNCC_SETUP_COMPL_IND (0x800d400b)
1002 #define MNCC_SETUP_IND (0x800e400b)
1003 #define MNCC_START_DTMF_CNF (0x800f400b)
1004 #define MNCC_BEARER_CAP_CNF (0x8013400b)
1005 #define MNCC_SYNC_IND (0x8010400b)
1006 #define MNCC_USER_IND (0x8011400b)
1007 #define MNCC_FACILITY_IND (0x8012400b)
1008 #define MNCC_PROMPT_IND (0x8014400b)
1009 #define MNCC_RECALL_IND (0x8015400b)
1010 #define MNCC_STATUS_IND (0x8016400b)
1011 #define MNCC_SETUP_REQ (0x8000000b)
1012 #define MNCC_SETUP_RES (0x8001000b)
1013 #define MNCC_ALERT_REQ (0x8002000b)
1014 #define MNCC_DISCONNECT_REQ (0x8003000b)
1015 #define MNCC_RELEASE_REQ (0x8004000b)
1016 #define MNCC_MODIFY_REQ (0x8005000b)
1017 #define MNCC_CONFIGURE_REQ (0x8006000b)
1018 #define MNCC_NOTIFY_REQ (0x8007000b)
1019 #define MNCC_START_DTMF_REQ (0x8008000b)
1020 #define MNCC_HOLD_REQ (0x8009000b)
1021 #define MNCC_RETRIEVE_REQ (0x800a000b)
1022 #define MNCC_FACILITY_REQ (0x800b000b)
1023 #define MNCC_USER_REQ (0x800c000b)
1024 #define MNCC_BEARER_CAP_REQ (0x800d000b)
1025 #define MNCC_PROMPT_RES (0x800e000b)
1026 #define MNCC_PROMPT_REJ (0x800f000b)
1027 #define MNCC_REJECT_REQ (0x8010000b)
1028 #define MNCC_SYNC_REQ (0x8011000b)
1029 #define MNCC_STATUS_RES (0x8012000b)
1030
1031 /*
1032 * calculated constants
1033 */
1034 #define MAX_PRIMITIVE_ID_MNCC (0x16) /* highest value for prim identifier */
1035 #define MAX_PSTRUCT_LEN_MNCC (0x18c) /* max length of data part in primitive */
1036 #define CCDSAP_MNCC (0xb)
1037 /*
1038 * Constants for the Service access point mnlc
1039 */
1040 #define MNLC_SMS_MEAS_REQ (0x80000044)
1041 #define MNLC_SMS_MEAS_CNF (0x80004044)
1042
1043 /*
1044 * calculated constants
1045 */
1046 #define MAX_PRIMITIVE_ID_MNLC (0x0) /* highest value for prim identifier */
1047 #define MAX_PSTRUCT_LEN_MNLC (0x90) /* max length of data part in primitive */
1048 #define CCDSAP_MNLC (0x44)
1049 /*
1050 * Constants for the Service access point mnsms
1051 */
1052 #define MNSMS_MESSAGE_IND (0x8008400d)
1053 #define MNSMS_REPORT_IND (0x8006400d)
1054 #define MNSMS_STATUS_IND (0x8007400d)
1055 #define MNSMS_DELETE_REQ (0x8000000d)
1056 #define MNSMS_DELETE_CNF (0x8000400d)
1057 #define MNSMS_READ_REQ (0x8001000d)
1058 #define MNSMS_READ_CNF (0x8001400d)
1059 #define MNSMS_STORE_REQ (0x8002000d)
1060 #define MNSMS_STORE_CNF (0x8002400d)
1061 #define MNSMS_SUBMIT_REQ (0x8003000d)
1062 #define MNSMS_SUBMIT_CNF (0x8003400d)
1063 #define MNSMS_COMMAND_REQ (0x8004000d)
1064 #define MNSMS_COMMAND_CNF (0x8004400d)
1065 #define MNSMS_ACK_RES (0x8008000d)
1066 #define MNSMS_CONFIGURE_REQ (0x8005000d)
1067 #define MNSMS_ERROR_IND (0x8009400d)
1068 #define MNSMS_MO_SERV_REQ (0x800c000d)
1069 #define MNSMS_MO_SERV_CNF (0x800c400d)
1070 #define MNSMS_PAUSE_REQ (0x8006000d)
1071 #define MNSMS_RESUME_REQ (0x8007000d)
1072 #define MNSMS_RESUME_CNF (0x800a400d)
1073 #define MNSMS_QUERY_REQ (0x800b000d)
1074 #define MNSMS_QUERY_CNF (0x800b400d)
1075 #define MNSMS_OTA_MESSAGE_IND (0x800d400d)
1076 #define MNSMS_OTA_MESSAGE_RES (0x800d000d)
1077 // PRIM-FF: REL99
1078 // #define MNSMS_RETRANS_REQ (0x8009000d)
1079 // PRIM-FF: REL99
1080 // #define MNSMS_RETRANS_CNF (0x8005400d)
1081 // PRIM-FF: REL99
1082 // #define MNSMS_SEND_PROG_IND (0x800e400d)
1083
1084 /*
1085 * calculated constants
1086 */
1087 #define MAX_PRIMITIVE_ID_MNSMS (0xe) /* highest value for prim identifier */
1088 #define MAX_PSTRUCT_LEN_MNSMS (0xbc) /* max length of data part in primitive */
1089 #define CCDSAP_MNSMS (0xd)
1090 /*
1091 * Constants for the Service access point mnss
1092 */
1093 #define MNSS_BEGIN_REQ (0x8000000c)
1094 #define MNSS_FACILITY_REQ (0x8001000c)
1095 #define MNSS_END_REQ (0x8002000c)
1096 #define MNSS_BEGIN_IND (0x8000400c)
1097 #define MNSS_FACILITY_IND (0x8001400c)
1098 #define MNSS_END_IND (0x8002400c)
1099
1100 /*
1101 * calculated constants
1102 */
1103 #define MAX_PRIMITIVE_ID_MNSS (0x2) /* highest value for prim identifier */
1104 #define MAX_PSTRUCT_LEN_MNSS (0x110) /* max length of data part in primitive */
1105 #define CCDSAP_MNSS (0xc)
1106 /*
1107 * Constants for the Service access point mon
1108 */
1109 #define MON_CHAN_IDLE_IND (0xf00)
1110 #define MON_MEAS_IDLE_IND (0xf01)
1111 #define MON_COUNTER_IDLE_IND (0xf02)
1112 #define MON_CHAN_DEDI_IND (0xf03)
1113 #define MON_MEAS_DEDI_IND (0xf05)
1114 #define MON_COUNTER_DEDI_IND (0xf06)
1115 #define MON_COVERAGE_IND (0xf07)
1116
1117 /*
1118 * calculated constants
1119 */
1120 #define MAX_PRIMITIVE_ID_MON (0x7) /* highest value for prim identifier */
1121 #define MAX_PSTRUCT_LEN_MON (0xf8) /* max length of data part in primitive */
1122 #define CCDSAP_MON (0xf)
1123 /*
1124 * Constants for the Service access point mph
1125 */
1126 #define MPH_POWER_REQ (0x5715)
1127 #define MPH_POWER_CNF (0x1707)
1128 #define MPH_BSIC_REQ (0x5716)
1129 #define MPH_BSIC_CNF (0x1708)
1130 #define MPH_UNITDATA_IND (0x1709)
1131 #define MPH_RANDOM_ACCESS_REQ (0x5717)
1132 #define MPH_RANDOM_ACCESS_CNF (0x170a)
1133 #define MPH_IDLE_REQ (0x5703)
1134 #define MPH_MEASUREMENT_IND (0x1701)
1135 #define MPH_NEIGHBOURCELL_REQ (0x5704)
1136 #define MPH_DEDICATED_REQ (0x5706)
1137 #define MPH_DEDICATED_CNF (0x1702)
1138 #define MPH_DEDICATED_FAIL_REQ (0x5707)
1139 #define MPH_DEDICATED_FAIL_CNF (0x1703)
1140 #define MPH_CIPHERING_REQ (0x5708)
1141 #define MPH_FREQ_REDEF_REQ (0x5709)
1142 #define MPH_CHANNEL_MODE_REQ (0x570a)
1143 #define MPH_ERROR_IND (0x1704)
1144 #define MPH_DEACTIVATE_REQ (0x570b)
1145 #define MPH_CLASSMARK_REQ (0x570c)
1146 #define MPH_TCH_LOOP_REQ (0x5711)
1147 #define MPH_DAI_REQ (0x5712)
1148 #define MPH_CBCH_REQ (0x5713)
1149 #define MPH_IDENTITY_REQ (0x5714)
1150 #define MPH_PAGING_IND (0x1706)
1151 #define MPH_MON_CTRL_REQ (0x5718)
1152 #define MPH_SYNC_REQ (0x5719)
1153 #define MPH_SYNC_IND (0x170b)
1154 #define MPH_MEAS_ORDER_CNF (0x170c)
1155 #define MPH_EMO_REQ (0x5705)
1156 #define MPH_EMO_MEAS_IND (0x1705)
1157 #define MPH_EXT_MEAS_REQ (0x570d)
1158 #define MPH_EXT_MEAS_CNF (0x170d)
1159 #define MPH_NCELL_POS_REQ (0x570e)
1160 #define MPH_NCELL_POS_IND (0x170e)
1161 #define MPH_CLEAN_BUF_REQ (0x571a)
1162 #define MPH_STOP_DEDICATED_REQ (0x571b)
1163 #define MPH_STOP_DEDICATED_CNF (0x170f)
1164 #define MPH_MEAS_REP_REQ (0x571c)
1165 #define MPH_MEAS_REP_CNF (0x1710)
1166 // PRIM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
1167 // #define MPH_ENHPARA_UPDATE_REQ (0x571d)
1168 // PRIM-FF: TI_PS_FF_QUAD_BAND_SUPPORT
1169 // #define MPH_INIT_RR_IND (0x1711)
1170
1171 /*
1172 * calculated constants
1173 */
1174 #define MAX_PRIMITIVE_ID_MPH (0x1d) /* highest value for prim identifier */
1175 #define MAX_PSTRUCT_LEN_MPH (0x2ac) /* max length of data part in primitive */
1176 #define CCDSAP_MPH (0x17)
1177 /*
1178 * Constants for the Service access point mphc
1179 */
1180 #define MPHC_NETWORK_SYNC_REQ (0xf)
1181 #define MPHC_NETWORK_SYNC_IND (0x10)
1182 #define MPHC_STOP_NETWORK_SYNC_REQ (0x11)
1183 #define MPHC_STOP_NETWORK_SYNC_CON (0x12)
1184 #define MPHC_START_CCCH_REQ (0x15)
1185 #define MPHC_STOP_CCCH_REQ (0x16)
1186 #define MPHC_STOP_CCCH_CON (0x17)
1187 #define MPHC_SCELL_NBCCH_REQ (0x18)
1188 #define MPHC_SCELL_EBCCH_REQ (0x19)
1189 #define MPHC_STOP_SCELL_BCCH_REQ (0x1a)
1190 #define MPHC_STOP_SCELL_BCCH_CON (0x1b)
1191 #define MPHC_DATA_IND (0x32)
1192 #define MPHC_NCELL_SYNC_REQ (0x20)
1193 #define MPHC_NCELL_LIST_SYNC_REQ (0x7a)
1194 #define MPHC_NCELL_SYNC_IND (0x21)
1195 #define MPHC_STOP_NCELL_SYNC_REQ (0x22)
1196 #define MPHC_STOP_NCELL_SYNC_CON (0x23)
1197 #define MPHC_NCELL_BCCH_REQ (0x1c)
1198 #define MPHC_NCELL_BCCH_IND (0x1d)
1199 #define MPHC_STOP_NCELL_BCCH_REQ (0x1e)
1200 #define MPHC_STOP_NCELL_BCCH_CON (0x1f)
1201 #define MPHC_RXLEV_PERIODIC_REQ (0x24)
1202 #define MPHC_RXLEV_PERIODIC_IND (0x25)
1203 #define MPHC_STOP_RXLEV_PERIODIC_REQ (0x26)
1204 #define MPHC_STOP_RXLEV_PERIODIC_CON (0x27)
1205 #define MPHC_RXLEV_REQ (0xb)
1206 #define MPHC_RXLEV_IND (0xc)
1207 #define MPHC_STOP_RXLEV_REQ (0xd)
1208 #define MPHC_STOP_RXLEV_CON (0xe)
1209 #define MPHC_CONFIG_CBCH_REQ (0x28)
1210 #define MPHC_CBCH_SCHEDULE_REQ (0x29)
1211 #define MPHC_CBCH_INFO_REQ (0x2b)
1212 #define MPHC_CBCH_UPDATE_REQ (0x2a)
1213 #define MPHC_STOP_CBCH_REQ (0x2c)
1214 #define MPHC_STOP_CBCH_CON (0x2d)
1215 #define MPHC_NEW_SCELL_REQ (0x13)
1216 #define MPHC_NEW_SCELL_CON (0x14)
1217 #define MPHC_RA_REQ (0x2e)
1218 #define MPHC_RA_CON (0x2f)
1219 #define MPHC_STOP_RA_REQ (0x30)
1220 #define MPHC_STOP_RA_CON (0x31)
1221 #define MPHC_IMMED_ASSIGN_REQ (0x33)
1222 #define MPHC_IMMED_ASSIGN_CON (0x3f)
1223 #define MPHC_CHANNEL_ASSIGN_REQ (0x34)
1224 #define MPHC_CHANNEL_ASSIGN_CON (0x3c)
1225 #define MPHC_ASYNC_HO_REQ (0x35)
1226 #define MPHC_ASYNC_HO_CON (0x3b)
1227 #define MPHC_HANDOVER_FINISHED (0x44)
1228 #define MPHC_SYNC_HO_REQ (0x36)
1229 #define MPHC_SYNC_HO_CON (0x42)
1230 #define MPHC_TA_FAIL_IND (0x43)
1231 #define MPHC_PRE_SYNC_HO_REQ (0x37)
1232 #define MPHC_PRE_SYNC_HO_CON (0x40)
1233 #define MPHC_HANDOVER_FAIL_REQ (0x47)
1234 #define MPHC_HANDOVER_FAIL_CON (0x3e)
1235 #define MPHC_CHANGE_FREQUENCY (0x45)
1236 #define MPHC_CHANGE_FREQUENCY_CON (0x3a)
1237 #define MPHC_CHANNEL_MODE_MODIFY_REQ (0x46)
1238 #define MPHC_CHANNEL_MODE_MODIFY_CON (0x3d)
1239 #define MPHC_SET_CIPHERING_REQ (0x48)
1240 #define MPHC_SET_CIPHERING_CON (0x41)
1241 #define MPHC_MEAS_REPORT (0x49)
1242 #define MPHC_UPDATE_BA_LIST (0x4a)
1243 #define MPHC_STOP_DEDICATED_REQ (0x39)
1244 #define MPHC_NCELL_FB_SB_READ (0x4b)
1245 #define MPHC_NCELL_SB_READ (0x4c)
1246 #define OML1_CLOSE_TCH_LOOP_REQ (0x61)
1247 #define OML1_CLOSE_TCH_LOOP_CON (0x65)
1248 #define OML1_OPEN_TCH_LOOP_REQ (0x62)
1249 #define OML1_OPEN_TCH_LOOP_CON (0x66)
1250 #define OML1_START_DAI_TEST_REQ (0x63)
1251 #define OML1_START_DAI_TEST_CON (0x67)
1252 #define OML1_STOP_DAI_TEST_REQ (0x64)
1253 #define OML1_STOP_DAI_TEST_CON (0x68)
1254 #define TST_SLEEP_REQ (0x4)
1255 #define MPHC_ADC_IND (0x69)
1256 #define MPHC_INIT_L1_REQ (0x72)
1257 #define MPHC_INIT_L1_CON (0x73)
1258 #define MPHC_DEACTIVATE_REQ (0x6e)
1259 #define TST_TEST_HW_REQ (0x1)
1260 #define TST_TEST_HW_CON (0x2)
1261 #define PH_DATA_IND (0x6d)
1262 #define MPHC_STOP_DEDICATED_CON (0x80)
1263
1264 /*
1265 * calculated constants
1266 */
1267 #define MAX_PRIMITIVE_ID_MPHC (0x80) /* highest value for prim identifier */
1268 #define MAX_PSTRUCT_LEN_MPHC (0x17c) /* max length of data part in primitive */
1269 #define CCDSAP_MPHC (0x0)
1270 /*
1271 * Constants for the Service access point mphp
1272 */
1273 #define MPHP_SCELL_PBCCH_REQ (0x21c)
1274 #define MPHP_DATA_IND (0x228)
1275 #define MPHP_SCELL_PBCCH_STOP_REQ (0x21d)
1276 #define MPHP_SCELL_PBCCH_STOP_CON (0x21e)
1277 #define MPHP_START_PCCCH_REQ (0x219)
1278 #define MPHP_STOP_PCCCH_REQ (0x21a)
1279 #define MPHP_STOP_PCCCH_CON (0x21b)
1280 #define MPHP_CR_MEAS_REQ (0x21f)
1281 #define MPHP_CR_MEAS_IND (0x229)
1282 #define MPHP_CR_MEAS_STOP_REQ (0x220)
1283 #define MPHP_CR_MEAS_STOP_CON (0x221)
1284 #define MPHP_INT_MEAS_REQ (0x222)
1285 #define MPHP_INT_MEAS_IND (0x22a)
1286 #define MPHP_INT_MEAS_STOP_REQ (0x223)
1287 #define MPHP_INT_MEAS_STOP_CON (0x224)
1288 #define MPHP_NCELL_PBCCH_REQ (0x225)
1289 #define MPHP_NCELL_PBCCH_IND (0x22c)
1290 #define MPHP_NCELL_PBCCH_STOP_REQ (0x226)
1291 #define MPHP_NCELL_PBCCH_STOP_CON (0x227)
1292 #define MPHP_RA_REQ (0x212)
1293 #define MPHP_RA_CON (0x213)
1294 #define MPHP_RA_STOP_REQ (0x214)
1295 #define MPHP_RA_STOP_CON (0x215)
1296 #define MPHP_POLLING_RESPONSE_REQ (0x216)
1297 #define MPHP_POLLING_IND (0x217)
1298 #define MPHP_ASSIGNMENT_REQ (0x206)
1299 #define MPHP_ASSIGNMENT_CON (0x207)
1300 #define MPHP_REPEAT_UL_FIXED_ALLOC_REQ (0x20a)
1301 #define MPHP_REPEAT_UL_FIXED_ALLOC_CON (0x20b)
1302 #define MPHP_SINGLE_BLOCK_REQ (0x201)
1303 #define MPHP_SINGLE_BLOCK_CON (0x202)
1304 #define MPHP_STOP_SINGLE_BLOCK_REQ (0x203)
1305 #define MPHP_STOP_SINGLE_BLOCK_CON (0x204)
1306 #define MPHP_TBF_RELEASE_REQ (0x208)
1307 #define MPHP_TBF_RELEASE_CON (0x209)
1308 #define MPHP_PDCH_RELEASE_REQ (0x20c)
1309 #define MPHP_PDCH_RELEASE_CON (0x20d)
1310 #define MPHP_TIMING_ADVANCE_REQ (0x20e)
1311 #define MPHP_TIMING_ADVANCE_CON (0x20f)
1312 #define MPHP_UPDATE_PSI_PARAM_REQ (0x210)
1313 #define MPHP_UPDATE_PSI_PARAM_CON (0x211)
1314 #define MPHP_TCR_MEAS_REQ (0x22d)
1315 #define MPHP_TCR_MEAS_IND (0x22e)
1316 #define MPHP_TINT_MEAS_IND (0x22b)
1317
1318 /*
1319 * calculated constants
1320 */
1321 #define MAX_PRIMITIVE_ID_MPHP (0x2e) /* highest value for prim identifier */
1322 #define MAX_PSTRUCT_LEN_MPHP (0x144) /* max length of data part in primitive */
1323 #define CCDSAP_MPHP (0x2)
1324 /*
1325 * Constants for the Service access point ph
1326 */
1327 #define PH_READY_TO_SEND (0x4100)
1328 #define PH_DATA_REQ (0x100)
1329 #define PH_TRACE_IND (0x4102)
1330
1331 /*
1332 * calculated constants
1333 */
1334 #define MAX_PRIMITIVE_ID_PH (0x2) /* highest value for prim identifier */
1335 #define MAX_PSTRUCT_LEN_PH (0x4) /* max length of data part in primitive */
1336 #define CCDSAP_PH (0x1)
1337 /*
1338 * Constants for the Service access point pkt
1339 */
1340 #define PKT_CONNECT_IND (0x80004045)
1341 #define PKT_CONNECT_RES (0x80000045)
1342 #define PKT_CONNECT_REJ (0x80010045)
1343 #define PKT_DISCONNECT_IND (0x80014045)
1344 #define PKT_DTI_OPEN_REQ (0x80020045)
1345 #define PKT_DTI_OPEN_CNF (0x80024045)
1346 #define PKT_MODIFY_REQ (0x80030045)
1347 #define PKT_MODIFY_CNF (0x80034045)
1348 #define PKT_DTI_CLOSE_REQ (0x80040045)
1349 #define PKT_DTI_CLOSE_CNF (0x80044045)
1350 #define PKT_DTI_CLOSE_IND (0x80054045)
1351 #define PKT_SIG_CLEAR_IND (0x80050045)
1352 #define PKT_SIG_FLUSH_IND (0x80060045)
1353 #define PKT_SIG_READ_IND (0x80070045)
1354 #define PKT_SIG_WRITE_IND (0x80080045)
1355 #define PKT_SIG_CONNECT_IND (0x80090045)
1356 #define PKT_SIG_DISCONNECT_IND (0x800a0045)
1357 #define PKT_DIO_SIGNAL_IND (0x80200045)
1358 #define PKT_DIO_INIT_REQ (0x80204045)
1359 #define PKT_DIO_INIT_CNF (0x80210045)
1360 #define PKT_DIO_EXIT_REQ (0x80214045)
1361 #define PKT_DIO_READ_REQ (0x80224045)
1362 #define PKT_DIO_READ_CNF (0x80220045)
1363 #define PKT_DIO_GETDATA_REQ (0x80234045)
1364 #define PKT_DIO_GETDATA_CNF (0x80230045)
1365 #define PKT_DIO_WRITE_REQ (0x80244045)
1366 #define PKT_DIO_WRITE_CNF (0x80240045)
1367 #define PKT_DIO_GETBUFFER_REQ (0x80254045)
1368 #define PKT_DIO_GETBUFFER_CNF (0x80250045)
1369 #define PKT_DIO_CLEAR_REQ (0x80264045)
1370 #define PKT_DIO_CLEAR_CNF (0x80260045)
1371 #define PKT_DIO_FLUSH_REQ (0x80274045)
1372 #define PKT_DIO_FLUSH_CNF (0x80270045)
1373 #define PKT_DIO_SETSIGNAL_REQ (0x80284045)
1374 #define PKT_DIO_SETSIGNAL_CNF (0x80280045)
1375 #define PKT_DIO_RESETSIGNAL_REQ (0x80294045)
1376 #define PKT_DIO_RESETSIGNAL_CNF (0x80290045)
1377 #define PKT_DIO_GETCAP_REQ (0x802a4045)
1378 #define PKT_DIO_GETCAP_CNF (0x802a0045)
1379 #define PKT_DIO_SETCONFIG_REQ (0x802b4045)
1380 #define PKT_DIO_SETCONFIG_CNF (0x802b0045)
1381 #define PKT_DIO_GETCONFIG_REQ (0x802c4045)
1382 #define PKT_DIO_GETCONFIG_CNF (0x802c0045)
1383 #define PKT_DIO_CLOSEDEVICE_REQ (0x802d4045)
1384 #define PKT_DIO_CLOSEDEVICE_CNF (0x802d0045)
1385
1386 /*
1387 * calculated constants
1388 */
1389 #define MAX_PRIMITIVE_ID_PKT (0x2d) /* highest value for prim identifier */
1390 #define MAX_PSTRUCT_LEN_PKT (0x28) /* max length of data part in primitive */
1391 #define CCDSAP_PKT (0x45)
1392 /*
1393 * Constants for the Service access point ppp
1394 */
1395 #define PPP_ESTABLISH_REQ (0x7500)
1396 #define PPP_ESTABLISH_CNF (0x3500)
1397 #define PPP_TERMINATE_REQ (0x7501)
1398 #define PPP_TERMINATE_IND (0x3501)
1399 #define PPP_PDP_ACTIVATE_IND (0x3502)
1400 #define PPP_PDP_ACTIVATE_RES (0x7502)
1401 #define PPP_PDP_ACTIVATE_REJ (0x7503)
1402 #define PPP_MODIFICATION_REQ (0x7504)
1403 #define PPP_MODIFICATION_CNF (0x3503)
1404 #define PPP_DTI_CONNECTED_IND (0x3504)
1405 #define NEW_POWER_STATUS (0x7505)
1406
1407 /*
1408 * calculated constants
1409 */
1410 #define MAX_PRIMITIVE_ID_PPP (0x5) /* highest value for prim identifier */
1411 #define MAX_PSTRUCT_LEN_PPP (0x78) /* max length of data part in primitive */
1412 #define CCDSAP_PPP (0x35)
1413 /*
1414 * Constants for the Service access point psi
1415 */
1416 #define PSI_CONN_IND (0x8000401d)
1417 #define PSI_CONN_IND_TEST (0x8009401d)
1418 #define PSI_CONN_RES (0x8000001d)
1419 #define PSI_CONN_REJ (0x8001001d)
1420 #define PSI_DISCONN_IND (0x8001401d)
1421 #define PSI_CLOSE_REQ (0x8002001d)
1422 #define PSI_CLOSE_CNF (0x8008401d)
1423 #define PSI_DTI_OPEN_REQ (0x8003001d)
1424 #define PSI_DTI_CLOSE_REQ (0x8004001d)
1425 #define PSI_DTI_OPEN_CNF (0x8002401d)
1426 #define PSI_DTI_CLOSE_CNF (0x8003401d)
1427 #define PSI_DTI_CLOSE_IND (0x8004401d)
1428 #define PSI_SETCONF_CNF (0x8005401d)
1429 #define PSI_SETCONF_REQ (0x8005001d)
1430 #define PSI_SETCONF_REQ_TEST (0x800d001d)
1431 #define PSI_LINE_STATE_REQ (0x8006001d)
1432 #define PSI_LINE_STATE_CNF (0x8006401d)
1433 #define PSI_LINE_STATE_IND (0x8007401d)
1434 #define PSI_SIG_CLEAR_IND (0x8007001d)
1435 #define PSI_SIG_FLUSH_IND (0x8008001d)
1436 #define PSI_SIG_READ_IND (0x8009001d)
1437 #define PSI_SIG_WRITE_IND (0x800a001d)
1438 #define PSI_SIG_CONNECT_IND (0x800b001d)
1439 #define PSI_SIG_DISCONNECT_IND (0x800c001d)
1440 #define PSI_DIOSIM_INIT_REQ (0x8020401d)
1441 #define PSI_DIOSIM_INIT_CNF (0x8020001d)
1442 #define PSI_DIOSIM_GET_CAP_REQ (0x8021401d)
1443 #define PSI_DIOSIM_GET_CAP_SER_CNF (0x8021001d)
1444 #define PSI_DIOSIM_GET_CAP_PKT_CNF (0x802c001d)
1445 #define PSI_DIOSIM_SET_CONF_SER_REQ (0x8022401d)
1446 #define PSI_DIOSIM_SET_CONF_PKT_REQ (0x802c401d)
1447 #define PSI_DIOSIM_SET_CONF_CNF (0x8022001d)
1448 #define PSI_DIOSIM_GET_CONF_SER_REQ (0x8023401d)
1449 #define PSI_DIOSIM_GET_CONF_CNF (0x8023001d)
1450 #define PSI_DIOSIM_CLOSE_DEV_REQ (0x8024401d)
1451 #define PSI_DIOSIM_CLOSE_DEV_CNF (0x8024001d)
1452 #define PSI_DIOSIM_FLUSH_REQ (0x8025401d)
1453 #define PSI_DIOSIM_FLUSH_CNF (0x8025001d)
1454 #define PSI_DIOSIM_CLEAR_REQ (0x8026401d)
1455 #define PSI_DIOSIM_CLEAR_CNF (0x8026001d)
1456 #define PSI_DIOSIM_GET_TXB_REQ (0x8027401d)
1457 #define PSI_DIOSIM_GET_TXB_CNF (0x8027001d)
1458 #define PSI_DIOSIM_SET_RXB_REQ (0x8028401d)
1459 #define PSI_DIOSIM_SET_RXB_CNF (0x8028001d)
1460 #define PSI_DIOSIM_READ_REQ (0x8029401d)
1461 #define PSI_DIOSIM_READ_SER_CNF (0x8029001d)
1462 #define PSI_DIOSIM_READ_PKT_CNF (0x802d001d)
1463 #define PSI_DIOSIM_WRITE_SER_REQ (0x802a401d)
1464 #define PSI_DIOSIM_WRITE_PKT_REQ (0x802e401d)
1465 #define PSI_DIOSIM_WRITE_CNF (0x802a001d)
1466 #define PSI_DIOSIM_EXIT_REQ (0x802b401d)
1467 #define PSI_DIOSIM_SIGN_IND (0x802b001d)
1468
1469 /*
1470 * calculated constants
1471 */
1472 #define MAX_PRIMITIVE_ID_PSI (0x2e) /* highest value for prim identifier */
1473 #define MAX_PSTRUCT_LEN_PSI (0x34) /* max length of data part in primitive */
1474 #define CCDSAP_PSI (0x1d)
1475 /*
1476 * Constants for the Service access point ra
1477 */
1478 #define RA_ACTIVATE_REQ (0x80000010)
1479 #define RA_DEACTIVATE_REQ (0x80010010)
1480 #define RA_READY_IND (0x80004010)
1481 #define RA_DATA_REQ (0x80020010)
1482 #define RA_BREAK_REQ (0x80030010)
1483 #define RA_DATA_IND (0x80014010)
1484 #define RA_ACTIVATE_CNF (0x80024010)
1485 #define RA_DEACTIVATE_CNF (0x80034010)
1486 #define RA_BREAK_IND (0x80044010)
1487 #define RA_DETECT_REQ (0x80040010)
1488 #define RA_MODIFY_REQ (0x80050010)
1489 #define RA_MODIFY_CNF (0x80054010)
1490 #define RA_DATATRANS_REQ (0x80060010)
1491 #define SHM_TICK_REQ (0x80070010)
1492 #define SHM_DATA_REQ (0x80080010)
1493 #define SHM_READ_REQ (0x80090010)
1494 #define SHM_DATA_IND (0x80064010)
1495 #define SHM_BITSET_REQ (0x800a0010)
1496 #define SHM_BITTEST_REQ (0x800b0010)
1497 #define SHM_BITTEST_IND (0x80074010)
1498
1499 /*
1500 * calculated constants
1501 */
1502 #define MAX_PRIMITIVE_ID_RA (0xb) /* highest value for prim identifier */
1503 #define MAX_PSTRUCT_LEN_RA (0x8) /* max length of data part in primitive */
1504 #define CCDSAP_RA (0x10)
1505 /*
1506 * Constants for the Service access point bat
1507 */
1508
1509 /*
1510 * calculated constants
1511 */
1512 #define MAX_PRIMITIVE_ID_BAT (0x0) /* highest value for prim identifier */
1513 #define MAX_PSTRUCT_LEN_BAT (0x304) /* max length of data part in primitive */
1514 #define CCDSAP_BAT (0x0)
1515 /*
1516 * Constants for the Service access point rlp
1517 */
1518 #define RLP_ATTACH_REQ (0x80000011)
1519 #define RLP_DETACH_REQ (0x80010011)
1520 #define RLP_DETACH_CNF (0x80004011)
1521 #define RLP_CONNECT_REQ (0x80020011)
1522 #define RLP_CONNECT_IND (0x80014011)
1523 #define RLP_CONNECT_RES (0x80030011)
1524 #define RLP_CONNECT_CNF (0x80024011)
1525 #define RLP_DISC_REQ (0x80040011)
1526 #define RLP_DISC_IND (0x80034011)
1527 #define RLP_DISC_CNF (0x80044011)
1528 #define RLP_RESET_REQ (0x80050011)
1529 #define RLP_RESET_IND (0x80054011)
1530 #define RLP_RESET_RES (0x80060011)
1531 #define RLP_RESET_CNF (0x80064011)
1532 #define RLP_READY_IND (0x80074011)
1533 #define RLP_DATA_REQ (0x80070011)
1534 #define RLP_GETDATA_REQ (0x80080011)
1535 #define RLP_DATA_IND (0x80084011)
1536 #define RLP_UI_REQ (0x80090011)
1537 #define RLP_UI_IND (0x80094011)
1538 #define RLP_XID_IND (0x800a4011)
1539 #define RLP_ERROR_IND (0x800b4011)
1540 #define RLP_STATISTIC_IND (0x800c4011)
1541 #define RLP_REMAP_REQ (0x800a0011)
1542 #define RLP_REMAP_CNF (0x800d4011)
1543 #define RLP_REMAP_DATA_IND (0x800e4011)
1544 #define RLP_REMAP_DATA_RES (0x800b0011)
1545
1546 /*
1547 * calculated constants
1548 */
1549 #define MAX_PRIMITIVE_ID_RLP (0xe) /* highest value for prim identifier */
1550 #define MAX_PSTRUCT_LEN_RLP (0x14) /* max length of data part in primitive */
1551 #define CCDSAP_RLP (0x11)
1552 /*
1553 * Constants for the Service access point app
1554 */
1555 #define APP_BAT_TEST_RSLT (0x8000401e)
1556
1557 /*
1558 * calculated constants
1559 */
1560 #define MAX_PRIMITIVE_ID_APP (0x0) /* highest value for prim identifier */
1561 #define MAX_PSTRUCT_LEN_APP (0x8) /* max length of data part in primitive */
1562 #define CCDSAP_APP (0x1e)
1563 /*
1564 * Constants for the Service access point rr
1565 */
1566 #define RR_ABORT_REQ (0x80000006)
1567 #define RR_ABORT_IND (0x80004006)
1568 #define RR_ACTIVATE_REQ (0x80010006)
1569 #define RR_ACTIVATE_CNF (0x80014006)
1570 #define RR_ACTIVATE_IND (0x80024006)
1571 #define RR_DATA_REQ (0x80020006)
1572 #define RR_DATA_IND (0x80034006)
1573 #define RR_DEACTIVATE_REQ (0x80030006)
1574 #define RR_ESTABLISH_REQ (0x80040006)
1575 #define RR_ESTABLISH_CNF (0x80044006)
1576 #define RR_ESTABLISH_IND (0x80054006)
1577 #define RR_RELEASE_IND (0x80074006)
1578 #define RR_SYNC_REQ (0x80050006)
1579 #define RR_SYNC_IND (0x80084006)
1580 // PRIM-FF: REL99
1581 // #define RR_RRLP_START_IND (0x80094006)
1582 // PRIM-FF: REL99
1583 // #define RR_RRLP_STOP_IND (0x800a4006)
1584 #define RR_SYNC_HPLMN_REQ (0x80060006)
1585
1586 /*
1587 * calculated constants
1588 */
1589 #define MAX_PRIMITIVE_ID_RR (0xa) /* highest value for prim identifier */
1590 #define MAX_PSTRUCT_LEN_RR (0x94) /* max length of data part in primitive */
1591 #define CCDSAP_RR (0x6)
1592 /*
1593 * Constants for the Service access point rrgrr
1594 */
1595 #define RRGRR_GPRS_SI13_IND (0x6d00)
1596 #define RRGRR_PACKET_PAGING_IND (0x6d02)
1597 #define RRGRR_CHANNEL_REQ (0x2d00)
1598 #define RRGRR_IA_IND (0x6d03)
1599 #define RRGRR_IAEXT_IND (0x6d04)
1600 #define RRGRR_ASSIGNMENT_REJ_IND (0x6d05)
1601 #define RRGRR_DATA_IND (0x6d06)
1602 #define RRGRR_DATA_REQ (0x2d02)
1603 #define RRGRR_IA_DOWNLINK_IND (0x6d08)
1604 #define RRGRR_START_MON_CCCH_REQ (0x2d03)
1605 #define RRGRR_STOP_MON_CCCH_REQ (0x2d04)
1606 #define RRGRR_CR_REQ (0x2d05)
1607 #define RRGRR_START_MON_BCCH_REQ (0x2d06)
1608 #define RRGRR_RR_EST_REQ (0x2d07)
1609 #define RRGRR_RR_EST_RSP (0x2d08)
1610 #define RRGRR_RR_EST_IND (0x6d0d)
1611 #define RRGRR_ACTIVATE_REQ (0x2d0a)
1612 #define RRGRR_GPRS_DATA_REQ (0x2d0c)
1613 #define RRGRR_SUSPEND_DCCH_REQ (0x2d0d)
1614 #define RRGRR_SUSPEND_DCCH_CNF (0x6d10)
1615 #define RRGRR_RECONNECT_DCCH_REQ (0x2d0e)
1616 #define RRGRR_RECONNECT_DCCH_CNF (0x6d11)
1617 #define RRGRR_RESUMED_TBF_REQ (0x2d01)
1618 #define RRGRR_RESUMED_TBF_CNF (0x6d07)
1619 #define RRGRR_STOP_DCCH_IND (0x6d12)
1620 #define RRGRR_CR_IND (0x6d13)
1621 #define RRGRR_NCELL_SYNC_REQ (0x2d0f)
1622 #define RRGRR_NCELL_SYNC_IND (0x6d15)
1623 #define RRGRR_SYNC_REQ (0x2d10)
1624 #define RRGRR_SYNC_IND (0x6d16)
1625 #define RRGRR_UPDATE_BA_REQ (0x2d12)
1626 #define RRGRR_MEAS_REP_REQ (0x2d13)
1627 #define RRGRR_MEAS_REP_CNF (0x6d17)
1628 #define RRGRR_TBF_ESTABLISHED_REQ (0x2d14)
1629 #define RRGRR_CR_RSP (0x2d15)
1630 #define RRGRR_MS_ID_IND (0x6d19)
1631 #define RRGRR_EXT_MEAS_REQ (0x2d16)
1632 #define RRGRR_EXT_MEAS_CNF (0x6d0a)
1633 #define RRGRR_EXT_MEAS_STOP_REQ (0x2d17)
1634 #define RRGRR_STOP_TASK_REQ (0x2d18)
1635 #define RRGRR_STOP_TASK_CNF (0x6d09)
1636 #define RRGRR_START_TASK_REQ (0x2d19)
1637 #define RRGRR_START_TASK_CNF (0x6d1a)
1638 #define RRGRR_STANDBY_STATE_IND (0x2d1a)
1639 #define RRGRR_READY_STATE_IND (0x2d1b)
1640 // PRIM-FF: REL99
1641 // #define RRGRR_CBCH_INFO_IND (0x2d1c)
1642 // PRIM-FF: REL99 AND TI_PS_FF_EMR
1643 // #define RRGRR_SI2QUATER_IND (0x6d1b)
1644
1645 /*
1646 * calculated constants
1647 */
1648 #define MAX_PRIMITIVE_ID_RRGRR (0x1c) /* highest value for prim identifier */
1649 #define MAX_PSTRUCT_LEN_RRGRR (0x304) /* max length of data part in primitive */
1650 #define CCDSAP_RRGRR (0x2d)
1651 /*
1652 * Constants for the Service access point rrlc
1653 */
1654 #define RRLC_MEAS_REQ (0x80000040)
1655 #define RRLC_MEAS_IND (0x80004040)
1656 #define RRLC_ERROR_IND (0x80014040)
1657
1658 /*
1659 * calculated constants
1660 */
1661 #define MAX_PRIMITIVE_ID_RRLC (0x1) /* highest value for prim identifier */
1662 #define MAX_PSTRUCT_LEN_RRLC (0x2b8) /* max length of data part in primitive */
1663 #define CCDSAP_RRLC (0x40)
1664 /*
1665 * Constants for the Service access point rrlp
1666 */
1667 #define RRLP_POS_IND (0x80004042)
1668 #define RRLP_POS_RES (0x80000042)
1669 #define RRLP_ERROR_REQ (0x80010042)
1670
1671 /*
1672 * calculated constants
1673 */
1674 #define MAX_PRIMITIVE_ID_RRLP (0x1) /* highest value for prim identifier */
1675 #define MAX_PSTRUCT_LEN_RRLP (0x324) /* max length of data part in primitive */
1676 #define CCDSAP_RRLP (0x42)
1677 /*
1678 * Constants for the Service access point rrrrlp
1679 */
1680 #define RRRRLP_DATA_IND (0x80004041)
1681 #define RRRRLP_DATA_REQ (0x80000041)
1682 #define RRRRLP_DATA_CNF (0x80014041)
1683 #define RRRRLP_ERROR_IND (0x80024041)
1684
1685 /*
1686 * calculated constants
1687 */
1688 #define MAX_PRIMITIVE_ID_RRRRLP (0x2) /* highest value for prim identifier */
1689 #define MAX_PSTRUCT_LEN_RRRRLP (0x4) /* max length of data part in primitive */
1690 #define CCDSAP_RRRRLP (0x41)
1691 /*
1692 * Constants for the Service access point sim
1693 */
1694 #define SIM_READ_REQ (0x80004005)
1695 #define SIM_READ_CNF (0x80000005)
1696 #define SIM_UPDATE_REQ (0x80014005)
1697 #define SIM_UPDATE_CNF (0x80010005)
1698 #define SIM_READ_RECORD_REQ (0x80024005)
1699 #define SIM_READ_RECORD_CNF (0x80020005)
1700 #define SIM_UPDATE_RECORD_REQ (0x80044005)
1701 #define SIM_UPDATE_RECORD_CNF (0x80040005)
1702 #define SIM_INCREMENT_REQ (0x80084005)
1703 #define SIM_INCREMENT_CNF (0x80080005)
1704 #define SIM_VERIFY_PIN_REQ (0x80094005)
1705 #define SIM_VERIFY_PIN_CNF (0x80090005)
1706 #define SIM_CHANGE_PIN_REQ (0x800a4005)
1707 #define SIM_CHANGE_PIN_CNF (0x800a0005)
1708 #define SIM_DISABLE_PIN_REQ (0x800b4005)
1709 #define SIM_DISABLE_PIN_CNF (0x800b0005)
1710 #define SIM_ENABLE_PIN_REQ (0x800c4005)
1711 #define SIM_ENABLE_PIN_CNF (0x800c0005)
1712 #define SIM_UNBLOCK_REQ (0x800d4005)
1713 #define SIM_UNBLOCK_CNF (0x800d0005)
1714 #define SIM_AUTHENTICATION_REQ (0x800e4005)
1715 #define SIM_AUTHENTICATION_CNF (0x800e0005)
1716 #define SIM_MMI_INSERT_IND (0x800f0005)
1717 #define SIM_MM_INSERT_IND (0x80100005)
1718 #define SIM_REMOVE_IND (0x80110005)
1719 #define SIM_MM_UPDATE_REQ (0x800f4005)
1720 #define SIM_SYNC_REQ (0x80104005)
1721 #define SIM_SYNC_CNF (0x80120005)
1722 #define SIM_ACTIVATE_REQ (0x80114005)
1723 #define SIM_ACTIVATE_CNF (0x80130005)
1724 #define SIM_SMS_INSERT_IND (0x80140005)
1725 #define SIM_TOOLKIT_REQ (0x80124005)
1726 #define SIM_TOOLKIT_RES (0x80134005)
1727 #define SIM_TOOLKIT_IND (0x80150005)
1728 #define SIM_TOOLKIT_CNF (0x80160005)
1729 #define SIM_ACTIVATE_IND (0x80170005)
1730 #define SIM_MM_INFO_IND (0x80180005)
1731 #define SIM_ACCESS_REQ (0x80144005)
1732 #define SIM_ACCESS_CNF (0x80190005)
1733 #define SIM_FILE_UPDATE_IND (0x801a0005)
1734 #define SIM_FILE_UPDATE_RES (0x80154005)
1735 #define SIM_GMM_INSERT_IND (0x801b0005)
1736 #define SIM_GMM_UPDATE_REQ (0x80164005)
1737 #define SIM_DTI_REQ (0x80174005)
1738 #define SIM_DTI_CNF (0x801c0005)
1739 #define SIM_BIP_REQ (0x80184005)
1740 #define SIM_BIP_CNF (0x801d0005)
1741 #define SIM_BIP_CONFIG_REQ (0x80194005)
1742 #define SIM_BIP_CONFIG_CNF (0x801e0005)
1743 #define SIM_DTI_BIP_IND (0x801f0005)
1744 #define SIM_EVENTLIST_REQ (0x801a4005)
1745 #define SIM_EVENTLIST_CNF (0x80200005)
1746 #define SIM_TEST_REQ (0x80210005)
1747 #define SIM_TEST_CNF (0x801b4005)
1748 #define SIM_REFRESH_USER_RES (0x80074005)
1749
1750 /*
1751 * calculated constants
1752 */
1753 #define MAX_PRIMITIVE_ID_SIM (0x21) /* highest value for prim identifier */
1754 #define MAX_PSTRUCT_LEN_SIM (0x304) /* max length of data part in primitive */
1755 #define CCDSAP_SIM (0x5)
1756 /*
1757 * Constants for the Service access point t30
1758 */
1759 #define T30_ACTIVATE_REQ (0x80000014)
1760 #define T30_CONFIG_REQ (0x80010014)
1761 #define T30_CAP_IND (0x80004014)
1762 #define T30_CAP_REQ (0x80020014)
1763 #define T30_DTI_REQ (0x80060014)
1764 #define T30_DTI_CNF (0x80094014)
1765 #define T30_DTI_IND (0x80084014)
1766 #define T30_PHASE_IND (0x800a4014)
1767 #define T30_SGN_IND (0x80014014)
1768 #define T30_SGN_REQ (0x80030014)
1769 #define T30_CMPL_IND (0x80024014)
1770 #define T30_REPORT_IND (0x80034014)
1771 #define T30_MODIFY_REQ (0x80040014)
1772 #define T30_ERROR_IND (0x80044014)
1773 #define T30_EOL_IND (0x800b4014)
1774 #define T30_DEACTIVATE_REQ (0x80050014)
1775 #define T30_DEACTIVATE_CNF (0x80054014)
1776 #define T30_ACTIVATE_CNF (0x80064014)
1777 #define T30_PREAMBLE_IND (0x80074014)
1778
1779 /*
1780 * calculated constants
1781 */
1782 #define MAX_PRIMITIVE_ID_T30 (0xb) /* highest value for prim identifier */
1783 #define MAX_PSTRUCT_LEN_T30 (0x22c) /* max length of data part in primitive */
1784 #define CCDSAP_T30 (0x14)
1785 /*
1786 * Constants for the Service access point tb
1787 */
1788 #define TB_MEAS_IND (0x1800)
1789 #define TB_RXLEV_SC_REQ (0x5800)
1790
1791 /*
1792 * calculated constants
1793 */
1794 #define MAX_PRIMITIVE_ID_TB (0x0) /* highest value for prim identifier */
1795 #define MAX_PSTRUCT_LEN_TB (0x108) /* max length of data part in primitive */
1796 #define CCDSAP_TB (0x18)
1797 /*
1798 * Constants for the Service access point tra
1799 */
1800 #define TRA_ACTIVATE_REQ (0x80000019)
1801 #define TRA_ACTIVATE_CNF (0x80004019)
1802 #define TRA_DEACTIVATE_REQ (0x80010019)
1803 #define TRA_DEACTIVATE_CNF (0x80014019)
1804 #define TRA_DTI_REQ (0x80020019)
1805 #define TRA_DTI_CNF (0x80024019)
1806 #define TRA_DTI_IND (0x80034019)
1807
1808 /*
1809 * calculated constants
1810 */
1811 #define MAX_PRIMITIVE_ID_TRA (0x3) /* highest value for prim identifier */
1812 #define MAX_PSTRUCT_LEN_TRA (0x10) /* max length of data part in primitive */
1813 #define CCDSAP_TRA (0x19)
1814 /*
1815 * Constants for the Service access point uart
1816 */
1817 #define UART_PARAMETERS_REQ (0x7400)
1818 #define UART_PARAMETERS_CNF (0x3400)
1819 #define UART_PARAMETERS_IND (0x3401)
1820 #define UART_DTI_REQ (0x7401)
1821 #define UART_DTI_CNF (0x3402)
1822 #define UART_DTI_IND (0x3403)
1823 #define UART_DISABLE_REQ (0x7402)
1824 #define UART_DISABLE_CNF (0x3404)
1825 #define UART_RING_REQ (0x7403)
1826 #define UART_RING_CNF (0x3405)
1827 #define UART_DCD_REQ (0x7404)
1828 #define UART_DCD_CNF (0x3406)
1829 #define UART_ESCAPE_REQ (0x7405)
1830 #define UART_ESCAPE_CNF (0x3407)
1831 #define UART_DETECTED_IND (0x3408)
1832 #define UART_ERROR_IND (0x3409)
1833 #define UART_MUX_START_REQ (0x7406)
1834 #define UART_MUX_START_CNF (0x340a)
1835 #define UART_MUX_DLC_ESTABLISH_IND (0x340b)
1836 #define UART_MUX_DLC_ESTABLISH_RES (0x7407)
1837 #define UART_MUX_DLC_RELEASE_REQ (0x7408)
1838 #define UART_MUX_DLC_RELEASE_IND (0x340c)
1839 #define UART_MUX_SLEEP_REQ (0x7409)
1840 #define UART_MUX_SLEEP_IND (0x340d)
1841 #define UART_MUX_WAKEUP_REQ (0x740a)
1842 #define UART_MUX_WAKEUP_IND (0x340e)
1843 #define UART_MUX_CLOSE_REQ (0x740b)
1844 #define UART_MUX_CLOSE_IND (0x340f)
1845 #define UART_DRIVER_SENT_IND (0x740c)
1846 #define UART_DRIVER_RECEIVED_IND (0x740d)
1847 #define UART_DRIVER_FLUSHED_IND (0x740e)
1848 #define UART_DRIVER_CONNECT_IND (0x740f)
1849 #define UART_DRIVER_DISCONNECT_IND (0x7410)
1850 #define UART_DRIVER_CLEAR_IND (0x7411)
1851
1852 /*
1853 * calculated constants
1854 */
1855 #define MAX_PRIMITIVE_ID_UART (0x11) /* highest value for prim identifier */
1856 #define MAX_PSTRUCT_LEN_UART (0x14) /* max length of data part in primitive */
1857 #define CCDSAP_UART (0x34)
1858 /*
1859 * Constants for the Service access point udp
1860 */
1861 #define UDP_BIND_REQ (0x80000046)
1862 #define UDP_BIND_CNF (0x80004046)
1863 #define UDP_CLOSEPORT_REQ (0x80010046)
1864 #define UDP_CLOSEPORT_CNF (0x80014046)
1865 #define UDP_ERROR_IND (0x80024046)
1866 #define UDP_ERROR_RES (0x80020046)
1867 #define UDP_SHUTDOWN_IND (0x80034046)
1868 #define UDP_SHUTDOWN_RES (0x80030046)
1869
1870 /*
1871 * calculated constants
1872 */
1873 #define MAX_PRIMITIVE_ID_UDP (0x3) /* highest value for prim identifier */
1874 #define MAX_PSTRUCT_LEN_UDP (0x10) /* max length of data part in primitive */
1875 #define CCDSAP_UDP (0x46)
1876 /*
1877 * Constants for the Service access point udpa
1878 */
1879 #define UDPA_DTI_REQ (0x8000003b)
1880 #define UDPA_DTI_CNF (0x8000403b)
1881 #define UDPA_DTI_IND (0x8001403b)
1882 #define UDPA_CONFIG_REQ (0x8001003b)
1883 #define UDPA_CONFIG_CNF (0x8002403b)
1884
1885 /*
1886 * calculated constants
1887 */
1888 #define MAX_PRIMITIVE_ID_UDPA (0x2) /* highest value for prim identifier */
1889 #define MAX_PSTRUCT_LEN_UDPA (0x10) /* max length of data part in primitive */
1890 #define CCDSAP_UDPA (0x3b)
1891
1892 /*
1893 * global constants
1894 */
1895 #undef CCD_SYMBOLS
1896
1897 #define MAX_SAP_NUM (0x9e) /* number of service access points */
1898 #define MAX_PRIMITIVE_ID (0xff) /* maximum of all used prim opcodes */
1899 #define MAX_PSTRUCT_LEN (0x934) /* max size of all primitive structures */
1900 #define MAX_PMTX_SIZE (0x77da) /* max size of pmtx.cdg table */
1901
1902 #endif