FreeCalypso > hg > fc-tourmaline
comparison cdg-hybrid/cdginc/p_8010_135_sn_sap.h @ 14:35f7a1dc9f7d
cdg-hybrid: import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 07:15:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:83146a4ae927 | 14:35f7a1dc9f7d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_8010_135_sn_sap.h | | |
5 | SOURCE : "sap\8010_135_sn_sap.pdf" | | |
6 | LastModified : "2004-06-08" | | |
7 | IdAndVersion : "8010.135.04.012" | | |
8 | SrcFileTime : "Thu Nov 29 09:27:14 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : SN | |
16 * COMPATIBILITY_DEFINES : NO | |
17 * ALWAYS_ENUM_IN_VAL_FILE: YES | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_8010_135_SN_SAP_H | |
24 #define P_8010_135_SN_SAP_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_8010_135_SN_SAP_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_8010_135_SN_SAP_H | |
30 #define CDG_ENTER__P_8010_135_SN_SAP_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_8010_135_SN_SAP_H__LAST_MODIFIED _2004_06_08 | |
32 #define CDG_ENTER__P_8010_135_SN_SAP_H__ID_AND_VERSION _8010_135_04_012 | |
33 | |
34 #define CDG_ENTER__P_8010_135_SN_SAP_H__SRC_FILE_TIME _Thu_Nov_29_09_27_14_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_8010_135_SN_SAP_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_8010_135_sn_sap.val" | |
44 | |
45 #include "p_8010_137_nas_include.h" | |
46 | |
47 #include "p_8010_152_ps_include.h" | |
48 | |
49 #include "p_8010_153_cause_include.h" | |
50 | |
51 | |
52 /* | |
53 * typedef between var and valtab enums | |
54 */ | |
55 #ifndef __T_SN_establish__ | |
56 #define __T_SN_establish__ | |
57 typedef T_SN_VAL_establish T_SN_establish; | |
58 #endif | |
59 | |
60 #ifndef __T_SN_desc_list2__ | |
61 #define __T_SN_desc_list2__ | |
62 /* | |
63 * DTI parameters | |
64 * CCDGEN:WriteStruct_Count==1265 | |
65 */ | |
66 typedef struct | |
67 { | |
68 U16 list_len; /*< 0: 2> Octet count of data in all descriptors */ | |
69 U8 _align0; /*< 2: 1> alignment */ | |
70 U8 _align1; /*< 3: 1> alignment */ | |
71 U32 first; /*< 4: 4> Pointer to first descriptor in list */ | |
72 } T_SN_desc_list2; | |
73 #endif | |
74 | |
75 #ifndef __T_SN_ul_pdus__ | |
76 #define __T_SN_ul_pdus__ | |
77 /* | |
78 * Sequence number and descriptor list handles pr. NSAPI | |
79 * CCDGEN:WriteStruct_Count==1266 | |
80 */ | |
81 typedef struct | |
82 { | |
83 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
84 U8 dl_sequence_number; /*< 1: 1> Sequence number of last unacknowledged downlink PDU (used by the network) */ | |
85 U8 _align0; /*< 2: 1> alignment */ | |
86 U8 c_desc_list2; /*< 3: 1> counter */ | |
87 T_SN_desc_list2 *ptr_desc_list2; /*< 4: 4> pointer to DTI parameters */ | |
88 } T_SN_ul_pdus; | |
89 #endif | |
90 | |
91 #ifndef __T_SN_receive_no_list__ | |
92 #define __T_SN_receive_no_list__ | |
93 /* | |
94 * Ssequence numbers and MEM handles pr. NSAPI | |
95 * CCDGEN:WriteStruct_Count==1267 | |
96 */ | |
97 typedef struct | |
98 { | |
99 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
100 U8 receive_no; /*< 1: 1> Receive NPDU number */ | |
101 U8 _align0; /*< 2: 1> alignment */ | |
102 U8 _align1; /*< 3: 1> alignment */ | |
103 } T_SN_receive_no_list; | |
104 #endif | |
105 | |
106 | |
107 /* | |
108 * End of substructure section, begin of primitive definition section | |
109 */ | |
110 | |
111 #ifndef __T_SN_ACTIVATE_CNF__ | |
112 #define __T_SN_ACTIVATE_CNF__ | |
113 /* | |
114 * | |
115 * CCDGEN:WriteStruct_Count==1268 | |
116 */ | |
117 typedef struct | |
118 { | |
119 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
120 U8 _align0; /*< 1: 1> alignment */ | |
121 U8 _align1; /*< 2: 1> alignment */ | |
122 U8 _align2; /*< 3: 1> alignment */ | |
123 T_NAS_comp_params comp_params; /*< 4: 4> Header compression parameters (type defined in "p_8010_137_nas_include.h") */ | |
124 } T_SN_ACTIVATE_CNF; | |
125 #endif | |
126 | |
127 #ifndef __T_SN_ACTIVATE_REQ__ | |
128 #define __T_SN_ACTIVATE_REQ__ | |
129 /* | |
130 * | |
131 * CCDGEN:WriteStruct_Count==1269 | |
132 */ | |
133 typedef struct | |
134 { | |
135 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
136 U8 sapi; /*< 1: 1> T_PS_sapi, Service Access Point Identifier */ | |
137 U8 radio_prio; /*< 2: 1> T_PS_radio_prio, Radio priority */ | |
138 U8 _align0; /*< 3: 1> alignment */ | |
139 T_PS_qos_r97 snsm_qos; /*< 4: 8> quality of service R97 (type defined in "p_8010_152_ps_include.h") */ | |
140 U8 establish; /*< 12: 1> T_SN_establish, */ | |
141 U8 _align1; /*< 13: 1> alignment */ | |
142 U8 _align2; /*< 14: 1> alignment */ | |
143 U8 _align3; /*< 15: 1> alignment */ | |
144 T_NAS_comp_params comp_params; /*< 16: 4> Header compression parameters (type defined in "p_8010_137_nas_include.h") */ | |
145 U16 pkt_flow_id; /*< 20: 2> T_PS_pkt_flow_id, packet flow identifier */ | |
146 U8 _align4; /*< 22: 1> alignment */ | |
147 U8 _align5; /*< 23: 1> alignment */ | |
148 } T_SN_ACTIVATE_REQ; | |
149 #endif | |
150 | |
151 #ifndef __T_SN_DEACTIVATE_CNF__ | |
152 #define __T_SN_DEACTIVATE_CNF__ | |
153 /* | |
154 * | |
155 * CCDGEN:WriteStruct_Count==1270 | |
156 */ | |
157 typedef struct | |
158 { | |
159 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
160 U8 _align0; /*< 1: 1> alignment */ | |
161 U8 _align1; /*< 2: 1> alignment */ | |
162 U8 _align2; /*< 3: 1> alignment */ | |
163 } T_SN_DEACTIVATE_CNF; | |
164 #endif | |
165 | |
166 #ifndef __T_SN_DEACTIVATE_REQ__ | |
167 #define __T_SN_DEACTIVATE_REQ__ | |
168 /* | |
169 * | |
170 * CCDGEN:WriteStruct_Count==1271 | |
171 */ | |
172 typedef struct | |
173 { | |
174 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
175 U8 rel_ind; /*< 1: 1> T_PS_rel_ind, Local Release Indicator */ | |
176 U8 _align0; /*< 2: 1> alignment */ | |
177 U8 _align1; /*< 3: 1> alignment */ | |
178 } T_SN_DEACTIVATE_REQ; | |
179 #endif | |
180 | |
181 #ifndef __T_SN_GET_PENDING_PDU_CNF__ | |
182 #define __T_SN_GET_PENDING_PDU_CNF__ | |
183 /* | |
184 * | |
185 * CCDGEN:WriteStruct_Count==1272 | |
186 */ | |
187 typedef struct | |
188 { | |
189 U8 _align0; /*< 0: 1> alignment */ | |
190 U8 _align1; /*< 1: 1> alignment */ | |
191 U8 _align2; /*< 2: 1> alignment */ | |
192 U8 c_ul_pdus; /*< 3: 1> counter */ | |
193 T_SN_ul_pdus ul_pdus[NAS_SIZE_NSAPI]; /*< 4:128> Sequence number and descriptor list handles pr. NSAPI */ | |
194 } T_SN_GET_PENDING_PDU_CNF; | |
195 #endif | |
196 | |
197 #ifndef __T_SN_GET_PENDING_PDU_REQ__ | |
198 #define __T_SN_GET_PENDING_PDU_REQ__ | |
199 /* | |
200 * | |
201 * CCDGEN:WriteStruct_Count==1273 | |
202 */ | |
203 typedef struct | |
204 { | |
205 U8 dummy; /*< 0: 1> no parameters */ | |
206 } T_SN_GET_PENDING_PDU_REQ; | |
207 #endif | |
208 | |
209 #ifndef __T_SN_MODIFY_CNF__ | |
210 #define __T_SN_MODIFY_CNF__ | |
211 /* | |
212 * | |
213 * CCDGEN:WriteStruct_Count==1274 | |
214 */ | |
215 typedef struct | |
216 { | |
217 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
218 U8 _align0; /*< 1: 1> alignment */ | |
219 U8 _align1; /*< 2: 1> alignment */ | |
220 U8 _align2; /*< 3: 1> alignment */ | |
221 } T_SN_MODIFY_CNF; | |
222 #endif | |
223 | |
224 #ifndef __T_SN_MODIFY_REQ__ | |
225 #define __T_SN_MODIFY_REQ__ | |
226 /* | |
227 * | |
228 * CCDGEN:WriteStruct_Count==1275 | |
229 */ | |
230 typedef struct | |
231 { | |
232 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
233 U8 sapi; /*< 1: 1> T_PS_sapi, Service Access Point Identifier */ | |
234 U8 radio_prio; /*< 2: 1> T_PS_radio_prio, Radio priority */ | |
235 U8 _align0; /*< 3: 1> alignment */ | |
236 T_PS_qos_r97 snsm_qos; /*< 4: 8> quality of service R97 (type defined in "p_8010_152_ps_include.h") */ | |
237 U16 pkt_flow_id; /*< 12: 2> T_PS_pkt_flow_id, packet flow identifier */ | |
238 U8 _align1; /*< 14: 1> alignment */ | |
239 U8 _align2; /*< 15: 1> alignment */ | |
240 } T_SN_MODIFY_REQ; | |
241 #endif | |
242 | |
243 #ifndef __T_SN_STATUS_IND__ | |
244 #define __T_SN_STATUS_IND__ | |
245 /* | |
246 * | |
247 * CCDGEN:WriteStruct_Count==1276 | |
248 */ | |
249 typedef struct | |
250 { | |
251 U16 nsapi_set; /*< 0: 2> set of network layer service access point identifiers */ | |
252 U8 sapi; /*< 2: 1> T_PS_sapi, Service Access Point Identifier */ | |
253 U8 _align0; /*< 3: 1> alignment */ | |
254 T_CAUSE_ps_cause ps_cause; /*< 4: 4> Cause element containing result of operation (type defined in "p_8010_153_cause_include.h") */ | |
255 } T_SN_STATUS_IND; | |
256 #endif | |
257 | |
258 #ifndef __T_SN_SEQUENCE_REQ__ | |
259 #define __T_SN_SEQUENCE_REQ__ | |
260 /* | |
261 * | |
262 * CCDGEN:WriteStruct_Count==1277 | |
263 */ | |
264 typedef struct | |
265 { | |
266 U8 _align0; /*< 0: 1> alignment */ | |
267 U8 _align1; /*< 1: 1> alignment */ | |
268 U8 _align2; /*< 2: 1> alignment */ | |
269 U8 c_receive_no_list; /*< 3: 1> counter */ | |
270 T_SN_receive_no_list receive_no_list[NAS_SIZE_NSAPI]; /*< 4: 64> Ssequence numbers and MEM handles pr. NSAPI */ | |
271 } T_SN_SEQUENCE_REQ; | |
272 #endif | |
273 | |
274 #ifndef __T_SN_SEQUENCE_CNF__ | |
275 #define __T_SN_SEQUENCE_CNF__ | |
276 /* | |
277 * | |
278 * CCDGEN:WriteStruct_Count==1278 | |
279 */ | |
280 typedef struct | |
281 { | |
282 U8 _align0; /*< 0: 1> alignment */ | |
283 U8 _align1; /*< 1: 1> alignment */ | |
284 U8 _align2; /*< 2: 1> alignment */ | |
285 U8 c_receive_no_list; /*< 3: 1> counter */ | |
286 T_SN_receive_no_list receive_no_list[NAS_SIZE_NSAPI]; /*< 4: 64> Ssequence numbers and MEM handles pr. NSAPI */ | |
287 } T_SN_SEQUENCE_CNF; | |
288 #endif | |
289 | |
290 #ifndef __T_SN_COUNT_REQ__ | |
291 #define __T_SN_COUNT_REQ__ | |
292 /* | |
293 * | |
294 * CCDGEN:WriteStruct_Count==1279 | |
295 */ | |
296 typedef struct | |
297 { | |
298 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
299 U8 reset; /*< 1: 1> T_NAS_reset, reset flag */ | |
300 U8 _align0; /*< 2: 1> alignment */ | |
301 U8 _align1; /*< 3: 1> alignment */ | |
302 } T_SN_COUNT_REQ; | |
303 #endif | |
304 | |
305 #ifndef __T_SN_COUNT_CNF__ | |
306 #define __T_SN_COUNT_CNF__ | |
307 /* | |
308 * | |
309 * CCDGEN:WriteStruct_Count==1280 | |
310 */ | |
311 typedef struct | |
312 { | |
313 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
314 U8 _align0; /*< 1: 1> alignment */ | |
315 U8 _align1; /*< 2: 1> alignment */ | |
316 U8 _align2; /*< 3: 1> alignment */ | |
317 U32 octets_uplink; /*< 4: 4> octets uplink */ | |
318 U32 octets_downlink; /*< 8: 4> octets downlink */ | |
319 U32 packets_uplink; /*< 12: 4> packets uplink */ | |
320 U32 packets_downlink; /*< 16: 4> packets downlink */ | |
321 } T_SN_COUNT_CNF; | |
322 #endif | |
323 | |
324 #ifndef __T_SN_DTI_REQ__ | |
325 #define __T_SN_DTI_REQ__ | |
326 /* | |
327 * | |
328 * CCDGEN:WriteStruct_Count==1281 | |
329 */ | |
330 typedef struct | |
331 { | |
332 U8 nsapi; /*< 0: 1> T_NAS_nsapi, network layer service access point identifier */ | |
333 U8 dti_conn; /*< 1: 1> T_NAS_dti_conn, DTI connect */ | |
334 U8 _align0; /*< 2: 1> alignment */ | |
335 U8 _align1; /*< 3: 1> alignment */ | |
336 U32 dti_linkid; /*< 4: 4> DTI link identifier */ | |
337 U32 dti_neighbor; /*< 8: 4> DTI neighbor entity name. */ | |
338 U8 dti_direction; /*< 12: 1> T_NAS_dti_direction, direction of DTI connection */ | |
339 U8 _align2; /*< 13: 1> alignment */ | |
340 U8 _align3; /*< 14: 1> alignment */ | |
341 U8 _align4; /*< 15: 1> alignment */ | |
342 } T_SN_DTI_REQ; | |
343 #endif | |
344 | |
345 #ifndef __T_SN_DTI_CNF__ | |
346 #define __T_SN_DTI_CNF__ | |
347 /* | |
348 * | |
349 * CCDGEN:WriteStruct_Count==1282 | |
350 */ | |
351 typedef struct | |
352 { | |
353 U32 dti_linkid; /*< 0: 4> DTI link identifier */ | |
354 U8 dti_conn; /*< 4: 1> T_NAS_dti_conn, DTI connect */ | |
355 U8 _align0; /*< 5: 1> alignment */ | |
356 U8 _align1; /*< 6: 1> alignment */ | |
357 U8 _align2; /*< 7: 1> alignment */ | |
358 } T_SN_DTI_CNF; | |
359 #endif | |
360 | |
361 | |
362 #include "CDG_LEAVE.h" | |
363 | |
364 | |
365 #endif |