blob: 67ca2c92f3905080464c2d9235c66244751f0100 [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301/*
2 * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd.
3 * Copyright (c) 2017 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#ifndef __S1AP_MSG_CODES_H_
19#define __S1AP_MSG_CODES_H_
20
21/****S1AP Procedude codes****/
22#define S1AP_SETUP_REQUEST_CODE 17
23#define S1AP_INITIAL_UE_MSG_CODE 12
24#define S1AP_UE_CONTEXT_RELEASE_REQUEST_CODE 18
25#define S1AP_UE_CONTEXT_RELEASE_CODE 23
26/*uplink NAS Transport*/
27#define S1AP_UL_NAS_TX_MSG_CODE 13
28#define S1AP_INITIAL_CTX_RESP_CODE 9
29
30/*S1AP Protocol IE types*/
31#define S1AP_IE_GLOBAL_ENB_ID 59
32#define S1AP_IE_ENB_NAME 60
33#define S1AP_IE_SUPPORTED_TAS 64
34#define S1AP_IE_DEF_PAGING_DRX 137
35#define S1AP_IE_MMENAME 61
36#define S1AP_IE_SERVED_GUMMEIES 105
37#define S1AP_IE_REL_MME_CAPACITY 87
38
39#define S1AP_IE_MME_UE_ID 0
40#define S1AP_IE_CAUSE 2
41#define S1AP_IE_ENB_UE_ID 8
42#define S1AP_IE_NAS_PDU 26
43#define S1AP_IE_TAI 67
44#define S1AP_IE_UTRAN_CGI 100
45#define S1AP_IE_S_TMSI 96
46#define S1AP_IE_RRC_EST_CAUSE 134
47#define S1AP_ERAB_SETUP_CTX_SUR 51
48
49/*NAS message type codes*/
50#define NAS_ESM_RESP 0xda
51#define NAS_AUTH_RESP 0x53
52#define NAS_AUTH_REJECT 0x54
53#define NAS_AUTH_FAILURE 0x5c
54#define NAS_IDENTITY_REQUEST 0x55
55#define NAS_IDENTITY_RESPONSE 0x56
56#define NAS_SEC_MODE_COMPLETE 0x5e
57#define NAS_SEC_MODE_REJECT 0x5f
58#define NAS_ATTACH_REQUEST 0x41
59#define NAS_ATTACH_COMPLETE 0x43
60#define NAS_ATTACH_REJECT 0x44
61#define NAS_TAU_REQUEST 0x48
62#define NAS_TAU_COMPLETE 0x4
63#define NAS_DETACH_REQUEST 0x45
64#define NAS_DETACH_ACCEPT 0x46
65#define NAS_SERVICE_REQUEST 0x4D
66
67#endif /*__S1AP_MSG_CODES*/