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 | * l4b_atp_struct.h |
| 41 | * |
| 42 | * Description: |
| 43 | * ------------ |
| 44 | * |
| 45 | * Author: |
| 46 | * ------- |
| 47 | * ------- |
| 48 | * |
| 49 | *============================================================================ |
| 50 | * HISTORY |
| 51 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 52 | *------------------------------------------------------------------------------ |
| 53 | * removed! |
| 54 | * |
| 55 | * removed! |
| 56 | * removed! |
| 57 | * removed! |
| 58 | * removed! |
| 59 | * |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * removed! |
| 68 | * removed! |
| 69 | * |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * removed! |
| 73 | * removed! |
| 74 | * |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * |
| 80 | * removed! |
| 81 | * removed! |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * |
| 89 | * removed! |
| 90 | * removed! |
| 91 | * removed! |
| 92 | * |
| 93 | * removed! |
| 94 | * removed! |
| 95 | * |
| 96 | * removed! |
| 97 | * removed! |
| 98 | * removed! |
| 99 | * |
| 100 | * removed! |
| 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 | |
| 115 | |
| 116 | #ifndef _L4B_ATP_STRUCT_H |
| 117 | #define _L4B_ATP_STRUCT_H |
| 118 | |
| 119 | #include "kal_general_types.h" |
| 120 | #include "atp_public_defs.h" |
| 121 | |
| 122 | |
| 123 | /* MSG_ID_ATP_L4B_AT_CMD_REQ */ |
| 124 | typedef struct { |
| 125 | LOCAL_PARA_HDR |
| 126 | atp_channel_enum ch_id; |
| 127 | } atp_l4b_at_cmd_req_struct; |
| 128 | |
| 129 | /* MSG_ID_ATP_L4B_AT_CMD_CNF */ |
| 130 | typedef struct { |
| 131 | LOCAL_PARA_HDR |
| 132 | |
| 133 | atp_channel_enum ch_id; |
| 134 | proxy_cmd_result_enum result; |
| 135 | atp_err_id_enum cause; |
| 136 | kal_bool stuff; |
| 137 | } atp_l4b_at_cmd_cnf_struct; |
| 138 | |
| 139 | /* MSG_ID_ATP_L4B_AT_URC_IND */ |
| 140 | typedef struct { |
| 141 | LOCAL_PARA_HDR |
| 142 | kal_uint8 ch_id; |
| 143 | kal_bool stuff; |
| 144 | } atp_l4b_at_urc_ind_struct; //align to l4b_atci_at_urc_ind_struct |
| 145 | typedef struct { |
| 146 | LOCAL_PARA_HDR |
| 147 | kal_uint8 lock_mode;//0:unlock;1:lock |
| 148 | kal_bool attach_type;//0: no attach/detach;1:attach when lcok/detach when unlock |
| 149 | } atp_l4bnw_sim_lock_req_struct; //align to atp_l4bnw_sim_lock_req_struct |
| 150 | /* MSG_ID_ATP_L4BNW_SIM_LOCK_CNF */ |
| 151 | typedef struct { |
| 152 | LOCAL_PARA_HDR |
| 153 | kal_bool result; |
| 154 | } atp_l4bnw_sim_lock_cnf_struct; //align to atp_l4bnw_sim_lock_cnf_struct |
| 155 | |
| 156 | //MSG_ID_ATP_L4BSBP_AT_CH_LOCK_REQ/ MSG_ID_ATP_L4BSBP_AT_CH_UNLOCK_REQ |
| 157 | typedef struct |
| 158 | { |
| 159 | LOCAL_PARA_HDR |
| 160 | } atp_l4bsbp_at_ch_lock_req_struct, atp_l4bsbp_at_ch_unlock_req_struct, l5io_l4bsbp_at_ch_lock_req_struct, l5io_l4bsbp_at_ch_unlock_req_struct; |
| 161 | |
| 162 | //MSG_ID_ATP_L4BSBP_AT_CH_LOCK_CNF/ MSG_ID_ATP_L4BSBP_AT_CH_UNLOCK_CNF |
| 163 | typedef struct |
| 164 | { |
| 165 | LOCAL_PARA_HDR |
| 166 | kal_bool result; // 0: fail, 1: success |
| 167 | } atp_l4bsbp_at_ch_lock_cnf_struct, atp_l4bsbp_at_ch_unlock_cnf_struct, l5io_l4bsbp_at_ch_lock_cnf_struct, l5io_l4bsbp_at_ch_unlock_cnf_struct; |
| 168 | |
| 169 | //MSG_ID_L5IO_L4BSBP_SBP_ID_CHANGE_IND |
| 170 | typedef struct |
| 171 | { |
| 172 | LOCAL_PARA_HDR |
| 173 | kal_uint32 sbp_id; |
| 174 | } l5io_l4bsbp_sbp_id_change_ind_struct; |
| 175 | |
| 176 | typedef struct { |
| 177 | LOCAL_PARA_HDR |
| 178 | atp_channel_enum ch_id; |
| 179 | atp_cmd_mode_enum cmd_mode; |
| 180 | kal_uint8 fun; |
| 181 | kal_uint8 cause; |
| 182 | } atp_l4bpwr_efun_req_struct; |
| 183 | |
| 184 | typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_efun_cnf_struct; |
| 185 | |
| 186 | typedef struct { |
| 187 | LOCAL_PARA_HDR |
| 188 | atp_channel_enum ch_id; |
| 189 | atp_cmd_mode_enum cmd_mode; |
| 190 | kal_uint8 fun; |
| 191 | kal_uint8 rst; |
| 192 | } atp_l4bpwr_cfun_req_struct; |
| 193 | |
| 194 | typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_cfun_cnf_struct; |
| 195 | |
| 196 | typedef struct { |
| 197 | LOCAL_PARA_HDR |
| 198 | atp_channel_enum ch_id; |
| 199 | } atp_l4bpwr_epof_req_struct; |
| 200 | |
| 201 | typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_epof_cnf_struct; |
| 202 | |
| 203 | typedef struct { |
| 204 | LOCAL_PARA_HDR |
| 205 | atp_channel_enum ch_id; |
| 206 | } atp_l4bpwr_get_nr_ps_req_struct; |
| 207 | |
| 208 | typedef struct { |
| 209 | LOCAL_PARA_HDR |
| 210 | atp_channel_enum ch_id; |
| 211 | kal_uint8 target_nr_ps; // bitmap for protocols which can connect NR |
| 212 | } atp_l4bpwr_set_nr_ps_req_struct; |
| 213 | |
| 214 | typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_get_nr_ps_cnf_struct; |
| 215 | typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_set_nr_ps_cnf_struct; |
| 216 | |
| 217 | #endif /* _L4B_ATP_STRUCT_H */ |
| 218 | |
| 219 | |