comparison cdg3/cdginc-conservative/p_rrlc.h @ 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 : p_rrlc.h |
5 | SOURCE : "sap\rrlc.pdf" |
6 | LastModified : "2002-10-11" |
7 | IdAndVersion : "8443.101.02.008" |
8 | SrcFileTime : "Thu Nov 29 09:52:52 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 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_RRLC_H
24 #define P_RRLC_H
25
26
27 #define CDG_ENTER__P_RRLC_H
28
29 #define CDG_ENTER__FILENAME _P_RRLC_H
30 #define CDG_ENTER__P_RRLC_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_RRLC_H__LAST_MODIFIED _2002_10_11
32 #define CDG_ENTER__P_RRLC_H__ID_AND_VERSION _8443_101_02_008
33
34 #define CDG_ENTER__P_RRLC_H__SRC_FILE_TIME _Thu_Nov_29_09_52_52_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_RRLC_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_rrlc.val"
44
45 #ifndef __T_assist_data__
46 #define __T_assist_data__
47 /*
48 * Assistance Data
49 * CCDGEN:WriteStruct_Count==2988
50 */
51 typedef struct
52 {
53 U16 arfcn; /*< 0: 2> Channel number */
54 U8 bsic; /*< 2: 1> Base station ID code */
55 U8 mfrm_offset; /*< 3: 1> multiframe offset */
56 U8 otd_type; /*< 4: 1> OTD type */
57 U8 _align0; /*< 5: 1> alignment */
58 U16 exp_otd; /*< 6: 2> expectedOTD */
59 U8 uncertainty; /*< 8: 1> Uncertainty of expected OTD */
60 U8 _align1; /*< 9: 1> alignment */
61 U16 rough_rtd; /*< 10: 2> rough RTD */
62 } T_assist_data;
63 #endif
64
65 #ifndef __T_eotd_sc_res__
66 #define __T_eotd_sc_res__
67 /*
68 * EOTD SC Results at start of measurement
69 * CCDGEN:WriteStruct_Count==2989
70 */
71 typedef struct
72 {
73 U8 sb_flag; /*< 0: 1> data on SCH could be decoded, 'sb' stems from Sch Burst */
74 U8 bsic; /*< 1: 1> Base station ID code */
75 U16 arfcn; /*< 2: 2> Channel number */
76 S16 eotd_crosscor[XCOR_NO]; /*< 4: 36> Cross-correlation data */
77 U32 d_eotd_nrj; /*< 40: 4> Signal level */
78 U32 time_tag; /*< 44: 4> Nominal Position */
79 } T_eotd_sc_res;
80 #endif
81
82 /*
83 * EOTD SC Results at stop of measurement
84 * CCDGEN:WriteStruct_Count==2990
85 */
86 #ifndef __T_eotd_sc_res1__
87 #define __T_eotd_sc_res1__
88 typedef T_eotd_sc_res T_eotd_sc_res1;
89 #endif
90 /*
91 * EOTD NC Results
92 * CCDGEN:WriteStruct_Count==2991
93 */
94 #ifndef __T_eotd_nc_res__
95 #define __T_eotd_nc_res__
96 typedef T_eotd_sc_res T_eotd_nc_res;
97 #endif
98
99 /*
100 * End of substructure section, begin of primitive definition section
101 */
102
103 #ifndef __T_RRLC_MEAS_REQ__
104 #define __T_RRLC_MEAS_REQ__
105 /*
106 *
107 * CCDGEN:WriteStruct_Count==2992
108 */
109 typedef struct
110 {
111 U16 req_id; /*< 0: 2> Request Identifier */
112 U8 _align0; /*< 2: 1> alignment */
113 U8 v_arfcn; /*< 3: 1> valid-flag */
114 U16 arfcn; /*< 4: 2> Channel number */
115 U8 v_bsic; /*< 6: 1> valid-flag */
116 U8 bsic; /*< 7: 1> Base station ID code */
117 U8 _align1; /*< 8: 1> alignment */
118 U8 _align2; /*< 9: 1> alignment */
119 U8 v_assist_data; /*< 10: 1> valid-flag */
120 U8 c_assist_data; /*< 11: 1> counter */
121 T_assist_data assist_data[MAX_NCELL_EOTD]; /*< 12:180> Assistance Data */
122 } T_RRLC_MEAS_REQ;
123 #endif
124
125 #ifndef __T_RRLC_MEAS_IND__
126 #define __T_RRLC_MEAS_IND__
127 /*
128 *
129 * CCDGEN:WriteStruct_Count==2993
130 */
131 typedef struct
132 {
133 U8 mcc[3]; /*< 0: 3> Mobile country code */
134 U8 mnc[3]; /*< 3: 3> Mobile country code */
135 U16 lac; /*< 6: 2> Location area code */
136 U16 cell_id; /*< 8: 2> Cell ID */
137 U8 eotd_mode; /*< 10: 1> Operation mode */
138 U8 _align0; /*< 11: 1> alignment */
139 U16 req_id; /*< 12: 2> Request Identifier */
140 U8 tav; /*< 14: 1> Timing advance */
141 U8 _align1; /*< 15: 1> alignment */
142 U32 fn; /*< 16: 4> full frame number */
143 T_eotd_sc_res eotd_sc_res; /*< 20: 48> EOTD SC Results at start of measurement */
144 T_eotd_sc_res1 eotd_sc_res1; /*< 68: 48> EOTD SC Results at stop of measurement */
145 U8 _align2; /*<116: 1> alignment */
146 U8 _align3; /*<117: 1> alignment */
147 U8 _align4; /*<118: 1> alignment */
148 U8 c_eotd_nc_res; /*<119: 1> counter */
149 T_eotd_nc_res eotd_nc_res[MAX_NCELL_EOTD_L1]; /*<120:576> EOTD NC Results */
150 } T_RRLC_MEAS_IND;
151 #endif
152
153 #ifndef __T_RRLC_ERROR_IND__
154 #define __T_RRLC_ERROR_IND__
155 /*
156 *
157 * CCDGEN:WriteStruct_Count==2994
158 */
159 typedef struct
160 {
161 U8 cause; /*< 0: 1> Cause Identifier */
162 U8 _align0; /*< 1: 1> alignment */
163 U8 _align1; /*< 2: 1> alignment */
164 U8 _align2; /*< 3: 1> alignment */
165 } T_RRLC_ERROR_IND;
166 #endif
167
168
169 #include "CDG_LEAVE.h"
170
171
172 #endif