libosmogsm 1.9.0.196-9975
Osmocom GSM library
gsm_29_118.h
Go to the documentation of this file.
1#pragma once
2
4
5/* TS 29.118 Section 9.2 */
7 /* unassigned */
10 /* unassigned */
30 /* unassigned */
33 /* unassigned */
35 /* unassigned */
37};
38extern const struct value_string sgsap_msg_type_names[];
39static inline const char *sgsap_msg_type_name(enum sgsap_msg_type msgt) {
41}
42
43/* TS 29.118 Section 9.3 */
77};
78extern const struct value_string sgsap_iei_names[];
79static inline const char *sgsap_iei_name(enum sgsap_iei iei) {
81}
82
83/* TS 29.118 Section 9.4.2 */
87};
88extern const struct value_string sgsap_eps_lu_type_names[];
89static inline const char *sgsap_eps_lu_type_name(enum sgsap_eps_lu_type lut) {
91}
92
93/* TS 29.118 Section 9.4.7 */
98};
100static inline const char *sgsap_imsi_det_eps_type_name(enum sgsap_imsi_det_eps_type idt) {
102}
103
104/* TS 29.118 Section 9.4.8 */
109};
113}
114
115/* TS 29.118 Section 9.4.17 */
119};
120extern const struct value_string sgsap_service_ind_names[];
121static inline const char *sgsap_service_ind_name(enum sgsap_service_ind si) {
123}
124
125/* TS 29.118 Section 9.4.18 */
141};
142extern const struct value_string sgsap_sgs_cause_names[];
143static inline const char *sgsap_sgs_cause_name(enum sgsap_sgs_cause cause) {
145}
146
147/* TS 29.118 Section 9.4.21c */
151};
152extern const struct value_string sgsap_ue_emm_mode_names[];
153static inline const char *sgsap_ue_emm_mode_name(enum sgsap_ue_emm_mode mode) {
155}
156
157/* TS 29.118 Section 10.1 Table 10.1.2 */
158#define SGS_TS5_DEFAULT 10 /* Guards the Paging Procedure at the VLR */
159#define SGS_TS6_2_DEFAULT 40 /* Guards the TMSI reallocation procedure */
160#define SGS_TS7_DEFAULT 4 /* Guards the non-EPS alert procedure */
161#define SGS_TS11_DEFAULT 4 /* Guards the VLR reset procedure */
162#define SGS_TS14_DEFAULT 10 /* Guards the UE fallback to UTRAN/GERAN */
163#define SGS_TS15_DEFAULT 10 /* Guards the MO UE fallback to UTRAN/GERAN */
164
165/* TS 29.118 Section 10.2 Table 10.2.1 */
166#define SGS_NS7_DEFAULT 2
167#define SGS_NS11_DEFAULT 2
168/* TS 29.118 Section 10.2 Table 10.2.2 */
169#define SGS_NS8_DEFAULT 2
170#define SGS_NS9_DEFAULT 2
171#define SGS_NS10_DEFAULT 2
172#define SGS_NS12_DEFAULT 2
173
174/* TS 29.118 Section 6.3 */
175#define SGS_PORT_DEFAULT 29118
176
177/* TS 29.118 Section 9.4.13 MME Name */
178#define SGS_MME_NAME_LEN 55
179
180/* TS 29.118 Section 9.4.22 VLR name
181 * See also: RFC1123 Section 2.1 Host Names and Numbers */
182#define SGS_VLR_NAME_MAXLEN 255
183
184extern const struct tlv_definition sgsap_ie_tlvdef;
const char * get_value_string(const struct value_string *vs, uint32_t val)
uint8_t cause
Definition: gsm_04_08.h:2
uint8_t mode
Definition: gsm_04_08.h:1
uint8_t iei
Definition: gsm_08_58.h:2
const struct value_string sgsap_ue_emm_mode_names[]
Definition: gsm29118.c:140
const struct value_string sgsap_service_ind_names[]
Definition: gsm29118.c:115
sgsap_imsi_det_noneps_type
Definition: gsm_29_118.h:105
@ SGSAP_ID_NONEPS_T_EXPLICIT_UE_NONEPS
Definition: gsm_29_118.h:106
@ SGSAP_ID_NONEPS_T_COMBINED_UE_EPS_NONEPS
Definition: gsm_29_118.h:107
@ SGSAP_ID_NONEPS_T_IMPLICIT_UE_EPS_NONEPS
Definition: gsm_29_118.h:108
static const char * sgsap_imsi_det_eps_type_name(enum sgsap_imsi_det_eps_type idt)
Definition: gsm_29_118.h:100
sgsap_service_ind
Definition: gsm_29_118.h:116
@ SGSAP_SERV_IND_SMS
Definition: gsm_29_118.h:118
@ SGSAP_SERV_IND_CS_CALL
Definition: gsm_29_118.h:117
static const char * sgsap_msg_type_name(enum sgsap_msg_type msgt)
Definition: gsm_29_118.h:39
static const char * sgsap_service_ind_name(enum sgsap_service_ind si)
Definition: gsm_29_118.h:121
const struct value_string sgsap_ismi_det_eps_type_names[]
Definition: gsm29118.c:98
static const char * sgsap_ue_emm_mode_name(enum sgsap_ue_emm_mode mode)
Definition: gsm_29_118.h:153
static const char * sgsap_imsi_det_noneps_type_name(enum sgsap_imsi_det_noneps_type idt)
Definition: gsm_29_118.h:111
sgsap_msg_type
Definition: gsm_29_118.h:6
@ SGSAP_MSGT_LOC_UPD_REQ
Definition: gsm_29_118.h:14
@ SGSAP_MSGT_IMSI_DET_IND
Definition: gsm_29_118.h:24
@ SGSAP_MSGT_ALERT_REQ
Definition: gsm_29_118.h:18
@ SGSAP_MSGT_RESET_IND
Definition: gsm_29_118.h:26
@ SGSAP_MSGT_IMSI_DET_ACK
Definition: gsm_29_118.h:25
@ SGSAP_MSGT_ALERT_ACK
Definition: gsm_29_118.h:19
@ SGSAP_MSGT_RESET_ACK
Definition: gsm_29_118.h:27
@ SGSAP_MSGT_ALERT_REJ
Definition: gsm_29_118.h:20
@ SGSAP_MSGT_SERVICE_ABORT_REQ
Definition: gsm_29_118.h:28
@ SGSAP_MSGT_STATUS
Definition: gsm_29_118.h:34
@ SGSAP_MSGT_EPS_DET_ACK
Definition: gsm_29_118.h:23
@ SGSAP_MSGT_UE_UNREACHABLE
Definition: gsm_29_118.h:36
@ SGSAP_MSGT_LOC_UPD_REJ
Definition: gsm_29_118.h:16
@ SGSAP_MSGT_DL_UD
Definition: gsm_29_118.h:12
@ SGSAP_MSGT_SERVICE_REQ
Definition: gsm_29_118.h:11
@ SGSAP_MSGT_TMSI_REALL_CMPL
Definition: gsm_29_118.h:17
@ SGSAP_MSGT_RELEASE_REQ
Definition: gsm_29_118.h:32
@ SGSAP_MSGT_PAGING_REQ
Definition: gsm_29_118.h:8
@ SGSAP_MSGT_LOC_UPD_ACK
Definition: gsm_29_118.h:15
@ SGSAP_MSGT_PAGING_REJ
Definition: gsm_29_118.h:9
@ SGSAP_MSGT_UL_UD
Definition: gsm_29_118.h:13
@ SGSAP_MSGT_UE_ACT_IND
Definition: gsm_29_118.h:21
@ SGSAP_MSGT_MM_INFO_REQ
Definition: gsm_29_118.h:31
@ SGSAP_MSGT_EPS_DET_IND
Definition: gsm_29_118.h:22
@ SGSAP_MSGT_MO_CSFB_IND
Definition: gsm_29_118.h:29
const struct value_string sgsap_ismi_det_noneps_type_names[]
Definition: gsm29118.c:105
static const char * sgsap_sgs_cause_name(enum sgsap_sgs_cause cause)
Definition: gsm_29_118.h:143
static const char * sgsap_iei_name(enum sgsap_iei iei)
Definition: gsm_29_118.h:79
sgsap_imsi_det_eps_type
Definition: gsm_29_118.h:94
@ SGSAP_ID_EPS_T_UE_INITIATED
Definition: gsm_29_118.h:96
@ SGSAP_ID_EPS_T_NETWORK_INITIATED
Definition: gsm_29_118.h:95
@ SGSAP_ID_EPS_T_EPS_NOT_ALLOWED
Definition: gsm_29_118.h:97
static const char * sgsap_eps_lu_type_name(enum sgsap_eps_lu_type lut)
Definition: gsm_29_118.h:89
const struct value_string sgsap_sgs_cause_names[]
Definition: gsm29118.c:121
sgsap_iei
Definition: gsm_29_118.h:44
@ SGSAP_IE_VLR_NAME
Definition: gsm_29_118.h:46
@ SGSAP_IE_TAI
Definition: gsm_29_118.h:71
@ SGSAP_IE_IMEISV
Definition: gsm_29_118.h:60
@ SGSAP_IE_SERVICE_INDICATOR
Definition: gsm_29_118.h:68
@ SGSAP_IE_EUTRAN_CGI
Definition: gsm_29_118.h:72
@ SGSAP_IE_LCS_CLIENT_ID
Definition: gsm_29_118.h:65
@ SGSAP_IE_UE_EMM_MODE
Definition: gsm_29_118.h:73
@ SGSAP_IE_CLI
Definition: gsm_29_118.h:64
@ SGSAP_IE_NAS_MSG_CONTAINER
Definition: gsm_29_118.h:61
@ SGSAP_IE_IMSI_DET_EPS_TYPE
Definition: gsm_29_118.h:58
@ SGSAP_IE_LCS_INDICATOR
Definition: gsm_29_118.h:66
@ SGSAP_IE_MS_CLASSMARK2
Definition: gsm_29_118.h:70
@ SGSAP_IE_SS_CODE
Definition: gsm_29_118.h:67
@ SGSAP_IE_TMSI_STATUS
Definition: gsm_29_118.h:51
@ SGSAP_IE_CHAN_NEEDED
Definition: gsm_29_118.h:49
@ SGSAP_IE_ERR_MSG
Definition: gsm_29_118.h:63
@ SGSAP_IE_EPS_LU_TYPE
Definition: gsm_29_118.h:54
@ SGSAP_IE_TMSI_BASED_NRI_CONT
Definition: gsm_29_118.h:75
@ SGSAP_IE_MO_FALLBACK_VALUE
Definition: gsm_29_118.h:76
@ SGSAP_IE_REJECT_CAUSE
Definition: gsm_29_118.h:57
@ SGSAP_IE_MM_INFO
Definition: gsm_29_118.h:62
@ SGSAP_IE_LAI
Definition: gsm_29_118.h:48
@ SGSAP_IE_SGS_CAUSE
Definition: gsm_29_118.h:52
@ SGSAP_IE_ADDL_PAGING_INDICATORS
Definition: gsm_29_118.h:74
@ SGSAP_IE_GLOBAL_CN_ID
Definition: gsm_29_118.h:55
@ SGSAP_IE_EMLPP_PRIORITY
Definition: gsm_29_118.h:50
@ SGSAP_IE_IMSI
Definition: gsm_29_118.h:45
@ SGSAP_IE_MOBILE_ID
Definition: gsm_29_118.h:56
@ SGSAP_IE_UE_TIMEZONE
Definition: gsm_29_118.h:69
@ SGSAP_IE_IMSI_DET_NONEPS_TYPE
Definition: gsm_29_118.h:59
@ SGSAP_IE_MME_NAME
Definition: gsm_29_118.h:53
@ SGSAP_IE_TMSI
Definition: gsm_29_118.h:47
sgsap_eps_lu_type
Definition: gsm_29_118.h:84
@ SGSAP_EPS_LUT_NORMAL
Definition: gsm_29_118.h:86
@ SGSAP_EPS_LUT_IMSI_ATTACH
Definition: gsm_29_118.h:85
const struct value_string sgsap_iei_names[]
Definition: gsm29118.c:56
sgsap_ue_emm_mode
Definition: gsm_29_118.h:148
@ SGSAP_UE_EMM_MODE_CONNECTED
Definition: gsm_29_118.h:150
@ SGSAP_UE_EMM_MODE_IDLE
Definition: gsm_29_118.h:149
sgsap_sgs_cause
Definition: gsm_29_118.h:126
@ SGSAP_SGS_CAUSE_SEMANT_INCORR_MSG
Definition: gsm_29_118.h:137
@ SGSAP_SGS_CAUSE_MT_CSFB_REJ_USER
Definition: gsm_29_118.h:139
@ SGSAP_SGS_CAUSE_MISSING_MAND_IE
Definition: gsm_29_118.h:134
@ SGSAP_SGS_CAUSE_IMSI_IMPL_DET_NON_EPS
Definition: gsm_29_118.h:131
@ SGSAP_SGS_CAUSE_INVALID_MAND_IE
Definition: gsm_29_118.h:135
@ SGSAP_SGS_CAUSE_MSG_UNKNOWN
Definition: gsm_29_118.h:138
@ SGSAP_SGS_CAUSE_IMSI_DET_NON_EPS
Definition: gsm_29_118.h:130
@ SGSAP_SGS_CAUSE_IMSI_DET_EPS
Definition: gsm_29_118.h:127
@ SGSAP_SGS_CAUSE_IMSI_UNKNOWN
Definition: gsm_29_118.h:129
@ SGSAP_SGS_CAUSE_IMSI_DET_EPS_NONEPS
Definition: gsm_29_118.h:128
@ SGSAP_SGS_CAUSE_MSG_INCOMP_STATE
Definition: gsm_29_118.h:133
@ SGSAP_SGS_CAUSE_UE_UNREACHABLE
Definition: gsm_29_118.h:132
@ SGSAP_SGS_CAUSE_COND_IE_ERROR
Definition: gsm_29_118.h:136
@ SGSAP_SGS_CAUSE_UE_TEMP_UNREACHABLE
Definition: gsm_29_118.h:140
const struct value_string sgsap_msg_type_names[]
Definition: gsm29118.c:27
const struct tlv_definition sgsap_ie_tlvdef
Definition: gsm29118.c:146
const struct value_string sgsap_eps_lu_type_names[]
Definition: gsm29118.c:92
Definition of All 256 IE / TLV.
Definition: tlv.h:527