yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [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 | * |
| 38 | * Filename: |
| 39 | * --------- |
| 40 | * smmm_enums.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MAUI |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * This file contains enum definition between SM and MM. |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * ------- |
| 53 | * |
| 54 | *============================================================================ |
| 55 | * HISTORY |
| 56 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 57 | *------------------------------------------------------------------------------ |
| 58 | * removed! |
| 59 | * |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * removed! |
| 68 | * removed! |
| 69 | * |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * removed! |
| 73 | * |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * removed! |
| 81 | * removed! |
| 82 | * |
| 83 | * removed! |
| 84 | * removed! |
| 85 | * removed! |
| 86 | * |
| 87 | * removed! |
| 88 | * removed! |
| 89 | * removed! |
| 90 | * |
| 91 | * removed! |
| 92 | * removed! |
| 93 | * removed! |
| 94 | * |
| 95 | * removed! |
| 96 | * removed! |
| 97 | * removed! |
| 98 | * |
| 99 | * removed! |
| 100 | * removed! |
| 101 | * removed! |
| 102 | * |
| 103 | * removed! |
| 104 | * removed! |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * removed! |
| 108 | * removed! |
| 109 | * removed! |
| 110 | * removed! |
| 111 | * removed! |
| 112 | * removed! |
| 113 | * |
| 114 | * removed! |
| 115 | * removed! |
| 116 | * removed! |
| 117 | * |
| 118 | * removed! |
| 119 | * removed! |
| 120 | * removed! |
| 121 | * |
| 122 | *------------------------------------------------------------------------------ |
| 123 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 124 | *============================================================================ |
| 125 | ****************************************************************************/ |
| 126 | |
| 127 | /******************************************************************************** |
| 128 | * Copyright Statement: |
| 129 | * -------------------- |
| 130 | * |
| 131 | * This product has been developed using a protocol stack |
| 132 | * developed by Sasken Communication Technologies Limited. |
| 133 | * |
| 134 | ********************************************************************************/ |
| 135 | |
| 136 | #ifndef _SMMM_ENUMS_H |
| 137 | #define _SMMM_ENUMS_H |
| 138 | |
| 139 | /* Protocol Discriminator Values to be used */ |
| 140 | #define SM_MSG 0x0A |
| 141 | #define MAX_NPDU_LIST 11 |
| 142 | #define RECEIVE_NPDU_LIST_IEI 0x26 |
| 143 | |
| 144 | // Carlson 2013.07.22 please check the gmmsm_cause_enum and the DC_Status together |
| 145 | // 1. For suspend due to CM/MM/GMM procedure, GMM will send GMMSM_SUSPEND_REQ to SM, using only one of the 2 causes: PS_SUSPEND_LR / PS_SUSPEND_CM |
| 146 | // 2. For Gemini suspend, GMM will not relay UNITDATA_REQ if other SIM is busy, and GMM will send UNITDATA_CNF.DC_Status_Gemini_Suspend_Discard to SM |
| 147 | // 3. For gmmsm_cause_enum: GMMSM_INSUFFICIENT_RESOURCE, it is only used in GMMSM_ATTACH_REJ due to Gemini |
| 148 | typedef enum |
| 149 | { |
| 150 | NORM_DETACH, |
| 151 | POWER_OFF_DETACH, |
| 152 | REATTACH_REQ, |
| 153 | SIM_REMOVAL, |
| 154 | RAU_START, |
| 155 | PS_SERVICE_SUSPEND, |
| 156 | GMMSM_GMM_IN_INCOMPATIBLE_STATE, |
| 157 | UN_SPECIFIED, |
| 158 | DETACH_ONGOING, //erica 20070522 |
| 159 | PS_SUSPEND_LR, /* PS is suspended because of LU, IMSI detach */ |
| 160 | PS_SUSPEND_CM, /* PS is suspended because of CM connection(other than Call) */ |
| 161 | PS_SUSPEND_CM_CALL /* PS is suspended because of CM connection due to Call in GSM */ |
| 162 | #ifdef __GEMINI__ |
| 163 | , GMMSM_INSUFFICIENT_RESOURCE /* mtk00714: RR in suspend mode or the otherside is attached already */ |
| 164 | #endif |
| 165 | ,SETUP_RAB_START /*ps is suspend because of SETUP RAB*/ |
| 166 | ,GMMSM_T3346_RUNNING |
| 167 | ,GEMINI_RSVA |
| 168 | } gmmsm_cause_enum; |
| 169 | |
| 170 | typedef enum |
| 171 | { |
| 172 | MS_IDLE, |
| 173 | MS_CONNECTED |
| 174 | } gmmsm_state_enum; |
| 175 | |
| 176 | typedef enum |
| 177 | { |
| 178 | NW_FOP_INFO_INVALID, /* Field follow_on_status in gmmsm_attach_cnf shall not be referenced */ |
| 179 | NW_FOP_OFF, /* NW did not specified follow-on-proceed in attach accept, 3G PS signaling connection shall not be reused */ |
| 180 | NW_FOP_ON /* NW sepcified follow-on-proceed in attach accept, 3G PS signaling connection can be reused */ |
| 181 | } gmmsm_fop_status_enum; |
| 182 | |
| 183 | typedef enum |
| 184 | { |
| 185 | SM_EVENT_NULL, |
| 186 | SM_EVENT_PDP_ACT_REJ_RCVD_FROM_NW |
| 187 | } gmmsm_event_report_type_enum; |
| 188 | |
| 189 | typedef enum |
| 190 | { |
| 191 | SM_PDP_SESSION_NONE_PROCEDURE, |
| 192 | SM_PDP_SESSION_ACTIVATION_TOP_PROCEDURE, |
| 193 | SM_PDP_SESSION_ACTIVATION_PROCEDURE, |
| 194 | SM_PDP_SESSION_ACTIVATION_RETRY_PROCEDURE, |
| 195 | SM_PDP_SESSION_MODIFICATION_PROCEDURE, |
| 196 | SM_PDP_SESSION_DEACTIVATION_PROCEDURE, |
| 197 | SM_PDP_SESSION_DEACTIVATION_RETRY_PROCEDURE |
| 198 | } gmmsm_pdp_session_procedure_type_enum; |
| 199 | |
| 200 | #endif |
| 201 | |
| 202 | /* End of file smmm_interface.h */ |
| 203 | |
| 204 | |