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) 2007 |
| 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 | * Filename: |
| 38 | * --------- |
| 39 | * ratcm_csce_struct.h |
| 40 | * |
| 41 | * Project: |
| 42 | * -------- |
| 43 | * MONZA |
| 44 | * |
| 45 | * Description: |
| 46 | * ------------ |
| 47 | * |
| 48 | * |
| 49 | * Author: |
| 50 | * ------- |
| 51 | * ------- |
| 52 | * |
| 53 | * ========================================================================== |
| 54 | * removed! |
| 55 | * |
| 56 | * removed! |
| 57 | * removed! |
| 58 | * removed! |
| 59 | * removed! |
| 60 | * |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * removed! |
| 65 | * |
| 66 | * removed! |
| 67 | * removed! |
| 68 | * |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * |
| 81 | * removed! |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * removed! |
| 85 | * |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * removed! |
| 89 | * removed! |
| 90 | * |
| 91 | * removed! |
| 92 | * removed! |
| 93 | * removed! |
| 94 | * |
| 95 | * removed! |
| 96 | * removed! |
| 97 | * removed! |
| 98 | * removed! |
| 99 | * |
| 100 | * removed! |
| 101 | * removed! |
| 102 | * removed! |
| 103 | * |
| 104 | * removed! |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * removed! |
| 108 | * |
| 109 | * removed! |
| 110 | * removed! |
| 111 | * removed! |
| 112 | * removed! |
| 113 | * |
| 114 | * removed! |
| 115 | * removed! |
| 116 | * |
| 117 | * removed! |
| 118 | * removed! |
| 119 | * removed! |
| 120 | * |
| 121 | * removed! |
| 122 | * removed! |
| 123 | * removed! |
| 124 | * |
| 125 | * removed! |
| 126 | * removed! |
| 127 | * |
| 128 | * removed! |
| 129 | * removed! |
| 130 | * |
| 131 | * removed! |
| 132 | * removed! |
| 133 | * removed! |
| 134 | * |
| 135 | * removed! |
| 136 | * removed! |
| 137 | * removed! |
| 138 | * |
| 139 | * removed! |
| 140 | * removed! |
| 141 | * removed! |
| 142 | * |
| 143 | * removed! |
| 144 | * removed! |
| 145 | * removed! |
| 146 | * |
| 147 | * removed! |
| 148 | * removed! |
| 149 | * removed! |
| 150 | * |
| 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 | * removed! |
| 166 | * removed! |
| 167 | * removed! |
| 168 | * removed! |
| 169 | * removed! |
| 170 | * removed! |
| 171 | * removed! |
| 172 | * removed! |
| 173 | * removed! |
| 174 | * removed! |
| 175 | * removed! |
| 176 | * |
| 177 | * removed! |
| 178 | * removed! |
| 179 | * removed! |
| 180 | * |
| 181 | * removed! |
| 182 | * removed! |
| 183 | * |
| 184 | * removed! |
| 185 | * removed! |
| 186 | * removed! |
| 187 | * |
| 188 | * removed! |
| 189 | * removed! |
| 190 | * removed! |
| 191 | * |
| 192 | * removed! |
| 193 | * removed! |
| 194 | * removed! |
| 195 | * |
| 196 | * removed! |
| 197 | * removed! |
| 198 | * removed! |
| 199 | * |
| 200 | * removed! |
| 201 | * removed! |
| 202 | * removed! |
| 203 | * |
| 204 | * removed! |
| 205 | * removed! |
| 206 | * removed! |
| 207 | * |
| 208 | * removed! |
| 209 | * removed! |
| 210 | * removed! |
| 211 | * |
| 212 | * removed! |
| 213 | * removed! |
| 214 | * removed! |
| 215 | * |
| 216 | * removed! |
| 217 | * removed! |
| 218 | * removed! |
| 219 | * |
| 220 | * removed! |
| 221 | * removed! |
| 222 | * removed! |
| 223 | * removed! |
| 224 | * removed! |
| 225 | * removed! |
| 226 | * removed! |
| 227 | * removed! |
| 228 | * removed! |
| 229 | * removed! |
| 230 | * removed! |
| 231 | * |
| 232 | * removed! |
| 233 | * removed! |
| 234 | * removed! |
| 235 | * |
| 236 | * removed! |
| 237 | * removed! |
| 238 | * removed! |
| 239 | * |
| 240 | * removed! |
| 241 | * removed! |
| 242 | * removed! |
| 243 | * |
| 244 | * removed! |
| 245 | * removed! |
| 246 | * removed! |
| 247 | * |
| 248 | * removed! |
| 249 | * removed! |
| 250 | * removed! |
| 251 | * |
| 252 | * removed! |
| 253 | * removed! |
| 254 | * removed! |
| 255 | * |
| 256 | * removed! |
| 257 | * removed! |
| 258 | * removed! |
| 259 | * |
| 260 | * removed! |
| 261 | * removed! |
| 262 | * removed! |
| 263 | * |
| 264 | * removed! |
| 265 | * removed! |
| 266 | * removed! |
| 267 | * |
| 268 | * removed! |
| 269 | * removed! |
| 270 | * removed! |
| 271 | * |
| 272 | * removed! |
| 273 | * removed! |
| 274 | * removed! |
| 275 | * |
| 276 | * removed! |
| 277 | * removed! |
| 278 | * removed! |
| 279 | * |
| 280 | * removed! |
| 281 | * removed! |
| 282 | * removed! |
| 283 | * |
| 284 | * removed! |
| 285 | * removed! |
| 286 | * removed! |
| 287 | * |
| 288 | * removed! |
| 289 | * removed! |
| 290 | * removed! |
| 291 | * |
| 292 | * removed! |
| 293 | * removed! |
| 294 | * removed! |
| 295 | * |
| 296 | * removed! |
| 297 | * removed! |
| 298 | * removed! |
| 299 | * |
| 300 | * removed! |
| 301 | * removed! |
| 302 | * removed! |
| 303 | * |
| 304 | * removed! |
| 305 | * removed! |
| 306 | * removed! |
| 307 | * |
| 308 | * removed! |
| 309 | * removed! |
| 310 | * removed! |
| 311 | ****************************************************************************/ |
| 312 | |
| 313 | #ifndef _RATCM_CSCE_STRUCT_H |
| 314 | #define _RATCM_CSCE_STRUCT_H |
| 315 | |
| 316 | /* MAUI_02828210, redundant header removal */ |
| 317 | //#include "ratcm_uas_enums.h" |
| 318 | //#include "ratcm_uas_struct.h" |
| 319 | //#include "ratcm_csce_enums.h" |
| 320 | #include "l3_inc_local.h" |
| 321 | #include "kal_public_api.h" |
| 322 | #include "kal_general_types.h" |
| 323 | #include "l3_inc_enums.h" |
| 324 | #include "mcd_l3_inc_struct.h" |
| 325 | #include "ps_public_enum.h" |
| 326 | #include "ps_public_struct.h" |
| 327 | #include "nas_sv_struct.h" |
| 328 | #include "ratcm_as_struct.h" |
| 329 | #include "mmi2mm_struct.h" |
| 330 | #if 0 |
| 331 | /* under construction !*/ |
| 332 | /* under construction !*/ |
| 333 | /* under construction !*/ |
| 334 | /* under construction !*/ |
| 335 | /* under construction !*/ |
| 336 | /* under construction !*/ |
| 337 | /* under construction !*/ |
| 338 | /* under construction !*/ |
| 339 | /* under construction !*/ |
| 340 | /* under construction !*/ |
| 341 | /* under construction !*/ |
| 342 | /* under construction !*/ |
| 343 | /* under construction !*/ |
| 344 | /* under construction !*/ |
| 345 | /* under construction !*/ |
| 346 | /* under construction !*/ |
| 347 | /* under construction !*/ |
| 348 | /* under construction !*/ |
| 349 | /* under construction !*/ |
| 350 | /* under construction !*/ |
| 351 | /* under construction !*/ |
| 352 | /* under construction !*/ |
| 353 | /* under construction !*/ |
| 354 | /* under construction !*/ |
| 355 | /* under construction !*/ |
| 356 | /* under construction !*/ |
| 357 | /* under construction !*/ |
| 358 | /* under construction !*/ |
| 359 | /* under construction !*/ |
| 360 | /* under construction !*/ |
| 361 | /* under construction !*/ |
| 362 | /* under construction !*/ |
| 363 | /* under construction !*/ |
| 364 | /* under construction !*/ |
| 365 | /* under construction !*/ |
| 366 | /* under construction !*/ |
| 367 | /* under construction !*/ |
| 368 | /* under construction !*/ |
| 369 | /* under construction !*/ |
| 370 | /* under construction !*/ |
| 371 | /* under construction !*/ |
| 372 | /* under construction !*/ |
| 373 | /* under construction !*/ |
| 374 | /* under construction !*/ |
| 375 | /* under construction !*/ |
| 376 | /* under construction !*/ |
| 377 | /* under construction !*/ |
| 378 | /* under construction !*/ |
| 379 | /* under construction !*/ |
| 380 | /* under construction !*/ |
| 381 | /* under construction !*/ |
| 382 | #endif |
| 383 | |
| 384 | /************************************************************** |
| 385 | * RATCM_CSCE_ARAL_UPDATE_REQ |
| 386 | * |
| 387 | * Sent from RATCM to CSCE to to notify uas already entered NS-IOT TC |
| 388 | * and let uas clear about cell in which LA(RA) is allowable to camp on |
| 389 | * |
| 390 | ***************************************************************/ |
| 391 | typedef struct{ |
| 392 | LOCAL_PARA_HDR |
| 393 | aral_op_enum op_code; |
| 394 | plmn_id_struct plmn;//record NSIOT plmn |
| 395 | kal_uint8 ara_start[2];//Allowed LA upper boundry |
| 396 | kal_uint8 ara_end[2]; // lower boundry |
| 397 | }ratcm_csce_aral_update_req_struct; |
| 398 | |
| 399 | /************************************************************** |
| 400 | * RATCM_CSCE_INIT_REQ |
| 401 | * |
| 402 | * Sent from RATCM to CSCE to initialise UAS |
| 403 | * 1.IMEI number. |
| 404 | * 2.preferred_GSM_band is the working band info from NVRAM. |
| 405 | * 3.working_UMTS_FDD_band is the working band info transferred from |
| 406 | * Upper layer also with byte 0 indicates the band info of band I - VIII. |
| 407 | * where second byte indicates the band info of band IX - X. |
| 408 | * (LSB of byte 1 is used for band IX and X) |
| 409 | ***************************************************************/ |
| 410 | typedef struct |
| 411 | { |
| 412 | LOCAL_PARA_HDR |
| 413 | |
| 414 | kal_uint8 imeisv_value_digit0; |
| 415 | kal_uint8 imeisv_value_digit_byte[8]; |
| 416 | |
| 417 | /* remove requested_gsm_band, requested_umts_band, and hspa_preference |
| 418 | * because they are initialized to MRS directly |
| 419 | */ |
| 420 | |
| 421 | init_cause_enum init_cause; |
| 422 | }ratcm_csce_init_req_struct; |
| 423 | |
| 424 | typedef struct |
| 425 | { |
| 426 | LOCAL_PARA_HDR |
| 427 | |
| 428 | kal_uint8 imeisv_value_digit0; |
| 429 | kal_uint8 imeisv_value_digit_byte[8]; |
| 430 | }ratcm_csce_set_imei_req_struct; |
| 431 | |
| 432 | /***********************/ |
| 433 | /* RATCM_CSCE_INIT_CNF */ |
| 434 | /***********************/ |
| 435 | // No local parameter for this primitive |
| 436 | |
| 437 | |
| 438 | /******************************/ |
| 439 | /* RATCM_CSCE_PLMN_SEARCH_REQ */ |
| 440 | /******************************/ |
| 441 | /* Scenario 1: PLMN Selection, automatic mode, normal case |
| 442 | PLMNSearchType == SINGLE_PLMN |
| 443 | |
| 444 | At power-on, the non-access stratum (NAS) selects the PLMN with |
| 445 | highest priority, possibly the last PLMN stored prior to previous |
| 446 | power off. The access stratum (AS) is requested to find a cell |
| 447 | belonging to that PLMN. |
| 448 | |
| 449 | When searching for the requested PLMN and in order to speed up the |
| 450 | search, AS may use a list of cell information stored prior to |
| 451 | previous power-off. When a cell belonging to the requested PLMN is |
| 452 | found, that cell is selected and NAS is notified that the PLMN was |
| 453 | found (ref: [25.304;10.4]). |
| 454 | |
| 455 | Initiates search for cell with given PLMN Identity, (or one of its equivalent), |
| 456 | or any PLMN.On receipt of a new PLMN identity list, the previously stored equivalent |
| 457 | PLMN list is discarded.The search type also allows a search for a given PLMN to be made |
| 458 | excluding or allowing cells from Forbidden LAs. Forbidden LAs are not taken into |
| 459 | account for a PLMN search of type "any". If forbidden LAs are allowed then AS can |
| 460 | camp on a cell regardless whether it is in a forbidden Location Area or not and this |
| 461 | will continue until either a new UGC-CELL-SELECTION_CONTROL _REQ or a new |
| 462 | GC-PLMN-SEARCH-REQ is issued. |
| 463 | */ |
| 464 | |
| 465 | typedef struct{ |
| 466 | LOCAL_PARA_HDR |
| 467 | kal_uint8 trx_id; |
| 468 | plmn_search_type_enum plmn_search_type; |
| 469 | kal_uint8 plmn_id_count; |
| 470 | plmn_id_struct plmn_id[MAX_NUM_SEARCH_PLMN]; |
| 471 | search_param_container_struct as_param_container; |
| 472 | umts_search_param_container_struct umts_param; |
| 473 | }ratcm_csce_plmn_search_req_struct; |
| 474 | |
| 475 | /******************************/ |
| 476 | /* RATCM_CSCE_PLMN_SEARCH_CNF */ |
| 477 | /******************************/ |
| 478 | /* Note: the GC PLMN Search Confirm should only be used when the |
| 479 | requested PLMN Id is found. The failure case use a the list |
| 480 | primitive. */ |
| 481 | typedef struct |
| 482 | { |
| 483 | LOCAL_PARA_HDR |
| 484 | kal_bool is_plmn_list_valid; |
| 485 | kal_uint8 trx_id; |
| 486 | plmn_search_result_enum result; |
| 487 | |
| 488 | as_cell_type_enum multi_selected_cell_type[MAX_NUM_MULTI_PLMN]; |
| 489 | as_cell_type_enum selected_cell_type; //20081027: Quick PLMN Recovery ANY PLMN on H/R-PLMN cell |
| 490 | |
| 491 | kal_uint8 multi_plmn_count; |
| 492 | /* Range: 1 to MAX_NUM_MULTI_PLMN, only valid if result == PLMN_FOUND */ |
| 493 | plmn_id_struct multi_selected_plmn[MAX_NUM_MULTI_PLMN]; |
| 494 | plmn_id_struct selected_plmn; /* only valid if result == PLMN_FOUND *//* Reserved for before R6*/ |
| 495 | as_plmn_list_struct plmn_list; |
| 496 | scan_type_enum scan_type; |
| 497 | kal_bool is_stored_list_exist; // only for stored search not for fullband + fullband and stored |
| 498 | fullband_result_enum is_fullband_finished; |
| 499 | kal_bool is_quick_search; |
| 500 | } ratcm_csce_plmn_search_cnf_struct; |
| 501 | |
| 502 | typedef struct |
| 503 | { |
| 504 | LOCAL_PARA_HDR |
| 505 | kal_uint8 multi_plmn_count; |
| 506 | plmn_id_struct multi_plmn_id[MAX_NUM_MULTI_PLMN]; |
| 507 | as_cell_type_enum multi_cell_type[MAX_NUM_MULTI_PLMN]; |
| 508 | /// source from cell reselection or search |
| 509 | found_ind_source_enum source; |
| 510 | } ratcm_csce_plmn_found_ind_struct; |
| 511 | |
| 512 | |
| 513 | /*********************************************/ |
| 514 | /* RATCM_CSCE_START_TIMER_OUT_OF_SERVICE_IND */ |
| 515 | /*********************************************/ |
| 516 | // No local parameter for this primitive |
| 517 | |
| 518 | |
| 519 | /****************************/ |
| 520 | /* RATCM_CSCE_PLMN_LOSS_IND */ |
| 521 | /****************************/ |
| 522 | /* This primitive is used when the selected PLMN is LOST */ |
| 523 | typedef struct |
| 524 | { |
| 525 | LOCAL_PARA_HDR |
| 526 | csfb_indicator_enum csfb_indicator; /* Added by Multimode */ |
| 527 | as_plmn_list_struct plmn_list; |
| 528 | plmn_loss_reason_enum plmn_loss_reason; |
| 529 | } ratcm_csce_plmn_loss_ind_struct; |
| 530 | |
| 531 | /*********************************/ |
| 532 | /* RATCM_CSCE_RRC_DEACTIVATE_REQ */ |
| 533 | /*********************************/ |
| 534 | /* |
| 535 | REQ: Signals that UMTS RRC must become inactive. |
| 536 | Note: This primitive may be received in idle mode, |
| 537 | subsequently to a NAS request for a PLMN search on another RAT |
| 538 | */ |
| 539 | // No local parameter for this primitive |
| 540 | |
| 541 | /*********************************/ |
| 542 | /* RATCM_CSCE_RRC_DEACTIVATE_CNF */ |
| 543 | /*********************************/ |
| 544 | // No local parameter for this primitive |
| 545 | |
| 546 | /****************************/ |
| 547 | /* RATCM_CSCE_PLMN_LIST_REQ */ |
| 548 | /****************************/ |
| 549 | /* This service provides the list of currently available PLMN. */ |
| 550 | typedef struct |
| 551 | { |
| 552 | LOCAL_PARA_HDR |
| 553 | kal_bool is_manual_list; |
| 554 | scan_type_enum scan_type; |
| 555 | kal_uint8 plmn_count; |
| 556 | plmn_id_struct plmn_id[MAX_NUM_SEARCH_PLMN]; |
| 557 | found_mcc_info_struct found_mcc_info; |
| 558 | kal_uint32 num_of_band; //number of valid records in band list |
| 559 | /*Band list for MCC Band for PLMN list optimization*/ |
| 560 | kal_uint16 band_list[MAX_SEARCH_BAND_LIST_SIZE]; |
| 561 | user_list_type_enum user_list_type; |
| 562 | kal_uint8 given_number_of_plmn; // used for the USER_LIST_TYPE_GIVEN_TIMER_NUMBER. When xAS found the given number of plmn, xAS return PLMN_LIST_CNF. When value is 0 means xAS do complete list, no need care it. |
| 563 | network_scan_input_struct network_scan_input; |
| 564 | |
| 565 | } ratcm_csce_plmn_list_req_struct; |
| 566 | |
| 567 | /****************************/ |
| 568 | /* RATCM_CSCE_PLMN_LIST_STATUS_UPDATE_REQ */ |
| 569 | /****************************/ |
| 570 | /* This msg to inform as that user list is ongoing to perseve scanned result. */ |
| 571 | typedef struct |
| 572 | { |
| 573 | LOCAL_PARA_HDR |
| 574 | kal_bool is_user_plmn_list_ongoing; |
| 575 | } ratcm_csce_plmn_list_status_update_req_struct; |
| 576 | |
| 577 | /*********************************/ |
| 578 | /* RATCM_CSCE_PLMN_LIST_STOP_REQ */ |
| 579 | /*********************************/ |
| 580 | /** |
| 581 | * The NAS may stop the search for PLMN on the rest |
| 582 | * of the carriers. |
| 583 | */ |
| 584 | // No local parameter for this primitive |
| 585 | |
| 586 | |
| 587 | |
| 588 | /***********************************/ |
| 589 | /* RATCM_CSCE_ADD_FORBIDDEN_LA_REQ */ |
| 590 | /***********************************/ |
| 591 | /* Scenario: NAS Controlled Cell Selection |
| 592 | |
| 593 | NAS may influence the cell selection and reselection by sending |
| 594 | control information to AS. This information can include, for |
| 595 | example, lists of forbidden registration areas and a list of NAS |
| 596 | defined service areas in priority order. The control information is |
| 597 | used by AS in cell selection and reselection: |
| 598 | |
| 599 | - Cells belonging to a forbidden registration area will only be |
| 600 | selected if no better cell is found. At this point, the services |
| 601 | provided the UE might be limited. |
| 602 | |
| 603 | - Cells belonging to a NAS defined service area with higher |
| 604 | priority than current service area will be considered better than |
| 605 | the cell currently camped on. Depending on radio access mode, the |
| 606 | most suitable cell in idle mode may not be the most suitable cell |
| 607 | in connected mode. */ |
| 608 | typedef struct |
| 609 | { |
| 610 | LOCAL_PARA_HDR |
| 611 | kal_uint8 la_code[2]; |
| 612 | forbidden_la_type_enum forbidden_la_type; |
| 613 | plmn_id_struct plmn_id; |
| 614 | } ratcm_csce_add_forbidden_la_req_struct; |
| 615 | |
| 616 | /***********************************/ |
| 617 | /* RATCM_CSCE_DEL_FORBIDDEN_LA_REQ */ |
| 618 | /***********************************/ |
| 619 | typedef struct |
| 620 | { |
| 621 | LOCAL_PARA_HDR |
| 622 | kal_uint8 la_code[2]; |
| 623 | plmn_id_struct plmn_id; |
| 624 | kal_bool delete_all; |
| 625 | } ratcm_csce_del_forbidden_la_req_struct; |
| 626 | |
| 627 | /**************************************/ |
| 628 | /* RATCM_CSCE_EQ_PLMN_LIST_UPDATE_REQ */ |
| 629 | /**************************************/ |
| 630 | /* |
| 631 | This primitive is sent by NAS whenever it obtains the equivalent PLMN list. |
| 632 | The PLMN Identity list contains the PLMN Id of the current PLMN.A new list |
| 633 | overrides the previously stored "equivalent PLMN" list. This primitive may |
| 634 | be received at any time, while the UMTS RAT is either active or inactive. |
| 635 | |
| 636 | To delete the PLMN ID List, NAS will send a list containing 1 PLMN ID, i.e. |
| 637 | currently active one. |
| 638 | The first element in the array of eq_plmn_id is rplmn. |
| 639 | */ |
| 640 | typedef struct |
| 641 | { |
| 642 | LOCAL_PARA_HDR |
| 643 | kal_uint8 eq_plmn_count;/* Range: 1 to MAX_NUM_EQ_PLMN. */ |
| 644 | plmn_id_struct eq_plmn_id[MAX_NUM_EQ_PLMN]; |
| 645 | }ratcm_csce_eq_plmn_list_update_req_struct; |
| 646 | |
| 647 | /*******************************/ |
| 648 | /* RATCM_CSCE_SET_RAT_MODE_REQ */ |
| 649 | /*******************************/ |
| 650 | typedef struct |
| 651 | { |
| 652 | LOCAL_PARA_HDR |
| 653 | rat_enum rat; |
| 654 | rat_enum reported_rat; |
| 655 | }ratcm_csce_set_rat_mode_req_struct; |
| 656 | |
| 657 | /* |
| 658 | Yongjiao 20100612 MAUI_20542230 |
| 659 | Add RATCM_CSCE_SET_RAT_MODE_CNF to resolve 2G_3G_L1 conflict |
| 660 | */ |
| 661 | /*******************************/ |
| 662 | /* RATCM_CSCE_SET_RAT_MODE_CNF */ |
| 663 | /*******************************/ |
| 664 | typedef struct |
| 665 | { |
| 666 | LOCAL_PARA_HDR |
| 667 | }ratcm_csce_set_rat_mode_cnf_struct; |
| 668 | |
| 669 | /***********************/ |
| 670 | /* RATCM_CSCE_RFON_REQ */ |
| 671 | /***********************/ |
| 672 | // No local parameter for this primitive |
| 673 | |
| 674 | /***********************/ |
| 675 | /* RATCM_CSCE_RFON_CNF */ |
| 676 | /***********************/ |
| 677 | // No local parameter for this primitive |
| 678 | |
| 679 | /************************/ |
| 680 | /* RATCM_CSCE_RFOFF_REQ */ |
| 681 | /************************/ |
| 682 | // No local parameter for this primitive |
| 683 | |
| 684 | /************************/ |
| 685 | /* RATCM_CSCE_RFOFF_REQ */ |
| 686 | /************************/ |
| 687 | // No local parameter for this primitive |
| 688 | |
| 689 | /**************************/ |
| 690 | /* REGN_STATUS_UPDATE_REQ */ |
| 691 | /**************************/ |
| 692 | /** |
| 693 | * Gibran 20080320: MONZA00006851 |
| 694 | * NAS will directly send REGN_STATUS_UPDATE_REQ to CSCE |
| 695 | * since RRCE will save REGN_STATUS_UPDATE_REQ |
| 696 | * when it is configuring lower layer. |
| 697 | */ |
| 698 | typedef struct |
| 699 | { |
| 700 | LOCAL_PARA_HDR |
| 701 | plmn_search_status_enum plmn_search_status; |
| 702 | plmn_search_type_enum plmn_search_type; |
| 703 | |
| 704 | /* Viola 20090302 |
| 705 | * Add proc_status to inform CSCE current NAS procedure. |
| 706 | * CSCE mainly cares 5 procedures, |
| 707 | * ATTACH_PROCEDURE_SUCCESS, RAU_PROCEDURE_SUCCESS, LU_PROCEDURE_SUCCESS, MS_IN_LIMITED_SERVICE, MS_IN_NO_SERVICE |
| 708 | */ |
| 709 | regn_proc_status_enum proc_status; |
| 710 | |
| 711 | /* Rachel 20130722 |
| 712 | * In R9 and later, TS 25.304 5.2.6.1.4a changed the descriptions as following: |
| 713 | * UE specific priorities shall be cleared when the validity time of the UE sepecific priority expires, |
| 714 | * or when a PLMN selection is performed on request by NAS. |
| 715 | * Therefore, RPLMN info is not required for CSCE anymore. |
| 716 | */ |
| 717 | #if 0 //def __REL8__ |
| 718 | /* under construction !*/ |
| 719 | /* under construction !*/ |
| 720 | #endif |
| 721 | }ratcm_csce_regn_status_update_req_struct; |
| 722 | |
| 723 | /**************************************/ |
| 724 | /* RATCM_CSCE_EHPLMN_INFO_UPDATE_REQ */ |
| 725 | /* This message is used by RATCM to forward EHPLMN list to CSCE */ |
| 726 | /**************************************/ |
| 727 | typedef struct |
| 728 | { |
| 729 | LOCAL_PARA_HDR |
| 730 | kal_uint8 plmn_id_count; |
| 731 | plmn_id_struct plmn_id[MD1_MAX_NUM_HPLMN]; |
| 732 | kal_uint8 home_country_mcc[3]; |
| 733 | }ratcm_csce_hplmn_info_update_req_struct; |
| 734 | |
| 735 | #if defined(__3G_CSG_SUPPORT__) || defined(__LTE_RAT__) |
| 736 | /**************************************/ |
| 737 | /* RATCM_CSCE_UPDATE_ALLOWED_CSG_LIST_REQ */ |
| 738 | /* This message is used by RATCM to add/delete Allowed CSG to CSCE */ |
| 739 | /**************************************/ |
| 740 | typedef struct { |
| 741 | LOCAL_PARA_HDR |
| 742 | csg_update_type_enum csg_update_type; |
| 743 | plmn_id_struct plmn_id; |
| 744 | kal_uint32 csg_id; |
| 745 | #if 0 |
| 746 | /* under construction !*/ |
| 747 | #endif |
| 748 | } ratcm_csce_update_white_list_req_struct; |
| 749 | |
| 750 | /**************************************/ |
| 751 | /* RATCM_CSCE_CSG_LIST_REQ */ |
| 752 | /* This message is used by RATCM to request CSCE to do manual CSG list */ |
| 753 | /**************************************/ |
| 754 | #if 0 |
| 755 | /* under construction !*/ |
| 756 | /* under construction !*/ |
| 757 | /* under construction !*/ |
| 758 | /* under construction !*/ |
| 759 | /* under construction !*/ |
| 760 | /* under construction !*/ |
| 761 | #endif |
| 762 | typedef nwsel_nas_sv_csg_list_req_struct ratcm_csce_csg_list_req_struct; |
| 763 | /*********************************/ |
| 764 | /* RATCM_CSCE_CSG_LIST_STOP_REQ */ |
| 765 | /*********************************/ |
| 766 | // No local parameter for this primitive |
| 767 | #endif /* __CSG_SUPPORT__ */ |
| 768 | |
| 769 | #ifdef __GEMINI__ |
| 770 | /**************************/ |
| 771 | /* RATCM_CSCE_SIM_STATUS_UPDATE_REQ */ |
| 772 | /* This message is used by NAS to inform CSCE current SIM Status */ |
| 773 | /**************************/ |
| 774 | typedef struct |
| 775 | { |
| 776 | LOCAL_PARA_HDR |
| 777 | sim_config_status_enum sim_config_status; |
| 778 | sim_insert_status_enum sim_insert_status; |
| 779 | } ratcm_csce_sim_status_update_req_struct; |
| 780 | |
| 781 | #if 0 |
| 782 | /* under construction !*/ |
| 783 | /* under construction !*/ |
| 784 | /* under construction !*/ |
| 785 | /* under construction !*/ |
| 786 | /* under construction !*/ |
| 787 | /* under construction !*/ |
| 788 | /* under construction !*/ |
| 789 | /* under construction !*/ |
| 790 | /* under construction !*/ |
| 791 | #endif |
| 792 | |
| 793 | #endif |
| 794 | |
| 795 | typedef struct |
| 796 | { |
| 797 | LOCAL_PARA_HDR |
| 798 | plmn_id_struct plmn_id; |
| 799 | kal_uint16 arfcn; |
| 800 | } ratcm_csce_set_mru_req_struct; |
| 801 | |
| 802 | typedef struct |
| 803 | { |
| 804 | LOCAL_PARA_HDR |
| 805 | set_mru_result_enum result; |
| 806 | } ratcm_csce_set_mru_cnf_struct; |
| 807 | |
| 808 | typedef struct |
| 809 | { |
| 810 | LOCAL_PARA_HDR |
| 811 | call_status_enum call_status; |
| 812 | call_type_indication_enum call_type; |
| 813 | } ratcm_csce_call_status_ind_struct; |
| 814 | |
| 815 | typedef struct |
| 816 | { |
| 817 | LOCAL_PARA_HDR |
| 818 | ue_capability_struct capability; |
| 819 | } ratcm_csce_cap_update_req_struct; |
| 820 | |
| 821 | typedef struct |
| 822 | { |
| 823 | LOCAL_PARA_HDR |
| 824 | kal_bool is_successful; |
| 825 | } ratcm_csce_cap_update_cnf_struct; |
| 826 | |
| 827 | #ifdef __LTE_RAT__ |
| 828 | |
| 829 | typedef struct { |
| 830 | LOCAL_PARA_HDR |
| 831 | kal_uint8 num_of_nw; |
| 832 | emc_forbidden_nw_list_struct nw_list[MAX_FORBIDDEN_NETWORK_NUM]; |
| 833 | } ratcm_csce_emc_forbidden_nw_list_update_req_struct; |
| 834 | |
| 835 | #endif |
| 836 | |
| 837 | typedef struct |
| 838 | { |
| 839 | LOCAL_PARA_HDR |
| 840 | plmn_id_struct plmn_id; |
| 841 | } ratcm_csce_plmn_info_update_req_struct; |
| 842 | |
| 843 | typedef struct |
| 844 | { |
| 845 | LOCAL_PARA_HDR |
| 846 | elevator_mode_enum elevator_mode; |
| 847 | } ratcm_csce_elevator_mode_req_struct; |
| 848 | |
| 849 | typedef struct { |
| 850 | LOCAL_PARA_HDR |
| 851 | rat_enum disable_rat; |
| 852 | } ratcm_csce_disable_rat_config_req_struct; |
| 853 | |
| 854 | typedef struct { |
| 855 | LOCAL_PARA_HDR |
| 856 | kal_uint32 num_of_detected_band; |
| 857 | kal_uint16 detected_band_list[MAX_SEARCH_BAND_LIST_SIZE]; |
| 858 | } ratcm_uas_signal_appear_ind_struct; |
| 859 | |
| 860 | /*Sniffer related message structures*/ |
| 861 | |
| 862 | //MSG_ID_RATCM_UAS_SNIFFER_START_REQ |
| 863 | typedef ratcm_as_sniffer_start_req_struct ratcm_uas_sniffer_start_req_struct; |
| 864 | |
| 865 | //MSG_ID_RATCM_UAS_SNIFFER_STOP_REQ |
| 866 | typedef ratcm_as_sniffer_stop_req_struct ratcm_uas_sniffer_stop_req_struct; |
| 867 | |
| 868 | //MSG_ID_RATCM_UAS_SIGNAL_APPEAR_IND |
| 869 | //typedef ratcm_as_signal_appear_ind_struct ratcm_uas_signal_appear_ind_struct; |
| 870 | |
| 871 | //MSG_ID_RATCM_UAS_CHECK_ACTIVE_RAT_REQ, |
| 872 | typedef ratcm_as_check_active_rat_req_struct ratcm_uas_check_active_rat_req_struct; |
| 873 | |
| 874 | //MSG_ID_RATCM_UAS_CHECK_ACTIVE_RAT_CNF |
| 875 | typedef ratcm_as_check_active_rat_cnf_struct ratcm_uas_check_active_rat_cnf_struct; |
| 876 | |
| 877 | //MSG_ID_RATCM_UAS_SET_ACTIVE_RAT_REQ, |
| 878 | typedef ratcm_as_set_active_rat_req_struct ratcm_uas_set_active_rat_req_struct; |
| 879 | |
| 880 | //MSG_ID_RATCM_UAS_SET_ACTIVE_RAT_CNF |
| 881 | typedef ratcm_as_set_active_rat_cnf_struct ratcm_uas_set_active_rat_cnf_struct; |
| 882 | |
| 883 | typedef struct |
| 884 | { |
| 885 | LOCAL_PARA_HDR |
| 886 | kal_bool normal_oos_recovery_round_present; |
| 887 | kal_uint8 normal_oos_recovery_round; /* default value = 5, range [2, 10] */ |
| 888 | kal_bool inactive_fullband_period_present; |
| 889 | kal_uint16 inactive_fullband_period; /* default = 200s, range: [90, 360] */ |
| 890 | kal_bool inactive_sniffer_period_present; |
| 891 | kal_uint8 inactive_sniffer_period; /* default = 30s, range: [10, 60] */ |
| 892 | kal_bool is_inactive_mode_present; |
| 893 | kal_bool is_inactive_mode; /* True: enter inactive mode, False: leave inactive mode */ |
| 894 | } ratcm_csce_inactive_mode_configuration_req_struct; |
| 895 | |
| 896 | typedef struct |
| 897 | { |
| 898 | LOCAL_PARA_HDR |
| 899 | kal_bool is_over_inactive_mode_threshold; /* True: recovery counter > normal_oos_recovery_round */ |
| 900 | } ratcm_csce_service_recovery_round_update_req_struct; |
| 901 | |
| 902 | typedef struct |
| 903 | { |
| 904 | LOCAL_PARA_HDR |
| 905 | } ratcm_csce_end_ps_data_session_ind_struct; |
| 906 | |
| 907 | typedef gmmreg_lte_normal_service_loss_update_req_struct ratcm_csce_lte_normal_service_loss_update_req_struct ; |
| 908 | #endif /* RATCM_CSCE_STRUCT_H */ |