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 | * PAM_MSG_STRUCT.H |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * |
| 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 | * |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * removed! |
| 68 | * |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * |
| 81 | * removed! |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * |
| 88 | * removed! |
| 89 | * removed! |
| 90 | * removed! |
| 91 | * |
| 92 | * removed! |
| 93 | * removed! |
| 94 | * removed! |
| 95 | * removed! |
| 96 | * |
| 97 | * removed! |
| 98 | * removed! |
| 99 | * removed! |
| 100 | * |
| 101 | * removed! |
| 102 | * removed! |
| 103 | * |
| 104 | * removed! |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * |
| 108 | * |
| 109 | *------------------------------------------------------------------------------ |
| 110 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 111 | *============================================================================ |
| 112 | ****************************************************************************/ |
| 113 | |
| 114 | #ifndef PAM_MSG_STRUCT_H |
| 115 | #define PAM_MSG_STRUCT_H |
| 116 | |
| 117 | /* struct */ |
| 118 | #include "kal_public_defs.h" |
| 119 | |
| 120 | #include "nwsel_eval_struct.h" |
| 121 | |
| 122 | /* Multimode */ |
| 123 | #include "irat_common_struct.h" |
| 124 | #include "mcd_l3_inc_gprs_struct.h" |
| 125 | #include "l3_inc_enums.h" |
| 126 | #include "mcd_l3_inc_struct.h" |
| 127 | |
| 128 | #ifndef MAX_BEARER_CTXT_NUM |
| 129 | #define MAX_BEARER_CTXT_NUM 11 |
| 130 | #endif |
| 131 | |
| 132 | typedef struct { |
| 133 | LOCAL_PARA_HDR |
| 134 | } tcm_pam_start_req_struct; |
| 135 | |
| 136 | typedef struct { |
| 137 | LOCAL_PARA_HDR |
| 138 | } tcm_pam_attach_context_defined_notify_req_struct; |
| 139 | |
| 140 | typedef struct { |
| 141 | LOCAL_PARA_HDR |
| 142 | kal_bool is_ue_voice_centric ; /* Configured by AT+CEUS (voice/data centric) */ |
| 143 | kal_bool is_ims_roaming_supported ; /* Configured by IMS */ |
| 144 | kal_bool is_mobile_data_on ; /* Configured by AT+ECNCFG (from Android UI) */ |
| 145 | kal_bool is_mobile_data_roaming_on ; /* Configured by AT+ECNCFG (from Android UI) */ |
| 146 | |
| 147 | kal_bool is_vzw_ims_test_mode_on ; /* IMS Test Mode is defined by VZW requirements */ |
| 148 | } tcm_pam_cellular_network_config_req_struct ; |
| 149 | |
| 150 | typedef ia_apn_change_req_struct tcm_pam_ia_apn_change_req_struct; |
| 151 | |
| 152 | /** Used by ESM/SM, to notify PAM stopping all T3396 timers. */ |
| 153 | typedef struct { |
| 154 | LOCAL_PARA_HDR |
| 155 | } pam_stop_all_t3396_ind_struct; |
| 156 | |
| 157 | /** Used by ESM/SM, to notify PAM that PDP numbers is currently sync'd with NW. */ |
| 158 | typedef struct { |
| 159 | LOCAL_PARA_HDR |
| 160 | } pam_pdp_synced_ind_struct; |
| 161 | |
| 162 | |
| 163 | /***** VZW(OP12) message structure *****/ |
| 164 | typedef struct { |
| 165 | LOCAL_PARA_HDR |
| 166 | kal_bool is_valid_available_apn_num; |
| 167 | kal_uint8 available_apn_num; |
| 168 | plmn_id_struct current_plmn_id; |
| 169 | } pam_esm_available_apn_info_req_struct; // __VZW__ __VZW_2__ |
| 170 | |
| 171 | typedef struct |
| 172 | { |
| 173 | LOCAL_PARA_HDR |
| 174 | plmn_id_struct current_plmn_id; |
| 175 | } pam_esm_t3402_stop_ind_struct; // __VZW__ __VZW_3__ |
| 176 | |
| 177 | typedef struct |
| 178 | { |
| 179 | LOCAL_PARA_HDR |
| 180 | // Indicates the below current_plmn_id should be used or not. |
| 181 | kal_bool is_valid_current_plmn_id; |
| 182 | // current_plmn_id for stopping throttling timer |
| 183 | plmn_id_struct current_plmn_id; |
| 184 | } pam_esm_stop_all_pdn_thrott_timer_ind_struct; // __VZW__ __VZW_10__ |
| 185 | |
| 186 | typedef struct |
| 187 | { |
| 188 | LOCAL_PARA_HDR |
| 189 | kal_uint32 ebi_est_num; |
| 190 | kal_uint8 ebi_est_list[MAX_BEARER_CTXT_NUM]; |
| 191 | // Indicates the below current_plmn_id should be used or not. |
| 192 | kal_bool is_valid_current_plmn_id; |
| 193 | // current_plmn_id for connection (DRB) establish |
| 194 | plmn_id_struct current_plmn_id; |
| 195 | } pam_esm_conn_est_ind_struct; // __VZW__ __VZW_4__ |
| 196 | |
| 197 | /***** AT&T(OP07) message structure *****/ |
| 198 | typedef nwsel_eval_t3402_change_ind_struct pam_esm_t3402_change_ind_struct; |
| 199 | |
| 200 | #endif /* PAM_MSG_STRUCT_H */ |