libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gsm_04_08_gprs.h
Go to the documentation of this file.
1
3#pragma once
4
5#include <stdint.h>
6#include <stdbool.h>
7#include <osmocom/gsm/protocol/gsm_04_08.h>
8#include <osmocom/crypt/gprs_cipher.h>
9#include <osmocom/core/endian.h>
10
11/* Table 10.4 / 10.4a, GPRS Mobility Management (GMM) */
12#define GSM48_MT_GMM_ATTACH_REQ 0x01
13#define GSM48_MT_GMM_ATTACH_ACK 0x02
14#define GSM48_MT_GMM_ATTACH_COMPL 0x03
15#define GSM48_MT_GMM_ATTACH_REJ 0x04
16#define GSM48_MT_GMM_DETACH_REQ 0x05
17#define GSM48_MT_GMM_DETACH_ACK 0x06
18
19#define GSM48_MT_GMM_RA_UPD_REQ 0x08
20#define GSM48_MT_GMM_RA_UPD_ACK 0x09
21#define GSM48_MT_GMM_RA_UPD_COMPL 0x0a
22#define GSM48_MT_GMM_RA_UPD_REJ 0x0b
23
24#define GSM48_MT_GMM_PTMSI_REALL_CMD 0x10
25#define GSM48_MT_GMM_PTMSI_REALL_COMPL 0x11
26#define GSM48_MT_GMM_AUTH_CIPH_REQ 0x12
27#define GSM48_MT_GMM_AUTH_CIPH_RESP 0x13
28#define GSM48_MT_GMM_AUTH_CIPH_REJ 0x14
29#define GSM48_MT_GMM_AUTH_CIPH_FAIL 0x1C
30#define GSM48_MT_GMM_ID_REQ 0x15
31#define GSM48_MT_GMM_ID_RESP 0x16
32#define GSM48_MT_GMM_STATUS 0x20
33#define GSM48_MT_GMM_INFO 0x21
34
35/* Table 10.4a, GPRS Session Management (GSM) */
36#define GSM48_MT_GSM_ACT_PDP_REQ 0x41
37#define GSM48_MT_GSM_ACT_PDP_ACK 0x42
38#define GSM48_MT_GSM_ACT_PDP_REJ 0x43
39#define GSM48_MT_GSM_REQ_PDP_ACT 0x44
40#define GSM48_MT_GSM_REQ_PDP_ACT_REJ 0x45
41#define GSM48_MT_GSM_DEACT_PDP_REQ 0x46
42#define GSM48_MT_GSM_DEACT_PDP_ACK 0x47
43#define GSM48_MT_GSM_ACT_AA_PDP_REQ 0x50
44#define GSM48_MT_GSM_ACT_AA_PDP_ACK 0x51
45#define GSM48_MT_GSM_ACT_AA_PDP_REJ 0x52
46#define GSM48_MT_GSM_DEACT_AA_PDP_REQ 0x53
47#define GSM48_MT_GSM_DEACT_AA_PDP_ACK 0x54
48#define GSM48_MT_GSM_STATUS 0x55
49
50/* Chapter 10.5.5.2 / Table 10.5.135 */
51#define GPRS_ATT_T_ATTACH 1
52#define GPRS_ATT_T_ATT_WHILE_IMSI 2
53#define GPRS_ATT_T_COMBINED 3
54
55 extern const struct value_string *gprs_att_t_strs;
56 extern const struct value_string gprs_msgt_gmm_names[];
57
58/* Chapter 10.5.5.5 / Table 10.5.138 */
59#define GPRS_DET_T_MO_GPRS 1
60#define GPRS_DET_T_MO_IMSI 2
61#define GPRS_DET_T_MO_COMBINED 3
62/* Network to MS direction */
63#define GPRS_DET_T_MT_REATT_REQ 1
64#define GPRS_DET_T_MT_REATT_NOTREQ 2
65#define GPRS_DET_T_MT_IMSI 3
66
67 extern const struct value_string *gprs_det_t_mo_strs;
68 extern const struct value_string *gprs_det_t_mt_strs;
69
70/* Chapter 10.5.5.18 / Table 105.150 */
71#define GPRS_UPD_T_RA 0
72#define GPRS_UPD_T_RA_LA 1
73#define GPRS_UPD_T_RA_LA_IMSI_ATT 2
74#define GPRS_UPD_T_PERIODIC 3
75
76 extern const struct value_string *gprs_upd_t_strs;
77
78/* Table 10.4 in 3GPP TS 24.008 (successor to 04.08) */
79#define GSM48_MT_GMM_SERVICE_REQ 0x0c
80#define GSM48_MT_GMM_SERVICE_ACK 0x0d
81#define GSM48_MT_GMM_SERVICE_REJ 0x0e
82
83 enum gsm48_gprs_ie_mm {
84 GSM48_IE_GMM_CIPH_CKSN = 0x08, /* 10.5.1.2 */
85 GSM48_IE_GMM_TMSI_STATUS = 0x09, /* 10.5.5.4 */
86 GSM48_IE_GMM_MS_NET_FEAT_SUP = 0x0c, /* 10.5.1.15 */
87 GSM48_IE_GMM_DEVICE_PROP = 0x0d, /* 10.5.7.8 */
88 GSM48_IE_GMM_PTMSI_TYPE = 0x0e, /* 10.5.5.29 */
89 GSM48_IE_GMM_ADD_UPDATE_TYPE = 0x0f, /* 10.5.5.0 */
90 GSM48_IE_GMM_TMSI_BASED_NRI_C = 0x10, /* 10.5.5.31 */
91 GSM48_IE_GMM_MS_CLASSMARK2 = 0x11, /* 10.5.1.6 */
92 GSM48_IE_GMM_OLD_LAI = 0x14, /* 10.5.5.30 */
93 GSM48_IE_GMM_TIMER_READY = 0x17, /* 10.5.7.3 */
94 GSM48_IE_GMM_ALLOC_PTMSI = 0x18, /* 10.5.1.4 */
95 GSM48_IE_GMM_PTMSI_SIG = 0x19, /* 10.5.5.8 */
96 GSM48_IE_GMM_ADD_IDENTITY = 0x1a, /* 10.5.1.4 */
97 GSM48_IE_GMM_RAI2 = 0x1b, /* 10.5.5.15a */
98 GSM48_IE_GMM_MS_CLASSMARK3 = 0x20, /* 10.5.1.7 */
99 GSM48_IE_GMM_AUTH_RAND = 0x21, /* 10.5.3.1 */
100 GSM48_IE_GMM_AUTH_SRES = 0x22, /* 10.5.3.2 */
101 GSM48_IE_GMM_IMEISV = 0x23, /* 10.5.1.4 */
102 GSM48_IE_GMM_CAUSE = 0x25, /* 10.5.5.14 */
103 GSM48_IE_GMM_RX_NPDU_NUM_LIST = 0x26, /* 10.5.5.11 */
104 GSM48_IE_GMM_DRX_PARAM = 0x27, /* 10.5.5.6 */
105 GSM48_IE_GMM_AUTN = 0x28, /* 10.5.3.1.1 */
106 GSM48_IE_GMM_AUTH_RES_EXT = 0x29, /* 10.5.3.2.1 */
107 GSM48_IE_GMM_TIMER_T3302 = 0x2A, /* 10.5.7.4 */
108 GSM48_IE_GMM_AUTH_FAIL_PAR = 0x30, /* 10.5.3.2.2 */
109 GSM48_IE_GMM_MS_NET_CAPA = 0x31, /* 10.5.5.12 */
110 GSM48_IE_GMM_PDP_CTX_STATUS = 0x32, /* 10.5.7.1 */
111 GSM48_IE_GMM_PS_LCS_CAPA = 0x33, /* 10.5.5.22 */
112 GSM48_IE_GMM_GMM_MBMS_CTX_ST = 0x35, /* 10.5.7.6 */
113 GSM48_IE_GMM_TIMER_T3312_EXT = 0x39, /* 10.5.7.4a */
114 GSM48_IE_GMM_TIMER_T3346 = 0x3A, /* 10.5.7.4 */
115 GSM48_IE_GMM_SUPP_CODEC_LIST = 0x40, /* 10.5.4.32 */
116 GSM48_IE_GMM_UE_NET_CAP = 0x58, /* 10.5.5.26 */
117 GSM48_IE_GMM_VD_PREF_UE_USAGE = 0x5d, /* 10.5.5.28 */
118 GMM48_IE_GMM_TIMER_T3324 = 0x6a, /* 10.5.7.4 */
119 GSM48_IE_GMM_EXT_DRX_PARAMS = 0x6e, /* 10.5.5.32 */
120 GSM48_IE_GMM_NET_FEAT_SUPPORT = 0xB0, /* 10.5.5.23 */
121};
122
123 enum gsm48_gprs_ie_sm {
124 GSM48_IE_GSM_RADIO_PRIO = 0x08, /* 10.5.7.2 */
125 GSM48_IE_GSM_DEV_PROP = 0x0C, /* 10.5.7.8 */
126 GSM48_IE_GSM_APN = 0x28, /* 10.5.6.1 */
127 GSM48_IE_GSM_PROTO_CONF_OPT = 0x27, /* 10.5.6.3 */
128 GSM48_IE_GSM_PDP_ADDR = 0x2b, /* 10.5.6.4 */
129 GSM48_IE_GSM_AA_TMR = 0x29, /* 10.5.7.3 */
130 GSM48_IE_GSM_QOS = 0x30, /* 10.5.6.5 */
131 GSM48_IE_GSM_TFT = 0x31, /* 10.5.6.12 */
132 GSM48_IE_GSM_LLC_SAPI = 0x32, /* 10.5.6.9 */
133 GSM48_IE_GSM_MBIFOM_CONT = 0x33, /* 10.5.6.21 */
134 GSM48_IE_GSM_PFI = 0x34, /* 10.5.6.11 */
135 GSM48_IE_GSM_NAME_FULL = 0x43, /* 10.5.3.5a */
136 GSM48_IE_GSM_NAME_SHORT = 0x45, /* 10.5.3.5a */
137 GSM48_IE_GSM_TIMEZONE = 0x46, /* 10.5.3.8 */
138 GSM48_IE_GSM_UTC_AND_TZ = 0x47, /* 10.5.3.9 */
139 GSM48_IE_GSM_LSA_ID = 0x48, /* 10.5.3.11 */
140 GSM48_IE_GSM_EXT_QOS = 0x5C, /* 10.5.6.5B */
141 GSM48_IE_GSM_EXT_PROTO_CONF_OPT = 0x7B, /* 10.5.6.3a */
142
143 /* Fake IEs that are not present on the Layer3 air interface,
144 * but which we use to simplify internal APIs */
145 OSMO_IE_GSM_CHARG_CHAR = 0xfc,
146 OSMO_IE_GSM_REQ_QOS = 0xfd,
147 OSMO_IE_GSM_REQ_PDP_ADDR = 0xfe,
148 OSMO_IE_GSM_SUB_QOS = 0xff,
149};
150
151/* Chapter 9.4.15 / Table 9.4.15 */
152 struct gsm48_ra_upd_ack {
153#if OSMO_IS_LITTLE_ENDIAN
154 uint8_t force_stby:4, /* 10.5.5.7 */
155 upd_result:4; /* 10.5.5.17 */
156 uint8_t ra_upd_timer; /* 10.5.7.3 */
157 struct gsm48_ra_id ra_id; /* 10.5.5.15 */
158 uint8_t data[0];
159#elif OSMO_IS_BIG_ENDIAN
160/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
161 uint8_t upd_result:4, force_stby:4;
162 uint8_t ra_upd_timer;
163 struct gsm48_ra_id ra_id;
164 uint8_t data[0];
165#endif
166} __attribute__((packed));
167
168/* Chapter 10.5.7.3 */
169 enum gsm48_gprs_tmr_unit {
170 GPRS_TMR_2SECONDS = 0 << 5,
171 GPRS_TMR_MINUTE = 1 << 5,
172 GPRS_TMR_6MINUTE = 2 << 5,
173 GPRS_TMR_DEACTIVATED = 7 << 5,
174};
175
176#define GPRS_TMR_UNIT_MASK (7 << 5)
177#define GPRS_TMR_FACT_MASK ((1 << 5)-1)
178
179/* Chapter 9.4.2 / Table 9.4.2 */
180 struct gsm48_attach_ack {
181#if OSMO_IS_LITTLE_ENDIAN
182 uint8_t att_result:4, /* 10.5.5.7 */
183 force_stby:4; /* 10.5.5.1 */
184 uint8_t ra_upd_timer; /* 10.5.7.3 */
185 uint8_t radio_prio; /* 10.5.7.2 */
186 struct gsm48_ra_id ra_id; /* 10.5.5.15 */
187 uint8_t data[0];
188#elif OSMO_IS_BIG_ENDIAN
189/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
190 uint8_t force_stby:4, att_result:4;
191 uint8_t ra_upd_timer;
192 uint8_t radio_prio;
193 struct gsm48_ra_id ra_id;
194 uint8_t data[0];
195#endif
196} __attribute__((packed));
197
198/* Chapter 9.4.9 / Table 9.4.9 */
199 struct gsm48_auth_ciph_req {
200#if OSMO_IS_LITTLE_ENDIAN
201 uint8_t ciph_alg:4, /* 10.5.5.3 */
202 imeisv_req:4; /* 10.5.5.10 */
203 uint8_t force_stby:4, /* 10.5.5.7 */
204 ac_ref_nr:4; /* 10.5.5.19 */
205 uint8_t data[0];
206#elif OSMO_IS_BIG_ENDIAN
207/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
208 uint8_t imeisv_req:4, ciph_alg:4;
209 uint8_t ac_ref_nr:4, force_stby:4;
210 uint8_t data[0];
211#endif
212} __attribute__((packed));
213/* optional: TV RAND, TV CKSN */
214
215 struct gsm48_auth_ciph_resp {
216#if OSMO_IS_LITTLE_ENDIAN
217 uint8_t ac_ref_nr:4,
218 spare:4;
219 uint8_t data[0];
220#elif OSMO_IS_BIG_ENDIAN
221/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
222 uint8_t spare:4, ac_ref_nr:4;
223 uint8_t data[0];
224#endif
225} __attribute__((packed));
226
227/* Chapter 9.5.1 / Table 9.5.1 */
228 struct gsm48_act_pdp_ctx_req {
229 uint8_t req_nsapi;
230 uint8_t req_llc_sapi;
231 uint8_t data[0];
232} __attribute__((packed));
233
234/* Chapter 10.5.5.14 / Table 10.5.147 */
235 enum gsm48_gmm_cause {
236 GMM_CAUSE_IMSI_UNKNOWN = 0x02,
237 GMM_CAUSE_ILLEGAL_MS = 0x03,
238 GMM_CAUSE_IMEI_NOT_ACCEPTED = 0x05,
239 GMM_CAUSE_ILLEGAL_ME = 0x06,
240 GMM_CAUSE_GPRS_NOTALLOWED = 0x07,
241 GMM_CAUSE_GPRS_OTHER_NOTALLOWED = 0x08,
242 GMM_CAUSE_MS_ID_NOT_DERIVED = 0x09,
243 GMM_CAUSE_IMPL_DETACHED = 0x0a,
244 GMM_CAUSE_PLMN_NOTALLOWED = 0x0b,
245 GMM_CAUSE_LA_NOTALLOWED = 0x0c,
246 GMM_CAUSE_ROAMING_NOTALLOWED = 0x0d,
247 GMM_CAUSE_NO_GPRS_PLMN = 0x0e,
248 GMM_CAUSE_NO_SUIT_CELL_IN_LA = 0x0f,
249 GMM_CAUSE_MSC_TEMP_NOTREACH = 0x10,
250 GMM_CAUSE_NET_FAIL = 0x11,
251 GMM_CAUSE_MAC_FAIL = 0x14,
252 GMM_CAUSE_SYNC_FAIL = 0x15,
253 GMM_CAUSE_CONGESTION = 0x16,
254 GMM_CAUSE_GSM_AUTH_UNACCEPT = 0x17,
255 GMM_CAUSE_NOT_AUTH_FOR_CSG = 0x19,
256 GMM_CAUSE_SMS_VIA_GPRS_IN_RA = 0x1c,
257 GMM_CAUSE_NO_PDP_ACTIVATED = 0x28,
258 GMM_CAUSE_SEM_INCORR_MSG = 0x5f,
259 GMM_CAUSE_INV_MAND_INFO = 0x60,
260 GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL = 0x61,
261 GMM_CAUSE_MSGT_INCOMP_P_STATE = 0x62,
262 GMM_CAUSE_IE_NOTEXIST_NOTIMPL = 0x63,
263 GMM_CAUSE_COND_IE_ERR = 0x64,
264 GMM_CAUSE_MSG_INCOMP_P_STATE = 0x65,
265 GMM_CAUSE_PROTO_ERR_UNSPEC = 0x6f,
266};
267
268 extern const struct value_string *gsm48_gmm_cause_names;
269
270/* 3GPP TS 24.008 10.5.6.6 / Table 10.5.157 */
271 enum gsm48_gsm_cause {
272 GSM_CAUSE_OPER_DET_BARR = 0x08,
273 GSM_CAUSE_MBMS_CAP_INSUF = 0x18,
274 GSM_CAUSE_LLC_SNDCP_FAIL = 0x19,
275 GSM_CAUSE_INSUFF_RSRC = 0x1a,
276 GSM_CAUSE_MISSING_APN = 0x1b,
277 GSM_CAUSE_UNKNOWN_PDP = 0x1c,
278 GSM_CAUSE_AUTH_FAILED = 0x1d,
279 GSM_CAUSE_ACT_REJ_GGSN = 0x1e,
280 GSM_CAUSE_ACT_REJ_UNSPEC = 0x1f,
281 GSM_CAUSE_SERV_OPT_NOTSUPP = 0x20,
282 GSM_CAUSE_REQ_SERV_OPT_NOTSUB = 0x21,
283 GSM_CAUSE_SERV_OPT_TEMP_OOO = 0x22,
284 GSM_CAUSE_NSAPI_IN_USE = 0x23,
285 GSM_CAUSE_DEACT_REGULAR = 0x24,
286 GSM_CAUSE_QOS_NOT_ACCEPTED = 0x25,
287 GSM_CAUSE_NET_FAIL = 0x26,
288 GSM_CAUSE_REACT_RQD = 0x27,
289 GSM_CAUSE_FEATURE_NOTSUPP = 0x28,
290 GSM_CAUSE_INVALID_TRANS_ID = 0x51,
291 GSM_CAUSE_SEM_INCORR_MSG = 0x5f,
292 GSM_CAUSE_INV_MAND_INFO = 0x60,
293 GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL = 0x61,
294 GSM_CAUSE_MSGT_INCOMP_P_STATE = 0x62,
295 GSM_CAUSE_IE_NOTEXIST_NOTIMPL = 0x63,
296 GSM_CAUSE_COND_IE_ERR = 0x64,
297 GSM_CAUSE_MSG_INCOMP_P_STATE = 0x65,
298 GSM_CAUSE_PROTO_ERR_UNSPEC = 0x6f,
299};
300
301 extern const struct value_string *gsm48_gsm_cause_names;
302
303/* Section 6.1.2.2: Session management states on the network side */
304 enum gsm48_pdp_state {
305 PDP_S_INACTIVE,
306 PDP_S_ACTIVE_PENDING,
307 PDP_S_ACTIVE,
308 PDP_S_INACTIVE_PENDING,
309 PDP_S_MODIFY_PENDING,
310};
311
312/* TS 24.008 Table 10.5.155/3GPP */
313 enum gsm48_pdp_type_org {
314 PDP_TYPE_ORG_ETSI = 0x00,
315 PDP_TYPE_ORG_IETF = 0x01,
316 PDP_TYPE_ORG_EMPTY = 0x0f,
317};
318 enum gsm48_pdp_type_nr {
319 PDP_TYPE_N_ETSI_RESERVED = 0x00,
320 PDP_TYPE_N_ETSI_PPP = 0x01,
321 PDP_TYPE_N_IETF_IPv4 = 0x21,
322 PDP_TYPE_N_IETF_IPv6 = 0x57,
323 PDP_TYPE_N_IETF_IPv4v6 = 0x8D,
324};
325/* TS 24.008 10.5.6.4 "Packet data protocol address" value
326 * Note: This can be reused for 3GPP TS 29.060 7.7.27 "End User Address"
327 * with minor changes in the values, like spare being 1111 instead.
328*/
329 struct gsm48_pdp_address {
330#if OSMO_IS_LITTLE_ENDIAN
331uint8_t organization:4, /* enum gsm48_pdp_type_org */
332 spare:4; /* 0000 */
333#elif OSMO_IS_BIG_ENDIAN
334/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
335uint8_t spare:4, organization:4;
336#endif
337uint8_t type; /* enum gsm48_pdp_type_nr */
338 union {
339 /* PDP_TYPE_ORG_ETSI */
340 union {
341 } etsi;
342 /* PDP_TYPE_ORG_IETF */
343 union {
344 /* PDP_TYPE_N_IETF_IPv4 */
345 uint32_t v4;
346
347 /* PDP_TYPE_N_IETF_IPv6 */
348 uint8_t v6[16];
349
350 /* PDP_TYPE_N_IETF_IPv4v6 */
351 struct {
352 uint32_t v4;
353 uint8_t v6[16];
354 } __attribute__ ((packed)) v4v6;
355 } ietf;
356 };
357} __attribute__ ((packed));
358
359/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
360 enum gsm48_qos_reliab_class {
361 GSM48_QOS_RC_LLC_ACK_RLC_ACK_DATA_PROT = 2,
362 GSM48_QOS_RC_LLC_UN_RLC_ACK_DATA_PROT = 3,
363 GSM48_QOS_RC_LLC_UN_RLC_UN_PROT_DATA = 4,
364 GSM48_QOS_RC_LLC_UN_RLC_UN_DATA_UN = 5,
365};
366
367/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
368 enum gsm48_qos_preced_class {
369 GSM48_QOS_PC_HIGH = 1,
370 GSM48_QOS_PC_NORMAL = 2,
371 GSM48_QOS_PC_LOW = 3,
372};
373
374/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
375 enum gsm48_qos_peak_tput {
376 GSM48_QOS_PEAK_TPUT_1000bps = 1,
377 GSM48_QOS_PEAK_TPUT_2000bps = 2,
378 GSM48_QOS_PEAK_TPUT_4000bps = 3,
379 GSM48_QOS_PEAK_TPUT_8000bps = 4,
380 GSM48_QOS_PEAK_TPUT_16000bps = 5,
381 GSM48_QOS_PEAK_TPUT_32000bps = 6,
382 GSM48_QOS_PEAK_TPUT_64000bps = 7,
383 GSM48_QOS_PEAK_TPUT_128000bps = 8,
384 GSM48_QOS_PEAK_TPUT_256000bps = 9,
385};
386
387/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
388 enum gsm48_qos_mean_tput {
389 GSM48_QOS_MEAN_TPUT_100bph = 1,
390 GSM48_QOS_MEAN_TPUT_200bph = 2,
391 GSM48_QOS_MEAN_TPUT_500bph = 3,
392 GSM48_QOS_MEAN_TPUT_1000bph = 4,
393 GSM48_QOS_MEAN_TPUT_2000bph = 5,
394 GSM48_QOS_MEAN_TPUT_5000bph = 6,
395 GSM48_QOS_MEAN_TPUT_10000bph = 7,
396 GSM48_QOS_MEAN_TPUT_20000bph = 8,
397 GSM48_QOS_MEAN_TPUT_50000bph = 9,
398 GSM48_QOS_MEAN_TPUT_100kbph = 10,
399 GSM48_QOS_MEAN_TPUT_200kbph = 11,
400 GSM48_QOS_MEAN_TPUT_500kbph = 0xc,
401 GSM48_QOS_MEAN_TPUT_1Mbph = 0xd,
402 GSM48_QOS_MEAN_TPUT_2Mbph = 0xe,
403 GSM48_QOS_MEAN_TPUT_5Mbph = 0xf,
404 GSM48_QOS_MEAN_TPUT_10Mbph = 0x10,
405 GSM48_QOS_MEAN_TPUT_20Mbph = 0x11,
406 GSM48_QOS_MEAN_TPUT_50Mbph = 0x12,
407 GSM48_QOS_MEAN_TPUT_BEST_EFFORT = 0x1f,
408};
409
410/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
411 enum gsm48_qos_err_sdu {
412 GSM48_QOS_ERRSDU_NODETECT = 1,
413 GSM48_QOS_ERRSDU_YES = 2,
414 GSM48_QOS_ERRSDU_NO = 3,
415};
416
417/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
418 enum gsm48_qos_deliv_order {
419 GSM48_QOS_DO_ORDERED = 1,
420 GSM48_QOS_DO_UNORDERED = 2,
421};
422
423/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
424 enum gsm48_qos_traf_class {
425 GSM48_QOS_TC_CONVERSATIONAL = 1,
426 GSM48_QOS_TC_STREAMING = 2,
427 GSM48_QOS_TC_INTERACTIVE = 3,
428 GSM48_QOS_TC_BACKGROUND = 4,
429};
430
431/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
432 enum gsm48_qos_max_sdu_size {
433 /* values below in 10 octet granularity */
434 GSM48_QOS_MAXSDU_1502 = 0x97,
435 GSM48_QOS_MAXSDU_1510 = 0x98,
436 GSM48_QOS_MAXSDU_1520 = 0x99,
437};
438
439/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
440 enum gsm48_qos_max_bitrate {
441 GSM48_QOS_MBRATE_1k = 0x01,
442 GSM48_QOS_MBRATE_63k = 0x3f,
443 GSM48_QOS_MBRATE_64k = 0x40,
444 GSM48_QOS_MBRATE_568k = 0x7f,
445 GSM48_QOS_MBRATE_576k = 0x80,
446 GSM48_QOS_MBRATE_8640k = 0xfe,
447 GSM48_QOS_MBRATE_0k = 0xff,
448};
449
450/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
451 enum gsm48_qos_resid_ber {
452 GSM48_QOS_RBER_5e_2 = 0x01,
453 GSM48_QOS_RBER_1e_2 = 0x02,
454 GSM48_QOS_RBER_5e_3 = 0x03,
455 GSM48_QOS_RBER_4e_3 = 0x04,
456 GSM48_QOS_RBER_1e_3 = 0x05,
457 GSM48_QOS_RBER_1e_4 = 0x06,
458 GSM48_QOS_RBER_1e_5 = 0x07,
459 GSM48_QOS_RBER_1e_6 = 0x08,
460 GSM48_QOS_RBER_6e_8 = 0x09,
461};
462
463/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
464 enum gsm48_qos_sdu_err {
465 GSM48_QOS_SERR_1e_2 = 0x01,
466 GSM48_QOS_SERR_7e_2 = 0x02,
467 GSM48_QOS_SERR_1e_3 = 0x03,
468 GSM48_QOS_SERR_1e_4 = 0x04,
469 GSM48_QOS_SERR_1e_5 = 0x05,
470 GSM48_QOS_SERR_1e_6 = 0x06,
471 GSM48_QOS_SERR_1e_1 = 0x07,
472};
473
474/* 3GPP 24.008 / Chapter 10.5.5.20 / Table 10.5.153a */
475 enum gsm48_gmm_service_type {
476 GPRS_SERVICE_T_SIGNALLING = 0x00,
477 GPRS_SERVICE_T_DATA = 0x01,
478 GPRS_SERVICE_T_PAGING_RESP = 0x02,
479 GPRS_SERVICE_T_MBMS_MC_SERV = 0x03,
480 GPRS_SERVICE_T_MBMS_BC_SERV = 0x04,
481};
482
483 extern const struct value_string *gprs_service_t_strs;
484
485 bool gprs_ms_net_cap_gea_supported(const uint8_t *ms_net_cap, uint8_t cap_len,
486 enum gprs_ciph_algo gea);
487
488/* Figure 10.5.138/24.008 / Chapter 10.5.6.5 */
489 struct gsm48_qos {
490 /* octet 3 */
491 uint8_t reliab_class:3;
492 uint8_t delay_class:3;
493 uint8_t spare:2;
494 /* octet 4 */
495 uint8_t preced_class:3;
496 uint8_t spare2:1;
497 uint8_t peak_tput:4;
498 /* octet 5 */
499 uint8_t mean_tput:5;
500 uint8_t spare3:3;
501 /* octet 6 */
502 uint8_t deliv_err_sdu:3;
503 uint8_t deliv_order:2;
504 uint8_t traf_class:3;
505 /* octet 7 */
506 uint8_t max_sdu_size;
507 /* octet 8 */
508 uint8_t max_bitrate_up;
509 /* octet 9 */
510 uint8_t max_bitrate_down;
511 /* octet 10 */
512 uint8_t sdu_err_ratio:4;
513 uint8_t resid_ber:4;
514 /* octet 11 */
515 uint8_t handling_prio:2;
516 uint8_t xfer_delay:6;
517 /* octet 12 */
518 uint8_t guar_bitrate_up;
519 /* octet 13 */
520 uint8_t guar_bitrate_down;
521 /* octet 14 */
522 uint8_t src_stats_desc:4;
523 uint8_t sig_ind:1;
524 uint8_t spare5:3;
525 /* octet 15 */
526 uint8_t max_bitrate_down_ext;
527 /* octet 16 */
528 uint8_t guar_bitrate_down_ext;
529};
530
531/* TS 24.008 Table 10.5.5.29 */
532 enum gsm48_ptsmi_type {
533 PTMSI_TYPE_NATIVE = 0x00,
534 PTMSI_TYPE_MAPPED = 0x01,
535};
536
endian.h
gprs_cipher.h
gprs_ciph_algo
gprs_ciph_algo
Definition: gprs_cipher.h:13
gprs_att_t_strs
const struct value_string * gprs_att_t_strs
Definition: gsm_04_08_gprs.c:182
gprs_det_t_mt_strs
const struct value_string * gprs_det_t_mt_strs
Definition: gsm_04_08_gprs.c:213
gsm48_gsm_cause_names
const struct value_string * gsm48_gsm_cause_names
Definition: gsm_04_08_gprs.c:120
gprs_ms_net_cap_gea_supported
bool gprs_ms_net_cap_gea_supported(const uint8_t *ms_net_cap, uint8_t cap_len, enum gprs_ciph_algo gea)
Check if MS supports particular version of GEA by inspecting MS network capability IE specified in 3G...
Definition: gsm_04_08_gprs.c:130
gprs_upd_t_strs
const struct value_string * gprs_upd_t_strs
Definition: gsm_04_08_gprs.c:193
gprs_msgt_gmm_names
const struct value_string gprs_msgt_gmm_names[]
String names of GMM message types.
Definition: gsm_04_08_gprs.c:150
gprs_det_t_mo_strs
const struct value_string * gprs_det_t_mo_strs
Definition: gsm_04_08_gprs.c:203
gsm48_gmm_cause_names
const struct value_string * gsm48_gmm_cause_names
Definition: gsm_04_08_gprs.c:80
gprs_service_t_strs
const struct value_string * gprs_service_t_strs
Definition: gsm_04_08_gprs.c:225
gsm_04_08.h
GSM TS 04.08 definitions.
ra_id
uint8_t ra_id[6]
Definition: gsm_04_08.h:1
gsm48_qos_peak_tput
gsm48_qos_peak_tput
Definition: gsm_04_08_gprs.h:375
GSM48_QOS_PEAK_TPUT_128000bps
@ GSM48_QOS_PEAK_TPUT_128000bps
Definition: gsm_04_08_gprs.h:383
GSM48_QOS_PEAK_TPUT_256000bps
@ GSM48_QOS_PEAK_TPUT_256000bps
Definition: gsm_04_08_gprs.h:384
GSM48_QOS_PEAK_TPUT_64000bps
@ GSM48_QOS_PEAK_TPUT_64000bps
Definition: gsm_04_08_gprs.h:382
GSM48_QOS_PEAK_TPUT_4000bps
@ GSM48_QOS_PEAK_TPUT_4000bps
Definition: gsm_04_08_gprs.h:378
GSM48_QOS_PEAK_TPUT_2000bps
@ GSM48_QOS_PEAK_TPUT_2000bps
Definition: gsm_04_08_gprs.h:377
GSM48_QOS_PEAK_TPUT_8000bps
@ GSM48_QOS_PEAK_TPUT_8000bps
Definition: gsm_04_08_gprs.h:379
GSM48_QOS_PEAK_TPUT_32000bps
@ GSM48_QOS_PEAK_TPUT_32000bps
Definition: gsm_04_08_gprs.h:381
GSM48_QOS_PEAK_TPUT_16000bps
@ GSM48_QOS_PEAK_TPUT_16000bps
Definition: gsm_04_08_gprs.h:380
GSM48_QOS_PEAK_TPUT_1000bps
@ GSM48_QOS_PEAK_TPUT_1000bps
Definition: gsm_04_08_gprs.h:376
gsm48_qos_deliv_order
gsm48_qos_deliv_order
Definition: gsm_04_08_gprs.h:418
GSM48_QOS_DO_ORDERED
@ GSM48_QOS_DO_ORDERED
Definition: gsm_04_08_gprs.h:419
GSM48_QOS_DO_UNORDERED
@ GSM48_QOS_DO_UNORDERED
Definition: gsm_04_08_gprs.h:420
gsm48_ptsmi_type
gsm48_ptsmi_type
Definition: gsm_04_08_gprs.h:532
PTMSI_TYPE_MAPPED
@ PTMSI_TYPE_MAPPED
Definition: gsm_04_08_gprs.h:534
PTMSI_TYPE_NATIVE
@ PTMSI_TYPE_NATIVE
Definition: gsm_04_08_gprs.h:533
gsm48_qos_max_sdu_size
gsm48_qos_max_sdu_size
Definition: gsm_04_08_gprs.h:432
GSM48_QOS_MAXSDU_1520
@ GSM48_QOS_MAXSDU_1520
Definition: gsm_04_08_gprs.h:436
GSM48_QOS_MAXSDU_1510
@ GSM48_QOS_MAXSDU_1510
Definition: gsm_04_08_gprs.h:435
GSM48_QOS_MAXSDU_1502
@ GSM48_QOS_MAXSDU_1502
Definition: gsm_04_08_gprs.h:434
gsm48_qos_err_sdu
gsm48_qos_err_sdu
Definition: gsm_04_08_gprs.h:411
GSM48_QOS_ERRSDU_YES
@ GSM48_QOS_ERRSDU_YES
Definition: gsm_04_08_gprs.h:413
GSM48_QOS_ERRSDU_NO
@ GSM48_QOS_ERRSDU_NO
Definition: gsm_04_08_gprs.h:414
GSM48_QOS_ERRSDU_NODETECT
@ GSM48_QOS_ERRSDU_NODETECT
Definition: gsm_04_08_gprs.h:412
gsm48_qos_resid_ber
gsm48_qos_resid_ber
Definition: gsm_04_08_gprs.h:451
GSM48_QOS_RBER_6e_8
@ GSM48_QOS_RBER_6e_8
Definition: gsm_04_08_gprs.h:460
GSM48_QOS_RBER_1e_5
@ GSM48_QOS_RBER_1e_5
Definition: gsm_04_08_gprs.h:458
GSM48_QOS_RBER_5e_3
@ GSM48_QOS_RBER_5e_3
Definition: gsm_04_08_gprs.h:454
GSM48_QOS_RBER_1e_3
@ GSM48_QOS_RBER_1e_3
Definition: gsm_04_08_gprs.h:456
GSM48_QOS_RBER_1e_4
@ GSM48_QOS_RBER_1e_4
Definition: gsm_04_08_gprs.h:457
GSM48_QOS_RBER_1e_2
@ GSM48_QOS_RBER_1e_2
Definition: gsm_04_08_gprs.h:453
GSM48_QOS_RBER_5e_2
@ GSM48_QOS_RBER_5e_2
Definition: gsm_04_08_gprs.h:452
GSM48_QOS_RBER_4e_3
@ GSM48_QOS_RBER_4e_3
Definition: gsm_04_08_gprs.h:455
GSM48_QOS_RBER_1e_6
@ GSM48_QOS_RBER_1e_6
Definition: gsm_04_08_gprs.h:459
gsm48_qos_preced_class
gsm48_qos_preced_class
Definition: gsm_04_08_gprs.h:368
GSM48_QOS_PC_NORMAL
@ GSM48_QOS_PC_NORMAL
Definition: gsm_04_08_gprs.h:370
GSM48_QOS_PC_HIGH
@ GSM48_QOS_PC_HIGH
Definition: gsm_04_08_gprs.h:369
GSM48_QOS_PC_LOW
@ GSM48_QOS_PC_LOW
Definition: gsm_04_08_gprs.h:371
gsm48_qos_traf_class
gsm48_qos_traf_class
Definition: gsm_04_08_gprs.h:424
GSM48_QOS_TC_STREAMING
@ GSM48_QOS_TC_STREAMING
Definition: gsm_04_08_gprs.h:426
GSM48_QOS_TC_INTERACTIVE
@ GSM48_QOS_TC_INTERACTIVE
Definition: gsm_04_08_gprs.h:427
GSM48_QOS_TC_BACKGROUND
@ GSM48_QOS_TC_BACKGROUND
Definition: gsm_04_08_gprs.h:428
GSM48_QOS_TC_CONVERSATIONAL
@ GSM48_QOS_TC_CONVERSATIONAL
Definition: gsm_04_08_gprs.h:425
gsm48_gmm_cause
gsm48_gmm_cause
Definition: gsm_04_08_gprs.h:235
GMM_CAUSE_NO_PDP_ACTIVATED
@ GMM_CAUSE_NO_PDP_ACTIVATED
Definition: gsm_04_08_gprs.h:257
GMM_CAUSE_MAC_FAIL
@ GMM_CAUSE_MAC_FAIL
Definition: gsm_04_08_gprs.h:251
GMM_CAUSE_NOT_AUTH_FOR_CSG
@ GMM_CAUSE_NOT_AUTH_FOR_CSG
Definition: gsm_04_08_gprs.h:255
GMM_CAUSE_GPRS_NOTALLOWED
@ GMM_CAUSE_GPRS_NOTALLOWED
Definition: gsm_04_08_gprs.h:240
GMM_CAUSE_MSGT_INCOMP_P_STATE
@ GMM_CAUSE_MSGT_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:261
GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:260
GMM_CAUSE_MSG_INCOMP_P_STATE
@ GMM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:264
GMM_CAUSE_INV_MAND_INFO
@ GMM_CAUSE_INV_MAND_INFO
Definition: gsm_04_08_gprs.h:259
GMM_CAUSE_IMPL_DETACHED
@ GMM_CAUSE_IMPL_DETACHED
Definition: gsm_04_08_gprs.h:243
GMM_CAUSE_GSM_AUTH_UNACCEPT
@ GMM_CAUSE_GSM_AUTH_UNACCEPT
Definition: gsm_04_08_gprs.h:254
GMM_CAUSE_MSC_TEMP_NOTREACH
@ GMM_CAUSE_MSC_TEMP_NOTREACH
Definition: gsm_04_08_gprs.h:249
GMM_CAUSE_LA_NOTALLOWED
@ GMM_CAUSE_LA_NOTALLOWED
Definition: gsm_04_08_gprs.h:245
GMM_CAUSE_NO_SUIT_CELL_IN_LA
@ GMM_CAUSE_NO_SUIT_CELL_IN_LA
Definition: gsm_04_08_gprs.h:248
GMM_CAUSE_ROAMING_NOTALLOWED
@ GMM_CAUSE_ROAMING_NOTALLOWED
Definition: gsm_04_08_gprs.h:246
GMM_CAUSE_ILLEGAL_ME
@ GMM_CAUSE_ILLEGAL_ME
Definition: gsm_04_08_gprs.h:239
GMM_CAUSE_MS_ID_NOT_DERIVED
@ GMM_CAUSE_MS_ID_NOT_DERIVED
Definition: gsm_04_08_gprs.h:242
GMM_CAUSE_ILLEGAL_MS
@ GMM_CAUSE_ILLEGAL_MS
Definition: gsm_04_08_gprs.h:237
GMM_CAUSE_GPRS_OTHER_NOTALLOWED
@ GMM_CAUSE_GPRS_OTHER_NOTALLOWED
Definition: gsm_04_08_gprs.h:241
GMM_CAUSE_PLMN_NOTALLOWED
@ GMM_CAUSE_PLMN_NOTALLOWED
Definition: gsm_04_08_gprs.h:244
GMM_CAUSE_NO_GPRS_PLMN
@ GMM_CAUSE_NO_GPRS_PLMN
Definition: gsm_04_08_gprs.h:247
GMM_CAUSE_PROTO_ERR_UNSPEC
@ GMM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:265
GMM_CAUSE_SEM_INCORR_MSG
@ GMM_CAUSE_SEM_INCORR_MSG
Definition: gsm_04_08_gprs.h:258
GMM_CAUSE_CONGESTION
@ GMM_CAUSE_CONGESTION
Definition: gsm_04_08_gprs.h:253
GMM_CAUSE_IMEI_NOT_ACCEPTED
@ GMM_CAUSE_IMEI_NOT_ACCEPTED
Definition: gsm_04_08_gprs.h:238
GMM_CAUSE_IMSI_UNKNOWN
@ GMM_CAUSE_IMSI_UNKNOWN
Definition: gsm_04_08_gprs.h:236
GMM_CAUSE_SMS_VIA_GPRS_IN_RA
@ GMM_CAUSE_SMS_VIA_GPRS_IN_RA
Definition: gsm_04_08_gprs.h:256
GMM_CAUSE_NET_FAIL
@ GMM_CAUSE_NET_FAIL
Definition: gsm_04_08_gprs.h:250
GMM_CAUSE_SYNC_FAIL
@ GMM_CAUSE_SYNC_FAIL
Definition: gsm_04_08_gprs.h:252
GMM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GMM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:262
GMM_CAUSE_COND_IE_ERR
@ GMM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:263
gsm48_gsm_cause
gsm48_gsm_cause
Definition: gsm_04_08_gprs.h:271
GSM_CAUSE_INVALID_TRANS_ID
@ GSM_CAUSE_INVALID_TRANS_ID
Definition: gsm_04_08_gprs.h:290
GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:293
GSM_CAUSE_SERV_OPT_NOTSUPP
@ GSM_CAUSE_SERV_OPT_NOTSUPP
Definition: gsm_04_08_gprs.h:281
GSM_CAUSE_REACT_RQD
@ GSM_CAUSE_REACT_RQD
Definition: gsm_04_08_gprs.h:288
GSM_CAUSE_MSGT_INCOMP_P_STATE
@ GSM_CAUSE_MSGT_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:294
GSM_CAUSE_NSAPI_IN_USE
@ GSM_CAUSE_NSAPI_IN_USE
Definition: gsm_04_08_gprs.h:284
GSM_CAUSE_NET_FAIL
@ GSM_CAUSE_NET_FAIL
Definition: gsm_04_08_gprs.h:287
GSM_CAUSE_INSUFF_RSRC
@ GSM_CAUSE_INSUFF_RSRC
Definition: gsm_04_08_gprs.h:275
GSM_CAUSE_ACT_REJ_UNSPEC
@ GSM_CAUSE_ACT_REJ_UNSPEC
Definition: gsm_04_08_gprs.h:280
GSM_CAUSE_AUTH_FAILED
@ GSM_CAUSE_AUTH_FAILED
Definition: gsm_04_08_gprs.h:278
GSM_CAUSE_MISSING_APN
@ GSM_CAUSE_MISSING_APN
Definition: gsm_04_08_gprs.h:276
GSM_CAUSE_OPER_DET_BARR
@ GSM_CAUSE_OPER_DET_BARR
Definition: gsm_04_08_gprs.h:272
GSM_CAUSE_UNKNOWN_PDP
@ GSM_CAUSE_UNKNOWN_PDP
Definition: gsm_04_08_gprs.h:277
GSM_CAUSE_QOS_NOT_ACCEPTED
@ GSM_CAUSE_QOS_NOT_ACCEPTED
Definition: gsm_04_08_gprs.h:286
GSM_CAUSE_FEATURE_NOTSUPP
@ GSM_CAUSE_FEATURE_NOTSUPP
Definition: gsm_04_08_gprs.h:289
GSM_CAUSE_PROTO_ERR_UNSPEC
@ GSM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:298
GSM_CAUSE_LLC_SNDCP_FAIL
@ GSM_CAUSE_LLC_SNDCP_FAIL
Definition: gsm_04_08_gprs.h:274
GSM_CAUSE_INV_MAND_INFO
@ GSM_CAUSE_INV_MAND_INFO
Definition: gsm_04_08_gprs.h:292
GSM_CAUSE_SERV_OPT_TEMP_OOO
@ GSM_CAUSE_SERV_OPT_TEMP_OOO
Definition: gsm_04_08_gprs.h:283
GSM_CAUSE_SEM_INCORR_MSG
@ GSM_CAUSE_SEM_INCORR_MSG
Definition: gsm_04_08_gprs.h:291
GSM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GSM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:295
GSM_CAUSE_ACT_REJ_GGSN
@ GSM_CAUSE_ACT_REJ_GGSN
Definition: gsm_04_08_gprs.h:279
GSM_CAUSE_COND_IE_ERR
@ GSM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:296
GSM_CAUSE_REQ_SERV_OPT_NOTSUB
@ GSM_CAUSE_REQ_SERV_OPT_NOTSUB
Definition: gsm_04_08_gprs.h:282
GSM_CAUSE_MBMS_CAP_INSUF
@ GSM_CAUSE_MBMS_CAP_INSUF
Definition: gsm_04_08_gprs.h:273
GSM_CAUSE_DEACT_REGULAR
@ GSM_CAUSE_DEACT_REGULAR
Definition: gsm_04_08_gprs.h:285
GSM_CAUSE_MSG_INCOMP_P_STATE
@ GSM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:297
gsm48_qos_max_bitrate
gsm48_qos_max_bitrate
Definition: gsm_04_08_gprs.h:440
GSM48_QOS_MBRATE_576k
@ GSM48_QOS_MBRATE_576k
Definition: gsm_04_08_gprs.h:445
GSM48_QOS_MBRATE_568k
@ GSM48_QOS_MBRATE_568k
Definition: gsm_04_08_gprs.h:444
GSM48_QOS_MBRATE_64k
@ GSM48_QOS_MBRATE_64k
Definition: gsm_04_08_gprs.h:443
GSM48_QOS_MBRATE_63k
@ GSM48_QOS_MBRATE_63k
Definition: gsm_04_08_gprs.h:442
GSM48_QOS_MBRATE_0k
@ GSM48_QOS_MBRATE_0k
Definition: gsm_04_08_gprs.h:447
GSM48_QOS_MBRATE_1k
@ GSM48_QOS_MBRATE_1k
Definition: gsm_04_08_gprs.h:441
GSM48_QOS_MBRATE_8640k
@ GSM48_QOS_MBRATE_8640k
Definition: gsm_04_08_gprs.h:446
gsm48_pdp_state
gsm48_pdp_state
Definition: gsm_04_08_gprs.h:304
PDP_S_INACTIVE_PENDING
@ PDP_S_INACTIVE_PENDING
Definition: gsm_04_08_gprs.h:308
PDP_S_ACTIVE_PENDING
@ PDP_S_ACTIVE_PENDING
Definition: gsm_04_08_gprs.h:306
PDP_S_ACTIVE
@ PDP_S_ACTIVE
Definition: gsm_04_08_gprs.h:307
PDP_S_INACTIVE
@ PDP_S_INACTIVE
Definition: gsm_04_08_gprs.h:305
PDP_S_MODIFY_PENDING
@ PDP_S_MODIFY_PENDING
Definition: gsm_04_08_gprs.h:309
gsm48_qos_sdu_err
gsm48_qos_sdu_err
Definition: gsm_04_08_gprs.h:464
GSM48_QOS_SERR_1e_3
@ GSM48_QOS_SERR_1e_3
Definition: gsm_04_08_gprs.h:467
GSM48_QOS_SERR_1e_5
@ GSM48_QOS_SERR_1e_5
Definition: gsm_04_08_gprs.h:469
GSM48_QOS_SERR_1e_4
@ GSM48_QOS_SERR_1e_4
Definition: gsm_04_08_gprs.h:468
GSM48_QOS_SERR_7e_2
@ GSM48_QOS_SERR_7e_2
Definition: gsm_04_08_gprs.h:466
GSM48_QOS_SERR_1e_1
@ GSM48_QOS_SERR_1e_1
Definition: gsm_04_08_gprs.h:471
GSM48_QOS_SERR_1e_2
@ GSM48_QOS_SERR_1e_2
Definition: gsm_04_08_gprs.h:465
GSM48_QOS_SERR_1e_6
@ GSM48_QOS_SERR_1e_6
Definition: gsm_04_08_gprs.h:470
gsm48_gprs_ie_sm
gsm48_gprs_ie_sm
Definition: gsm_04_08_gprs.h:123
GSM48_IE_GSM_NAME_SHORT
@ GSM48_IE_GSM_NAME_SHORT
Definition: gsm_04_08_gprs.h:136
GSM48_IE_GSM_NAME_FULL
@ GSM48_IE_GSM_NAME_FULL
Definition: gsm_04_08_gprs.h:135
GSM48_IE_GSM_PDP_ADDR
@ GSM48_IE_GSM_PDP_ADDR
Definition: gsm_04_08_gprs.h:128
GSM48_IE_GSM_EXT_PROTO_CONF_OPT
@ GSM48_IE_GSM_EXT_PROTO_CONF_OPT
Definition: gsm_04_08_gprs.h:141
GSM48_IE_GSM_AA_TMR
@ GSM48_IE_GSM_AA_TMR
Definition: gsm_04_08_gprs.h:129
OSMO_IE_GSM_REQ_PDP_ADDR
@ OSMO_IE_GSM_REQ_PDP_ADDR
Definition: gsm_04_08_gprs.h:147
OSMO_IE_GSM_REQ_QOS
@ OSMO_IE_GSM_REQ_QOS
Definition: gsm_04_08_gprs.h:146
GSM48_IE_GSM_RADIO_PRIO
@ GSM48_IE_GSM_RADIO_PRIO
Definition: gsm_04_08_gprs.h:124
OSMO_IE_GSM_SUB_QOS
@ OSMO_IE_GSM_SUB_QOS
Definition: gsm_04_08_gprs.h:148
GSM48_IE_GSM_APN
@ GSM48_IE_GSM_APN
Definition: gsm_04_08_gprs.h:126
GSM48_IE_GSM_QOS
@ GSM48_IE_GSM_QOS
Definition: gsm_04_08_gprs.h:130
GSM48_IE_GSM_MBIFOM_CONT
@ GSM48_IE_GSM_MBIFOM_CONT
Definition: gsm_04_08_gprs.h:133
GSM48_IE_GSM_TIMEZONE
@ GSM48_IE_GSM_TIMEZONE
Definition: gsm_04_08_gprs.h:137
OSMO_IE_GSM_CHARG_CHAR
@ OSMO_IE_GSM_CHARG_CHAR
Definition: gsm_04_08_gprs.h:145
GSM48_IE_GSM_EXT_QOS
@ GSM48_IE_GSM_EXT_QOS
Definition: gsm_04_08_gprs.h:140
GSM48_IE_GSM_PROTO_CONF_OPT
@ GSM48_IE_GSM_PROTO_CONF_OPT
Definition: gsm_04_08_gprs.h:127
GSM48_IE_GSM_PFI
@ GSM48_IE_GSM_PFI
Definition: gsm_04_08_gprs.h:134
GSM48_IE_GSM_DEV_PROP
@ GSM48_IE_GSM_DEV_PROP
Definition: gsm_04_08_gprs.h:125
GSM48_IE_GSM_UTC_AND_TZ
@ GSM48_IE_GSM_UTC_AND_TZ
Definition: gsm_04_08_gprs.h:138
GSM48_IE_GSM_LSA_ID
@ GSM48_IE_GSM_LSA_ID
Definition: gsm_04_08_gprs.h:139
GSM48_IE_GSM_LLC_SAPI
@ GSM48_IE_GSM_LLC_SAPI
Definition: gsm_04_08_gprs.h:132
GSM48_IE_GSM_TFT
@ GSM48_IE_GSM_TFT
Definition: gsm_04_08_gprs.h:131
gsm48_gprs_tmr_unit
gsm48_gprs_tmr_unit
Definition: gsm_04_08_gprs.h:169
GPRS_TMR_2SECONDS
@ GPRS_TMR_2SECONDS
Definition: gsm_04_08_gprs.h:170
GPRS_TMR_DEACTIVATED
@ GPRS_TMR_DEACTIVATED
Definition: gsm_04_08_gprs.h:173
GPRS_TMR_6MINUTE
@ GPRS_TMR_6MINUTE
Definition: gsm_04_08_gprs.h:172
GPRS_TMR_MINUTE
@ GPRS_TMR_MINUTE
Definition: gsm_04_08_gprs.h:171
gsm48_pdp_type_nr
gsm48_pdp_type_nr
Definition: gsm_04_08_gprs.h:318
PDP_TYPE_N_IETF_IPv4v6
@ PDP_TYPE_N_IETF_IPv4v6
Definition: gsm_04_08_gprs.h:323
PDP_TYPE_N_IETF_IPv4
@ PDP_TYPE_N_IETF_IPv4
Definition: gsm_04_08_gprs.h:321
PDP_TYPE_N_ETSI_RESERVED
@ PDP_TYPE_N_ETSI_RESERVED
Definition: gsm_04_08_gprs.h:319
PDP_TYPE_N_ETSI_PPP
@ PDP_TYPE_N_ETSI_PPP
Definition: gsm_04_08_gprs.h:320
PDP_TYPE_N_IETF_IPv6
@ PDP_TYPE_N_IETF_IPv6
Definition: gsm_04_08_gprs.h:322
gsm48_pdp_type_org
gsm48_pdp_type_org
Definition: gsm_04_08_gprs.h:313
PDP_TYPE_ORG_IETF
@ PDP_TYPE_ORG_IETF
Definition: gsm_04_08_gprs.h:315
PDP_TYPE_ORG_EMPTY
@ PDP_TYPE_ORG_EMPTY
Definition: gsm_04_08_gprs.h:316
PDP_TYPE_ORG_ETSI
@ PDP_TYPE_ORG_ETSI
Definition: gsm_04_08_gprs.h:314
gsm48_gprs_ie_mm
gsm48_gprs_ie_mm
Definition: gsm_04_08_gprs.h:83
GSM48_IE_GMM_CAUSE
@ GSM48_IE_GMM_CAUSE
Definition: gsm_04_08_gprs.h:102
GSM48_IE_GMM_MS_NET_CAPA
@ GSM48_IE_GMM_MS_NET_CAPA
Definition: gsm_04_08_gprs.h:109
GSM48_IE_GMM_PTMSI_TYPE
@ GSM48_IE_GMM_PTMSI_TYPE
Definition: gsm_04_08_gprs.h:88
GSM48_IE_GMM_TIMER_T3312_EXT
@ GSM48_IE_GMM_TIMER_T3312_EXT
Definition: gsm_04_08_gprs.h:113
GSM48_IE_GMM_TIMER_T3302
@ GSM48_IE_GMM_TIMER_T3302
Definition: gsm_04_08_gprs.h:107
GSM48_IE_GMM_CIPH_CKSN
@ GSM48_IE_GMM_CIPH_CKSN
Definition: gsm_04_08_gprs.h:84
GMM48_IE_GMM_TIMER_T3324
@ GMM48_IE_GMM_TIMER_T3324
Definition: gsm_04_08_gprs.h:118
GSM48_IE_GMM_TIMER_READY
@ GSM48_IE_GMM_TIMER_READY
Definition: gsm_04_08_gprs.h:93
GSM48_IE_GMM_TMSI_STATUS
@ GSM48_IE_GMM_TMSI_STATUS
Definition: gsm_04_08_gprs.h:85
GSM48_IE_GMM_RAI2
@ GSM48_IE_GMM_RAI2
Definition: gsm_04_08_gprs.h:97
GSM48_IE_GMM_MS_CLASSMARK2
@ GSM48_IE_GMM_MS_CLASSMARK2
Definition: gsm_04_08_gprs.h:91
GSM48_IE_GMM_AUTH_FAIL_PAR
@ GSM48_IE_GMM_AUTH_FAIL_PAR
Definition: gsm_04_08_gprs.h:108
GSM48_IE_GMM_AUTH_RES_EXT
@ GSM48_IE_GMM_AUTH_RES_EXT
Definition: gsm_04_08_gprs.h:106
GSM48_IE_GMM_TMSI_BASED_NRI_C
@ GSM48_IE_GMM_TMSI_BASED_NRI_C
Definition: gsm_04_08_gprs.h:90
GSM48_IE_GMM_GMM_MBMS_CTX_ST
@ GSM48_IE_GMM_GMM_MBMS_CTX_ST
Definition: gsm_04_08_gprs.h:112
GSM48_IE_GMM_PS_LCS_CAPA
@ GSM48_IE_GMM_PS_LCS_CAPA
Definition: gsm_04_08_gprs.h:111
GSM48_IE_GMM_DEVICE_PROP
@ GSM48_IE_GMM_DEVICE_PROP
Definition: gsm_04_08_gprs.h:87
GSM48_IE_GMM_UE_NET_CAP
@ GSM48_IE_GMM_UE_NET_CAP
Definition: gsm_04_08_gprs.h:116
GSM48_IE_GMM_EXT_DRX_PARAMS
@ GSM48_IE_GMM_EXT_DRX_PARAMS
Definition: gsm_04_08_gprs.h:119
GSM48_IE_GMM_PDP_CTX_STATUS
@ GSM48_IE_GMM_PDP_CTX_STATUS
Definition: gsm_04_08_gprs.h:110
GSM48_IE_GMM_SUPP_CODEC_LIST
@ GSM48_IE_GMM_SUPP_CODEC_LIST
Definition: gsm_04_08_gprs.h:115
GSM48_IE_GMM_AUTN
@ GSM48_IE_GMM_AUTN
Definition: gsm_04_08_gprs.h:105
GSM48_IE_GMM_IMEISV
@ GSM48_IE_GMM_IMEISV
Definition: gsm_04_08_gprs.h:101
GSM48_IE_GMM_AUTH_RAND
@ GSM48_IE_GMM_AUTH_RAND
Definition: gsm_04_08_gprs.h:99
GSM48_IE_GMM_OLD_LAI
@ GSM48_IE_GMM_OLD_LAI
Definition: gsm_04_08_gprs.h:92
GSM48_IE_GMM_TIMER_T3346
@ GSM48_IE_GMM_TIMER_T3346
Definition: gsm_04_08_gprs.h:114
GSM48_IE_GMM_DRX_PARAM
@ GSM48_IE_GMM_DRX_PARAM
Definition: gsm_04_08_gprs.h:104
GSM48_IE_GMM_VD_PREF_UE_USAGE
@ GSM48_IE_GMM_VD_PREF_UE_USAGE
Definition: gsm_04_08_gprs.h:117
GSM48_IE_GMM_MS_NET_FEAT_SUP
@ GSM48_IE_GMM_MS_NET_FEAT_SUP
Definition: gsm_04_08_gprs.h:86
GSM48_IE_GMM_MS_CLASSMARK3
@ GSM48_IE_GMM_MS_CLASSMARK3
Definition: gsm_04_08_gprs.h:98
GSM48_IE_GMM_PTMSI_SIG
@ GSM48_IE_GMM_PTMSI_SIG
Definition: gsm_04_08_gprs.h:95
GSM48_IE_GMM_ADD_UPDATE_TYPE
@ GSM48_IE_GMM_ADD_UPDATE_TYPE
Definition: gsm_04_08_gprs.h:89
GSM48_IE_GMM_ADD_IDENTITY
@ GSM48_IE_GMM_ADD_IDENTITY
Definition: gsm_04_08_gprs.h:96
GSM48_IE_GMM_NET_FEAT_SUPPORT
@ GSM48_IE_GMM_NET_FEAT_SUPPORT
Definition: gsm_04_08_gprs.h:120
GSM48_IE_GMM_AUTH_SRES
@ GSM48_IE_GMM_AUTH_SRES
Definition: gsm_04_08_gprs.h:100
GSM48_IE_GMM_RX_NPDU_NUM_LIST
@ GSM48_IE_GMM_RX_NPDU_NUM_LIST
Definition: gsm_04_08_gprs.h:103
GSM48_IE_GMM_ALLOC_PTMSI
@ GSM48_IE_GMM_ALLOC_PTMSI
Definition: gsm_04_08_gprs.h:94
gsm48_gmm_service_type
gsm48_gmm_service_type
Definition: gsm_04_08_gprs.h:475
GPRS_SERVICE_T_MBMS_MC_SERV
@ GPRS_SERVICE_T_MBMS_MC_SERV
Definition: gsm_04_08_gprs.h:479
GPRS_SERVICE_T_SIGNALLING
@ GPRS_SERVICE_T_SIGNALLING
Definition: gsm_04_08_gprs.h:476
GPRS_SERVICE_T_MBMS_BC_SERV
@ GPRS_SERVICE_T_MBMS_BC_SERV
Definition: gsm_04_08_gprs.h:480
GPRS_SERVICE_T_PAGING_RESP
@ GPRS_SERVICE_T_PAGING_RESP
Definition: gsm_04_08_gprs.h:478
GPRS_SERVICE_T_DATA
@ GPRS_SERVICE_T_DATA
Definition: gsm_04_08_gprs.h:477
data
uint8_t data[0]
Definition: gsm_04_08_gprs.h:2
gsm48_qos_mean_tput
gsm48_qos_mean_tput
Definition: gsm_04_08_gprs.h:388
GSM48_QOS_MEAN_TPUT_20000bph
@ GSM48_QOS_MEAN_TPUT_20000bph
Definition: gsm_04_08_gprs.h:396
GSM48_QOS_MEAN_TPUT_100kbph
@ GSM48_QOS_MEAN_TPUT_100kbph
Definition: gsm_04_08_gprs.h:398
GSM48_QOS_MEAN_TPUT_2Mbph
@ GSM48_QOS_MEAN_TPUT_2Mbph
Definition: gsm_04_08_gprs.h:402
GSM48_QOS_MEAN_TPUT_100bph
@ GSM48_QOS_MEAN_TPUT_100bph
Definition: gsm_04_08_gprs.h:389
GSM48_QOS_MEAN_TPUT_5Mbph
@ GSM48_QOS_MEAN_TPUT_5Mbph
Definition: gsm_04_08_gprs.h:403
GSM48_QOS_MEAN_TPUT_500bph
@ GSM48_QOS_MEAN_TPUT_500bph
Definition: gsm_04_08_gprs.h:391
GSM48_QOS_MEAN_TPUT_10000bph
@ GSM48_QOS_MEAN_TPUT_10000bph
Definition: gsm_04_08_gprs.h:395
GSM48_QOS_MEAN_TPUT_20Mbph
@ GSM48_QOS_MEAN_TPUT_20Mbph
Definition: gsm_04_08_gprs.h:405
GSM48_QOS_MEAN_TPUT_1Mbph
@ GSM48_QOS_MEAN_TPUT_1Mbph
Definition: gsm_04_08_gprs.h:401
GSM48_QOS_MEAN_TPUT_50000bph
@ GSM48_QOS_MEAN_TPUT_50000bph
Definition: gsm_04_08_gprs.h:397
GSM48_QOS_MEAN_TPUT_5000bph
@ GSM48_QOS_MEAN_TPUT_5000bph
Definition: gsm_04_08_gprs.h:394
GSM48_QOS_MEAN_TPUT_2000bph
@ GSM48_QOS_MEAN_TPUT_2000bph
Definition: gsm_04_08_gprs.h:393
GSM48_QOS_MEAN_TPUT_BEST_EFFORT
@ GSM48_QOS_MEAN_TPUT_BEST_EFFORT
Definition: gsm_04_08_gprs.h:407
GSM48_QOS_MEAN_TPUT_50Mbph
@ GSM48_QOS_MEAN_TPUT_50Mbph
Definition: gsm_04_08_gprs.h:406
GSM48_QOS_MEAN_TPUT_200kbph
@ GSM48_QOS_MEAN_TPUT_200kbph
Definition: gsm_04_08_gprs.h:399
GSM48_QOS_MEAN_TPUT_1000bph
@ GSM48_QOS_MEAN_TPUT_1000bph
Definition: gsm_04_08_gprs.h:392
GSM48_QOS_MEAN_TPUT_10Mbph
@ GSM48_QOS_MEAN_TPUT_10Mbph
Definition: gsm_04_08_gprs.h:404
GSM48_QOS_MEAN_TPUT_200bph
@ GSM48_QOS_MEAN_TPUT_200bph
Definition: gsm_04_08_gprs.h:390
GSM48_QOS_MEAN_TPUT_500kbph
@ GSM48_QOS_MEAN_TPUT_500kbph
Definition: gsm_04_08_gprs.h:400
gsm48_qos_reliab_class
gsm48_qos_reliab_class
Definition: gsm_04_08_gprs.h:360
GSM48_QOS_RC_LLC_UN_RLC_UN_DATA_UN
@ GSM48_QOS_RC_LLC_UN_RLC_UN_DATA_UN
Definition: gsm_04_08_gprs.h:364
GSM48_QOS_RC_LLC_UN_RLC_UN_PROT_DATA
@ GSM48_QOS_RC_LLC_UN_RLC_UN_PROT_DATA
Definition: gsm_04_08_gprs.h:363
GSM48_QOS_RC_LLC_UN_RLC_ACK_DATA_PROT
@ GSM48_QOS_RC_LLC_UN_RLC_ACK_DATA_PROT
Definition: gsm_04_08_gprs.h:362
GSM48_QOS_RC_LLC_ACK_RLC_ACK_DATA_PROT
@ GSM48_QOS_RC_LLC_ACK_RLC_ACK_DATA_PROT
Definition: gsm_04_08_gprs.h:361
__attribute__
enum gsm48_gprs_tmr_unit __attribute__
gsm48_act_pdp_ctx_req
Definition: gsm_04_08_gprs.h:228
gsm48_act_pdp_ctx_req::req_nsapi
uint8_t req_nsapi
Definition: gsm_04_08_gprs.h:229
gsm48_act_pdp_ctx_req::data
uint8_t data[0]
Definition: gsm_04_08_gprs.h:231
gsm48_act_pdp_ctx_req::req_llc_sapi
uint8_t req_llc_sapi
Definition: gsm_04_08_gprs.h:230
gsm48_attach_ack
Definition: gsm_04_08_gprs.h:180
gsm48_auth_ciph_req
Definition: gsm_04_08_gprs.h:199
gsm48_auth_ciph_resp
Definition: gsm_04_08_gprs.h:215
gsm48_pdp_address
Definition: gsm_04_08_gprs.h:329
gsm48_pdp_address::etsi
union gsm48_pdp_address::@71::@73 etsi
gsm48_pdp_address::type
uint8_t type
Definition: gsm_04_08_gprs.h:337
gsm48_pdp_address::v4
uint32_t v4
Definition: gsm_04_08_gprs.h:345
gsm48_pdp_address::v6
uint8_t v6[16]
Definition: gsm_04_08_gprs.h:348
gsm48_pdp_address::ietf
union gsm48_pdp_address::@71::@74 ietf
gsm48_qos
Definition: gsm_04_08_gprs.h:489
gsm48_qos::max_bitrate_up
uint8_t max_bitrate_up
Definition: gsm_04_08_gprs.h:508
gsm48_qos::deliv_order
uint8_t deliv_order
Definition: gsm_04_08_gprs.h:503
gsm48_qos::resid_ber
uint8_t resid_ber
Definition: gsm_04_08_gprs.h:513
gsm48_qos::traf_class
uint8_t traf_class
Definition: gsm_04_08_gprs.h:504
gsm48_qos::mean_tput
uint8_t mean_tput
Definition: gsm_04_08_gprs.h:499
gsm48_qos::deliv_err_sdu
uint8_t deliv_err_sdu
Definition: gsm_04_08_gprs.h:502
gsm48_qos::guar_bitrate_down
uint8_t guar_bitrate_down
Definition: gsm_04_08_gprs.h:520
gsm48_qos::max_bitrate_down_ext
uint8_t max_bitrate_down_ext
Definition: gsm_04_08_gprs.h:526
gsm48_qos::reliab_class
uint8_t reliab_class
Definition: gsm_04_08_gprs.h:491
gsm48_qos::max_sdu_size
uint8_t max_sdu_size
Definition: gsm_04_08_gprs.h:506
gsm48_qos::spare
uint8_t spare
Definition: gsm_04_08_gprs.h:493
gsm48_qos::handling_prio
uint8_t handling_prio
Definition: gsm_04_08_gprs.h:515
gsm48_qos::spare3
uint8_t spare3
Definition: gsm_04_08_gprs.h:500
gsm48_qos::guar_bitrate_down_ext
uint8_t guar_bitrate_down_ext
Definition: gsm_04_08_gprs.h:528
gsm48_qos::xfer_delay
uint8_t xfer_delay
Definition: gsm_04_08_gprs.h:516
gsm48_qos::preced_class
uint8_t preced_class
Definition: gsm_04_08_gprs.h:495
gsm48_qos::spare5
uint8_t spare5
Definition: gsm_04_08_gprs.h:524
gsm48_qos::sig_ind
uint8_t sig_ind
Definition: gsm_04_08_gprs.h:523
gsm48_qos::peak_tput
uint8_t peak_tput
Definition: gsm_04_08_gprs.h:497
gsm48_qos::src_stats_desc
uint8_t src_stats_desc
Definition: gsm_04_08_gprs.h:522
gsm48_qos::sdu_err_ratio
uint8_t sdu_err_ratio
Definition: gsm_04_08_gprs.h:512
gsm48_qos::guar_bitrate_up
uint8_t guar_bitrate_up
Definition: gsm_04_08_gprs.h:518
gsm48_qos::delay_class
uint8_t delay_class
Definition: gsm_04_08_gprs.h:492
gsm48_qos::max_bitrate_down
uint8_t max_bitrate_down
Definition: gsm_04_08_gprs.h:510
gsm48_qos::spare2
uint8_t spare2
Definition: gsm_04_08_gprs.h:496
gsm48_ra_id
Definition: gsm_04_08.h:2269
gsm48_ra_upd_ack
Definition: gsm_04_08_gprs.h:152
value_string