blob: b2af35e150d4eae56e375cb1d1dcd27626a14d50 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
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) 2016
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* This Software is the property of VIA Telecom, Inc. and may only be used pursuant to a license from VIA Telecom, Inc.
38*
39* Any unauthorized use inconsistent with the terms of such license is strictly prohibited.
40*
41* Copyright (c) 2009-2010 VIA Telecom, Inc. All rights reserved.
42*
43*************************************************************/
44#ifndef _VALCONNECTIVITY_H_
45#define _VALCONNECTIVITY_H_
46/*****************************************************************************
47*
48* FILE NAME : valconnectivity.h
49*
50* DESCRIPTION : Val Connectivity API
51*
52* This include file provides system wide global type declarations and
53* constants
54*
55*****************************************************************************/
56#include "valapi.h"
57
58typedef enum
59{
60 ERI_VERSION_NUMBER, /* kal_uint16 */
61 HRPD_ROAMING_NETWORK, /* char a[MAX_ERI_TEXT_LENGTH+1] */
62 HRPD_RSSI, /* kal_int32 */
63 HRPD_RSSI_DBM, /* kal_int32 */
64 HRPD_SESSION_OPENED, /* kal_bool */
65 HRPD_NETWORK_ACQUIRED, /* kal_bool */
66 HRPD_ROAMING_INDICATOR, /* kal_uint32 */
67 HSPD_BYTE_COUNT_STATS, /* ValStatPeekRspMsgT */
68 HSPD_STATE, /* ValRptCpEventT */
69 CDMA1X_IN_SERVICE, /* kal_bool */
70 CDMA1X_ON_TRAFFIC, /* kal_bool */
71 CDMA1X_ROAMING_INDICATOR, /* kal_uint32 */
72 CDMA1X_ROAMING_NETWORK, /* char a[MAX_ERI_TEXT_LENGTH+1] */
73 CDMA1X_RSSI, /* kal_int32 */
74 CDMA1X_RSSI_DBM, /* kal_int32 */
75 CONN_STATUS, /* ValWmcConnStatusT */
76 CONN_LAST_NETWORK_ERROR, /* ValWmcNetworkErrorT */
77 OTASP_STATE, /* ValOtaStatusIndT */
78 ORIG_ABORT_REASON, /* ValRptCpEventT */
79 NUM_VAL_CONN_PARMS
80} ValConnParmT;
81
82void ValConnGetStatCntInfo(ValStatPeekRspMsgT* PeekRspMsg);
83void ValConnSetParm(ValConnParmT ParmType, void* Parm);
84void* ValConnGetParm(ValConnParmT ParmType);
85#endif /* #ifndef _VALCONNECTIVITY_H_ */
86
87