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) 2013 |
| 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 | * n3sam_msgid.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * VMOLY |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * This module defines the messgae IDs for N3SAM. |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * ------- |
| 53 | * |
| 54 | ****************************************************************************/ |
| 55 | #ifndef _N3SAM_MSG_ID_H |
| 56 | #define _N3SAM_MSG_ID_H |
| 57 | |
| 58 | #include "module_msg_range.h" |
| 59 | |
| 60 | MODULE_MSG_BEGIN( MSG_ID_N3SAM_CODE_BEGIN ) |
| 61 | |
| 62 | /**************************************************************************** |
| 63 | * EXT INBOUND MSG |
| 64 | ****************************************************************************/ |
| 65 | /***********************************/ |
| 66 | |
| 67 | MSG_ID_EXT_SAMNG_BEGIN = MSG_ID_N3SAM_CODE_BEGIN, |
| 68 | MSG_ID_N3EPC_N3SAM_IKE_SA_EST_REQ, |
| 69 | MSG_ID_N3EPC_N3SAM_IKE_SA_DEL_REQ, |
| 70 | MSG_ID_N3EPC_N3SAM_ABORT_REQ, |
| 71 | MSG_ID_N3EPC_N3SAM_FORCE_DPD_REQ, |
| 72 | MSG_ID_N3EPC_N3SAM_IKE_SA_UPDATE_NW_DEV_REQ, |
| 73 | |
| 74 | MSG_ID_N3SAM_EAP_EAP_DECODE_CNF, |
| 75 | MSG_ID_N3SAM_EAP_MSK_GET_CNF, |
| 76 | MSG_ID_EXT_SAMNG_END, |
| 77 | /***********************************/ |
| 78 | |
| 79 | MSG_ID_EXT_CERT_ADAPT_BEGIN, |
| 80 | MSG_ID_EXT_CERT_ADAPT_END, |
| 81 | |
| 82 | /***********************************/ |
| 83 | |
| 84 | MSG_ID_EXT_CIPHER_WRAP_BEGIN, |
| 85 | MSG_ID_EXT_CIPHER_WRAP_END, |
| 86 | |
| 87 | |
| 88 | /***********************************/ |
| 89 | |
| 90 | MSG_ID_EXT_IKE_ENCAP_BEGIN, |
| 91 | MSG_ID_EXT_IKE_ENCAP_END, |
| 92 | /***********************************/ |
| 93 | |
| 94 | MSG_ID_EXT_NW_ADAPT_BEGIN, |
| 95 | MSG_ID_EXT_NW_ADAPT_END, |
| 96 | /***********************************/ |
| 97 | |
| 98 | MSG_ID_EXT_EAP_PROXY_BEGIN, |
| 99 | MSG_ID_EXT_EAP_PROXY_END, |
| 100 | /***********************************/ |
| 101 | MSG_ID_EXT_DP_CTRL_BEGIN, |
| 102 | MSG_ID_EXT_DP_CTRL_END, |
| 103 | |
| 104 | |
| 105 | |
| 106 | /**************************************************************************** |
| 107 | * EXT OUTBOUND MSG |
| 108 | ****************************************************************************/ |
| 109 | MSG_ID_N3EPC_N3SAM_IKE_SA_EST_CNF, |
| 110 | MSG_ID_N3EPC_N3SAM_IKE_SA_EST_REJ, |
| 111 | MSG_ID_N3EPC_N3SAM_IKE_SA_DEL_CNF, |
| 112 | MSG_ID_N3EPC_N3SAM_IKE_SA_DEL_IND, |
| 113 | MSG_ID_N3EPC_N3SAM_PCSCF_UPDATE_IND, |
| 114 | MSG_ID_N3EPC_N3SAM_DNS_UPDATE_IND, |
| 115 | MSG_ID_N3EPC_N3SAM_ABORT_CNF, |
| 116 | MSG_ID_N3EPC_N3SAM_FORCE_DPD_CNF, |
| 117 | MSG_ID_N3EPC_N3SAM_N3GPP_OOS_IND, |
| 118 | MSG_ID_N3EPC_N3SAM_MOBIKE_ENABLE_IND, |
| 119 | MSG_ID_N3EPC_N3SAM_IKE_SA_UPDATE_NW_DEV_CNF, |
| 120 | |
| 121 | MSG_ID_N3SAM_EAP_EAP_DECODE_REQ, |
| 122 | MSG_ID_N3SAM_EAP_MSK_GET_REQ, |
| 123 | |
| 124 | |
| 125 | |
| 126 | /**************************************************************************** |
| 127 | * INT MSG, SORT BY DST MOD |
| 128 | ****************************************************************************/ |
| 129 | MSG_ID_INT_SAMNG_BEGIN, |
| 130 | MSG_ID_SAMGR_ENCAP_MESSAGE_ENCODE_CNF, |
| 131 | MSG_ID_SAMGR_ENCAP_MESSAGE_DECODE_CNF, |
| 132 | MSG_ID_SAMGR_ENCAP_PARAM_SET_CNF, |
| 133 | MSG_ID_SAMGR_ENCAP_PARAM_UNSET_CNF, |
| 134 | MSG_ID_SAMNG_CIPHER_WRAP_IKE_GEN_PUBLIC_KEY_NTF, //key mat |
| 135 | MSG_ID_SAMNG_CIPHER_WRAP_IKE_GEN_SHARE_SECRET_NTF, |
| 136 | MSG_ID_SAMNG_CIPHER_WRAP_IKE_KEY_DERIVE_NTF, |
| 137 | MSG_ID_SAMNG_CIPHER_WRAP_CHILD_GEN_PUBLIC_KEY_NTF, |
| 138 | MSG_ID_SAMNG_CIPHER_WRAP_CHILD_GEN_SHARE_SECRET_NTF, |
| 139 | MSG_ID_SAMNG_CIPHER_WRAP_CHILD_KEY_DERIVE_NTF, |
| 140 | MSG_ID_SAMNG_CERT_ADAPT_CERT_HASH_IND, |
| 141 | MSG_ID_SAMNG_CERT_ADAPT_CERT_GET_CNF, |
| 142 | MSG_ID_SAMNG_CERT_ADAPT_CERT_VERIFY_CNF, |
| 143 | MSG_ID_SAMNG_CERT_ADAPT_CERT_URL_VERIFY_CNF, |
| 144 | MSG_ID_SAMNG_EAP_PROXY_START_CONVERSATION_CNF, |
| 145 | MSG_ID_SAMNG_EAP_PROXY_STOP_CONVERSATION_CNF, |
| 146 | MSG_ID_SAMNG_EAP_PROXY_HANDLE_DATA_CNF, |
| 147 | MSG_ID_SAMNG_NW_ADAPT_SETUP_IKE_PATH_NTF, |
| 148 | MSG_ID_SAMNG_NW_ADAPT_SETUP_ESP_PATH_NTF, |
| 149 | MSG_ID_SAMNG_NW_ADAPT_CONN_STATUS_CHANGE_NTF, |
| 150 | MSG_ID_SAMNG_DP_CTRL_INSTALL_IND, |
| 151 | MSG_ID_SAMNG_DP_CTRL_ACTIVATE_IND, |
| 152 | MSG_ID_SAMNG_DP_CTRL_UNINSTALL_IND, |
| 153 | MSG_ID_SAMNG_DP_CTRL_DEACTIVATE_IND, |
| 154 | MSG_ID_SAMNG_DP_CTRL_EXPIRED_IND, |
| 155 | MSG_ID_SAMNG_DP_CTRL_SPI_READY_IND, |
| 156 | MSG_ID_INT_SAMNG_END, |
| 157 | /***********************************/ |
| 158 | |
| 159 | |
| 160 | MSG_ID_INT_CERT_ADAPT_BEGIN, |
| 161 | MSG_ID_SAMNG_CERT_ADAPT_CERT_GET_REQ, |
| 162 | MSG_ID_SAMNG_CERT_ADAPT_CERT_VERIFY_REQ, |
| 163 | MSG_ID_SAMNG_CERT_ADAPT_CERT_URL_VERIFY_REQ, |
| 164 | MSG_ID_INT_CERT_ADAPT_END, |
| 165 | |
| 166 | /***********************************/ |
| 167 | |
| 168 | MSG_ID_INT_CIPHER_WRAP_BEGIN, |
| 169 | |
| 170 | MSG_ID_INT_CIPHER_WRAP_END, |
| 171 | |
| 172 | /***********************************/ |
| 173 | |
| 174 | MSG_ID_INT_IKE_ENCAP_BEGIN, |
| 175 | MSG_ID_SAMGR_ENCAP_MESSAGE_ENCODE_REQ, |
| 176 | MSG_ID_SAMGR_ENCAP_MESSAGE_DECODE_REQ, |
| 177 | MSG_ID_SAMGR_ENCAP_PARAM_SET_REQ, |
| 178 | MSG_ID_SAMGR_ENCAP_PARAM_UNSET_REQ, |
| 179 | MSG_ID_INT_IKE_ENCAP_END, |
| 180 | /***********************************/ |
| 181 | |
| 182 | MSG_ID_INT_NW_ADAPT_BEGIN, |
| 183 | MSG_ID_INT_NW_ADAPT_END, |
| 184 | |
| 185 | /***********************************/ |
| 186 | |
| 187 | MSG_ID_INT_EAP_PROXY_BEGIN, |
| 188 | MSG_ID_SAMNG_EAP_PROXY_START_CONVERSATION_REQ, |
| 189 | MSG_ID_SAMNG_EAP_PROXY_STOP_CONVERSATION_REQ, |
| 190 | MSG_ID_SAMNG_EAP_PROXY_HANDLE_DATA_REQ, |
| 191 | MSG_ID_INT_EAP_PROXY_END, |
| 192 | /***********************************/ |
| 193 | |
| 194 | MSG_ID_INT_DP_CTRL_BEGIN, |
| 195 | MSG_ID_INT_DP_CTRL_END, |
| 196 | |
| 197 | MSG_ID_INT_PRIMITIVE_LOG_BEGIN, |
| 198 | MSG_ID_IKEV2_IKE_SA_ADD_NTF, |
| 199 | MSG_ID_INT_PRIMITIVE_LOG_END, |
| 200 | |
| 201 | |
| 202 | /**************************************************************************** |
| 203 | * UT |
| 204 | ****************************************************************************/ |
| 205 | |
| 206 | MSG_ID_N3SAM_UT_TIMER, |
| 207 | MSG_ID_N3SAM_UT_MEMORY, |
| 208 | |
| 209 | MSG_ID_N3SAM_UT_IKE_UL_MSG, |
| 210 | MSG_ID_N3SAM_UT_IKE_DL_MSG, |
| 211 | |
| 212 | |
| 213 | /****************************************************************************** |
| 214 | * MSG END * |
| 215 | ******************************************************************************/ |
| 216 | MODULE_MSG_END( MSG_ID_N3SAM_CODE_TAIL ) |
| 217 | |
| 218 | #endif //_N3SAM_MSG_ID_H |