yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [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 | * TCM2L4C_STRUCT.H |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MAUI |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * This file describes the common struct of TCM and L4C. |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * ------- |
| 53 | * |
| 54 | *============================================================================ |
| 55 | ****************************************************************************/ |
| 56 | |
| 57 | /******************************************************************************** |
| 58 | * Copyright Statement: |
| 59 | * -------------------- |
| 60 | * |
| 61 | * This product has been developed using a protocol stack |
| 62 | * developed by Sasken Communication Technologies Limited. |
| 63 | * |
| 64 | ********************************************************************************/ |
| 65 | |
| 66 | #ifndef _TCM2L4C_STRUCT_H |
| 67 | #define _TCM2L4C_STRUCT_H |
| 68 | |
| 69 | //------------------------------ suggest Add ------------------------------ |
| 70 | //#include "kal_non_specific_general_types.h" |
| 71 | #include "l4c2tcm_func.h" |
| 72 | #include "mcd_l3_inc_gprs_struct.h" |
| 73 | #include "l3_inc_local.h" |
| 74 | //#include "app_ltlcom.h" |
| 75 | //#include "l4c_common_enum.h" |
| 76 | #include "l4c2tcm_struct.h" |
| 77 | #include "mmi_l3_enums.h" |
| 78 | #include "tcm_context.h" |
| 79 | #include "tftlib_common_struct.h" |
| 80 | |
| 81 | //------------------------------ suggest Add ------------------------------ |
| 82 | #include "kal_general_types.h" |
| 83 | #include "ps_public_struct.h" |
| 84 | #include "ps_public_enum.h" |
| 85 | |
| 86 | #ifdef __CDMA2000_RAT__ |
| 87 | #include "c2k_irat_msg_struct.h" |
| 88 | #else |
| 89 | #define MAX_PDN_NUM (5) |
| 90 | #endif |
| 91 | |
| 92 | /* __APP_SECONDARY_PDP_SUPPORT__ */ |
| 93 | typedef struct { |
| 94 | LOCAL_PARA_HDR |
| 95 | kal_uint8 context_id; |
| 96 | } tcm_pdp_reactivate_cnf_struct; |
| 97 | |
| 98 | typedef struct { |
| 99 | LOCAL_PARA_HDR |
| 100 | kal_uint8 context_id; |
| 101 | kal_bool cause2_present ; // if network has cause_2 value in ACTIVATE_PDP_CONTEXT_ACCEPT |
| 102 | ps_cause_enum cause2; /* Relay cause_2 value from SM. */ |
| 103 | pdp_addr_type_enum pdp_type; |
| 104 | kal_uint8 primary_context_id; |
| 105 | kal_bool arrearage_flag; |
| 106 | rat_enum rat; |
| 107 | } tcm_pdp_activate_cnf_struct; |
| 108 | |
| 109 | typedef struct { |
| 110 | LOCAL_PARA_HDR |
| 111 | kal_uint8 context_id; |
| 112 | kal_bool cause2_present; |
| 113 | ps_cause_enum cause2; |
| 114 | pdp_addr_type_enum pdp_type; |
| 115 | kal_bool arrearage_flag; |
| 116 | } l4c_tcm_eps_attach_cnf_struct; // convert it to l4bpdn_l4c_lte_attach_pdn_activate_success_ind_struct |
| 117 | |
| 118 | typedef struct { |
| 119 | LOCAL_PARA_HDR |
| 120 | kal_uint8 context_id; |
| 121 | ps_cause_enum cause; /* reject cause (also used for cause_2) */ |
| 122 | kal_bool is_change_to_apn_class_present; |
| 123 | kal_uint8 change_to_apn_class; |
| 124 | } l4c_tcm_eps_attach_rej_struct; // convert it to l4bpdn_l4c_lte_attach_pdn_activate_failure_ind_struct |
| 125 | |
| 126 | typedef struct { |
| 127 | LOCAL_PARA_HDR |
| 128 | kal_uint8 context_id; |
| 129 | kal_bool is_rejected_by_nw; // if this PDP is rejected by NW using SM peer msg, KAL_TRUE, else, KAL_FALSE |
| 130 | ps_cause_enum cause; /* reject cause (also used for cause_2) */ |
| 131 | kal_bool is_T3396_present; /* __MTC_SUPPORT__ */ |
| 132 | kal_uint32 T3396_value_in_sec; /* __MTC_SUPPORT__ */ |
| 133 | kal_bool is_change_to_apn_class_present; |
| 134 | kal_uint8 change_to_apn_class; |
| 135 | rat_enum rat; |
| 136 | } tcm_pdp_activate_rej_struct; |
| 137 | |
| 138 | typedef struct { |
| 139 | LOCAL_PARA_HDR |
| 140 | kal_uint8 context_id; |
| 141 | kal_uint8 primary_context_id; |
| 142 | } tcm_pdp_activate_ind_struct; |
| 143 | |
| 144 | //#ifdef __TURN_ON_GENERAL_SECONDARY_PDP__ |
| 145 | typedef struct { |
| 146 | LOCAL_PARA_HDR |
| 147 | kal_uint8 context_id; |
| 148 | kal_uint8 primary_context_id; |
| 149 | } tcm_sec_pdp_activate_ind_struct; |
| 150 | //#endif |
| 151 | |
| 152 | typedef struct { |
| 153 | LOCAL_PARA_HDR |
| 154 | kal_uint8 context_id; |
| 155 | qos_struct new_neg_qos; /* Obsoleted */ |
| 156 | kal_bool tft_changed; |
| 157 | kal_bool qos_changed; |
| 158 | kal_uint8 primary_context_id; |
| 159 | } tcm_pdp_modify_cnf_struct; |
| 160 | |
| 161 | typedef struct { |
| 162 | LOCAL_PARA_HDR |
| 163 | kal_uint8 context_id; |
| 164 | ps_cause_enum cause; /* reject cause*/ |
| 165 | kal_bool is_T3396_present; /* __MTC_SUPPORT__ */ |
| 166 | kal_uint32 T3396_value_in_sec; /* __MTC_SUPPORT__ */ |
| 167 | } tcm_pdp_modify_rej_struct; |
| 168 | |
| 169 | typedef struct { |
| 170 | LOCAL_PARA_HDR |
| 171 | kal_uint8 context_id; |
| 172 | qos_struct new_neg_qos; /* Obsoleted */ |
| 173 | kal_bool tft_changed; |
| 174 | kal_bool qos_changed; |
| 175 | kal_uint8 primary_context_id; |
| 176 | |
| 177 | kal_bool is_cause_present; |
| 178 | ps_cause_enum cause; |
| 179 | } tcm_pdp_modify_ind_struct; |
| 180 | |
| 181 | typedef struct { |
| 182 | LOCAL_PARA_HDR |
| 183 | kal_uint8 context_id; |
| 184 | kal_uint8 primary_context_id; |
| 185 | l4c_result_enum result; |
| 186 | ps_cause_enum cause; // Used by RAT_TCM when value == RAT_TCM_RETRY_NEEDED_AFTER_IRAT |
| 187 | kal_bool is_T3396_present; /* __MTC_SUPPORT__ */ |
| 188 | kal_uint32 T3396_value_in_sec; /* __MTC_SUPPORT__ */ |
| 189 | rat_enum rat; |
| 190 | } tcm_pdp_deactivate_cnf_struct; |
| 191 | |
| 192 | typedef struct { |
| 193 | LOCAL_PARA_HDR |
| 194 | kal_uint8 context_id; |
| 195 | ps_cause_enum cause; /* deactivation cause*/ |
| 196 | kal_uint8 primary_context_id; |
| 197 | kal_bool is_T3396_present; /* __MTC_SUPPORT__ */ |
| 198 | kal_uint32 T3396_value_in_sec; /* __MTC_SUPPORT__ */ |
| 199 | rat_enum rat; |
| 200 | } tcm_pdp_deactivate_ind_struct; |
| 201 | |
| 202 | typedef struct { |
| 203 | l4ctcm_bearer_notify_type_enum notify_type; |
| 204 | kal_uint8 cid; |
| 205 | kal_uint8 nsapi; // bearer_id |
| 206 | kal_bool tft_present; |
| 207 | tft_info_struct tft; |
| 208 | |
| 209 | } l4ctcm_dedicated_bearer_event_report_struct; |
| 210 | |
| 211 | typedef struct { |
| 212 | LOCAL_PARA_HDR |
| 213 | l4ctcm_ps_event_report_type_enum event_id; |
| 214 | |
| 215 | union |
| 216 | { |
| 217 | l4ctcm_dedicated_bearer_event_report_struct dedicate_event; |
| 218 | }report_content; |
| 219 | |
| 220 | } l4ctcm_ps_event_report_ind_struct; |
| 221 | |
| 222 | typedef struct { |
| 223 | LOCAL_PARA_HDR |
| 224 | kal_uint8 valid_contexts; |
| 225 | kal_uint8 context_id[GPRS_MAX_PDP_SUPPORT]; |
| 226 | kal_uint8 bearer_capability[GPRS_MAX_PDP_SUPPORT]; |
| 227 | } l4ctcm_bearer_capability_ind_struct; //hspa_mmi_h2 |
| 228 | |
| 229 | typedef struct { |
| 230 | LOCAL_PARA_HDR |
| 231 | kal_uint8 result; |
| 232 | ps_cause_enum error_cause; /* erica 20060320 */ |
| 233 | } l4ctcm_set_cnf_struct; |
| 234 | |
| 235 | typedef struct { |
| 236 | LOCAL_PARA_HDR |
| 237 | kal_uint8 context_id; // Jeffery NEW! |
| 238 | kal_uint8 result; |
| 239 | ps_cause_enum error_cause; /* erica 20060320 */ |
| 240 | } l4ctcm_set_context_cnf_struct; |
| 241 | |
| 242 | typedef struct { |
| 243 | LOCAL_PARA_HDR |
| 244 | l4ctcm_ladn_info_list_struct ladn_info_list; |
| 245 | } l4ctcm_ladn_info_update_ind_struct; |
| 246 | |
| 247 | typedef struct |
| 248 | { |
| 249 | LOCAL_PARA_HDR |
| 250 | kal_bool result; |
| 251 | ps_cause_enum cause; |
| 252 | } l4ctcm_set_acl_mode_cnf_struct; |
| 253 | |
| 254 | typedef struct |
| 255 | { |
| 256 | LOCAL_PARA_HDR |
| 257 | kal_bool result; |
| 258 | ps_cause_enum cause; |
| 259 | kal_uint16 start_index; |
| 260 | kal_uint16 num_of_entries; |
| 261 | kal_bool more_flag; |
| 262 | tcm_acl_entry_struct acl_list[TCM_MAX_PEER_ACL_ENTRIES]; |
| 263 | } l4ctcm_get_acl_entries_cnf_struct; |
| 264 | |
| 265 | typedef struct |
| 266 | { |
| 267 | LOCAL_PARA_HDR |
| 268 | kal_bool result; |
| 269 | ps_cause_enum cause; |
| 270 | } l4ctcm_add_acl_entry_cnf_struct; |
| 271 | |
| 272 | typedef struct |
| 273 | { |
| 274 | LOCAL_PARA_HDR |
| 275 | kal_bool result; |
| 276 | ps_cause_enum cause; |
| 277 | } l4ctcm_set_acl_entry_cnf_struct; |
| 278 | typedef struct |
| 279 | { |
| 280 | LOCAL_PARA_HDR |
| 281 | kal_bool result; |
| 282 | ps_cause_enum cause; |
| 283 | } l4ctcm_del_acl_entry_cnf_struct; |
| 284 | |
| 285 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_pri_pdp_info_cnf_struct; |
| 286 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_sec_pdp_info_cnf_struct; |
| 287 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_extended_pdp_info_cnf_struct; |
| 288 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_qos_info_cnf_struct; |
| 289 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_eqos_info_cnf_struct; |
| 290 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_ppp_auth_info_cnf_struct; |
| 291 | //typedef l4ctcm_set_context_cnf_struct l4ctcm_set_gprs_account_info_cnf_struct; |
| 292 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_eps_qos_info_cnf_struct; |
| 293 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_vgqos_info_cnf_struct; |
| 294 | typedef l4ctcm_set_context_cnf_struct l4ctcm_undefine_pdp_info_cnf_struct; //mtk00714 w0637: AT definition |
| 295 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_cgauth_info_cnf_struct; |
| 296 | typedef l4ctcm_set_context_cnf_struct l4ctcm_set_egpco_cnf_struct; |
| 297 | |
| 298 | //typedef l4ctcm_set_context_cnf_struct l4ctcm_set_ppp_auth_cnf_struct; // mtk02126 define this struct for MSC to recognize MAUI_02420720 |
| 299 | |
| 300 | typedef l4ctcm_set_cnf_struct l4ctcm_start_cnf_struct; |
| 301 | typedef l4ctcm_set_cnf_struct l4ctcm_sync_apn_info_cnf_struct; |
| 302 | typedef l4ctcm_set_cnf_struct l4ctcm_set_msq_mode_cnf_struct ; /* __MEDIATEK_SMART_QOS__ */ |
| 303 | typedef l4ctcm_set_cnf_struct l4ctcm_set_msq_entry_cnf_struct ; /* __MEDIATEK_SMART_QOS__ */ |
| 304 | |
| 305 | //typedef tcm_pdp_activate_ind_struct rat_tcm_print_embedded_activate_ind_struct; |
| 306 | typedef tcm_pdp_deactivate_ind_struct rat_tcm_print_embedded_deactivate_ind_msg_struct; |
| 307 | typedef tcm_pdp_modify_ind_struct rat_tcm_print_embedded_modify_ind_msg_struct; |
| 308 | typedef tcm_sec_pdp_activate_ind_struct rat_tcm_print_embedded_sec_activate_ind_msg_struct; |
| 309 | |
| 310 | typedef struct { |
| 311 | LOCAL_PARA_HDR |
| 312 | kal_uint8 context_id; |
| 313 | kal_uint8 result; |
| 314 | ps_cause_enum error_cause; |
| 315 | } l4ctcm_enter_data_mode_cnf_struct; //mtk02285, 20110322 |
| 316 | |
| 317 | typedef struct { |
| 318 | LOCAL_PARA_HDR |
| 319 | kal_uint8 context_id; |
| 320 | kal_uint8 result; |
| 321 | ps_cause_enum error_cause; |
| 322 | } l4ctcm_leave_data_mode_cnf_struct; |
| 323 | |
| 324 | typedef struct { |
| 325 | LOCAL_PARA_HDR |
| 326 | kal_uint8 pdn_num; |
| 327 | l4ctcm_at_report_struct pdn[MAX_PDN_NUM]; |
| 328 | }l4ctcm_set_multiple_pdn_info_cnf_struct; |
| 329 | |
| 330 | |
| 331 | typedef struct{ |
| 332 | LOCAL_PARA_HDR |
| 333 | l4ctcm_set_specific_context_req_struct piggyback_req; |
| 334 | kal_uint16 set_success_context_id; |
| 335 | |
| 336 | }l4ctcm_set_specific_context_cnf_struct; |
| 337 | |
| 338 | typedef struct |
| 339 | { |
| 340 | LOCAL_PARA_HDR |
| 341 | l4c_prim_pdp_info_list_struct l4c_prim_pdp_info_list; |
| 342 | } tcm_ut_check_callback_l4ctcm_get_pri_pdp_info_struct; |
| 343 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_PRI_PDP_INFO, l4c_prim_pdp_info_list_struct |
| 344 | |
| 345 | typedef struct |
| 346 | { |
| 347 | LOCAL_PARA_HDR |
| 348 | l4c_sec_pdp_info_list_struct l4c_sec_pdp_info_list; |
| 349 | } tcm_ut_check_callback_l4ctcm_get_sec_pdp_info_struct; |
| 350 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_SEC_PDP_INFO, l4c_sec_pdp_info_list_struct |
| 351 | |
| 352 | typedef struct |
| 353 | { |
| 354 | LOCAL_PARA_HDR |
| 355 | l4c_qos_list_struct l4c_qos_list; |
| 356 | } tcm_ut_check_callback_l4ctcm_get_qos_info_struct; |
| 357 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_QOS_INFO, l4c_qos_list_struct |
| 358 | |
| 359 | typedef struct |
| 360 | { |
| 361 | LOCAL_PARA_HDR |
| 362 | l4c_config_option_list_struct l4c_config_option_list; |
| 363 | } tcm_ut_check_callback_l4ctcm_get_config_option_info_struct; |
| 364 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_CONFIG_OPTION_INFO, l4c_config_option_list_struct |
| 365 | |
| 366 | typedef struct |
| 367 | { |
| 368 | LOCAL_PARA_HDR |
| 369 | l4c_eqos_list_struct l4c_eqos_list; |
| 370 | } tcm_ut_check_callback_l4ctcm_get_eqos_info_struct; |
| 371 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_EQOS_INFO, l4c_eqos_list_struct |
| 372 | |
| 373 | typedef struct |
| 374 | { |
| 375 | LOCAL_PARA_HDR |
| 376 | kal_uint16 val; |
| 377 | } tcm_ut_check_callback_l4ctcm_encode_sdu_size_struct; |
| 378 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_ENCODE_SDU_SIZE, kal_uint16 val_ptr |
| 379 | |
| 380 | typedef struct |
| 381 | { |
| 382 | LOCAL_PARA_HDR |
| 383 | kal_uint16 val; |
| 384 | } tcm_ut_check_callback_l4ctcm_decode_sdu_size_struct; |
| 385 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_DECODE_SDU_SIZE, kal_uint16 val_ptr |
| 386 | |
| 387 | typedef struct |
| 388 | { |
| 389 | LOCAL_PARA_HDR |
| 390 | kal_uint32 val; |
| 391 | } tcm_ut_check_callback_l4ctcm_encode_bit_rate_struct; |
| 392 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_ENCODE_BIT_RATE, kal_uint16 val_ptr |
| 393 | |
| 394 | typedef struct |
| 395 | { |
| 396 | LOCAL_PARA_HDR |
| 397 | kal_uint32 rate; |
| 398 | } tcm_ut_check_callback_l4ctcm_decode_bit_rate_struct; |
| 399 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_DECODE_BIT_RATE, kal_uint32 rate_ptr |
| 400 | |
| 401 | typedef struct |
| 402 | { |
| 403 | LOCAL_PARA_HDR |
| 404 | kal_uint16 val; |
| 405 | } tcm_ut_check_callback_l4ctcm_encode_transfer_delay_struct; |
| 406 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_ENCODE_TRANSFER_DELAY, kal_uint16 val_ptr |
| 407 | |
| 408 | typedef struct |
| 409 | { |
| 410 | LOCAL_PARA_HDR |
| 411 | kal_uint16 val; |
| 412 | } tcm_ut_check_callback_l4ctcm_decode_transfer_delay_struct; |
| 413 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_DECODE_TRANSFER_DELAY, kal_uint16 delay_ptr |
| 414 | |
| 415 | typedef struct |
| 416 | { |
| 417 | LOCAL_PARA_HDR |
| 418 | kal_uint8 length; |
| 419 | kal_uint8 addr[100]; |
| 420 | } tcm_ut_check_callback_l4ctcm_get_pdp_addr_struct; |
| 421 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_PDP_ADDR, kal_uint8 length, kal_uint8 addr[100] |
| 422 | |
| 423 | typedef struct |
| 424 | { |
| 425 | LOCAL_PARA_HDR |
| 426 | kal_uint8 total_context[100]; |
| 427 | kal_uint8 state_list[100]; |
| 428 | } tcm_ut_check_callback_l4ctcm_get_context_state_struct; |
| 429 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_CONTEXT_STATE, kal_uint8 total_context[100], kal_uint8 state_list[100] |
| 430 | |
| 431 | typedef struct |
| 432 | { |
| 433 | LOCAL_PARA_HDR |
| 434 | kal_uint8 empty_gprs_prof_entry[100]; |
| 435 | } tcm_ut_check_callback_l4ctcm_get_empty_gprs_prof_struct; |
| 436 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_EMPTY_GPRS_PROF, kal_uint8 empty_gprs_prof_entry[100] |
| 437 | |
| 438 | typedef struct |
| 439 | { |
| 440 | LOCAL_PARA_HDR |
| 441 | kal_bool auth_type; |
| 442 | } tcm_ut_check_callback_l4ctcm_get_ppp_auth_struct; |
| 443 | //MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_PPP_AUTH, kal_bool is_chap |
| 444 | |
| 445 | typedef struct |
| 446 | { |
| 447 | LOCAL_PARA_HDR |
| 448 | kal_bool callback_func_return_value; |
| 449 | } tcm_ut_check_callback_check_pdp_context_exist_or_during_activating_func_struct; |
| 450 | // MSG_ID_TCM_UT_CHECK_CALLBACK_CHECK_PDP_CONTEXT_EXIST_OR_DURING_ACTIVATING_FUNC |
| 451 | |
| 452 | typedef struct |
| 453 | { |
| 454 | LOCAL_PARA_HDR |
| 455 | kal_bool callback_func_return_value; |
| 456 | kal_uint8 valid_contexts; |
| 457 | kal_uint8 context_id[GPRS_MAX_PDP_SUPPORT]; |
| 458 | kal_uint8 bearer_capability[GPRS_MAX_PDP_SUPPORT]; |
| 459 | } tcm_ut_check_callback_l4ctcm_get_bearer_capability_struct; |
| 460 | // MSG_ID_TCM_UT_CHECK_CALLBACK_L4CTCM_GET_BEARER_CAPABILITY |
| 461 | |
| 462 | typedef struct |
| 463 | { |
| 464 | LOCAL_PARA_HDR |
| 465 | } tcm_ut_result_ok_struct; |
| 466 | |
| 467 | typedef struct |
| 468 | { |
| 469 | LOCAL_PARA_HDR |
| 470 | l4c_prim_pdp_rdp_info_struct info ; |
| 471 | } tcm_ut_l4ctcm_get_pri_pdp_rdp_info_struct ; // l4ctcm_get_pri_pdp_rdp_info() |
| 472 | |
| 473 | typedef struct |
| 474 | { |
| 475 | LOCAL_PARA_HDR |
| 476 | l4c_sec_pdp_rdp_info_struct info ; |
| 477 | } tcm_ut_l4ctcm_get_sec_pdp_rdp_info_struct ; // l4ctcm_get_sec_pdp_rdp_info() |
| 478 | |
| 479 | typedef struct |
| 480 | { |
| 481 | LOCAL_PARA_HDR |
| 482 | l4c_prim_pdp_info_struct info ; |
| 483 | } tcm_ut_l4ctcm_get_pri_pdp_info_struct ; // l4ctcm_get_pri_pdp_info() |
| 484 | |
| 485 | typedef struct |
| 486 | { |
| 487 | LOCAL_PARA_HDR |
| 488 | l4c_sec_pdp_info_struct info ; |
| 489 | } tcm_ut_l4ctcm_get_sec_pdp_info_struct ; // l4ctcm_get_sec_pdp_info() |
| 490 | |
| 491 | typedef struct |
| 492 | { |
| 493 | LOCAL_PARA_HDR |
| 494 | kal_uint8 context_id ; |
| 495 | pdp_addr_type_enum pdp_type ; |
| 496 | pdp_addr_len_enum pdp_len ; |
| 497 | kal_uint8 pdp_addr[IPV4V6_ADDR_LEN] ; |
| 498 | } tcm_ut_l4ctcm_get_nw_applied_pdp_info_struct ; // l4ctcm_get_pdp_addr() and l4ctcm_get_pdp_addr_type() |
| 499 | |
| 500 | typedef struct{ |
| 501 | LOCAL_PARA_HDR |
| 502 | session_info_block_struct session_info; |
| 503 | } tcm_ut_l4ctcm_get_sib_info_struct; |
| 504 | |
| 505 | typedef struct{ |
| 506 | LOCAL_PARA_HDR |
| 507 | tcmesm_pco_struct pco; |
| 508 | } tcm_ut_etcm_cid_get_pco_result_struct; |
| 509 | //MSG_ID_TCM_UT_ETCM_CID_GET_PCO_RESULT |
| 510 | |
| 511 | typedef struct{ |
| 512 | LOCAL_PARA_HDR |
| 513 | tcm_pic_struct pic; |
| 514 | } tcm_ut_pic_context_dump_struct; |
| 515 | // MSG_ID_TCM_UT_PIC_CONTEXT_DUMP |
| 516 | |
| 517 | /* mtk03537: for LTE concatenated message in peer buffer */ |
| 518 | typedef struct { |
| 519 | PEER_BUFF_HDR |
| 520 | kal_uint8 embed_msg_num; |
| 521 | kal_uint32 embed_msg_id[10]; // at most 11 nsapis (nsapi 5~15), therefore, embedded at most have 10 entries |
| 522 | local_para_struct *embed_local_param[10]; // at most 11 nsapis (nsapi 5~15), therefore, embedded at most have 10 entries |
| 523 | } tcm_embed_struct; |
| 524 | |
| 525 | |
| 526 | /* MPH1 E911*/ |
| 527 | typedef struct { |
| 528 | LOCAL_PARA_HDR |
| 529 | } l4ctcm_ecc_rej_by_nw_in_attach_ind_struct; |
| 530 | |
| 531 | #endif |
| 532 | |
| 533 | |