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 | * Filename: |
| 38 | * --------- |
| 39 | * l4c_lbs_struct.h |
| 40 | * |
| 41 | * Project: |
| 42 | * -------- |
| 43 | * MT6290 |
| 44 | * |
| 45 | * Description: |
| 46 | * ------------ |
| 47 | * This file is intends for ... |
| 48 | * |
| 49 | * Author: |
| 50 | * ------- |
| 51 | * ------- |
| 52 | * |
| 53 | *============================================================================== |
| 54 | * HISTORY |
| 55 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 56 | *------------------------------------------------------------------------------ |
| 57 | * removed! |
| 58 | * |
| 59 | * removed! |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * |
| 64 | * removed! |
| 65 | * removed! |
| 66 | * removed! |
rjw | 8e44aab | 2022-11-30 16:42:16 +0800 | [diff] [blame] | 67 | * removed! |
| 68 | * |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * removed! |
rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 72 | * |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * removed! |
| 81 | *------------------------------------------------------------------------------ |
| 82 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 83 | *============================================================================== |
| 84 | *******************************************************************************/ |
| 85 | |
| 86 | /******************************************************************************** |
| 87 | * Copyright Statement: |
| 88 | * -------------------- |
| 89 | * |
| 90 | * This product has been developed using a protocol stack |
| 91 | * developed by Sasken Communication Technologies Limited. |
| 92 | * |
| 93 | ********************************************************************************/ |
| 94 | |
| 95 | |
| 96 | |
| 97 | #ifndef _L4C_LBS_STRUCT_H |
| 98 | #define _L4C_LBS_STRUCT_H |
| 99 | |
| 100 | #include "kal_general_types.h" |
| 101 | #include "l3_inc_enums_public.h" |
yu.dong | e372c32 | 2023-08-30 20:25:04 -0700 | [diff] [blame^] | 102 | #include "irat_common_enums.h" |
rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 103 | #if defined(__AGPS_CONTROL_PLANE__) && !defined(__MMI_FMI__) |
| 104 | #include "ss_asn.h" |
| 105 | #endif |
| 106 | |
rjw | 8e44aab | 2022-11-30 16:42:16 +0800 | [diff] [blame] | 107 | #include "l3_inc_enums.h" |
| 108 | |
rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 109 | /* A-GPS Control Plane LCS Service */ |
| 110 | #if defined(__AGPS_CONTROL_PLANE__) && !defined(__MMI_FMI__) |
| 111 | typedef struct |
| 112 | { |
| 113 | LOCAL_PARA_HDR |
| 114 | SS2_LocationNotificationArg notification; |
| 115 | kal_uint8 ss_id; |
| 116 | } lbs_mtlr_begin_ind_struct; |
| 117 | typedef struct |
| 118 | { |
| 119 | LOCAL_PARA_HDR |
| 120 | SS2_LocationNotificationRes response; |
| 121 | kal_uint8 ss_id; |
| 122 | } lbs_mtlr_begin_res_req_struct; |
| 123 | typedef struct |
| 124 | { |
| 125 | LOCAL_PARA_HDR |
| 126 | kal_uint8 result; |
| 127 | kal_uint8 ss_id; |
| 128 | } lbs_mtlr_begin_res_rsp_struct; |
| 129 | typedef struct |
| 130 | { |
| 131 | LOCAL_PARA_HDR |
| 132 | SS2_LCS_AreaEventRequestArg aerq; |
| 133 | kal_uint8 ss_id; |
| 134 | } lbs_aerq_begin_ind_struct; |
| 135 | typedef struct |
| 136 | { |
| 137 | LOCAL_PARA_HDR |
| 138 | kal_uint8 cause; |
| 139 | kal_uint8 ss_id; |
| 140 | } lbs_aerq_begin_res_req_struct; |
| 141 | typedef struct |
| 142 | { |
| 143 | LOCAL_PARA_HDR |
| 144 | kal_uint8 result; |
| 145 | kal_uint8 ss_id; |
| 146 | } lbs_aerq_begin_res_rsp_struct; |
| 147 | typedef struct |
| 148 | { |
| 149 | LOCAL_PARA_HDR |
| 150 | SS2_LCS_AreaEventReportArg aerp; |
| 151 | kal_uint8 ss_id; |
| 152 | kal_uint8 is_initial; |
| 153 | kal_uint8 rat_info; //for CISS to recognize the operating rat: 0:2/3G, 1:4G |
| 154 | } lbs_aerp_begin_req_struct; |
| 155 | typedef struct |
| 156 | { |
| 157 | LOCAL_PARA_HDR |
| 158 | kal_uint8 result; |
| 159 | kal_uint16 cause; |
| 160 | kal_uint8 ss_id; |
| 161 | } lbs_aerp_begin_rsp_struct; |
| 162 | typedef struct |
| 163 | { |
| 164 | LOCAL_PARA_HDR |
| 165 | kal_uint8 cause; |
| 166 | kal_uint8 ss_id; |
| 167 | } lbs_aerp_end_req_struct; |
| 168 | typedef struct |
| 169 | { |
| 170 | LOCAL_PARA_HDR |
| 171 | kal_uint8 result; |
| 172 | } lbs_aerp_end_rsp_struct; |
| 173 | typedef struct |
| 174 | { |
| 175 | LOCAL_PARA_HDR |
| 176 | SS2_LCS_AreaEventCancellationArg aecl; |
| 177 | kal_uint8 ss_id; |
| 178 | } lbs_aecl_begin_ind_struct; |
| 179 | typedef struct |
| 180 | { |
| 181 | LOCAL_PARA_HDR |
| 182 | kal_uint8 cause; |
| 183 | kal_uint8 ss_id; |
| 184 | } lbs_aecl_begin_res_req_struct; |
| 185 | typedef struct |
| 186 | { |
| 187 | LOCAL_PARA_HDR |
| 188 | kal_uint8 result; |
| 189 | kal_uint8 ss_id; |
| 190 | } lbs_aecl_begin_res_rsp_struct; |
| 191 | typedef struct |
| 192 | { |
| 193 | LOCAL_PARA_HDR |
| 194 | SS2_LCS_MOLRArg molr; |
| 195 | kal_uint8 ss_id; |
| 196 | kal_uint8 is_initial; |
| 197 | kal_uint8 rat_info; //for CISS to recognize the operating rat: 0:2/3G, 1:4G |
| 198 | } lbs_molr_begin_req_struct; |
| 199 | typedef struct |
| 200 | { |
| 201 | LOCAL_PARA_HDR |
| 202 | kal_uint8 result; |
| 203 | kal_uint16 cause; |
| 204 | SS2_LCS_MOLRRes molr_res; |
| 205 | kal_uint8 ss_id; |
| 206 | } lbs_molr_begin_rsp_struct; |
| 207 | typedef struct |
| 208 | { |
| 209 | LOCAL_PARA_HDR |
| 210 | kal_uint8 cause; |
| 211 | kal_uint8 ss_id; |
| 212 | } lbs_molr_end_req_struct; |
| 213 | typedef struct |
| 214 | { |
| 215 | LOCAL_PARA_HDR |
| 216 | kal_uint8 result; |
| 217 | } lbs_molr_end_rsp_struct; |
| 218 | typedef struct |
| 219 | { |
| 220 | LOCAL_PARA_HDR |
| 221 | kal_uint8 enable; |
| 222 | } agps_enable_disable_req_struct; |
| 223 | typedef struct |
| 224 | { |
| 225 | LOCAL_PARA_HDR |
| 226 | kal_uint8 sib15_current_deciphering_key[7]; |
| 227 | kal_uint8 sib15_next_deciphering_key[7]; |
| 228 | kal_uint8 sib15_ciphering_key_flag; |
| 229 | } agps_key_update_req_struct; |
| 230 | typedef struct |
| 231 | { |
| 232 | LOCAL_PARA_HDR |
| 233 | kal_uint8 is_abort_molr; |
| 234 | } agps_cp_abort_req_struct; |
| 235 | #endif /* defined(__AGPS_CONTROL_PLANE__) */ |
| 236 | |
| 237 | #ifdef __AGPS_SUPPORT__ |
| 238 | /* below codes are for auto-test */ |
| 239 | typedef struct |
| 240 | { |
| 241 | LOCAL_PARA_HDR |
| 242 | kal_uint8 mode; |
| 243 | } agps_auto_test_ind_struct; |
| 244 | |
| 245 | typedef agps_auto_test_ind_struct agps_cp_up_status_ind_struct; |
| 246 | |
| 247 | typedef struct |
| 248 | { |
| 249 | LOCAL_PARA_HDR |
| 250 | kal_uint8 response; |
| 251 | } agps_mtlr_response_ind_struct; |
| 252 | /* above are for GPS auto test */ |
| 253 | #endif |
| 254 | |
| 255 | typedef struct |
| 256 | { |
| 257 | LOCAL_PARA_HDR |
| 258 | kal_uint8 state;//0=out of service 1=in service |
| 259 | } l4c_lbs_service_state_rsp_struct; |
| 260 | |
| 261 | typedef struct |
| 262 | { |
| 263 | LOCAL_PARA_HDR |
| 264 | kal_uint8 state;//0=local or unknown 1=roaming |
| 265 | } l4c_lbs_roaming_state_rsp_struct; |
| 266 | |
| 267 | typedef struct |
| 268 | { |
| 269 | LOCAL_PARA_HDR |
| 270 | kal_uint8 state;//0=disconnected or unknown 1=connected |
| 271 | } l4c_lbs_data_conn_state_rsp_struct; |
| 272 | |
| 273 | typedef struct |
| 274 | { |
| 275 | LOCAL_PARA_HDR |
| 276 | kal_uint8 rat_mode;//0=non-4G , 1=4G |
| 277 | } l4c_lbs_current_rat_rsp_struct; |
| 278 | |
| 279 | typedef struct |
| 280 | { |
| 281 | LOCAL_PARA_HDR |
| 282 | kal_uint8 active_sim; |
| 283 | rat_enum active_rat; |
| 284 | } l4c_lbs_active_sim_rsp_struct; |
| 285 | |
| 286 | typedef struct |
| 287 | { |
| 288 | LOCAL_PARA_HDR |
| 289 | kal_bool emt_ongoing; |
| 290 | } l4c_lbs_emt_info_ind_struct; |
| 291 | |
rjw | 8e44aab | 2022-11-30 16:42:16 +0800 | [diff] [blame] | 292 | typedef struct |
| 293 | { |
| 294 | LOCAL_PARA_HDR |
| 295 | call_status_enum call_status; |
| 296 | } l4c_lbs_emc_info_ind_struct; |
| 297 | |
yu.dong | e372c32 | 2023-08-30 20:25:04 -0700 | [diff] [blame^] | 298 | typedef struct |
| 299 | { |
| 300 | LOCAL_PARA_HDR |
| 301 | irat_type_enum irat_type; |
| 302 | rat_type_enum source_rat; |
| 303 | rat_type_enum target_rat; |
| 304 | irat_result_enum irat_result; |
| 305 | } l4c_lbs_rat_change_finish_req_struct; |
| 306 | |
rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 307 | #endif /* l4c_lbs_struct.h*/ |
| 308 | |
| 309 | |