blob: bcb5e0c9cf32a49effbfae4c5e614c32bbe35363 [file] [log] [blame]
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2012
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
#ifndef __WO_PUBLIC_DEFS_H__
#define __WO_PUBLIC_DEFS_H__
#include "kal_public_defs.h"
typedef enum {
WO_STATUS_OK = 0,
WO_STATUS_FAIL = 1, //Can't be used in the errcause of d2rm_wo_act_data_call_cnf_prv_struct
WO_STATUS_MAIN_ERROR_START = 1001,
/* NW error */
WO_STATUS_DNS_QUERY_TIMEOUT = 1040,
WO_STATUS_FQDN_NO_ADDRESS = 1041,
WO_STATUS_UNABLE_CONNET_EPDG = 1081, // from strongswan
WO_STATUS_UNABLE_MAKE_IPSEC_TUNNEL = 1082,
WO_STATUS_UNABLE_TO_VALIDATE_SERVER_CERTIFICATE = 1010, // Not support for ePDG
WO_STATUS_UNABLE_TO_VALIDATE_SERVER_CERTIFICATE_EPDG = 1101,
WO_STATUS_INVALID_CERTIFICATE = 1011, // Not support for ePDG
WO_STATUS_INVALID_CERTIFICATE_EPDG = 1111,
WO_STATUS_INVALID_IP_IN_HANDOVER = 1999,
/* Internal error */
WO_STATUS_NOT_READY = 2001,
WO_STATUS_NO_APN_CONNECTION = 2002,
WO_STATUS_PDN_INFO_NOT_MATCHED = 2003,
WO_STATUS_PDN_CAN_NOT_CREATE = 2004,
WO_STATUS_REJECT_PDN_ACT_REQ_IN_WRONG_STATE = 2005,
WO_STATUS_HO_ADDR_PROTO_NOT_MATCHED = 2006,
WO_STATUS_WRONG_PDN_REQ_TYPE = 2007,
WO_STATUS_PDN_ACT_ABORT = 2008,
WO_STATUS_PDN_ACT_TIMEOUT = 2009,
WO_STATUS_EMERGENCY_NO_IMEI = 2010,
WO_STATUS_PDN_LOCAL_RELEASE = 2011,
WO_STATUS_MAIN_ERROR_END = 3000,
} wo_status_enum;
typedef enum {
WO_IKE_ERR_STATUS_ENUM_NONE
} wo_ike_err_status_enum;
typedef enum {
WO_OOS_END,
WO_OOS_START,
WO_OOS_RESUME,
} wo_oos_enum;
#endif /* __WO_PUBLIC_DEFS_H__ */