FreeCalypso > hg > tcs211-l1-reconst
comparison gpf/CCD/util/freq_list_codec/P_OMRR.val @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJEKT : PROTOCOL STACK | | |
4 | FILE : P_OMRRBTSM.val | | |
5 | SOURCE : OMRRBTSM.pdf | | |
6 | Generated by CCDGEN on Thu Sep 20 13:53:09 2001 | | |
7 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
8 +--------------------------------------------------------------------+ | |
9 */ | |
10 | |
11 | |
12 #ifndef P_OMRRBTSM_VAL | |
13 #define P_OMRRBTSM_VAL | |
14 | |
15 /* | |
16 * Value constants for format | |
17 */ | |
18 #define NCELL_FMT_BITMAP 0x0 /* in non-auto encoding mode use bit map format */ | |
19 #define NCELL_FMT_1024 0x80 /* in non-auto encoding mode use range 1024 format */ | |
20 #define NCELL_FMT_512 0x88 /* in non-auto encoding mode use range 512 format */ | |
21 #define NCELL_FMT_256 0x8a /* in non-auto encoding mode use range 256 format */ | |
22 #define NCELL_FMT_128 0x8c /* in non-auto encoding mode use range 128 format */ | |
23 #define NCELL_FMT_VAR 0x8e /* in non-auto encoding mode use variable bit map format */ | |
24 #define NCELL_FMT_AUTO 0xffff | |
25 /* | |
26 * Value constants for cnt_att_imm_ass_cell_cause | |
27 */ | |
28 #define RR_IA_CAUSE_EMERGE 0x0 /* emergency call */ | |
29 #define RR_IA_CAUSE_REESTAB 0x1 /* call re-establishment */ | |
30 #define RR_IA_CAUSE_MTC 0x2 /* answer to paging */ | |
31 #define RR_IA_CAUSE_MOC 0x3 /* originating call */ | |
32 #define RR_IA_CAUSE_LUP 0x4 /* location area updating */ | |
33 #define RR_IA_CAUSE_OTHER 0x5 /* other procedures */ | |
34 /* | |
35 * Value constants for mask | |
36 */ | |
37 #define PM_CNT_TRANS_PAG_MSG_CELL 0x1 /* Number of paging messages transmitted in a cell. */ | |
38 #define PM_CNT_UNSUC_PAG_MSG_CELL 0x2 /* Number of unsuccessful paging messages transmitted in a cell. */ | |
39 #define PM_CNT_ATT_IMM_ASS_CELL_CAUSE 0x4 /* Number of attempted immediate assignment procedures in a cell, per cause. */ | |
40 #define PM_CNT_SUC_IMM_ASS_CELL_CAUSE 0x8 /* Number of successful immediate assignment procedures in a cell, per cause. */ | |
41 #define PM_CNT_ATT_TCH_SEIZ 0x10 /* Number of attempted TCH seizures in a cell. */ | |
42 #define PM_CNT_SUC_TCH_SEIZ 0x20 /* Number of successful TCH seizures in a cell. */ | |
43 #define PM_CNT_RF_FAILURE 0x40 /* Number of calls terminated in a cell due to RF failure on the radio path. */ | |
44 #define PM_CNT_RF_FAILURE_SDCCH 0x80 /* Number of RF failures in the cell when using an SDCCH. */ | |
45 /* | |
46 * Value constants for tch_type_pref | |
47 */ | |
48 #define PREF_ANY 0x0 /* no preference, Resource Manager will decide */ | |
49 #define PREF_HALF 0x1 /* prefer half rate over full rate */ | |
50 #define PREF_FULL 0x2 /* prefer half rate over full rate */ | |
51 /* | |
52 * Value constants for direct_tch_assign | |
53 */ | |
54 #define DIRECT_ANY 0x0 /* no preference, Resource Manager will decide */ | |
55 #define DIRECT_SDCCH 0x1 /* choose SDCCH, don't use TCH */ | |
56 #define DIRECT_TCH 0x2 /* choose TCH (very early assignment), do not use SDCCH */ | |
57 /* | |
58 * Value constants for freq_band | |
59 */ | |
60 #define FREQ_BAND_PGSM 0x1 /* primary GSM, 124 channel in the 900 MHz band */ | |
61 #define FREQ_BAND_EGSM 0x2 /* extended GSM, 174 channel in the 900 MHz band */ | |
62 #define FREQ_BAND_DCS 0x4 /* GSM in the 1800 MHz band (DCS1800) */ | |
63 #define FREQ_BAND_PCS 0x8 /* GSM in the 1900 MHz band (PCS1900) */ | |
64 /* | |
65 * Value constants for si_type | |
66 */ | |
67 #define NCELL_SI2 0x1 /* use System Information Type 2 */ | |
68 #define NCELL_SI2BIS 0x2 /* use System Information Type 2bis */ | |
69 #define NCELL_SI2TER 0x4 /* use System Information Type 2ter */ | |
70 #define NCELL_SI5 0x100 /* use System Information Type 5 */ | |
71 #define NCELL_SI5BIS 0x200 /* use System Information Type 5bis */ | |
72 #define NCELL_SI5TER 0x400 /* use System Information Type 5ter */ | |
73 /* | |
74 * Value constants for auto_mode | |
75 */ | |
76 #define NCELL_NONAUTO 0x0 /* do not use automatic encoding strategy */ | |
77 #define NCELL_AUTO 0x1 /* do use automatic encoding strategy */ | |
78 /* | |
79 * Value constants for solsa | |
80 */ | |
81 #define SOLSA_NONE 0x0 /* do not support SoLSA, backward compatibility */ | |
82 #define SOLSA_MIXED 0x1 /* treat SoLSA mobiles and non-SoLSA Mobiles equally */ | |
83 #define SOLSA_ONLY 0x2 /* allow SoLSA mobiles only */ | |
84 /* | |
85 * Value constants for attrib_mask | |
86 */ | |
87 #define ATT_T3101 0x1 /* This timer is started when a channel is allocated with an IMMEDIATE ASSIGNMENT message. It is stopped when the MS has correctly seized the channels. Does the BTS implement this timer? */ | |
88 #define ATT_T3103 0x2 /* This timer is started by the sending of a HANDOVER message and is normally stopped when the MS has correctly seized the new channel. */ | |
89 #define ATT_T3105 0x4 /* This timer is used for the repetition of the PHYSICAL INFORMATION message during the handover procedure. */ | |
90 #define ATT_T3107 0x8 /* This timer is started by the sending of an ASSIGNMENT COMMAND message and is normally stopped when the MS has correctly seized the new channels. */ | |
91 #define ATT_T3109 0x10 /* This timer is started when a lower layer failure is detected by the network, when it is not engaged in a RF procedure. It is also used in the channel release procedure. */ | |
92 #define ATT_T3111 0x20 /* This timer is used to delay the channel deactivation after disconnection of the main signaling link. Its purpose is to let some time for possible repetition of the disconnection. */ | |
93 #define ATT_T3113 0x40 /* This timer is started when the network has sent a PAGING REQUEST message and is stopped when the network has received the PAGING RESPONSE message. */ | |
94 #define ATT_TIM_RF_CH_REL 0x100 /* This timer guards the channel release process. */ | |
95 #define ATT_TIM_FHO 0x200 /* This timer is started when a LAPD FORCED_HO_REQ is sent to the BTS */ | |
96 #define ATT_TIM_ABIS 0x400 /* This timer is started when a message is sent to the BTS and a response is awaited */ | |
97 #define ATT_TIM_CLZEARLY 0x800 /* This timer is used to supervise the reception of a classmark change. The timer is started when the initial L3 message is received and early classmark sending is configured. */ | |
98 #define ATT_TIM_CLZMRK 0x1000 /* This timer is used to supervise the reception of a classmark change. The timer is started when the classmark enquiry procedure is initiated. */ | |
99 #define ATT_TIM_CIPH_CMD 0x2000 /* This timer is used to guard the D_CIPH_CMD message. The timer is started when the D_CIPH_CMD message is send to the MS and stopped on receipt of the U_CIPH_COMP message from the MS. */ | |
100 #define ATT_N3113 0x10000 /* This counter contains the threshold for the number of paging attempts. Once the number of paging attempts has been reached RR will send a negative confirm (PSCS_ABNORM_RELEASE_TIM_EXP) to MM within the RR_ESTABLISH_CNF primitive. */ | |
101 #define ATT_TCH_TYPE_PREF 0x100000 /* During the channel required procedure RR may choose between half and full rate. The PREFER attribute sets the selected channel type. */ | |
102 #define ATT_TCH_MODE_SPEECH 0x1000000 | |
103 #define ATT_TCH_MODE_DATA 0x2000000 | |
104 #define ATT_NON_TRANSPARENT 0x4000000 | |
105 #define ATT_DTX_UPLINK 0x10000000 | |
106 #define ATT_DTX_DOWNLINK 0x20000000 | |
107 #define ATT_DIRECT_TCH_ASSIGN 0x40000000 | |
108 #define ATT_FREQ_BAND 0x80000000 /* Frequency band, default is PGSM if ATT_FREQ_BAND is not specified */ | |
109 /* | |
110 * Value constants for result | |
111 */ | |
112 #define RESULT_SUCCESS 0x1 /* Success */ | |
113 #define RESULT_FAIL 0x0 /* Failure */ | |
114 /* | |
115 * Value constants for rr_warp_perf_meas_mask | |
116 */ | |
117 #define PM_CNT_TRANS_PAG_CHAN 0x1 /* Number of paging messages transmitted. */ | |
118 #define PM_CNT_UNSUC_PAG_CHAN 0x2 /* Number of unsuccessful paging requests. */ | |
119 #define PM_CNT_SUC_IMM_ASS 0x4 /* Number of attempted immediate assignment procedures. */ | |
120 #define PM_CNT_ATT_IMM_ASS 0x8 /* Number of successful immediate assignment procedures. */ | |
121 #define PM_MEAN_MOC 0x10 /* Mean inter-arrival time between consecutive mobile originating call attempts */ | |
122 #define PM_CNT_CLASSM_UPD 0x20 /* Number of Classmark updates */ | |
123 /* | |
124 * Value constants for act_type | |
125 */ | |
126 #define ACT_CONTINUE 0x0 /* The performance measurements shall not be reset */ | |
127 #define ACT_RESET 0x1 /* The performance measurements shall be reset */ | |
128 /* | |
129 * Value constants for sys_info_attrib_mask | |
130 */ | |
131 #define SI_NEIGH_CELL_DESC 0x1 /* Neighbor Cell Description */ | |
132 #define SI_NCC_PERMIT 0x2 /* NCC Permitted */ | |
133 #define SI_MAX_RETRANS 0x4 /* Maximum number of retransmissions */ | |
134 #define SI_TX_INTEGER 0x8 /* Tx-Integer, number of slots to spread transmission */ | |
135 #define SI_CELL_BAR_ACCESS 0x10 /* Cell barred for access */ | |
136 #define SI_CALL_REESTAB 0x20 /* Call re-establishment allowed */ | |
137 #define SI_ACC_CTRL_CLASS 0x80 /* Access control class */ | |
138 #define SI_CELL_IDENT 0x100 /* Cell Identity */ | |
139 #define SI_MCC 0x200 /* Mobile Country Code */ | |
140 #define SI_MNC 0x400 /* Mobile Network Code */ | |
141 #define SI_LAC 0x800 /* Location Area Code */ | |
142 #define SI_ATT 0x1000 /* Attach-detach allowed */ | |
143 #define SI_BS_AG_BLKS_RES 0x2000 /* Number of blocks reserved for access grant */ | |
144 #define SI_CCCH_CONF 0x4000 /* CCCH Conf */ | |
145 #define SI_BS_PA_MFRMS 0x8000 /* Number of multiframes period for transmission of PAGING REQUEST messages to the same paging subgroup */ | |
146 #define SI_T3212 0x10000 /* Timeout value for periodic updating */ | |
147 #define SI_POW_CTRL 0x20000 /* Power control indicator */ | |
148 #define SI_DTX_B 0x40000 /* DTX indicator (BCCH), up-link */ | |
149 #define SI_DTX_S 0x80000 /* DTX indicator (SACCH), up-link */ | |
150 #define SI_RLT 0x100000 /* Radio link timeout */ | |
151 #define SI_CELL_RESEL_HYST 0x200000 /* Cell reselect hysteresis */ | |
152 #define SI_MS_TXPWR_MAX_CCH 0x400000 /* Maximum TX pwer level an MS may use when accessing on a control channel CCH */ | |
153 #define SI_ACS 0x800000 /* Location of Additional reselect parameters (acs bit in SI4 message) */ | |
154 #define SI_RXLEV_ACCESS_MIN 0x1000000 /* Minimum received signal level at the MS for which it is permitted to access the system */ | |
155 #define SI_CELL_BAR_QUAL 0x2000000 /* Cell bar qualify, controls the MS cell selection and reselection */ | |
156 #define SI_CELL_RESEL_OFFSET 0x4000000 /* Cell reselect offset i */ | |
157 #define SI_TEMP_OFFSET 0x8000000 /* Temporary offset */ | |
158 #define SI_PENALTY_TIME 0x10000000 /* Penalty time */ | |
159 #define SI_OPT_POWER_OFF 0x20000000 /* Optional power offset */ | |
160 #define SI_SI2TER_IND 0x40000000 /* System information 2TER indicator */ | |
161 #define SI_EARLY_CLASS_MARK 0x80000000 /* Early classmark sending control */ | |
162 #define SI_BSIC 0x40 /* Base Station Identification Code */ | |
163 #define SI2_SOLSA 0x1 /* Support of Localized Service Area */ | |
164 #define SI2_LSA 0x2 /* Localized Service Area (+ acs bit in SI3 message) */ | |
165 #define SI2_CELL_ALLOC 0x4 /* Cell Allocation */ | |
166 /* | |
167 * Value constants for sys_info_attrib_mask2 | |
168 */ | |
169 #define SI_NEIGH_CELL_DESC 0x1 /* Neighbor Cell Description */ | |
170 #define SI_NCC_PERMIT 0x2 /* NCC Permitted */ | |
171 #define SI_MAX_RETRANS 0x4 /* Maximum number of retransmissions */ | |
172 #define SI_TX_INTEGER 0x8 /* Tx-Integer, number of slots to spread transmission */ | |
173 #define SI_CELL_BAR_ACCESS 0x10 /* Cell barred for access */ | |
174 #define SI_CALL_REESTAB 0x20 /* Call re-establishment allowed */ | |
175 #define SI_ACC_CTRL_CLASS 0x80 /* Access control class */ | |
176 #define SI_CELL_IDENT 0x100 /* Cell Identity */ | |
177 #define SI_MCC 0x200 /* Mobile Country Code */ | |
178 #define SI_MNC 0x400 /* Mobile Network Code */ | |
179 #define SI_LAC 0x800 /* Location Area Code */ | |
180 #define SI_ATT 0x1000 /* Attach-detach allowed */ | |
181 #define SI_BS_AG_BLKS_RES 0x2000 /* Number of blocks reserved for access grant */ | |
182 #define SI_CCCH_CONF 0x4000 /* CCCH Conf */ | |
183 #define SI_BS_PA_MFRMS 0x8000 /* Number of multiframes period for transmission of PAGING REQUEST messages to the same paging subgroup */ | |
184 #define SI_T3212 0x10000 /* Timeout value for periodic updating */ | |
185 #define SI_POW_CTRL 0x20000 /* Power control indicator */ | |
186 #define SI_DTX_B 0x40000 /* DTX indicator (BCCH), up-link */ | |
187 #define SI_DTX_S 0x80000 /* DTX indicator (SACCH), up-link */ | |
188 #define SI_RLT 0x100000 /* Radio link timeout */ | |
189 #define SI_CELL_RESEL_HYST 0x200000 /* Cell reselect hysteresis */ | |
190 #define SI_MS_TXPWR_MAX_CCH 0x400000 /* Maximum TX pwer level an MS may use when accessing on a control channel CCH */ | |
191 #define SI_ACS 0x800000 /* Location of Additional reselect parameters (acs bit in SI4 message) */ | |
192 #define SI_RXLEV_ACCESS_MIN 0x1000000 /* Minimum received signal level at the MS for which it is permitted to access the system */ | |
193 #define SI_CELL_BAR_QUAL 0x2000000 /* Cell bar qualify, controls the MS cell selection and reselection */ | |
194 #define SI_CELL_RESEL_OFFSET 0x4000000 /* Cell reselect offset i */ | |
195 #define SI_TEMP_OFFSET 0x8000000 /* Temporary offset */ | |
196 #define SI_PENALTY_TIME 0x10000000 /* Penalty time */ | |
197 #define SI_OPT_POWER_OFF 0x20000000 /* Optional power offset */ | |
198 #define SI_SI2TER_IND 0x40000000 /* System information 2TER indicator */ | |
199 #define SI_EARLY_CLASS_MARK 0x80000000 /* Early classmark sending control */ | |
200 #define SI_BSIC 0x40 /* Base Station Identification Code */ | |
201 #define SI2_SOLSA 0x1 /* Support of Localized Service Area */ | |
202 #define SI2_LSA 0x2 /* Localized Service Area (+ acs bit in SI3 message) */ | |
203 #define SI2_CELL_ALLOC 0x4 /* Cell Allocation */ | |
204 | |
205 /* | |
206 * user defined constants | |
207 */ | |
208 #define MAX_IMM_ASS_CAUSE 0x6 | |
209 #define MAX_CELLS 0x18 | |
210 #define ATT_MIN_TIMERVALUE 0x1 | |
211 #define NARFCN 0x40 | |
212 #define NHOP 0x40 | |
213 #define NENCODE 0x3 | |
214 #define MAX_LSA 0x8 | |
215 #define MAX_LSA_NAME 0xa | |
216 #define ARFCN_FMT_BITMAP 0x0 | |
217 #define ARFCN_FMT_1024 0x80 | |
218 #define ARFCN_FMT_512 0x88 | |
219 #define ARFCN_FMT_256 0x8a | |
220 #define ARFCN_FMT_128 0x8c | |
221 #define ARFCN_FMT_VAR 0x8e | |
222 #define ARFCN_FMT_AUTO 0xffff | |
223 | |
224 #endif |