comparison cdg3/cdginc-locosto/p_mon.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_mon.h |
5 | SOURCE : "sap\mon.pdf" |
6 | LastModified : "2003-02-04" |
7 | IdAndVersion : "8304.129.96.103" |
8 | SrcFileTime : "Thu Nov 29 09:49:00 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 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_MON_H
24 #define P_MON_H
25
26
27 #define CDG_ENTER__P_MON_H
28
29 #define CDG_ENTER__FILENAME _P_MON_H
30 #define CDG_ENTER__P_MON_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MON_H__LAST_MODIFIED _2003_02_04
32 #define CDG_ENTER__P_MON_H__ID_AND_VERSION _8304_129_96_103
33
34 #define CDG_ENTER__P_MON_H__SRC_FILE_TIME _Thu_Nov_29_09_49_00_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MON_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_mon.val"
44
45 #ifndef __T_plmn__
46 #define __T_plmn__
47 /*
48 * PLMN identification
49 * CCDGEN:WriteStruct_Count==2017
50 */
51 typedef struct
52 {
53 U8 v_plmn; /*< 0: 1> valid flag */
54 U8 mcc[SIZE_MCC]; /*< 1: 3> mobile country code */
55 U8 mnc[SIZE_MNC]; /*< 4: 3> mobile network code */
56 U8 _align0; /*< 7: 1> alignment */
57 } T_plmn;
58 #endif
59
60
61 /*
62 * End of substructure section, begin of primitive definition section
63 */
64
65 #ifndef __T_MON_CHAN_IDLE_IND__
66 #define __T_MON_CHAN_IDLE_IND__
67 /*
68 *
69 * CCDGEN:WriteStruct_Count==2018
70 */
71 typedef struct
72 {
73 U16 arfcn; /*< 0: 2> channel number */
74 U8 att_flag; /*< 2: 1> attach flag */
75 U8 conf_ccch; /*< 3: 1> CCCH configuration */
76 U8 tn; /*< 4: 1> timeslot number */
77 U8 dlt; /*< 5: 1> downlink initial value */
78 U8 pg; /*< 6: 1> paging group */
79 U8 bs_ag_blocks_res; /*< 7: 1> Blocks reserved for AGCH */
80 U8 bs_pa_mfrms; /*< 8: 1> Multiframe Period */
81 U8 power; /*< 9: 1> Power Level */
82 U8 _align0; /*< 10: 1> alignment */
83 U8 _align1; /*< 11: 1> alignment */
84 T_plmn plmn; /*< 12: 8> PLMN identification */
85 U16 lac; /*< 20: 2> location area code */
86 U16 cell_id; /*< 22: 2> cell identity */
87 } T_MON_CHAN_IDLE_IND;
88 #endif
89
90 #ifndef __T_MON_MEAS_IDLE_IND__
91 #define __T_MON_MEAS_IDLE_IND__
92 /*
93 *
94 * CCDGEN:WriteStruct_Count==2019
95 */
96 typedef struct
97 {
98 U16 arfcn; /*< 0: 2> channel number */
99 U8 bsic; /*< 2: 1> base station identification code */
100 U8 rx_lev; /*< 3: 1> received field strength */
101 U8 c1; /*< 4: 1> path loss criterion C1 */
102 U8 _align0; /*< 5: 1> alignment */
103 U16 arfcn_nc[6]; /*< 6: 12> channel number */
104 U8 bsic_nc[6]; /*< 18: 6> base station identification code */
105 U8 rx_lev_nc[6]; /*< 24: 6> received field strength */
106 U8 tav_nc[6]; /*< 30: 6> timing advance */
107 U8 c2_nc[6]; /*< 36: 6> reselection criterion C2 */
108 U8 _align1; /*< 42: 1> alignment */
109 U8 _align2; /*< 43: 1> alignment */
110 } T_MON_MEAS_IDLE_IND;
111 #endif
112
113 #ifndef __T_MON_COUNTER_IDLE_IND__
114 #define __T_MON_COUNTER_IDLE_IND__
115 /*
116 *
117 * CCDGEN:WriteStruct_Count==2020
118 */
119 typedef struct
120 {
121 U8 max_dlt; /*< 0: 1> maximum downlink timeout counter */
122 U8 act_dlt; /*< 1: 1> actual downlink timeout counter */
123 U8 _align0; /*< 2: 1> alignment */
124 U8 _align1; /*< 3: 1> alignment */
125 } T_MON_COUNTER_IDLE_IND;
126 #endif
127
128 #ifndef __T_MON_CHAN_DEDI_IND__
129 #define __T_MON_CHAN_DEDI_IND__
130 /*
131 *
132 * CCDGEN:WriteStruct_Count==2021
133 */
134 typedef struct
135 {
136 U8 ch_type; /*< 0: 1> channel type */
137 U8 _align0; /*< 1: 1> alignment */
138 U16 arfcn; /*< 2: 2> channel number */
139 U8 tsc; /*< 4: 1> training sequence code */
140 U8 tn; /*< 5: 1> timeslot number */
141 U8 ch_mode; /*< 6: 1> channel mode */
142 U8 hop; /*< 7: 1> frequency hopping flag */
143 U8 hsn; /*< 8: 1> hopping sequence number */
144 U8 maio; /*< 9: 1> mobile allocation offset */
145 U8 power; /*< 10: 1> Power Level */
146 U8 _align1; /*< 11: 1> alignment */
147 } T_MON_CHAN_DEDI_IND;
148 #endif
149
150 #ifndef __T_MON_MEAS_DEDI_IND__
151 #define __T_MON_MEAS_DEDI_IND__
152 /*
153 *
154 * CCDGEN:WriteStruct_Count==2022
155 */
156 typedef struct
157 {
158 U8 rx_lev_full; /*< 0: 1> received field strength */
159 U8 rx_lev_sub; /*< 1: 1> received field strength */
160 U8 rx_qual_full; /*< 2: 1> received quality */
161 U8 rx_qual_sub; /*< 3: 1> received quality */
162 U8 tav; /*< 4: 1> timing advance */
163 U8 _align0; /*< 5: 1> alignment */
164 U16 arfcn_nc[6]; /*< 6: 12> channel number */
165 U8 bsic_nc[6]; /*< 18: 6> base station identification code */
166 U8 rx_lev_nc[6]; /*< 24: 6> received field strength */
167 U8 tav_nc[6]; /*< 30: 6> timing advance */
168 } T_MON_MEAS_DEDI_IND;
169 #endif
170
171 #ifndef __T_MON_COUNTER_DEDI_IND__
172 #define __T_MON_COUNTER_DEDI_IND__
173 /*
174 *
175 * CCDGEN:WriteStruct_Count==2023
176 */
177 typedef struct
178 {
179 U8 max_rlt; /*< 0: 1> maximum radiolink timeout counter */
180 U8 act_rlt; /*< 1: 1> actual radiolink timeout counter */
181 U8 _align0; /*< 2: 1> alignment */
182 U8 _align1; /*< 3: 1> alignment */
183 } T_MON_COUNTER_DEDI_IND;
184 #endif
185
186 #ifndef __T_MON_COVERAGE_IND__
187 #define __T_MON_COVERAGE_IND__
188 /*
189 *
190 * CCDGEN:WriteStruct_Count==2024
191 */
192 typedef struct
193 {
194 U8 rx_lev[124]; /*< 0:124> received field strength */
195 U8 bsic[124]; /*<124:124> base station identification code */
196 } T_MON_COVERAGE_IND;
197 #endif
198
199
200 #include "CDG_LEAVE.h"
201
202
203 #endif