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 | * PAM2TCM_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 | * |
| 84 | * removed! |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * |
| 88 | * |
| 89 | *------------------------------------------------------------------------------ |
| 90 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 91 | *============================================================================ |
| 92 | ****************************************************************************/ |
| 93 | |
| 94 | #ifndef _PAM2TCM_STRUCT_H |
| 95 | #define _PAM2TCM_STRUCT_H |
| 96 | |
| 97 | /* struct */ |
| 98 | #include "kal_public_defs.h" |
| 99 | #include "l3_inc_local.h" |
| 100 | |
| 101 | /* enum */ |
| 102 | #include "l3_inc_enums.h" |
| 103 | |
| 104 | |
| 105 | #define MAX_VZW_APNNI_LEN MAX_APN_LEN |
| 106 | #define MAX_NUM_OF_VZW_APN_TABLE 20 |
| 107 | |
| 108 | #define MAX_VZW_APN_PDP_TYPE_LEN 10 |
| 109 | #define MAX_VZW_APN_BEARER_LEN 10 |
| 110 | #define MAX_VZW_APN_IS_ENABLED_LEN 15 |
| 111 | |
| 112 | typedef struct usm_bearer_info_struct { |
| 113 | bcm_enum bcm_info; |
| 114 | etft_enum etft_info; |
| 115 | } usm_bearer_info_struct ; |
| 116 | |
| 117 | typedef struct { |
| 118 | LOCAL_PARA_HDR |
| 119 | } tcm_pam_start_cnf_struct; |
| 120 | |
| 121 | typedef struct { |
| 122 | LOCAL_PARA_HDR |
| 123 | kal_uint8 nsapi; |
| 124 | usm_bearer_info_struct bearer_info; |
| 125 | } tcm_usm_context_update_ind_struct; |
| 126 | |
| 127 | typedef struct |
| 128 | { |
| 129 | kal_uint8 wapn; |
| 130 | kal_uint8 apn_class; |
| 131 | kal_uint32 apnni_len; |
| 132 | kal_uint8 apnni[MAX_VZW_APNNI_LEN]; |
| 133 | pdus_s_nssai_struct s_nssai; /* only valid when rat == RAT_NR */ |
| 134 | pdp_addr_type_enum pdp_type; |
| 135 | rat_enum rat; /* This field shall be RAT_NR when upper layer wants to configure s_nssai ; and when upper layer sets 4G Entry, shall be filled as RAT_LTE */ |
| 136 | kal_bool is_enable; |
| 137 | kal_uint32 apn_timer_value_in_minute; |
| 138 | } vzw_apn_table_struct; |
| 139 | |
| 140 | typedef struct |
| 141 | { |
| 142 | kal_uint8 wapn; |
| 143 | kal_uint32 max_conn_count; |
| 144 | kal_uint32 max_conn_timer_value_in_sec; //seconds |
| 145 | kal_uint32 wait_time_value_in_sec; //seconds |
| 146 | kal_uint32 throttle_time_value_in_sec; |
| 147 | } vzw_params_struct; |
| 148 | |
| 149 | typedef struct |
| 150 | { |
| 151 | LOCAL_PARA_HDR |
| 152 | kal_bool clear_all_vzw_apn_table; |
| 153 | vzw_apn_table_struct apn_info; |
| 154 | } tcm_pam_set_vzw_apn_table_req_struct; |
| 155 | |
| 156 | typedef struct |
| 157 | { |
| 158 | LOCAL_PARA_HDR |
| 159 | kal_uint8 result; |
| 160 | ps_cause_enum error_cause; |
| 161 | } tcm_pam_set_vzw_apn_table_cnf_struct; |
| 162 | |
| 163 | typedef struct |
| 164 | { |
| 165 | LOCAL_PARA_HDR |
| 166 | } tcm_pam_get_vzw_apn_table_req_struct; |
| 167 | |
| 168 | typedef struct |
| 169 | { |
| 170 | LOCAL_PARA_HDR |
| 171 | kal_uint8 num_of_apn_info; |
| 172 | vzw_apn_table_struct apn_info[MAX_NUM_OF_VZW_APN_TABLE]; |
| 173 | } tcm_pam_get_vzw_apn_table_cnf_struct; |
| 174 | |
| 175 | typedef struct |
| 176 | { |
| 177 | LOCAL_PARA_HDR |
| 178 | vzw_params_struct params; |
| 179 | } tcm_pam_set_vzw_params_req_struct; |
| 180 | |
| 181 | typedef struct |
| 182 | { |
| 183 | LOCAL_PARA_HDR |
| 184 | kal_uint8 result; |
| 185 | ps_cause_enum error_cause; |
| 186 | } tcm_pam_set_vzw_params_cnf_struct; |
| 187 | |
| 188 | typedef struct |
| 189 | { |
| 190 | LOCAL_PARA_HDR |
| 191 | } tcm_pam_get_vzw_params_req_struct; |
| 192 | |
| 193 | typedef struct |
| 194 | { |
| 195 | LOCAL_PARA_HDR |
| 196 | kal_uint8 num_of_params; |
| 197 | vzw_params_struct params[MAX_NUM_OF_VZW_APN_TABLE]; |
| 198 | } tcm_pam_get_vzw_params_cnf_struct; |
| 199 | |
| 200 | #define PAM_BLOCKING_TIMER_LENGTH_NOT_BLOCKING 0 |
| 201 | #define PAM_BLOCKING_TIMER_LENGTH_BLOCKING_FOREVER 0xFFFFFFFF |
| 202 | |
| 203 | typedef struct |
| 204 | { |
| 205 | LOCAL_PARA_HDR |
| 206 | kal_uint8 apnni_len; |
| 207 | kal_uint8 apnni[MAX_VZW_APNNI_LEN]; |
| 208 | |
| 209 | } tcm_pam_get_apn_blocking_timer_length_req_struct; |
| 210 | |
| 211 | typedef struct |
| 212 | { |
| 213 | LOCAL_PARA_HDR |
| 214 | kal_uint8 apnni_len; |
| 215 | kal_uint8 apnni[MAX_VZW_APNNI_LEN]; |
| 216 | // 0: not blocking, 0xFFFFFFFF: blocking forever |
| 217 | kal_uint32 timer_value_in_second; //seconds |
| 218 | } tcm_pam_get_apn_blocking_timer_length_cnf_struct; |
| 219 | |
| 220 | typedef struct |
| 221 | { |
| 222 | LOCAL_PARA_HDR |
| 223 | kal_uint8 apnni_len; |
| 224 | kal_uint8 apnni[MAX_VZW_APNNI_LEN]; |
| 225 | } tcm_pam_cancel_apn_blocking_timer_ind_struct; |
| 226 | |
| 227 | typedef struct |
| 228 | { |
| 229 | LOCAL_PARA_HDR |
| 230 | pam_event_notify_enum event; |
| 231 | } tcm_pam_event_notify_req_struct; |
| 232 | |
| 233 | typedef ladn_info_update_ind_struct tcm_pam_ladn_info_update_ind_struct; |
| 234 | |
| 235 | #endif /* _PAM2TCM_STRUCT_H */ |