blob: 5df3071906e8157fc900cc3449843078da9589c5 [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) 2005
*
* 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).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* mnss_struct.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
/********************************************************************************
* Copyright Statement:
* --------------------
*
* This product has been developed using a protocol stack
* developed by Sasken Communication Technologies Limited.
*
********************************************************************************/
/*******************************************************************************
* 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) 2002
*
*******************************************************************************
* FILENAME : mnss_struct.h
* SYNOPSIS : Functions for encoding/decoding.
*
* R E V I S I O N H I S T O R Y
*
*/
#ifndef _MNSS_STRUCT_H
#define _MNSS_STRUCT_H
#include "kal_general_types.h"
#include "mcd_ss_tcapmessages.h"
#include "kal_public_defs.h"
/* Maximum Number of Components allowed in CISS per single
* Transaction */
#define CISS_MAX_NUM_OF_COMPONENTS_ALLOWED 1
typedef struct {
kal_uint8 num_of_components;
// Component component[1]; CISS_MAX_NUM_OF_COMPONENTS_ALLOWED
Component *component[CISS_MAX_NUM_OF_COMPONENTS_ALLOWED];
} mnss_facility_struct;
typedef struct {
kal_uint16 cause_value;
kal_uint8 diagnostics_length;
kal_uint8 diagnostics[28];
} mnss_cause_struct;
typedef struct {
LOCAL_PARA_HDR
} mnss_dummy_local_para_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 call_id;
mnss_facility_struct facility;
kal_uint8 rat_info;//let ciss know whether to communicate with MM(0) or EVAL(1)
} mnss_begin_req_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 call_id;
kal_uint8 ti;
mnss_facility_struct facility;
} mnss_fac_req_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 call_id;
kal_uint8 ti;
kal_uint8 causeP;
mnss_cause_struct cause;
kal_uint8 facilityP;
mnss_facility_struct facility;
} mnss_end_req_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 ti;
mnss_facility_struct facility;
kal_uint8 rat_info;//let csmss know the working RAT is 2/3G(rat_info=0) or 4G(rat_info=1)
} mnss_begin_ind_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 call_id;
kal_uint8 ti;
mnss_facility_struct facility;
} mnss_fac_ind_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint8 call_id;
kal_uint8 ti;
kal_uint8 causeP;
mnss_cause_struct cause;
kal_uint8 facilityP;
mnss_facility_struct facility;
} mnss_end_ind_struct;
#endif