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! |
| 67 | * |
| 68 | * removed! |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | *------------------------------------------------------------------------------ |
| 77 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 78 | *============================================================================== |
| 79 | *******************************************************************************/ |
| 80 | |
| 81 | /******************************************************************************** |
| 82 | * Copyright Statement: |
| 83 | * -------------------- |
| 84 | * |
| 85 | * This product has been developed using a protocol stack |
| 86 | * developed by Sasken Communication Technologies Limited. |
| 87 | * |
| 88 | ********************************************************************************/ |
| 89 | |
| 90 | |
| 91 | |
| 92 | #ifndef _L4C_LBS_STRUCT_H |
| 93 | #define _L4C_LBS_STRUCT_H |
| 94 | |
| 95 | #include "kal_general_types.h" |
| 96 | #include "l3_inc_enums_public.h" |
| 97 | #if defined(__AGPS_CONTROL_PLANE__) && !defined(__MMI_FMI__) |
| 98 | #include "ss_asn.h" |
| 99 | #endif |
| 100 | |
| 101 | /* A-GPS Control Plane LCS Service */ |
| 102 | #if defined(__AGPS_CONTROL_PLANE__) && !defined(__MMI_FMI__) |
| 103 | typedef struct |
| 104 | { |
| 105 | LOCAL_PARA_HDR |
| 106 | SS2_LocationNotificationArg notification; |
| 107 | kal_uint8 ss_id; |
| 108 | } lbs_mtlr_begin_ind_struct; |
| 109 | typedef struct |
| 110 | { |
| 111 | LOCAL_PARA_HDR |
| 112 | SS2_LocationNotificationRes response; |
| 113 | kal_uint8 ss_id; |
| 114 | } lbs_mtlr_begin_res_req_struct; |
| 115 | typedef struct |
| 116 | { |
| 117 | LOCAL_PARA_HDR |
| 118 | kal_uint8 result; |
| 119 | kal_uint8 ss_id; |
| 120 | } lbs_mtlr_begin_res_rsp_struct; |
| 121 | typedef struct |
| 122 | { |
| 123 | LOCAL_PARA_HDR |
| 124 | SS2_LCS_AreaEventRequestArg aerq; |
| 125 | kal_uint8 ss_id; |
| 126 | } lbs_aerq_begin_ind_struct; |
| 127 | typedef struct |
| 128 | { |
| 129 | LOCAL_PARA_HDR |
| 130 | kal_uint8 cause; |
| 131 | kal_uint8 ss_id; |
| 132 | } lbs_aerq_begin_res_req_struct; |
| 133 | typedef struct |
| 134 | { |
| 135 | LOCAL_PARA_HDR |
| 136 | kal_uint8 result; |
| 137 | kal_uint8 ss_id; |
| 138 | } lbs_aerq_begin_res_rsp_struct; |
| 139 | typedef struct |
| 140 | { |
| 141 | LOCAL_PARA_HDR |
| 142 | SS2_LCS_AreaEventReportArg aerp; |
| 143 | kal_uint8 ss_id; |
| 144 | kal_uint8 is_initial; |
| 145 | kal_uint8 rat_info; //for CISS to recognize the operating rat: 0:2/3G, 1:4G |
| 146 | } lbs_aerp_begin_req_struct; |
| 147 | typedef struct |
| 148 | { |
| 149 | LOCAL_PARA_HDR |
| 150 | kal_uint8 result; |
| 151 | kal_uint16 cause; |
| 152 | kal_uint8 ss_id; |
| 153 | } lbs_aerp_begin_rsp_struct; |
| 154 | typedef struct |
| 155 | { |
| 156 | LOCAL_PARA_HDR |
| 157 | kal_uint8 cause; |
| 158 | kal_uint8 ss_id; |
| 159 | } lbs_aerp_end_req_struct; |
| 160 | typedef struct |
| 161 | { |
| 162 | LOCAL_PARA_HDR |
| 163 | kal_uint8 result; |
| 164 | } lbs_aerp_end_rsp_struct; |
| 165 | typedef struct |
| 166 | { |
| 167 | LOCAL_PARA_HDR |
| 168 | SS2_LCS_AreaEventCancellationArg aecl; |
| 169 | kal_uint8 ss_id; |
| 170 | } lbs_aecl_begin_ind_struct; |
| 171 | typedef struct |
| 172 | { |
| 173 | LOCAL_PARA_HDR |
| 174 | kal_uint8 cause; |
| 175 | kal_uint8 ss_id; |
| 176 | } lbs_aecl_begin_res_req_struct; |
| 177 | typedef struct |
| 178 | { |
| 179 | LOCAL_PARA_HDR |
| 180 | kal_uint8 result; |
| 181 | kal_uint8 ss_id; |
| 182 | } lbs_aecl_begin_res_rsp_struct; |
| 183 | typedef struct |
| 184 | { |
| 185 | LOCAL_PARA_HDR |
| 186 | SS2_LCS_MOLRArg molr; |
| 187 | kal_uint8 ss_id; |
| 188 | kal_uint8 is_initial; |
| 189 | kal_uint8 rat_info; //for CISS to recognize the operating rat: 0:2/3G, 1:4G |
| 190 | } lbs_molr_begin_req_struct; |
| 191 | typedef struct |
| 192 | { |
| 193 | LOCAL_PARA_HDR |
| 194 | kal_uint8 result; |
| 195 | kal_uint16 cause; |
| 196 | SS2_LCS_MOLRRes molr_res; |
| 197 | kal_uint8 ss_id; |
| 198 | } lbs_molr_begin_rsp_struct; |
| 199 | typedef struct |
| 200 | { |
| 201 | LOCAL_PARA_HDR |
| 202 | kal_uint8 cause; |
| 203 | kal_uint8 ss_id; |
| 204 | } lbs_molr_end_req_struct; |
| 205 | typedef struct |
| 206 | { |
| 207 | LOCAL_PARA_HDR |
| 208 | kal_uint8 result; |
| 209 | } lbs_molr_end_rsp_struct; |
| 210 | typedef struct |
| 211 | { |
| 212 | LOCAL_PARA_HDR |
| 213 | kal_uint8 enable; |
| 214 | } agps_enable_disable_req_struct; |
| 215 | typedef struct |
| 216 | { |
| 217 | LOCAL_PARA_HDR |
| 218 | kal_uint8 sib15_current_deciphering_key[7]; |
| 219 | kal_uint8 sib15_next_deciphering_key[7]; |
| 220 | kal_uint8 sib15_ciphering_key_flag; |
| 221 | } agps_key_update_req_struct; |
| 222 | typedef struct |
| 223 | { |
| 224 | LOCAL_PARA_HDR |
| 225 | kal_uint8 is_abort_molr; |
| 226 | } agps_cp_abort_req_struct; |
| 227 | #endif /* defined(__AGPS_CONTROL_PLANE__) */ |
| 228 | |
| 229 | #ifdef __AGPS_SUPPORT__ |
| 230 | /* below codes are for auto-test */ |
| 231 | typedef struct |
| 232 | { |
| 233 | LOCAL_PARA_HDR |
| 234 | kal_uint8 mode; |
| 235 | } agps_auto_test_ind_struct; |
| 236 | |
| 237 | typedef agps_auto_test_ind_struct agps_cp_up_status_ind_struct; |
| 238 | |
| 239 | typedef struct |
| 240 | { |
| 241 | LOCAL_PARA_HDR |
| 242 | kal_uint8 response; |
| 243 | } agps_mtlr_response_ind_struct; |
| 244 | /* above are for GPS auto test */ |
| 245 | #endif |
| 246 | |
| 247 | typedef struct |
| 248 | { |
| 249 | LOCAL_PARA_HDR |
| 250 | kal_uint8 state;//0=out of service 1=in service |
| 251 | } l4c_lbs_service_state_rsp_struct; |
| 252 | |
| 253 | typedef struct |
| 254 | { |
| 255 | LOCAL_PARA_HDR |
| 256 | kal_uint8 state;//0=local or unknown 1=roaming |
| 257 | } l4c_lbs_roaming_state_rsp_struct; |
| 258 | |
| 259 | typedef struct |
| 260 | { |
| 261 | LOCAL_PARA_HDR |
| 262 | kal_uint8 state;//0=disconnected or unknown 1=connected |
| 263 | } l4c_lbs_data_conn_state_rsp_struct; |
| 264 | |
| 265 | typedef struct |
| 266 | { |
| 267 | LOCAL_PARA_HDR |
| 268 | kal_uint8 rat_mode;//0=non-4G , 1=4G |
| 269 | } l4c_lbs_current_rat_rsp_struct; |
| 270 | |
| 271 | typedef struct |
| 272 | { |
| 273 | LOCAL_PARA_HDR |
| 274 | kal_uint8 active_sim; |
| 275 | rat_enum active_rat; |
| 276 | } l4c_lbs_active_sim_rsp_struct; |
| 277 | |
| 278 | typedef struct |
| 279 | { |
| 280 | LOCAL_PARA_HDR |
| 281 | kal_bool emt_ongoing; |
| 282 | } l4c_lbs_emt_info_ind_struct; |
| 283 | |
| 284 | #endif /* l4c_lbs_struct.h*/ |
| 285 | |
| 286 | |