📄 tcm2sm_struct.h
字号:
/*****************************************************************************
* 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:
* ---------
* TCM2SM_STRUCT.H
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file describes the common enums of TCM and SM.
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* 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.
*
********************************************************************************/
#ifndef _TCM2SM_STRUCT_H
#define _TCM2SM_STRUCT_H
#include "mmi_l3_enums.h"
#include "mmi_sm_enums.h"
typedef struct {
kal_uint16 protocol_id;
kal_uint8 protocol_config_len;
kal_uint8 protocol_config[MAX_CONFIG_OPTION_CONTENT_LEN];
} config_option_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 nsapi; /* Context Indentifier*/
qos_struct qos_requested; /* QoS requested by the Application*/
qos_struct qos_minimum; /* Minimum QoS required by the Application*/
kal_uint8 token_id; /* This field is used in case the requestis sent for a NW initiated context.*/
kal_uint8 mmi_id; /* MMI source id */
kal_uint8 pdp_addr_type; /* It gives the address type whether it is IPV4, IPV6 or PPP*/
kal_uint8 pdp_addr_len; /* Length of the PDP address*/
kal_uint8 apn_len; /* Length of Access Point Name Parameter*/
kal_uint8 p_comp_algo; /* Algo to be used for Protocol Compression. Used only in case of GPRS*/
kal_uint8 d_comp_algo; /* Algo to be used for Data Compression. Used only in case if GPRS*/
kal_uint8 initiated_by; /* This field will tell that the request has come for a NW initiated context or for MS initiated*/
kal_uint8 pdp_addr[16];
kal_uint8 access_name[100];
kal_uint8 config_protocol;
kal_uint8 config_option_len; /* config option length*/
config_option_struct config_option[MAX_NUM_CONFIG_OPTION_PACKETS];
kal_uint32 app_module_id;
kal_uint8 app_profile_id;
} smreg_pdp_activate_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 nsapi; /* Context Identifier*/
kal_uint16 cause; /* Cause of deactivation*/
kal_uint8 tear_ind; /* This field indicates whether to deactivate all the associated context or only one for which request has come*/
} smreg_pdp_deactivate_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 nsapi;
qos_struct qos_requested; /* QoS requested by the user*/
qos_struct qos_minimum; /* Minimum QoS required by the User*/
tft_struct tft; /* This field gives the TFT parameters*/
kal_uint8 linked_nsapi; /* The nsapi value of the associated primary context*/
kal_uint8 p_comp_algo; /* Protocol Compression Algorithm. Used only for GPRS*/
kal_uint8 d_comp_algo; /* Data Comprssion Algorithm. Used only for UMTS*/
kal_uint32 app_module_id;
kal_uint8 app_profile_id;
kal_uint8 mmi_id; /* MMI source id */
} smreg_pdp_activate_sec_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 nsapi; /* Context Indentifier*/
qos_struct qos_mod; /* New QoS Requested*/
tft_struct tft; /* New TFT Parameters*/
kal_uint8 mod_type; /* The type od modification initiated by user.*/
} smreg_pdp_modify_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint16 cause; /* Cause of rejection*/
kal_uint8 token_id; /* Context Indentifier*/
kal_uint8 pdp_addr_type; /* PDP Address Type, can be IPV4, IPV6, PPP*/
kal_uint8 pdp_addr_len; /* Length of PDP Address field*/
kal_uint8 apn_len; /* Length of Access Point Name Parameter*/
kal_uint8 pdp_addr[16];
kal_uint8 access_name[100];
} smreg_pdp_activate_rej_rsp_struct;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -