rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /***************************************************************************** |
| 2 | * Copyright Statement: |
| 3 | * -------------------- |
| 4 | * This software is protected by Copyright and the information contained |
| 5 | * herein is confidential. The software may not be copied and the information |
| 6 | * contained herein may not be used or disclosed except with the written |
| 7 | * permission of MediaTek Inc. (C) 2005 |
| 8 | * |
| 9 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 11 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | * |
| 22 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | * |
| 28 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | * |
| 34 | *****************************************************************************/ |
| 35 | |
| 36 | /***************************************************************************** |
| 37 | * |
| 38 | * Filename: |
| 39 | * --------- |
| 40 | * l1_surround_private.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * Maui_Software |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * Surround cell handling private stuff. |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * ------- |
| 53 | * |
| 54 | *============================================================================ |
| 55 | * HISTORY |
| 56 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 57 | *------------------------------------------------------------------------------ |
| 58 | * removed! |
| 59 | * removed! |
| 60 | * removed! |
| 61 | * |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * |
| 68 | * removed! |
| 69 | * removed! |
| 70 | * |
| 71 | * removed! |
| 72 | * removed! |
| 73 | * |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * removed! |
| 81 | * |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * removed! |
| 85 | * |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * removed! |
| 89 | * |
| 90 | * removed! |
| 91 | * removed! |
| 92 | * removed! |
| 93 | * |
| 94 | * removed! |
| 95 | * removed! |
| 96 | * removed! |
| 97 | * |
| 98 | * removed! |
| 99 | * removed! |
| 100 | * removed! |
| 101 | * |
| 102 | * removed! |
| 103 | * removed! |
| 104 | * |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * removed! |
| 108 | * |
| 109 | * removed! |
| 110 | * removed! |
| 111 | * |
| 112 | * removed! |
| 113 | * removed! |
| 114 | * removed! |
| 115 | * |
| 116 | * removed! |
| 117 | * removed! |
| 118 | * removed! |
| 119 | * |
| 120 | * removed! |
| 121 | * removed! |
| 122 | * |
| 123 | * removed! |
| 124 | * removed! |
| 125 | * |
| 126 | * removed! |
| 127 | * removed! |
| 128 | * |
| 129 | * removed! |
| 130 | * removed! |
| 131 | * removed! |
| 132 | * removed! |
| 133 | * removed! |
| 134 | * removed! |
| 135 | * removed! |
| 136 | * |
| 137 | * removed! |
| 138 | * removed! |
| 139 | * removed! |
| 140 | * |
| 141 | * removed! |
| 142 | * removed! |
| 143 | * removed! |
| 144 | * |
| 145 | * removed! |
| 146 | * removed! |
| 147 | * removed! |
| 148 | * |
| 149 | * removed! |
| 150 | * removed! |
| 151 | * removed! |
| 152 | * removed! |
| 153 | * |
| 154 | * removed! |
| 155 | * removed! |
| 156 | * removed! |
| 157 | * |
| 158 | * removed! |
| 159 | * removed! |
| 160 | * removed! |
| 161 | * |
| 162 | * removed! |
| 163 | * removed! |
| 164 | * removed! |
| 165 | * |
| 166 | * removed! |
| 167 | * removed! |
| 168 | * removed! |
| 169 | * |
| 170 | * removed! |
| 171 | * removed! |
| 172 | * removed! |
| 173 | * |
| 174 | * removed! |
| 175 | * removed! |
| 176 | * removed! |
| 177 | * |
| 178 | * removed! |
| 179 | * removed! |
| 180 | * removed! |
| 181 | * |
| 182 | * removed! |
| 183 | * removed! |
| 184 | * removed! |
| 185 | * |
| 186 | * removed! |
| 187 | * removed! |
| 188 | * removed! |
| 189 | * |
| 190 | * removed! |
| 191 | * removed! |
| 192 | * removed! |
| 193 | * |
| 194 | * removed! |
| 195 | * removed! |
| 196 | * removed! |
| 197 | * |
| 198 | * removed! |
| 199 | * removed! |
| 200 | * removed! |
| 201 | * |
| 202 | * removed! |
| 203 | * removed! |
| 204 | * removed! |
| 205 | * |
| 206 | * removed! |
| 207 | * removed! |
| 208 | * removed! |
| 209 | * |
| 210 | * removed! |
| 211 | * removed! |
| 212 | * removed! |
| 213 | * |
| 214 | * removed! |
| 215 | * removed! |
| 216 | * removed! |
| 217 | * |
| 218 | * removed! |
| 219 | * removed! |
| 220 | * removed! |
| 221 | * |
| 222 | * removed! |
| 223 | * removed! |
| 224 | * removed! |
| 225 | * |
| 226 | * removed! |
| 227 | * removed! |
| 228 | * removed! |
| 229 | * |
| 230 | * removed! |
| 231 | * removed! |
| 232 | * removed! |
| 233 | * |
| 234 | * removed! |
| 235 | * removed! |
| 236 | * removed! |
| 237 | * |
| 238 | * removed! |
| 239 | * removed! |
| 240 | * removed! |
| 241 | * |
| 242 | * removed! |
| 243 | * removed! |
| 244 | * removed! |
| 245 | * |
| 246 | * removed! |
| 247 | * removed! |
| 248 | * removed! |
| 249 | * |
| 250 | * removed! |
| 251 | * removed! |
| 252 | * removed! |
| 253 | * |
| 254 | * removed! |
| 255 | * removed! |
| 256 | * removed! |
| 257 | * |
| 258 | * removed! |
| 259 | * removed! |
| 260 | * removed! |
| 261 | * |
| 262 | * removed! |
| 263 | * removed! |
| 264 | * removed! |
| 265 | * |
| 266 | * removed! |
| 267 | * removed! |
| 268 | * removed! |
| 269 | * |
| 270 | * removed! |
| 271 | * removed! |
| 272 | * removed! |
| 273 | * |
| 274 | * removed! |
| 275 | * removed! |
| 276 | * removed! |
| 277 | * |
| 278 | * removed! |
| 279 | * removed! |
| 280 | * removed! |
| 281 | * |
| 282 | * removed! |
| 283 | * removed! |
| 284 | * removed! |
| 285 | * |
| 286 | * removed! |
| 287 | * removed! |
| 288 | * removed! |
| 289 | * |
| 290 | * removed! |
| 291 | * removed! |
| 292 | * removed! |
| 293 | * |
| 294 | * removed! |
| 295 | * removed! |
| 296 | * removed! |
| 297 | * |
| 298 | * removed! |
| 299 | * removed! |
| 300 | * removed! |
| 301 | * |
| 302 | * removed! |
| 303 | * removed! |
| 304 | * removed! |
| 305 | * |
| 306 | * removed! |
| 307 | * removed! |
| 308 | * removed! |
| 309 | * |
| 310 | * removed! |
| 311 | * removed! |
| 312 | * removed! |
| 313 | * |
| 314 | * removed! |
| 315 | * removed! |
| 316 | * removed! |
| 317 | * removed! |
| 318 | * removed! |
| 319 | * removed! |
| 320 | * removed! |
| 321 | * removed! |
| 322 | * removed! |
| 323 | * removed! |
| 324 | * removed! |
| 325 | * removed! |
| 326 | * removed! |
| 327 | * removed! |
| 328 | * removed! |
| 329 | * removed! |
| 330 | * removed! |
| 331 | * removed! |
| 332 | * removed! |
| 333 | * removed! |
| 334 | * removed! |
| 335 | * removed! |
| 336 | * removed! |
| 337 | * removed! |
| 338 | * removed! |
| 339 | * removed! |
| 340 | * removed! |
| 341 | * removed! |
| 342 | * removed! |
| 343 | * removed! |
| 344 | * removed! |
| 345 | * removed! |
| 346 | * removed! |
| 347 | * removed! |
| 348 | * removed! |
| 349 | * removed! |
| 350 | * removed! |
| 351 | * removed! |
| 352 | * removed! |
| 353 | * removed! |
| 354 | *------------------------------------------------------------------------------ |
| 355 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 356 | *============================================================================ |
| 357 | ****************************************************************************/ |
| 358 | |
| 359 | #ifndef l1_generic_l1_surround_private_h |
| 360 | #define l1_generic_l1_surround_private_h |
| 361 | |
| 362 | #include "l1_core_private.h" |
| 363 | #include "tool.h" |
| 364 | #include "l1_types.h" |
| 365 | #include "mph_types.h" |
| 366 | #include "l1d_cid.h" |
| 367 | #include "kal_general_types.h" |
| 368 | |
| 369 | #if 1 //__NORMAL_NW_SEARCH__ |
| 370 | |
| 371 | #define MAX_MANUAL_IDLE_CELLS 12 |
| 372 | #define MAX_TRIES_FB_PLMN 2 |
| 373 | |
| 374 | #else |
| 375 | /* under construction !*/ |
| 376 | /* under construction !*/ |
| 377 | /* under construction !*/ |
| 378 | #endif |
| 379 | |
| 380 | #if IS_GSM_EM_TX_POWER_CONTROL_SUPPORT |
| 381 | |
| 382 | typedef struct |
| 383 | { |
| 384 | PowerControlLevel UserPCLevel ; |
| 385 | FrequencyBand UserBand; |
| 386 | uint8 mode; |
| 387 | bool valid; |
| 388 | FrequencyBand Serving_band; |
| 389 | PowerControlLevel NetworkPCLevel; |
| 390 | Power CurrentPower; |
| 391 | #ifdef __EPSK_TX__ |
| 392 | Power CurrentPowerEPSK; |
| 393 | #endif |
| 394 | uint32 apc_dac; |
| 395 | } force_pcl_struct; |
| 396 | |
| 397 | #endif |
| 398 | |
| 399 | #define MAX_BSIC_QUEUE_COUNT 32 |
| 400 | #define MAX_IDLE_QUEUE_CELLS MAX_MANUAL_IDLE_CELLS + 6 |
| 401 | #ifdef __GL1_MULTI_MODE__ |
| 402 | #define MAX_STANDBY_QUEUE_CELLS MAX_IDLE_QUEUE_CELLS |
| 403 | #endif |
| 404 | #ifdef __GL1_MULTI_MODE__ |
| 405 | //#define MAX_TRIES_FB 2 // for sim1 |
| 406 | #define MAX_TRIES_FB ((IS_SIM1)?(2):(1)) |
| 407 | #else |
| 408 | #define MAX_TRIES_FB 1 |
| 409 | #endif |
| 410 | #define MAX_TRIES_SB 3 |
| 411 | #define MAX_TRIES_EXT_FB 1 |
| 412 | |
| 413 | EXTERN_TRACE_CLASS( tcSC ); |
| 414 | EXTERN_TRACE_CLASS( tcSC_FB ); |
| 415 | EXTERN_TRACE_CLASS( tcSC_SB ); |
| 416 | EXTERN_TRACE_CLASS( tcSC_SI ); |
| 417 | |
| 418 | typedef struct |
| 419 | { |
| 420 | bool bsicKnown; |
| 421 | bool queueing; |
| 422 | bool manual; |
| 423 | bool retry_FB_SB; |
| 424 | bool short_FB; |
| 425 | bool extended; |
| 426 | #if 1 //__NORMAL_NW_SEARCH__ |
| 427 | bool FreqCorrect; |
| 428 | #endif |
| 429 | /* number of current try when receiving (starts with zero) */ |
| 430 | uint8 tryNo; |
| 431 | /* add this to distinguish from different req but for internal */ |
| 432 | uint8 tid; |
| 433 | |
| 434 | SurroundBS* bs; |
| 435 | Time lag; /* only valid if bsicKnown == true */ |
| 436 | |
| 437 | #ifdef __GL1_MULTI_MODE__ // Only for SIM1 |
| 438 | bool hp_sb_valid; |
| 439 | kal_uint16 hp_sb_pos; |
| 440 | /* For 3G in DCH/FACH mode, 25.133 defines Treconf_FACH, Tidentify_FACH, Treconf_DCH. |
| 441 | For 3G in PCH mode, we will use tryNo, MAX_TRIES_FB, MAX_TRIES_SB. */ |
| 442 | TimeStamp start_timeStamp; |
| 443 | bool use_reconfirm_drop_cell_criterion; /* For init BSIC, it is false. For reconfirm BSIC, its is true. This field is only valid for DCH/FACH mode. */ |
| 444 | TimeStamp timeStamp; |
| 445 | #endif |
| 446 | #ifdef __GL1_MULTI_MODE__ |
| 447 | bool is_cgi; |
| 448 | bool is_enhanced_bsic; |
| 449 | #ifdef __GL1_GEMINI_WCDMA__ |
| 450 | bool is_PLMNList; |
| 451 | #endif |
| 452 | #endif |
| 453 | } scCellBSIC; |
| 454 | |
| 455 | #ifdef __GL1_MULTI_MODE__ |
| 456 | typedef struct |
| 457 | { |
| 458 | bool hp_sb_valid; |
| 459 | kal_uint16 hp_sb_pos; |
| 460 | TimeStamp start_timeStamp; |
| 461 | Time lag; |
| 462 | uint8 tryNo; |
| 463 | } scCellBSICHpSBInfo; |
| 464 | #endif |
| 465 | |
| 466 | typedef struct |
| 467 | { |
| 468 | BSIC bsic; /* only valid if bsicKnown == true */ |
| 469 | |
| 470 | bool bsicKnown; |
| 471 | |
| 472 | bool queueing; |
| 473 | bool manual; |
| 474 | bool is_prior_to_acquire; |
| 475 | /* number of current try when receiving (starts with zero) */ |
| 476 | uint8 bcchTryNo; |
| 477 | #ifdef __GL1_GEMINI__ |
| 478 | uint16 priority_index; |
| 479 | #else |
| 480 | uint8 priority_index; |
| 481 | #endif |
| 482 | /* mask specifying which BCCh blocks to receive. Only valid in idle mode */ |
| 483 | uint16 bcchMask; /* bit 0..7: BCCh normal, bit 8..15: BCCh ext */ |
| 484 | uint16 penalty; |
| 485 | |
| 486 | SurroundBS* bs; |
| 487 | Time lag; /* only valid if bsicKnown == true */ |
| 488 | #ifdef __GL1_MULTI_MODE__ |
| 489 | bool is_cgi; |
| 490 | #endif |
| 491 | #ifdef __GL1_GEMINI_WCDMA__ |
| 492 | bool is_PLMNList; |
| 493 | #endif |
| 494 | } scCellBCCH; |
| 495 | |
| 496 | typedef struct |
| 497 | { |
| 498 | uint8 queueCnt; |
| 499 | scCellBSIC queue[32]; |
| 500 | } BsicCellQueue; |
| 501 | |
| 502 | |
| 503 | typedef struct |
| 504 | { |
| 505 | bool use_priority_index_order; |
| 506 | uint8 queueCnt; |
| 507 | scCellBCCH queue[MAX_IDLE_QUEUE_CELLS]; |
| 508 | } BcchCellQueue; |
| 509 | |
| 510 | |
| 511 | typedef struct |
| 512 | { |
| 513 | /* true if suspended and not allowed to receive FCB, SB or BCCh */ |
| 514 | bool suspended; |
| 515 | |
| 516 | /* MAUI_02615979: Clear ncPower when the first ReportSurroundMeasurement after NC meas. report sent is received */ |
| 517 | bool ncReportCanClear; // True: after NC meas. report sent |
| 518 | |
| 519 | /* the serving cell */ |
| 520 | |
| 521 | bool GPRSFlag; /* distinguish TCH or Packet transfer mode*/ |
| 522 | #ifdef __GL1_GEMINI__ |
| 523 | bool IsVirtualMode; |
| 524 | #endif |
| 525 | |
| 526 | SurroundMode mode; |
| 527 | SurroundMode oldmode; |
| 528 | SurroundMode FreeHSmode; /* used to trigger HS free procedure, Reset is default mode */ |
| 529 | |
| 530 | //#if ( defined( __L1_GPS_AUTO_TIMING_SYNC_SUPPORT__ ) || defined( __L1_GPS_REF_TIME_SUPPORT__ ) ) |
| 531 | BSIC servingCellBSIC; |
| 532 | //#endif |
| 533 | |
| 534 | TimeSlot timeSlot; |
| 535 | TimeSlot startTimeSlot; |
| 536 | bool slotDiff; |
| 537 | bool SetSyncBCChinNull; /* Rick: To distinguish if SIM did the specific sync BCCh in null mode or not */ |
| 538 | |
| 539 | ARFCN servingCellARFCN; |
| 540 | intx sacchPosition; /* position of the SACCh. 0=>12, 1=>25, 2=>38 ... */ |
| 541 | |
| 542 | |
| 543 | /* set while a receive is in progress */ |
| 544 | |
| 545 | scCellBSIC* receivingCell; /* NULL if no receive active */ |
| 546 | scCellBCCH* bcchReceivingCell; /* NULL if no receive active */ |
| 547 | void ( *abortReceive )( void ); /* function to abort receive, only valid if receivingCell != NULL */ |
| 548 | |
| 549 | #ifdef __GL1_MULTI_MODE__ // Only for SIM1 |
| 550 | uint8 ( *abortReceive_dm )( void ); /* function to abort receive, only valid if receivingCell != NULL */ |
| 551 | bool gapfor3g; |
| 552 | uint8 RLAcount; |
| 553 | bool dmResetMode; |
| 554 | bool marginForTD; |
| 555 | |
| 556 | #ifdef __GERAN_R8__ |
| 557 | SurroundBAList* BAList_higher; |
| 558 | #endif /* __GERAN_R8__ */ |
| 559 | #endif |
| 560 | |
| 561 | /* BA list for this reporting period */ |
| 562 | SurroundBAList* BAList; |
| 563 | |
| 564 | BsicCellQueue bsic; |
| 565 | BcchCellQueue bcch; |
| 566 | |
| 567 | PowerAverager servingAvg; |
| 568 | #if (IS_CHIP_MT6227_AND_LATTER_VERSION || IS_EDGE_CHIP_MT6229_AND_LATTER_VERSION) |
| 569 | uint8 dcmHandle; |
| 570 | #endif |
| 571 | } SurroundGlobals; |
| 572 | |
| 573 | #ifdef __GL1_GEMINI__ |
| 574 | #define scGlobals scGlobals_database[l1c_sim_mode] |
| 575 | #define local_scGlobals scGlobals_database[local_sim_mode] |
| 576 | extern SurroundGlobals scGlobals_database[L1C_SIM_NUM]; |
| 577 | #ifdef __BSIC_SEARCH_IN_PEER_IDLE_FRAME__ |
| 578 | #define mainSIM_scGlobals scGlobals_database[mainSimIdx] |
| 579 | extern l1c_sim_mode_enum mainSimIdx; /*In Gemini2.0, it is the SIM which is in PTM. */ |
| 580 | #endif /*__BSIC_SEARCH_IN_PEER_IDLE_FRAME__*/ |
| 581 | #else |
| 582 | #define local_scGlobals scGlobals |
| 583 | extern SurroundGlobals scGlobals; |
| 584 | #endif |
| 585 | |
| 586 | /* m11280.c */ |
| 587 | #if defined (__GL1_GEMINI__) && defined(__BSIC_SEARCH_IN_PEER_IDLE_FRAME__) |
| 588 | FrameNumber L1I_GetNextFN_MainSIM( TimeSlot timeSlot, intx* syncEBits); |
| 589 | void L1I_GetTime_MainSIM(Time* time); |
| 590 | bool L1I_QueryBsicSearchInPeerIdleFrame(void); |
| 591 | void L1T_SurroundBSICRestart_SIMx(l1c_sim_mode_enum sim_idx); |
| 592 | #endif /*__GL1_GEMINI__ && __BSIC_SEARCH_IN_PEER_IDLE_FRAME__*/ |
| 593 | |
| 594 | /* m11281.c */ |
| 595 | #if defined( __GL1_MULTI_MODE__ ) && defined( __GERAN_R8__ ) |
| 596 | void L1T_SurroundBAlistInit( kal_bool is_higher_priority ); |
| 597 | #else |
| 598 | void L1T_SurroundBAlistInit( void ); |
| 599 | #endif /* __GL1_MULTI_MODE__ && __GERAN_R8__ */ |
| 600 | void L1T_SurroundBAlistExit( void ); |
| 601 | void L1T_SurroundClearBAList( void ); |
| 602 | void L1T_SurroundClearQueue( void ); |
| 603 | |
| 604 | ScanList* L1T_SurroundGetScanList( void ); |
| 605 | ScanList* L1T_SurroundGetNewScanList( void ); |
| 606 | ScanList* L1I_CreateScanList_SISR( void ); |
| 607 | |
| 608 | |
| 609 | bool L1T_SurroundSetPendingBAList( SurroundBAList* BAList ); |
| 610 | void L1T_SurroundUsePendingBAList( void ); |
| 611 | |
| 612 | void L1T_SurroundResetPowerAveragers( void ); |
| 613 | void L1T_SurroundUpdateAveragers( ScanList* scanList ); |
| 614 | |
| 615 | void L1T_SurroundAveragersAverageWithLast( ScanList* scanList ); |
| 616 | void L1T_SurroundUpdateRxPower( ScanList* scanList ); |
| 617 | void L1T_SurroundUpdateRxPowerFromAveragers( void ); |
| 618 | |
| 619 | void L1T_SurroundClearNCPower( void ); |
| 620 | void L1T_SurroundNormaliseNCPower( void ); |
| 621 | void L1T_SurroundSendRLAReport( void ); |
| 622 | void L1T_SurroundSendNCReport( void ); |
| 623 | |
| 624 | /* m11282.c */ |
| 625 | |
| 626 | void L1T_SurroundEnterIdle( void ); |
| 627 | void L1T_SurroundLeaveIdle( bool stopMeas ); |
| 628 | void L1T_SurroundMeasurementsDoneIdle( ScanList* scanList ); |
| 629 | void L1T_SurroundSetBAListIdle( SurroundBAList* BAList ); |
| 630 | #ifdef __GL1_MULTI_MODE__ |
| 631 | void L1T_SurroundSendGSMRSSIReport( void ); |
| 632 | void L1T_SurroundSetBAListStandby( SurroundBAList* BAList ); |
| 633 | void L1T_SurroundResetBSICSearchTime( bool ResetInitBSIC, bool ResetReconfBSIC ); |
| 634 | void L1T_SurroundSChDoneStandby( scCellBSIC* cell, SChData* sch ); |
| 635 | void L1T_SurroundBCChDoneStandby( scCellBCCH* cell, RxData* bcch, bool next ); |
| 636 | void L1T_SurroundResumeStandby( void ); |
| 637 | #endif |
| 638 | void L1T_SurroundSChDoneIdle( scCellBSIC* cell, SChData* sch ); |
| 639 | void L1T_SurroundBCChDoneIdle( scCellBCCH* cell, RxData* bcch, bool next ); |
| 640 | void L1T_SurroundReportTickIdle( void ); |
| 641 | void L1T_SurroundResumeIdle( void ); |
| 642 | void L1T_SurroundBSICIdleReq( const SCBsicInfo* sc ); |
| 643 | void L1T_SurroundBCChIdleReq( const SCBcchInfo* sc ); |
| 644 | void L1T_SurroundBSICIdleStop( const SCBsicStopInfo* sc ); |
| 645 | void L1T_SurroundBCChIdleStop( const SCBcchStopInfo* sc ); |
| 646 | #ifdef __GL1_MULTI_MODE__ |
| 647 | void L1T_SurroundBSICStandbyReq( const SCBsicInfo* sc ); |
| 648 | void L1T_SurroundBSICStandbyStop( const SCBsicStopInfo* sc ); |
| 649 | void L1T_NextBSICStandby( void ); |
| 650 | void L1T_NextBSICStandby_Report( Report* report ); |
| 651 | void L1I_NextBSICStandby(void); |
| 652 | void L1T_Next_BSICSC_Report(Report* report); |
| 653 | void L1T_SurroundBCChStandbyReq( const SCBcchInfo* sc ); |
| 654 | void L1T_SurroundBCChStandbyStop( const SCBcchStopInfo* sc ); |
| 655 | void L1T_NextBCChStandby( void ); |
| 656 | void L1T_NextBCChStandby_Report( Report* report ); |
| 657 | void L1I_NextBCChStandby( void ); |
| 658 | #endif |
| 659 | void L1T_NextBSICIdle( void ); |
| 660 | int32 L1T_SurroundPagingBlocksPerPeriodIdle( int32 framesPerPeriod ); |
| 661 | //void L1T_SurroundClearManualList( void ); /* move to l1_core.h for BLindHO*/ |
| 662 | /* m11284.c */ |
| 663 | |
| 664 | void L1T_SurroundEnterDedi( void ); |
| 665 | void L1T_SurroundLeaveDedi( void ); |
| 666 | void L1T_SurroundMeasurementsDoneDedi( ScanList* scanList ); |
| 667 | void L1T_SurroundSetBAListDedi( SurroundBAList* BAList ); |
| 668 | void L1T_SurroundUpdateCellFlagsDedi( void ); |
| 669 | void L1T_SurroundNextBSICDedi( void ); |
| 670 | void L1T_SurroundSChDoneDedi( scCellBSIC* cell, SChData* sch ); |
| 671 | void L1T_SurroundResumeDedi( void ); |
| 672 | void L1T_SurroundReportTickDedi( void ); |
| 673 | void L1T_SurroundSChDoneDedi( scCellBSIC* cell, SChData* sch ); |
| 674 | void L1T_SurroundBSICDediReq( const SCBsicInfo* sc ); |
| 675 | void L1T_SurroundBSICDediStop( const SCBsicStopInfo* sc ); |
| 676 | bool L1I_QueryAnyBSIC( void ); |
| 677 | |
| 678 | /* m11285.c */ |
| 679 | |
| 680 | void L1T_SurroundEnterDediSDCCh( void ); |
| 681 | void L1T_SurroundLeaveDediSDCCh( void ); |
| 682 | void L1T_SurroundMeasurementsDoneDediSDCCh( ScanList* scanList ); |
| 683 | |
| 684 | /* m11286.c */ |
| 685 | |
| 686 | void L1T_SurroundEnterDediTCh( void ); |
| 687 | void L1T_SurroundLeaveDediTCh( void ); |
| 688 | #ifdef __GL1_MULTI_MODE__ |
| 689 | void L1T_SurroundStopDediSC( void ); |
| 690 | void L1T_SurroundStopPacketTransferSC( void ); |
| 691 | #endif |
| 692 | void L1T_SurroundMeasurementsDoneDediTCh( ScanList* scanList ); |
| 693 | |
| 694 | /* m11287.c */ |
| 695 | #ifdef __PS_SERVICE__ |
| 696 | void L1T_StartMeasurement( void ); |
| 697 | void L1T_SurroundEnterPacketIdle( SurroundMode oldMode ); |
| 698 | void L1T_SurroundLeavePacketIdle( void ); |
| 699 | void L1T_SurroundMeasurementsDonePacketIdle( ScanList* scanList ); |
| 700 | void L1T_SurroundSetBAListPacketIdle( SurroundBAList* BAList ); |
| 701 | void L1T_SurroundSChDonePacketIdle( scCellBSIC* cell, SChData* sch ); |
| 702 | void L1T_SurroundReportTickPacketIdle( void ); |
| 703 | void L1T_SurroundResumePacketIdle( void ); |
| 704 | void L1T_SurroundPagingBlockTickPacketIdle( bool isPPCh ); |
| 705 | void L1T_SurroundNextBSICPacketIdle( void ); |
| 706 | int32 L1T_SurroundPagingBlocksPerPeriodPacketIdle( int32 framesPerPeriod ); |
| 707 | void L1T_SurroundFramesPerPeriodPacketIdle( int32 period ); |
| 708 | void L1T_UpdateMeasurementDuration( void ); |
| 709 | |
| 710 | /* m11288.c */ |
| 711 | |
| 712 | void L1T_SurroundEnterPacketTransfer( void ); |
| 713 | void L1T_SurroundLeavePacketTransfer( void ); |
| 714 | void L1T_SurroundMeasurementsDonePacketTransfer( ScanList* scanList ); |
| 715 | void L1T_SurroundSetBAListPacketTransfer( SurroundBAList* BAList ); |
| 716 | void L1T_SurroundSChDonePacketTransfer( scCellBSIC* cell, SChData* sch ); |
| 717 | void L1T_SurroundBCChDonePacketTransfer( scCellBCCH* cell, RxData* bcch ); |
| 718 | #endif |
| 719 | /* m11289.c */ |
| 720 | |
| 721 | void L1T_SurroundReceiveFCCh( scCellBSIC* cell ); |
| 722 | void L1T_SurroundReceiveSCh( scCellBSIC* cell ); |
| 723 | void L1T_SurroundAbortReceive( void ); |
| 724 | void L1T_SurroundReceiveBCCh( scCellBCCH* cell, NBCChPriority priority ); |
| 725 | void L1T_SurroundAbortBCChReceive( void ); |
| 726 | FrameNumber L1T_SurroundGetFN( void ); |
| 727 | void L1T_SurroundAbortReceiveOfRemovedCells( void ); |
| 728 | |
| 729 | |
| 730 | /* m11291.c */ |
| 731 | #ifdef __PS_SERVICE__ |
| 732 | #ifdef __PKT_EXT_MEAS__ |
| 733 | void L1T_SurroundNextBSICExtMeas( void ); |
| 734 | void L1T_SurroundReportExtendedMeasurement( void ); |
| 735 | void L1T_SurroundSChDoneExtendedMeasurement( SChData* sch ); |
| 736 | #endif |
| 737 | void L1T_SurroundNCReport( void ); |
| 738 | void L1T_SurroundTickExtMeas( void ); |
| 739 | #endif |
| 740 | #endif |