FreeCalypso > hg > freecalypso-citrine
comparison cdg/cdginc-conservative/p_mph.h @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 09 Jun 2016 00:02:41 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:75a11d740a02 |
|---|---|
| 1 /* | |
| 2 +--------------------------------------------------------------------------+ | |
| 3 | PROJECT : PROTOCOL STACK | | |
| 4 | FILE : p_mph.h | | |
| 5 | SOURCE : "sap\mph.pdf" | | |
| 6 | LastModified : "2003-02-04" | | |
| 7 | IdAndVersion : "6148.109.01.207" | | |
| 8 | SrcFileTime : "Mon Aug 11 13:32:48 2008" | | |
| 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_MPH_H | |
| 24 #define P_MPH_H | |
| 25 | |
| 26 | |
| 27 #define CDG_ENTER__P_MPH_H | |
| 28 | |
| 29 #define CDG_ENTER__FILENAME _P_MPH_H | |
| 30 #define CDG_ENTER__P_MPH_H__FILE_TYPE CDGINC | |
| 31 #define CDG_ENTER__P_MPH_H__LAST_MODIFIED _2003_02_04 | |
| 32 #define CDG_ENTER__P_MPH_H__ID_AND_VERSION _6148_109_01_207 | |
| 33 | |
| 34 #define CDG_ENTER__P_MPH_H__SRC_FILE_TIME _Mon_Aug_11_13_32_48_2008 | |
| 35 | |
| 36 #include "CDG_ENTER.h" | |
| 37 | |
| 38 #undef CDG_ENTER__P_MPH_H | |
| 39 | |
| 40 #undef CDG_ENTER__FILENAME | |
| 41 | |
| 42 | |
| 43 #include "p_mph.val" | |
| 44 | |
| 45 #ifndef __T_cbch__ | |
| 46 #define __T_cbch__ | |
| 47 /* | |
| 48 * cell broadcast channel | |
| 49 * CCDGEN:WriteStruct_Count==2025 | |
| 50 */ | |
| 51 typedef struct | |
| 52 { | |
| 53 U8 stat; /*< 0: 1> status */ | |
| 54 U8 ch; /*< 1: 1> channel type */ | |
| 55 U8 tn; /*< 2: 1> timeslot number */ | |
| 56 U8 tsc; /*< 3: 1> trainings sequence code */ | |
| 57 U8 h; /*< 4: 1> hopping */ | |
| 58 U8 _align0; /*< 5: 1> alignment */ | |
| 59 U16 arfcn; /*< 6: 2> channel number */ | |
| 60 U8 maio; /*< 8: 1> mobile allocation index offset */ | |
| 61 U8 hsn; /*< 9: 1> hopping sequence number */ | |
| 62 U16 ma[MAX_MA_CHANNELS]; /*< 10:128> channel number in the mobile allocation list (used with frequency hopping) */ | |
| 63 U8 _align1; /*<138: 1> alignment */ | |
| 64 U8 _align2; /*<139: 1> alignment */ | |
| 65 } T_cbch; | |
| 66 #endif | |
| 67 | |
| 68 #ifndef __T_ncells__ | |
| 69 #define __T_ncells__ | |
| 70 /* | |
| 71 * neighbour cell measurement results | |
| 72 * CCDGEN:WriteStruct_Count==2026 | |
| 73 */ | |
| 74 typedef struct | |
| 75 { | |
| 76 U8 no_of_ncells; /*< 0: 1> Number of ncells */ | |
| 77 U8 _align0; /*< 1: 1> alignment */ | |
| 78 U16 arfcn[MAX_NUM_CELLS_IN_REPORT]; /*< 2: 12> channel number */ | |
| 79 U8 rx_lev[MAX_NUM_CELLS_IN_REPORT]; /*< 14: 6> received field strength */ | |
| 80 U8 bsic[MAX_NUM_CELLS_IN_REPORT]; /*< 20: 6> base station identification code */ | |
| 81 U8 _align1; /*< 26: 1> alignment */ | |
| 82 U8 _align2; /*< 27: 1> alignment */ | |
| 83 U32 time_alignmt[MAX_NUM_CELLS_IN_REPORT]; /*< 28: 24> timing alignment; refers to difference in time between serving and neighbour cell */ | |
| 84 U32 frame_offset[MAX_NUM_CELLS_IN_REPORT]; /*< 52: 24> frame offset; refers to difference in time between serving and neighbour cell */ | |
| 85 } T_ncells; | |
| 86 #endif | |
| 87 | |
| 88 #ifndef __T_start__ | |
| 89 #define __T_start__ | |
| 90 /* | |
| 91 * starting time | |
| 92 * CCDGEN:WriteStruct_Count==2027 | |
| 93 */ | |
| 94 typedef struct | |
| 95 { | |
| 96 U8 v_start; /*< 0: 1> starting time valid */ | |
| 97 U8 t1; /*< 1: 1> reduced frame number modula 32 */ | |
| 98 U8 t2; /*< 2: 1> reduced frame number modula 26 */ | |
| 99 U8 t3; /*< 3: 1> reduced frame number modula 51 */ | |
| 100 } T_start; | |
| 101 #endif | |
| 102 | |
| 103 #ifndef __T_ch_type__ | |
| 104 #define __T_ch_type__ | |
| 105 /* | |
| 106 * channel type configuration | |
| 107 * CCDGEN:WriteStruct_Count==2028 | |
| 108 */ | |
| 109 typedef struct | |
| 110 { | |
| 111 U8 ch; /*< 0: 1> channel type */ | |
| 112 U8 tn; /*< 1: 1> timeslot number */ | |
| 113 U8 tsc; /*< 2: 1> trainings sequence code */ | |
| 114 U8 h; /*< 3: 1> hopping */ | |
| 115 U16 arfcn; /*< 4: 2> channel number */ | |
| 116 U8 maio; /*< 6: 1> mobile allocation index offset */ | |
| 117 U8 hsn; /*< 7: 1> hopping sequence number */ | |
| 118 U16 ma[MAX_MA_CHANNELS]; /*< 8:128> channel number in the mobile allocation list (used with frequency hopping) */ | |
| 119 } T_ch_type; | |
| 120 #endif | |
| 121 | |
| 122 /* | |
| 123 * channel type | |
| 124 * CCDGEN:WriteStruct_Count==2029 | |
| 125 */ | |
| 126 #ifndef __T_ch_type2__ | |
| 127 #define __T_ch_type2__ | |
| 128 typedef T_ch_type T_ch_type2; | |
| 129 #endif | |
| 130 #ifndef __T_tr_para__ | |
| 131 #define __T_tr_para__ | |
| 132 /* | |
| 133 * transmission parameter | |
| 134 * CCDGEN:WriteStruct_Count==2030 | |
| 135 */ | |
| 136 typedef struct | |
| 137 { | |
| 138 U8 power; /*< 0: 1> transmission power level */ | |
| 139 U8 dtx; /*< 1: 1> discontinuous transmission */ | |
| 140 U8 rlt; /*< 2: 1> radio link timeout */ | |
| 141 U8 tav; /*< 3: 1> timing advance */ | |
| 142 U8 pwrc; /*< 4: 1> power control indicator */ | |
| 143 U8 mode; /*< 5: 1> channel mode */ | |
| 144 U8 _align0; /*< 6: 1> alignment */ | |
| 145 U8 _align1; /*< 7: 1> alignment */ | |
| 146 } T_tr_para; | |
| 147 #endif | |
| 148 | |
| 149 #ifndef __T_ciph__ | |
| 150 #define __T_ciph__ | |
| 151 /* | |
| 152 * ciphering parameters | |
| 153 * CCDGEN:WriteStruct_Count==2031 | |
| 154 */ | |
| 155 typedef struct | |
| 156 { | |
| 157 U8 stat; /*< 0: 1> status */ | |
| 158 U8 algo; /*< 1: 1> Algorithm */ | |
| 159 U8 kc[KC_STRING_SIZE]; /*< 2: 16> Kc value; the format in the GTI case is as on the SIM; the least significant bit of kc is the least significant bit of the eighth byte; the most significant bit of kc is the most significant bit of the first byte. */ | |
| 160 U8 _align0; /*< 18: 1> alignment */ | |
| 161 U8 _align1; /*< 19: 1> alignment */ | |
| 162 } T_ciph; | |
| 163 #endif | |
| 164 | |
| 165 #ifndef __T_cod_prop__ | |
| 166 #define __T_cod_prop__ | |
| 167 /* | |
| 168 * codec properties | |
| 169 * CCDGEN:WriteStruct_Count==2032 | |
| 170 */ | |
| 171 typedef struct | |
| 172 { | |
| 173 U8 codec_thr; /*< 0: 1> Codec threshold */ | |
| 174 U8 codec_hyst; /*< 1: 1> Codec hysteresis */ | |
| 175 U8 _align0; /*< 2: 1> alignment */ | |
| 176 U8 _align1; /*< 3: 1> alignment */ | |
| 177 } T_cod_prop; | |
| 178 #endif | |
| 179 | |
| 180 #ifndef __T_amr_conf__ | |
| 181 #define __T_amr_conf__ | |
| 182 /* | |
| 183 * Parameters for AMR | |
| 184 * CCDGEN:WriteStruct_Count==2033 | |
| 185 */ | |
| 186 typedef struct | |
| 187 { | |
| 188 U8 nscb; /*< 0: 1> noise suppression control bit */ | |
| 189 U8 icmi; /*< 1: 1> initial code mode indicator */ | |
| 190 U8 st_mode; /*< 2: 1> initial code mode */ | |
| 191 U8 acs; /*< 3: 1> active codec set */ | |
| 192 U8 v_cod_prop; /*< 4: 1> valid flag codec properties */ | |
| 193 U8 c_cod_prop; /*< 5: 1> counter */ | |
| 194 U8 _align0; /*< 6: 1> alignment */ | |
| 195 U8 _align1; /*< 7: 1> alignment */ | |
| 196 T_cod_prop cod_prop[3]; /*< 8: 12> codec properties */ | |
| 197 } T_amr_conf; | |
| 198 #endif | |
| 199 | |
| 200 #ifndef __T_classmark__ | |
| 201 #define __T_classmark__ | |
| 202 /* | |
| 203 * classmark | |
| 204 * CCDGEN:WriteStruct_Count==2034 | |
| 205 */ | |
| 206 typedef struct | |
| 207 { | |
| 208 U8 pclass; /*< 0: 1> power class */ | |
| 209 U8 pclass2; /*< 1: 1> power class 2 */ | |
| 210 U8 _align0; /*< 2: 1> alignment */ | |
| 211 U8 _align1; /*< 3: 1> alignment */ | |
| 212 } T_classmark; | |
| 213 #endif | |
| 214 | |
| 215 #ifndef __T_ho_param__ | |
| 216 #define __T_ho_param__ | |
| 217 /* | |
| 218 * handover parameter | |
| 219 * CCDGEN:WriteStruct_Count==2035 | |
| 220 */ | |
| 221 typedef struct | |
| 222 { | |
| 223 U8 ho_ref; /*< 0: 1> reference */ | |
| 224 U8 ho_pow; /*< 1: 1> transmission power level */ | |
| 225 U8 ho_acc_type; /*< 2: 1> access type */ | |
| 226 U8 ho_nci; /*< 3: 1> normal cell indication */ | |
| 227 } T_ho_param; | |
| 228 #endif | |
| 229 | |
| 230 #ifndef __T_mid__ | |
| 231 #define __T_mid__ | |
| 232 /* | |
| 233 * Mobile identities | |
| 234 * CCDGEN:WriteStruct_Count==2036 | |
| 235 */ | |
| 236 typedef struct | |
| 237 { | |
| 238 U8 len_imsi; /*< 0: 1> Length of IMSI */ | |
| 239 U8 imsi[15]; /*< 1: 15> IMSI digits */ | |
| 240 U8 v_tmsi; /*< 16: 1> Valid TMSI flag */ | |
| 241 U8 _align0; /*< 17: 1> alignment */ | |
| 242 U8 _align1; /*< 18: 1> alignment */ | |
| 243 U8 _align2; /*< 19: 1> alignment */ | |
| 244 U32 tmsi; /*< 20: 4> Binary TMSI representatino */ | |
| 245 U8 v_ptmsi; /*< 24: 1> Valid PTMSI flag; can indicate'valid'only for the GPRS supporting terminal */ | |
| 246 U8 _align3; /*< 25: 1> alignment */ | |
| 247 U8 _align4; /*< 26: 1> alignment */ | |
| 248 U8 _align5; /*< 27: 1> alignment */ | |
| 249 U32 ptmsi; /*< 28: 4> Binary PTMSI representatino */ | |
| 250 U8 v_ptmsi2; /*< 32: 1> Valid PTMSI flag; can indicate'valid'only for the GPRS supporting terminal */ | |
| 251 U8 _align6; /*< 33: 1> alignment */ | |
| 252 U8 _align7; /*< 34: 1> alignment */ | |
| 253 U8 _align8; /*< 35: 1> alignment */ | |
| 254 U32 ptmsi2; /*< 36: 4> Binary PTMSI representatino */ | |
| 255 } T_mid; | |
| 256 #endif | |
| 257 | |
| 258 #ifndef __T_send_mode__ | |
| 259 #define __T_send_mode__ | |
| 260 /* | |
| 261 * RACH sending mode | |
| 262 * CCDGEN:WriteStruct_Count==2037 | |
| 263 */ | |
| 264 typedef struct | |
| 265 { | |
| 266 U8 c; /*< 0: 1> dummy; unused, reserved */ | |
| 267 U8 no; /*< 1: 1> number of RACH messages; this number includes re-transmissions and the first, initial RACH burst, i.e. no = M +1, where M is as defined in GSM 04.08's specification of the initiation of the immediate assignment procedure */ | |
| 268 U8 delta[MAX_RACH_REQ]; /*< 2: 8> time in TDMA frames between bursts; delta[0]corresponds to the time between MPH_RANDOM_ACCESS_REQ and the first RACH burst, delta[1]to the time between the first and the 2nd RACH burst and so on */ | |
| 269 U8 rach[MAX_RACH_REQ]; /*< 10: 8> channel request content burst n; rach[0]corresponds to the contents of the first RACH burst, rach[1]to the 2nd and so on */ | |
| 270 U8 _align0; /*< 18: 1> alignment */ | |
| 271 U8 _align1; /*< 19: 1> alignment */ | |
| 272 } T_send_mode; | |
| 273 #endif | |
| 274 | |
| 275 #ifndef __T_frame_no__ | |
| 276 #define __T_frame_no__ | |
| 277 /* | |
| 278 * reduced frame number | |
| 279 * CCDGEN:WriteStruct_Count==2038 | |
| 280 */ | |
| 281 typedef struct | |
| 282 { | |
| 283 U8 t1; /*< 0: 1> reduced frame number modula 32 */ | |
| 284 U8 t2; /*< 1: 1> reduced frame number modula 26 */ | |
| 285 U8 t3; /*< 2: 1> reduced frame number modula 51 */ | |
| 286 U8 _align0; /*< 3: 1> alignment */ | |
| 287 } T_frame_no; | |
| 288 #endif | |
| 289 | |
| 290 #ifndef __T_meas_results__ | |
| 291 #define __T_meas_results__ | |
| 292 /* | |
| 293 * neighbourcell measurement results | |
| 294 * CCDGEN:WriteStruct_Count==2040 | |
| 295 */ | |
| 296 typedef struct | |
| 297 { | |
| 298 U16 arfcn; /*< 0: 2> channel number */ | |
| 299 U8 rx_lev; /*< 2: 1> received field strength */ | |
| 300 U8 _align0; /*< 3: 1> alignment */ | |
| 301 } T_meas_results; | |
| 302 #endif | |
| 303 | |
| 304 #ifndef __T_eotd_sc_res__ | |
| 305 #define __T_eotd_sc_res__ | |
| 306 /* | |
| 307 * EOTD SC Results at start of measurement | |
| 308 * CCDGEN:WriteStruct_Count==2041 | |
| 309 */ | |
| 310 typedef struct | |
| 311 { | |
| 312 U8 sb_flag; /*< 0: 1> Valid flag */ | |
| 313 U8 bsic; /*< 1: 1> base station identification code */ | |
| 314 U16 arfcn; /*< 2: 2> channel number */ | |
| 315 S16 eotd_crosscor[XCOR_NO]; /*< 4: 36> Cross correlation */ | |
| 316 U32 d_eotd_nrj; /*< 40: 4> Sum of Amplitudes */ | |
| 317 U32 time_tag; /*< 44: 4> Time tag */ | |
| 318 } T_eotd_sc_res; | |
| 319 #endif | |
| 320 | |
| 321 /* | |
| 322 * EOTD SC Results at stop of measurement | |
| 323 * CCDGEN:WriteStruct_Count==2042 | |
| 324 */ | |
| 325 #ifndef __T_eotd_sc_res1__ | |
| 326 #define __T_eotd_sc_res1__ | |
| 327 typedef T_eotd_sc_res T_eotd_sc_res1; | |
| 328 #endif | |
| 329 /* | |
| 330 * EOTD NC Results | |
| 331 * CCDGEN:WriteStruct_Count==2043 | |
| 332 */ | |
| 333 #ifndef __T_eotd_nc_res__ | |
| 334 #define __T_eotd_nc_res__ | |
| 335 typedef T_eotd_sc_res T_eotd_nc_res; | |
| 336 #endif | |
| 337 #ifndef __T_ncell_eotd__ | |
| 338 #define __T_ncell_eotd__ | |
| 339 /* | |
| 340 * Parameters of a neighbour cell | |
| 341 * CCDGEN:WriteStruct_Count==2044 | |
| 342 */ | |
| 343 typedef struct | |
| 344 { | |
| 345 U16 arfcn; /*< 0: 2> channel number */ | |
| 346 U8 bsic; /*< 2: 1> base station identification code */ | |
| 347 U8 mfrm_offset; /*< 3: 1> multiframe offset */ | |
| 348 U8 otd_type; /*< 4: 1> OTD type */ | |
| 349 U8 _align0; /*< 5: 1> alignment */ | |
| 350 U16 exp_otd; /*< 6: 2> expectedOTD */ | |
| 351 U8 uncertainty; /*< 8: 1> Uncertainty of expected OTD */ | |
| 352 U8 _align1; /*< 9: 1> alignment */ | |
| 353 U16 rough_rtd; /*< 10: 2> rough RTD */ | |
| 354 } T_ncell_eotd; | |
| 355 #endif | |
| 356 | |
| 357 #ifndef __T_meas_rep__ | |
| 358 #define __T_meas_rep__ | |
| 359 /* | |
| 360 * meas report to RR | |
| 361 * CCDGEN:WriteStruct_Count==2045 | |
| 362 */ | |
| 363 typedef struct | |
| 364 { | |
| 365 U16 arfcn; /*< 0: 2> channel number */ | |
| 366 U8 bsic; /*< 2: 1> base station identification code */ | |
| 367 U8 rx_lev; /*< 3: 1> received field strength */ | |
| 368 } T_meas_rep; | |
| 369 #endif | |
| 370 | |
| 371 #ifndef __T_list__ | |
| 372 #define __T_list__ | |
| 373 /* | |
| 374 * stores a list of frequencies | |
| 375 * CCDGEN:WriteStruct_Count==2046 | |
| 376 */ | |
| 377 typedef struct | |
| 378 { | |
| 379 U8 channels[LIST_MAX_SIZE]; /*< 0:128> Stores list of ARFCNS */ | |
| 380 } T_list; | |
| 381 #endif | |
| 382 | |
| 383 #ifndef __T_black_list__ | |
| 384 #define __T_black_list__ | |
| 385 /* | |
| 386 * Contains a separate bit map of Black Listed carries for Euro / American regions | |
| 387 * CCDGEN:WriteStruct_Count==2047 | |
| 388 */ | |
| 389 typedef struct | |
| 390 { | |
| 391 T_list list[MAX_REGIONS]; /*< 0:256> stores a list of frequencies */ | |
| 392 } T_black_list; | |
| 393 #endif | |
| 394 | |
| 395 #ifndef __T_white_list__ | |
| 396 #define __T_white_list__ | |
| 397 /* | |
| 398 * contains the bitmap of carriers present in the 'White List' | |
| 399 * CCDGEN:WriteStruct_Count==2048 | |
| 400 */ | |
| 401 typedef struct | |
| 402 { | |
| 403 U8 white_list_valid; /*< 0: 1> Indicates whether 'White List' is valid or not */ | |
| 404 U8 region; /*< 1: 1> Indicates whether 'White List'belongs to European or American region */ | |
| 405 U8 _align0; /*< 2: 1> alignment */ | |
| 406 U8 _align1; /*< 3: 1> alignment */ | |
| 407 T_list list; /*< 4:128> stores a list of frequencies */ | |
| 408 } T_white_list; | |
| 409 #endif | |
| 410 | |
| 411 #ifndef __T_inactive_carrier_list__ | |
| 412 #define __T_inactive_carrier_list__ | |
| 413 /* | |
| 414 * Contains the bitmap of inactive carriers in the current location | |
| 415 * CCDGEN:WriteStruct_Count==2049 | |
| 416 */ | |
| 417 typedef struct | |
| 418 { | |
| 419 T_list list[MAX_REGIONS]; /*< 0:256> stores a list of frequencies */ | |
| 420 } T_inactive_carrier_list; | |
| 421 #endif | |
| 422 | |
| 423 | |
| 424 // STRUCT-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 425 // #ifndef __T_enh_cell_list__ | |
| 426 // #define __T_enh_cell_list__ | |
| 427 // | |
| 428 // Enhanced cell list | |
| 429 // CCDGEN:WriteStruct_Count==2050 | |
| 430 // | |
| 431 // typedef struct | |
| 432 // { | |
| 433 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 434 // U16 arfcn; /*< 0: 0> channel number */ | |
| 435 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 436 // U8 bsic; /*< 0: 0> base station identification code */ | |
| 437 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 438 // U8 rep_priority; /*< 0: 0> Reporting priority of a cell */ | |
| 439 // ELEM-FF: REL99 AND TI_PS_FF_RTD | |
| 440 // U8 v_rtd; /*< 0: 1> valid-flag */ | |
| 441 // U8 c_rtd; /*< 0: 0> counter */ | |
| 442 // // U16 rtd[MAX_NUM_OF_RTD_VALUES]; /*< 0: 0> Real Time Difference value for all the neighbour cells */ | |
| 443 // } T_enh_cell_list; | |
| 444 // #endif | |
| 445 // | |
| 446 | |
| 447 // STRUCT-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 448 // #ifndef __T_enh_rep_data__ | |
| 449 // #define __T_enh_rep_data__ | |
| 450 // | |
| 451 // Enhanced data for reporting | |
| 452 // CCDGEN:WriteStruct_Count==2051 | |
| 453 // | |
| 454 // typedef struct | |
| 455 // { | |
| 456 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 457 // U8 rep_threshold; /*< 0: 0> Reporting threshold */ | |
| 458 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 459 // U8 rep_offset; /*< 0: 0> Reporting offset */ | |
| 460 // } T_enh_rep_data; | |
| 461 // #endif | |
| 462 // | |
| 463 | |
| 464 // STRUCT-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 465 // #ifndef __T_enh_para_struct__ | |
| 466 // #define __T_enh_para_struct__ | |
| 467 // | |
| 468 // Enhanced measurement parameters | |
| 469 // CCDGEN:WriteStruct_Count==2052 | |
| 470 // | |
| 471 // typedef struct | |
| 472 // { | |
| 473 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 474 // U8 num_valid_cells; /*< 0: 0> Indicates number of cells valid in cell list in enh para */ | |
| 475 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 476 // T_enh_cell_list enh_cell_list[MAX_NEIGHBOURCELLS]; /*< 0: 0> Enhanced cell list */ | |
| 477 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 478 // U8 rep_rate; /*< 0: 0> Reporting rate */ | |
| 479 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 480 // U8 inv_bsic_enabled; /*< 0: 0> Is Invalid BSIC reporting enabled? */ | |
| 481 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 482 // U8 ncc_permitted; /*< 0: 0> NCC permitted bitmap */ | |
| 483 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 484 // U8 multiband_rep; /*< 0: 0> Number of cells, in each non-serving cell band, to be reported */ | |
| 485 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 486 // U8 servingband_rep; /*< 0: 0> Number of cells, in serving cell band, to be reported */ | |
| 487 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 488 // U8 scale_order; /*< 0: 0> Basic Element */ | |
| 489 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 490 // T_enh_rep_data enh_rep_data[MAX_NUM_BANDS]; /*< 0: 0> Enhanced data for reporting */ | |
| 491 // } T_enh_para_struct; | |
| 492 // #endif | |
| 493 // | |
| 494 | |
| 495 /* | |
| 496 * End of substructure section, begin of primitive definition section | |
| 497 */ | |
| 498 | |
| 499 #ifndef __T_MPH_POWER_REQ__ | |
| 500 #define __T_MPH_POWER_REQ__ | |
| 501 /* | |
| 502 * | |
| 503 * CCDGEN:WriteStruct_Count==2054 | |
| 504 */ | |
| 505 typedef struct | |
| 506 { | |
| 507 U8 pch_interrupt; /*< 0: 1> PCH Interrupt */ | |
| 508 U8 freq_bands; /*< 1: 1> Bitmap of frequency bands */ | |
| 509 U8 search_mode; /*< 2: 1> Basic Element */ | |
| 510 U8 lower_rxlevel_threshold[MAX_NUM_BANDS]; /*< 3: 5> lower rxlevel thershold for GSM channels */ | |
| 511 T_black_list black_list; /*< 8:256> Contains a separate bit map of Black Listed carries for Euro / American regions */ | |
| 512 T_white_list white_list; /*<264:132> contains the bitmap of carriers present in the 'White List' */ | |
| 513 } T_MPH_POWER_REQ; | |
| 514 #endif | |
| 515 | |
| 516 #ifndef __T_MPH_POWER_CNF__ | |
| 517 #define __T_MPH_POWER_CNF__ | |
| 518 /* | |
| 519 * | |
| 520 * CCDGEN:WriteStruct_Count==2055 | |
| 521 */ | |
| 522 typedef struct | |
| 523 { | |
| 524 U8 num_of_chan; /*< 0: 1> Number of detected channels */ | |
| 525 U8 num_of_white_list_chan; /*< 1: 1> The number of 'White List'carriers included in the list */ | |
| 526 U16 arfcn[MAX_CHANNELS]; /*< 2:200> channel number */ | |
| 527 U8 rx_lev[MAX_CHANNELS]; /*<202:100> received field strength */ | |
| 528 U8 _align0; /*<302: 1> alignment */ | |
| 529 U8 _align1; /*<303: 1> alignment */ | |
| 530 T_inactive_carrier_list inactive_carrier_list; /*<304:256> Contains the bitmap of inactive carriers in the current location */ | |
| 531 } T_MPH_POWER_CNF; | |
| 532 #endif | |
| 533 | |
| 534 #ifndef __T_MPH_BSIC_REQ__ | |
| 535 #define __T_MPH_BSIC_REQ__ | |
| 536 /* | |
| 537 * | |
| 538 * CCDGEN:WriteStruct_Count==2056 | |
| 539 */ | |
| 540 typedef struct | |
| 541 { | |
| 542 U16 arfcn; /*< 0: 2> channel number */ | |
| 543 U8 _align0; /*< 2: 1> alignment */ | |
| 544 U8 _align1; /*< 3: 1> alignment */ | |
| 545 } T_MPH_BSIC_REQ; | |
| 546 #endif | |
| 547 | |
| 548 #ifndef __T_MPH_BSIC_CNF__ | |
| 549 #define __T_MPH_BSIC_CNF__ | |
| 550 /* | |
| 551 * | |
| 552 * CCDGEN:WriteStruct_Count==2057 | |
| 553 */ | |
| 554 typedef struct | |
| 555 { | |
| 556 U16 arfcn; /*< 0: 2> channel number */ | |
| 557 U8 bsic; /*< 2: 1> base station identification code */ | |
| 558 U8 cs; /*< 3: 1> cause */ | |
| 559 } T_MPH_BSIC_CNF; | |
| 560 #endif | |
| 561 | |
| 562 #ifndef __T_MPH_UNITDATA_IND__ | |
| 563 #define __T_MPH_UNITDATA_IND__ | |
| 564 /* | |
| 565 * | |
| 566 * CCDGEN:WriteStruct_Count==2058 | |
| 567 */ | |
| 568 typedef struct | |
| 569 { | |
| 570 U16 arfcn; /*< 0: 2> channel number */ | |
| 571 U8 _align0; /*< 2: 1> alignment */ | |
| 572 U8 _align1; /*< 3: 1> alignment */ | |
| 573 U32 fn; /*< 4: 4> full frame number; format: absolute frame number */ | |
| 574 T_sdu sdu; /*< 8: ? > Service Data Unit */ | |
| 575 } T_MPH_UNITDATA_IND; | |
| 576 #endif | |
| 577 | |
| 578 #ifndef __T_MPH_RANDOM_ACCESS_REQ__ | |
| 579 #define __T_MPH_RANDOM_ACCESS_REQ__ | |
| 580 /* | |
| 581 * | |
| 582 * CCDGEN:WriteStruct_Count==2059 | |
| 583 */ | |
| 584 typedef struct | |
| 585 { | |
| 586 T_send_mode send_mode; /*< 0: 20> RACH sending mode */ | |
| 587 } T_MPH_RANDOM_ACCESS_REQ; | |
| 588 #endif | |
| 589 | |
| 590 #ifndef __T_MPH_RANDOM_ACCESS_CNF__ | |
| 591 #define __T_MPH_RANDOM_ACCESS_CNF__ | |
| 592 /* | |
| 593 * | |
| 594 * CCDGEN:WriteStruct_Count==2060 | |
| 595 */ | |
| 596 typedef struct | |
| 597 { | |
| 598 T_frame_no frame_no; /*< 0: 4> reduced frame number */ | |
| 599 } T_MPH_RANDOM_ACCESS_CNF; | |
| 600 #endif | |
| 601 | |
| 602 #ifndef __T_MPH_IDLE_REQ__ | |
| 603 #define __T_MPH_IDLE_REQ__ | |
| 604 /* | |
| 605 * | |
| 606 * CCDGEN:WriteStruct_Count==2061 | |
| 607 */ | |
| 608 typedef struct | |
| 609 { | |
| 610 U8 mod; /*< 0: 1> idle / dedicated mode scenario */ | |
| 611 U8 _align0; /*< 1: 1> alignment */ | |
| 612 U16 arfcn; /*< 2: 2> channel number */ | |
| 613 U8 ext_bcch; /*< 4: 1> unused, reserved */ | |
| 614 U8 comb_ccch; /*< 5: 1> extended BCCH listening */ | |
| 615 U8 tn; /*< 6: 1> timeslot number */ | |
| 616 U8 dlt; /*< 7: 1> downlink initial value */ | |
| 617 U8 pg; /*< 8: 1> paging group */ | |
| 618 U8 bs_ag_blocks_res; /*< 9: 1> blocks reserved for AGCH */ | |
| 619 U8 bs_pa_mfrms; /*< 10: 1> Multiframe Period */ | |
| 620 U8 power; /*< 11: 1> transmission power level */ | |
| 621 U8 ncc_permitted; /*< 12: 1> NCC permitted bitmap */ | |
| 622 U8 reorg_only; /*< 13: 1> specifies if reorg should be used */ | |
| 623 U8 eotd_avail; /*< 14: 1> eotd avail */ | |
| 624 U8 gprs_support; /*< 15: 1> GPRS */ | |
| 625 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 626 // U8 si2quater_status; /*< 0: 0> SI-2quater configuration status */ | |
| 627 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 628 // U8 si2quater_pos; /*< 0: 0> on N-BCCH or E-BCCH */ | |
| 629 } T_MPH_IDLE_REQ; | |
| 630 #endif | |
| 631 | |
| 632 #ifndef __T_MPH_MEASUREMENT_IND__ | |
| 633 #define __T_MPH_MEASUREMENT_IND__ | |
| 634 /* | |
| 635 * | |
| 636 * CCDGEN:WriteStruct_Count==2062 | |
| 637 */ | |
| 638 typedef struct | |
| 639 { | |
| 640 U16 arfcn; /*< 0: 2> channel number */ | |
| 641 U8 rx_lev_full; /*< 2: 1> received field strength */ | |
| 642 U8 rx_lev_sub; /*< 3: 1> received field strength */ | |
| 643 U8 rx_qual_full; /*< 4: 1> received quality */ | |
| 644 U8 rx_qual_sub; /*< 5: 1> received quality */ | |
| 645 U8 dtx; /*< 6: 1> discontinuous transmission */ | |
| 646 U8 _align0; /*< 7: 1> alignment */ | |
| 647 U16 otd; /*< 8: 2> timing advance */ | |
| 648 U8 valid; /*< 10: 1> valid flag */ | |
| 649 U8 _align1; /*< 11: 1> alignment */ | |
| 650 U16 fn_offset; /*< 12: 2> TDMA Frame Offset */ | |
| 651 U8 _align2; /*< 14: 1> alignment */ | |
| 652 U8 _align3; /*< 15: 1> alignment */ | |
| 653 T_ncells ncells; /*< 16: 76> neighbour cell measurement results */ | |
| 654 U8 gprs_sync; /*< 92: 1> specifies sync results */ | |
| 655 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 656 // U8 rxlev_val; /*< 0: 0> received field strength */ | |
| 657 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 658 // U8 nbr_rcvd_blks; /*< 0: 0> Number of received blocks */ | |
| 659 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 660 // U8 mean_bep; /*< 0: 0> mapped value of mean BEP */ | |
| 661 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 662 // U8 cv_bep; /*< 0: 0> CV BEP */ | |
| 663 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 664 // U8 scale_used; /*< 0: 0> Basic Element */ | |
| 665 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 666 // U8 nc_index[MAX_NUM_CELLS_IN_REPORT]; /*< 0: 0> GSM Neighbour cell index /index to enhanced cell list */ | |
| 667 // ELEM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 668 // U8 bsic_seen; /*< 0: 0> Indicates if a GSM cell with invalid BSIC and allowed NCC part of the BSIC is one of the six strongest cells. */ | |
| 669 U8 bcch_rxlev_of_sc; /*< 93: 1> This is the rxlev of BCCH channel. Used only in dedicated mode */ | |
| 670 U8 _align4; /*< 94: 1> alignment */ | |
| 671 U8 _align5; /*< 95: 1> alignment */ | |
| 672 } T_MPH_MEASUREMENT_IND; | |
| 673 #endif | |
| 674 | |
| 675 #ifndef __T_MPH_NEIGHBOURCELL_REQ__ | |
| 676 #define __T_MPH_NEIGHBOURCELL_REQ__ | |
| 677 /* | |
| 678 * | |
| 679 * CCDGEN:WriteStruct_Count==2063 | |
| 680 */ | |
| 681 typedef struct | |
| 682 { | |
| 683 U8 multi_band; /*< 0: 1> multiband report parameter */ | |
| 684 U8 _align0; /*< 1: 1> alignment */ | |
| 685 U16 arfcn[MAX_NEIGHBOURCELLS]; /*< 2: 66> channel number */ | |
| 686 U8 sync_only; /*< 68: 1> specifies if only sync is used */ | |
| 687 U8 _align1; /*< 69: 1> alignment */ | |
| 688 U8 _align2; /*< 70: 1> alignment */ | |
| 689 U8 _align3; /*< 71: 1> alignment */ | |
| 690 } T_MPH_NEIGHBOURCELL_REQ; | |
| 691 #endif | |
| 692 | |
| 693 #ifndef __T_MPH_DEDICATED_REQ__ | |
| 694 #define __T_MPH_DEDICATED_REQ__ | |
| 695 /* | |
| 696 * | |
| 697 * CCDGEN:WriteStruct_Count==2064 | |
| 698 */ | |
| 699 typedef struct | |
| 700 { | |
| 701 U8 mod; /*< 0: 1> idle / dedicated mode scenario */ | |
| 702 U8 _align0; /*< 1: 1> alignment */ | |
| 703 U8 _align1; /*< 2: 1> alignment */ | |
| 704 U8 _align2; /*< 3: 1> alignment */ | |
| 705 T_start start; /*< 4: 4> starting time */ | |
| 706 T_ch_type ch_type; /*< 8:136> channel type configuration */ | |
| 707 T_ch_type2 ch_type2; /*<144:136> channel type */ | |
| 708 U16 arfcn; /*<280: 2> channel number */ | |
| 709 U8 bsic; /*<282: 1> base station identification code */ | |
| 710 U8 _align3; /*<283: 1> alignment */ | |
| 711 T_ho_param ho_param; /*<284: 4> handover parameter */ | |
| 712 T_tr_para tr_para; /*<288: 8> transmission parameter */ | |
| 713 T_ciph ciph; /*<296: 20> ciphering parameters */ | |
| 714 T_amr_conf amr_conf; /*<316: 20> Parameters for AMR */ | |
| 715 } T_MPH_DEDICATED_REQ; | |
| 716 #endif | |
| 717 | |
| 718 #ifndef __T_MPH_DEDICATED_CNF__ | |
| 719 #define __T_MPH_DEDICATED_CNF__ | |
| 720 /* | |
| 721 * | |
| 722 * CCDGEN:WriteStruct_Count==2065 | |
| 723 */ | |
| 724 typedef struct | |
| 725 { | |
| 726 U8 dedi_res; /*< 0: 1> dedicated configuration result */ | |
| 727 U8 _align0; /*< 1: 1> alignment */ | |
| 728 U8 _align1; /*< 2: 1> alignment */ | |
| 729 U8 _align2; /*< 3: 1> alignment */ | |
| 730 } T_MPH_DEDICATED_CNF; | |
| 731 #endif | |
| 732 | |
| 733 #ifndef __T_MPH_DEDICATED_FAIL_REQ__ | |
| 734 #define __T_MPH_DEDICATED_FAIL_REQ__ | |
| 735 /* | |
| 736 * | |
| 737 * CCDGEN:WriteStruct_Count==2066 | |
| 738 */ | |
| 739 typedef struct | |
| 740 { | |
| 741 U8 param; /*< 0: 1> dummy parameter */ | |
| 742 U8 _align0; /*< 1: 1> alignment */ | |
| 743 U8 _align1; /*< 2: 1> alignment */ | |
| 744 U8 _align2; /*< 3: 1> alignment */ | |
| 745 } T_MPH_DEDICATED_FAIL_REQ; | |
| 746 #endif | |
| 747 | |
| 748 #ifndef __T_MPH_DEDICATED_FAIL_CNF__ | |
| 749 #define __T_MPH_DEDICATED_FAIL_CNF__ | |
| 750 /* | |
| 751 * | |
| 752 * CCDGEN:WriteStruct_Count==2067 | |
| 753 */ | |
| 754 typedef struct | |
| 755 { | |
| 756 U8 param; /*< 0: 1> dummy parameter */ | |
| 757 U8 _align0; /*< 1: 1> alignment */ | |
| 758 U8 _align1; /*< 2: 1> alignment */ | |
| 759 U8 _align2; /*< 3: 1> alignment */ | |
| 760 } T_MPH_DEDICATED_FAIL_CNF; | |
| 761 #endif | |
| 762 | |
| 763 #ifndef __T_MPH_CIPHERING_REQ__ | |
| 764 #define __T_MPH_CIPHERING_REQ__ | |
| 765 /* | |
| 766 * | |
| 767 * CCDGEN:WriteStruct_Count==2068 | |
| 768 */ | |
| 769 typedef struct | |
| 770 { | |
| 771 T_ciph ciph; /*< 0: 20> ciphering parameters */ | |
| 772 } T_MPH_CIPHERING_REQ; | |
| 773 #endif | |
| 774 | |
| 775 #ifndef __T_MPH_FREQ_REDEF_REQ__ | |
| 776 #define __T_MPH_FREQ_REDEF_REQ__ | |
| 777 /* | |
| 778 * | |
| 779 * CCDGEN:WriteStruct_Count==2069 | |
| 780 */ | |
| 781 typedef struct | |
| 782 { | |
| 783 T_start start; /*< 0: 4> starting time */ | |
| 784 T_ch_type ch_type; /*< 4:136> channel type configuration */ | |
| 785 } T_MPH_FREQ_REDEF_REQ; | |
| 786 #endif | |
| 787 | |
| 788 #ifndef __T_MPH_CHANNEL_MODE_REQ__ | |
| 789 #define __T_MPH_CHANNEL_MODE_REQ__ | |
| 790 /* | |
| 791 * | |
| 792 * CCDGEN:WriteStruct_Count==2070 | |
| 793 */ | |
| 794 typedef struct | |
| 795 { | |
| 796 U8 mode; /*< 0: 1> channel mode */ | |
| 797 U8 ch; /*< 1: 1> channel type */ | |
| 798 U8 _align0; /*< 2: 1> alignment */ | |
| 799 U8 _align1; /*< 3: 1> alignment */ | |
| 800 T_amr_conf amr_conf; /*< 4: 20> Parameters for AMR */ | |
| 801 } T_MPH_CHANNEL_MODE_REQ; | |
| 802 #endif | |
| 803 | |
| 804 #ifndef __T_MPH_ERROR_IND__ | |
| 805 #define __T_MPH_ERROR_IND__ | |
| 806 /* | |
| 807 * | |
| 808 * CCDGEN:WriteStruct_Count==2071 | |
| 809 */ | |
| 810 typedef struct | |
| 811 { | |
| 812 U8 cs; /*< 0: 1> cause */ | |
| 813 U8 _align0; /*< 1: 1> alignment */ | |
| 814 U16 arfcn; /*< 2: 2> channel number */ | |
| 815 } T_MPH_ERROR_IND; | |
| 816 #endif | |
| 817 | |
| 818 #ifndef __T_MPH_DEACTIVATE_REQ__ | |
| 819 #define __T_MPH_DEACTIVATE_REQ__ | |
| 820 /* | |
| 821 * | |
| 822 * CCDGEN:WriteStruct_Count==2072 | |
| 823 */ | |
| 824 typedef struct | |
| 825 { | |
| 826 U8 param; /*< 0: 1> dummy parameter */ | |
| 827 U8 _align0; /*< 1: 1> alignment */ | |
| 828 U8 _align1; /*< 2: 1> alignment */ | |
| 829 U8 _align2; /*< 3: 1> alignment */ | |
| 830 } T_MPH_DEACTIVATE_REQ; | |
| 831 #endif | |
| 832 | |
| 833 #ifndef __T_MPH_CLASSMARK_REQ__ | |
| 834 #define __T_MPH_CLASSMARK_REQ__ | |
| 835 /* | |
| 836 * | |
| 837 * CCDGEN:WriteStruct_Count==2073 | |
| 838 */ | |
| 839 typedef struct | |
| 840 { | |
| 841 T_classmark classmark; /*< 0: 4> classmark */ | |
| 842 } T_MPH_CLASSMARK_REQ; | |
| 843 #endif | |
| 844 | |
| 845 #ifndef __T_MPH_TCH_LOOP_REQ__ | |
| 846 #define __T_MPH_TCH_LOOP_REQ__ | |
| 847 /* | |
| 848 * | |
| 849 * CCDGEN:WriteStruct_Count==2074 | |
| 850 */ | |
| 851 typedef struct | |
| 852 { | |
| 853 U8 tch_loop; /*< 0: 1> TCH loop command */ | |
| 854 U8 _align0; /*< 1: 1> alignment */ | |
| 855 U8 _align1; /*< 2: 1> alignment */ | |
| 856 U8 _align2; /*< 3: 1> alignment */ | |
| 857 } T_MPH_TCH_LOOP_REQ; | |
| 858 #endif | |
| 859 | |
| 860 #ifndef __T_MPH_DAI_REQ__ | |
| 861 #define __T_MPH_DAI_REQ__ | |
| 862 /* | |
| 863 * | |
| 864 * CCDGEN:WriteStruct_Count==2075 | |
| 865 */ | |
| 866 typedef struct | |
| 867 { | |
| 868 U8 device; /*< 0: 1> DAI testing device */ | |
| 869 U8 _align0; /*< 1: 1> alignment */ | |
| 870 U8 _align1; /*< 2: 1> alignment */ | |
| 871 U8 _align2; /*< 3: 1> alignment */ | |
| 872 } T_MPH_DAI_REQ; | |
| 873 #endif | |
| 874 | |
| 875 #ifndef __T_MPH_CBCH_REQ__ | |
| 876 #define __T_MPH_CBCH_REQ__ | |
| 877 /* | |
| 878 * | |
| 879 * CCDGEN:WriteStruct_Count==2076 | |
| 880 */ | |
| 881 typedef struct | |
| 882 { | |
| 883 T_cbch cbch; /*< 0:140> cell broadcast channel */ | |
| 884 } T_MPH_CBCH_REQ; | |
| 885 #endif | |
| 886 | |
| 887 #ifndef __T_MPH_IDENTITY_REQ__ | |
| 888 #define __T_MPH_IDENTITY_REQ__ | |
| 889 /* | |
| 890 * | |
| 891 * CCDGEN:WriteStruct_Count==2077 | |
| 892 */ | |
| 893 typedef struct | |
| 894 { | |
| 895 T_mid mid; /*< 0: 40> Mobile identities */ | |
| 896 } T_MPH_IDENTITY_REQ; | |
| 897 #endif | |
| 898 | |
| 899 #ifndef __T_MPH_PAGING_IND__ | |
| 900 #define __T_MPH_PAGING_IND__ | |
| 901 /* | |
| 902 * | |
| 903 * CCDGEN:WriteStruct_Count==2078 | |
| 904 */ | |
| 905 typedef struct | |
| 906 { | |
| 907 U8 identity_type; /*< 0: 1> Identity type */ | |
| 908 U8 channel_needed; /*< 1: 1> Channel needed */ | |
| 909 U8 _align0; /*< 2: 1> alignment */ | |
| 910 U8 _align1; /*< 3: 1> alignment */ | |
| 911 } T_MPH_PAGING_IND; | |
| 912 #endif | |
| 913 | |
| 914 #ifndef __T_MPH_MON_CTRL_REQ__ | |
| 915 #define __T_MPH_MON_CTRL_REQ__ | |
| 916 /* | |
| 917 * | |
| 918 * CCDGEN:WriteStruct_Count==2079 | |
| 919 */ | |
| 920 typedef struct | |
| 921 { | |
| 922 U8 action; /*< 0: 1> start or stop reading of BCCH resp. CCCH */ | |
| 923 U8 si_to_read; /*< 1: 1> SI to read */ | |
| 924 U8 _align0; /*< 2: 1> alignment */ | |
| 925 U8 _align1; /*< 3: 1> alignment */ | |
| 926 } T_MPH_MON_CTRL_REQ; | |
| 927 #endif | |
| 928 | |
| 929 #ifndef __T_MPH_SYNC_REQ__ | |
| 930 #define __T_MPH_SYNC_REQ__ | |
| 931 /* | |
| 932 * | |
| 933 * CCDGEN:WriteStruct_Count==2080 | |
| 934 */ | |
| 935 typedef struct | |
| 936 { | |
| 937 U8 cs; /*< 0: 1> cause */ | |
| 938 U8 _align0; /*< 1: 1> alignment */ | |
| 939 U8 _align1; /*< 2: 1> alignment */ | |
| 940 U8 _align2; /*< 3: 1> alignment */ | |
| 941 } T_MPH_SYNC_REQ; | |
| 942 #endif | |
| 943 | |
| 944 #ifndef __T_MPH_SYNC_IND__ | |
| 945 #define __T_MPH_SYNC_IND__ | |
| 946 /* | |
| 947 * | |
| 948 * CCDGEN:WriteStruct_Count==2081 | |
| 949 */ | |
| 950 typedef struct | |
| 951 { | |
| 952 U8 cs; /*< 0: 1> cause */ | |
| 953 U8 _align0; /*< 1: 1> alignment */ | |
| 954 U16 arfcn; /*< 2: 2> channel number */ | |
| 955 } T_MPH_SYNC_IND; | |
| 956 #endif | |
| 957 | |
| 958 #ifndef __T_MPH_MEAS_ORDER_CNF__ | |
| 959 #define __T_MPH_MEAS_ORDER_CNF__ | |
| 960 /* | |
| 961 * | |
| 962 * CCDGEN:WriteStruct_Count==2082 | |
| 963 */ | |
| 964 typedef struct | |
| 965 { | |
| 966 U8 no_of_ncells; /*< 0: 1> Number of ncells */ | |
| 967 U8 _align0; /*< 1: 1> alignment */ | |
| 968 U8 _align1; /*< 2: 1> alignment */ | |
| 969 U8 _align2; /*< 3: 1> alignment */ | |
| 970 T_meas_results meas_results[MAX_NEIGHBOURCELLS]; /*< 4:132> neighbourcell measurement results */ | |
| 971 } T_MPH_MEAS_ORDER_CNF; | |
| 972 #endif | |
| 973 | |
| 974 #ifndef __T_MPH_EMO_REQ__ | |
| 975 #define __T_MPH_EMO_REQ__ | |
| 976 /* | |
| 977 * | |
| 978 * CCDGEN:WriteStruct_Count==2083 | |
| 979 */ | |
| 980 typedef struct | |
| 981 { | |
| 982 U8 ba_id; /*< 0: 1> link frequency list and measurement report */ | |
| 983 U8 c_arfcn; /*< 1: 1> counter */ | |
| 984 U16 arfcn[MAX_EMO_CHANNELS]; /*< 2: 42> channel number */ | |
| 985 } T_MPH_EMO_REQ; | |
| 986 #endif | |
| 987 | |
| 988 #ifndef __T_MPH_EMO_MEAS_IND__ | |
| 989 #define __T_MPH_EMO_MEAS_IND__ | |
| 990 /* | |
| 991 * | |
| 992 * CCDGEN:WriteStruct_Count==2084 | |
| 993 */ | |
| 994 typedef struct | |
| 995 { | |
| 996 U8 ba_id; /*< 0: 1> link frequency list and measurement report */ | |
| 997 U8 dtx; /*< 1: 1> discontinuous transmission */ | |
| 998 U8 _align0; /*< 2: 1> alignment */ | |
| 999 U8 c_meas_results; /*< 3: 1> counter */ | |
| 1000 T_meas_results meas_results[MAX_EMO_CHANNELS + 1]; /*< 4: 88> neighbourcell measurement results */ | |
| 1001 } T_MPH_EMO_MEAS_IND; | |
| 1002 #endif | |
| 1003 | |
| 1004 #ifndef __T_MPH_EXT_MEAS_REQ__ | |
| 1005 #define __T_MPH_EXT_MEAS_REQ__ | |
| 1006 /* | |
| 1007 * | |
| 1008 * CCDGEN:WriteStruct_Count==2085 | |
| 1009 */ | |
| 1010 typedef struct | |
| 1011 { | |
| 1012 U8 pch_interrupt; /*< 0: 1> PCH Interrupt */ | |
| 1013 U8 freq_bands; /*< 1: 1> Bitmap of frequency bands */ | |
| 1014 U8 num_of_chan; /*< 2: 1> Number of detected channels */ | |
| 1015 U8 _align0; /*< 3: 1> alignment */ | |
| 1016 U16 arfcn[MAX_CHANNELS]; /*< 4:200> channel number */ | |
| 1017 } T_MPH_EXT_MEAS_REQ; | |
| 1018 #endif | |
| 1019 | |
| 1020 #ifndef __T_MPH_EXT_MEAS_CNF__ | |
| 1021 #define __T_MPH_EXT_MEAS_CNF__ | |
| 1022 /* | |
| 1023 * | |
| 1024 * CCDGEN:WriteStruct_Count==2086 | |
| 1025 */ | |
| 1026 typedef struct | |
| 1027 { | |
| 1028 U8 num_of_chan; /*< 0: 1> Number of detected channels */ | |
| 1029 U8 num_of_white_list_chan; /*< 1: 1> The number of 'White List'carriers included in the list */ | |
| 1030 U16 arfcn[MAX_CHANNELS]; /*< 2:200> channel number */ | |
| 1031 U8 rx_lev[MAX_CHANNELS]; /*<202:100> received field strength */ | |
| 1032 U8 _align0; /*<302: 1> alignment */ | |
| 1033 U8 _align1; /*<303: 1> alignment */ | |
| 1034 T_inactive_carrier_list inactive_carrier_list; /*<304:256> Contains the bitmap of inactive carriers in the current location */ | |
| 1035 } T_MPH_EXT_MEAS_CNF; | |
| 1036 #endif | |
| 1037 | |
| 1038 #ifndef __T_MPH_NCELL_POS_REQ__ | |
| 1039 #define __T_MPH_NCELL_POS_REQ__ | |
| 1040 /* | |
| 1041 * | |
| 1042 * CCDGEN:WriteStruct_Count==2087 | |
| 1043 */ | |
| 1044 typedef struct | |
| 1045 { | |
| 1046 U16 req_id; /*< 0: 2> Request Identifier */ | |
| 1047 U8 _align0; /*< 2: 1> alignment */ | |
| 1048 U8 c_ncell_eotd; /*< 3: 1> counter */ | |
| 1049 T_ncell_eotd ncell_eotd[MAX_NCELL_EOTD_ALR]; /*< 4:180> Parameters of a neighbour cell */ | |
| 1050 } T_MPH_NCELL_POS_REQ; | |
| 1051 #endif | |
| 1052 | |
| 1053 #ifndef __T_MPH_NCELL_POS_IND__ | |
| 1054 #define __T_MPH_NCELL_POS_IND__ | |
| 1055 /* | |
| 1056 * | |
| 1057 * CCDGEN:WriteStruct_Count==2088 | |
| 1058 */ | |
| 1059 typedef struct | |
| 1060 { | |
| 1061 U16 req_id; /*< 0: 2> Request Identifier */ | |
| 1062 U8 eotd_res; /*< 2: 1> EOTD Result */ | |
| 1063 U8 ta; /*< 3: 1> timing advance */ | |
| 1064 U32 fn; /*< 4: 4> full frame number; format: absolute frame number */ | |
| 1065 T_eotd_sc_res eotd_sc_res; /*< 8: 48> EOTD SC Results at start of measurement */ | |
| 1066 T_eotd_sc_res1 eotd_sc_res1; /*< 56: 48> EOTD SC Results at stop of measurement */ | |
| 1067 U8 _align0; /*<104: 1> alignment */ | |
| 1068 U8 _align1; /*<105: 1> alignment */ | |
| 1069 U8 _align2; /*<106: 1> alignment */ | |
| 1070 U8 c_eotd_nc_res; /*<107: 1> counter */ | |
| 1071 T_eotd_nc_res eotd_nc_res[MAX_NCELL_EOTD_RES]; /*<108:576> EOTD NC Results */ | |
| 1072 } T_MPH_NCELL_POS_IND; | |
| 1073 #endif | |
| 1074 | |
| 1075 #ifndef __T_MPH_CLEAN_BUF_REQ__ | |
| 1076 #define __T_MPH_CLEAN_BUF_REQ__ | |
| 1077 /* | |
| 1078 * | |
| 1079 * CCDGEN:WriteStruct_Count==2089 | |
| 1080 */ | |
| 1081 typedef struct | |
| 1082 { | |
| 1083 U16 si_to_clean; /*< 0: 2> SI to clean */ | |
| 1084 U8 _align0; /*< 2: 1> alignment */ | |
| 1085 U8 _align1; /*< 3: 1> alignment */ | |
| 1086 } T_MPH_CLEAN_BUF_REQ; | |
| 1087 #endif | |
| 1088 | |
| 1089 #ifndef __T_MPH_STOP_DEDICATED_REQ__ | |
| 1090 #define __T_MPH_STOP_DEDICATED_REQ__ | |
| 1091 /* | |
| 1092 * | |
| 1093 * CCDGEN:WriteStruct_Count==2090 | |
| 1094 */ | |
| 1095 typedef struct | |
| 1096 { | |
| 1097 U8 param; /*< 0: 1> dummy parameter */ | |
| 1098 U8 _align0; /*< 1: 1> alignment */ | |
| 1099 U8 _align1; /*< 2: 1> alignment */ | |
| 1100 U8 _align2; /*< 3: 1> alignment */ | |
| 1101 } T_MPH_STOP_DEDICATED_REQ; | |
| 1102 #endif | |
| 1103 | |
| 1104 #ifndef __T_MPH_STOP_DEDICATED_CNF__ | |
| 1105 #define __T_MPH_STOP_DEDICATED_CNF__ | |
| 1106 /* | |
| 1107 * | |
| 1108 * CCDGEN:WriteStruct_Count==2091 | |
| 1109 */ | |
| 1110 typedef struct | |
| 1111 { | |
| 1112 U8 param; /*< 0: 1> dummy parameter */ | |
| 1113 U8 _align0; /*< 1: 1> alignment */ | |
| 1114 U8 _align1; /*< 2: 1> alignment */ | |
| 1115 U8 _align2; /*< 3: 1> alignment */ | |
| 1116 } T_MPH_STOP_DEDICATED_CNF; | |
| 1117 #endif | |
| 1118 | |
| 1119 #ifndef __T_MPH_MEAS_REP_REQ__ | |
| 1120 #define __T_MPH_MEAS_REP_REQ__ | |
| 1121 /* | |
| 1122 * | |
| 1123 * CCDGEN:WriteStruct_Count==2092 | |
| 1124 */ | |
| 1125 typedef struct | |
| 1126 { | |
| 1127 U8 cause; /*< 0: 1> Meas report */ | |
| 1128 U8 _align0; /*< 1: 1> alignment */ | |
| 1129 U8 _align1; /*< 2: 1> alignment */ | |
| 1130 U8 _align2; /*< 3: 1> alignment */ | |
| 1131 } T_MPH_MEAS_REP_REQ; | |
| 1132 #endif | |
| 1133 | |
| 1134 #ifndef __T_MPH_MEAS_REP_CNF__ | |
| 1135 #define __T_MPH_MEAS_REP_CNF__ | |
| 1136 /* | |
| 1137 * | |
| 1138 * CCDGEN:WriteStruct_Count==2093 | |
| 1139 */ | |
| 1140 typedef struct | |
| 1141 { | |
| 1142 T_meas_rep meas_rep[RR_ALR_MEAS_REPORT_SIZE]; /*< 0: 28> meas report to RR */ | |
| 1143 } T_MPH_MEAS_REP_CNF; | |
| 1144 #endif | |
| 1145 | |
| 1146 | |
| 1147 // PRIM-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD ) | |
| 1148 // #ifndef __T_MPH_ENHPARA_UPDATE_REQ__ | |
| 1149 // #define __T_MPH_ENHPARA_UPDATE_REQ__ | |
| 1150 // | |
| 1151 // | |
| 1152 // CCDGEN:WriteStruct_Count==2094 | |
| 1153 // | |
| 1154 // typedef struct | |
| 1155 // { | |
| 1156 // U8 rep_type; /*< 0: 0> Report type */ | |
| 1157 // T_enh_para_struct enh_para; /*< 0: 0> Enhanced measurement parameters */ | |
| 1158 // } T_MPH_ENHPARA_UPDATE_REQ; | |
| 1159 // #endif | |
| 1160 // | |
| 1161 | |
| 1162 // PRIM-FF: TI_PS_FF_QUAD_BAND_SUPPORT | |
| 1163 // #ifndef __T_MPH_INIT_RR_IND__ | |
| 1164 // #define __T_MPH_INIT_RR_IND__ | |
| 1165 // | |
| 1166 // | |
| 1167 // CCDGEN:WriteStruct_Count==2095 | |
| 1168 // | |
| 1169 // typedef struct | |
| 1170 // { | |
| 1171 // U8 pclass_900; /*< 0: 0> Power Class GSM 900 */ | |
| 1172 // U8 pclass_850; /*< 0: 0> Power Class 850 */ | |
| 1173 // U8 pclass_1800; /*< 0: 0> Power Class 1800 */ | |
| 1174 // U8 pclass_1900; /*< 0: 0> Power Class 1900 */ | |
| 1175 // U8 freq_bands; /*< 0: 1> Bitmap of frequency bands */ | |
| 1176 // U8 _align0; /*< 1: 1> alignment */ | |
| 1177 // U8 _align1; /*< 2: 1> alignment */ | |
| 1178 // U8 _align2; /*< 3: 1> alignment */ | |
| 1179 // } T_MPH_INIT_RR_IND; | |
| 1180 // #endif | |
| 1181 // | |
| 1182 | |
| 1183 #include "CDG_LEAVE.h" | |
| 1184 | |
| 1185 | |
| 1186 #endif |
