libosmocore 1.13.1.1-afb4 Osmocom core library

gsmtap.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <stdint.h>
15
16/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
17
18/* The GSMTAP format definition is maintained in libosmocore,
19 * specifically the latest version can always be obtained from
20 * http://cgit.osmocom.org/cgit/libosmocore/tree/include/osmocom/core/gsmtap.h
21 *
22 * If you want to introduce new protocol/burst/channel types or extend
23 * GSMTAP in any way, please contact the GSMTAP maintainer at either the
24 * public openbsc@lists.osmocom.org mailing list, or privately at
25 * Harald Welte <laforge@gnumonks.org>.
26 *
27 * Your cooperation ensures that all projects will use the same GSMTAP
28 * definitions and remain compatible with each other.
29 */
30
31#define GSMTAP_VERSION 0x02
32
33#define GSMTAP_TYPE_UM 0x01
34#define GSMTAP_TYPE_ABIS 0x02
35#define GSMTAP_TYPE_UM_BURST 0x03 /* raw burst bits */
36#define GSMTAP_TYPE_SIM 0x04 /* ISO 7816 smart card interface */
37#define GSMTAP_TYPE_TETRA_I1 0x05 /* tetra air interface */
38#define GSMTAP_TYPE_TETRA_I1_BURST 0x06 /* tetra air interface */
39#define GSMTAP_TYPE_WMX_BURST 0x07 /* WiMAX burst */
40#define GSMTAP_TYPE_GB_LLC 0x08 /* GPRS Gb interface: LLC */
41#define GSMTAP_TYPE_GB_SNDCP 0x09 /* GPRS Gb interface: SNDCP */
42#define GSMTAP_TYPE_GMR1_UM 0x0a /* GMR-1 L2 packets */
43#define GSMTAP_TYPE_UMTS_RLC_MAC 0x0b
44#define GSMTAP_TYPE_UMTS_RRC 0x0c
45#define GSMTAP_TYPE_LTE_RRC 0x0d /* LTE interface */
46#define GSMTAP_TYPE_LTE_MAC 0x0e /* LTE MAC interface */
47#define GSMTAP_TYPE_LTE_MAC_FRAMED 0x0f /* LTE MAC with context hdr */
48#define GSMTAP_TYPE_OSMOCORE_LOG 0x10 /* libosmocore logging */
49#define GSMTAP_TYPE_QC_DIAG 0x11 /* Qualcomm DIAG frame */
50#define GSMTAP_TYPE_LTE_NAS 0x12 /* LTE Non-Access Stratum */
51#define GSMTAP_TYPE_E1T1 0x13 /* E1/T1 Lines */
52#define GSMTAP_TYPE_GSM_RLP 0x14 /* GSM RLP frames as per 3GPP TS 24.022 */
53
54/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
55
56/* sub-types for TYPE_UM_BURST */
57#define GSMTAP_BURST_UNKNOWN 0x00
58#define GSMTAP_BURST_FCCH 0x01
59#define GSMTAP_BURST_PARTIAL_SCH 0x02
60#define GSMTAP_BURST_SCH 0x03
61#define GSMTAP_BURST_CTS_SCH 0x04
62#define GSMTAP_BURST_COMPACT_SCH 0x05
63#define GSMTAP_BURST_NORMAL 0x06
64#define GSMTAP_BURST_DUMMY 0x07
65#define GSMTAP_BURST_ACCESS 0x08
66#define GSMTAP_BURST_NONE 0x09
67/* WiMAX bursts */
68#define GSMTAP_BURST_CDMA_CODE 0x10 /* WiMAX CDMA Code Attribute burst */
69#define GSMTAP_BURST_FCH 0x11 /* WiMAX FCH burst */
70#define GSMTAP_BURST_FFB 0x12 /* WiMAX Fast Feedback burst */
71#define GSMTAP_BURST_PDU 0x13 /* WiMAX PDU burst */
72#define GSMTAP_BURST_HACK 0x14 /* WiMAX HARQ ACK burst */
73#define GSMTAP_BURST_PHY_ATTRIBUTES 0x15 /* WiMAX PHY Attributes burst */
74
75/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
76
77/* sub-types for TYPE_UM */
78#define GSMTAP_CHANNEL_UNKNOWN 0x00
79#define GSMTAP_CHANNEL_BCCH 0x01
80#define GSMTAP_CHANNEL_CCCH 0x02
81#define GSMTAP_CHANNEL_RACH 0x03
82#define GSMTAP_CHANNEL_AGCH 0x04
83#define GSMTAP_CHANNEL_PCH 0x05
84#define GSMTAP_CHANNEL_SDCCH 0x06
85#define GSMTAP_CHANNEL_SDCCH4 0x07
86#define GSMTAP_CHANNEL_SDCCH8 0x08
87#define GSMTAP_CHANNEL_FACCH_F 0x09 /* Actually, it's FACCH/F (signaling) */
88#define GSMTAP_CHANNEL_FACCH_H 0x0a /* Actually, it's FACCH/H (signaling) */
89#define GSMTAP_CHANNEL_PACCH 0x0b
90#define GSMTAP_CHANNEL_CBCH52 0x0c
91#define GSMTAP_CHANNEL_PDTCH 0x0d
92/* for legacy reasons we use a mis-spelled name. PDCH is really the physical channel, but we use it as PDTCH */
93#define GSMTAP_CHANNEL_PDCH GSMTAP_CHANNEL_PDTCH
94#define GSMTAP_CHANNEL_PTCCH 0x0e
95#define GSMTAP_CHANNEL_CBCH51 0x0f
96#define GSMTAP_CHANNEL_VOICE_F 0x10 /* voice codec payload (FR/EFR/AMR) */
97#define GSMTAP_CHANNEL_VOICE_H 0x11 /* voice codec payload (HR/AMR) */
98#define GSMTAP_CHANNEL_TCH_F GSMTAP_CHANNEL_FACCH_F /* We used the wrong naming in 2008 when we were young */
99#define GSMTAP_CHANNEL_TCH_H GSMTAP_CHANNEL_FACCH_H /* We used the wrong naming in 2008 when we were young */
100
101/* GPRS Coding Scheme CS1..4 */
102#define GSMTAP_GPRS_CS_BASE 0x20
103#define GSMTAP_GPRS_CS(N) (GSMTAP_GPRS_CS_BASE + N)
104/* (E) GPRS Coding Scheme MCS0..9 */
105#define GSMTAP_GPRS_MCS_BASE 0x30
106#define GSMTAP_GPRS_MCS(N) (GSMTAP_GPRS_MCS_BASE + N)
107
108#define GSMTAP_CHANNEL_ACCH 0x80
109
110/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
111
112/* sub-types for GSMTAP_TYPE_SIM */
113#define GSMTAP_SIM_APDU 0x00 /* APDU data (complete APDU) */
114#define GSMTAP_SIM_ATR 0x01 /* card ATR data */
115#define GSMTAP_SIM_PPS_REQ 0x02 /* PPS request data */
116#define GSMTAP_SIM_PPS_RSP 0x03 /* PPS response data */
117#define GSMTAP_SIM_TPDU_HDR 0x04 /* TPDU command header */
118#define GSMTAP_SIM_TPDU_CMD 0x05 /* TPDU command body */
119#define GSMTAP_SIM_TPDU_RSP 0x06 /* TPDU response body */
120#define GSMTAP_SIM_TPDU_SW 0x07 /* TPDU response trailer */
121
122/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
123
124/* sub-types for TYPE_TETRA_AIR */
125#define GSMTAP_TETRA_BSCH 0x01
126#define GSMTAP_TETRA_AACH 0x02
127#define GSMTAP_TETRA_SCH_HU 0x03
128#define GSMTAP_TETRA_SCH_HD 0x04
129#define GSMTAP_TETRA_SCH_F 0x05
130#define GSMTAP_TETRA_BNCH 0x06
131#define GSMTAP_TETRA_STCH 0x07
132#define GSMTAP_TETRA_TCH_F 0x08
133#define GSMTAP_TETRA_DMO_SCH_S 0x09
134#define GSMTAP_TETRA_DMO_SCH_H 0x0a
135#define GSMTAP_TETRA_DMO_SCH_F 0x0b
136#define GSMTAP_TETRA_DMO_STCH 0x0c
137#define GSMTAP_TETRA_DMO_TCH 0x0d
138
139/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
140
141/* sub-types for TYPE_GMR1_UM */
142#define GSMTAP_GMR1_UNKNOWN 0x00
143#define GSMTAP_GMR1_BCCH 0x01
144#define GSMTAP_GMR1_CCCH 0x02 /* either AGCH or PCH */
145#define GSMTAP_GMR1_PCH 0x03
146#define GSMTAP_GMR1_AGCH 0x04
147#define GSMTAP_GMR1_BACH 0x05
148#define GSMTAP_GMR1_RACH 0x06
149#define GSMTAP_GMR1_CBCH 0x07
150#define GSMTAP_GMR1_SDCCH 0x08
151#define GSMTAP_GMR1_TACCH 0x09
152#define GSMTAP_GMR1_GBCH 0x0a
153
154#define GSMTAP_GMR1_SACCH 0x01 /* to be combined with _TCH{6,9} */
155#define GSMTAP_GMR1_FACCH 0x02 /* to be combines with _TCH{3,6,9} */
156#define GSMTAP_GMR1_DKAB 0x03 /* to be combined with _TCH3 */
157#define GSMTAP_GMR1_TCH3 0x10
158#define GSMTAP_GMR1_TCH6 0x14
159#define GSMTAP_GMR1_TCH9 0x18
160
161/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
162
163#define GSMTAP_UMTS_CH_PCCH 0x01
164#define GSMTAP_UMTS_CH_CCCH 0x02
165#define GSMTAP_UMTS_CH_DCCH 0x03
166
167/* sub-types for TYPE_LTE_RRC */
168#define GSMTAP_LTE_CH_BCCH 0x01
169#define GSMTAP_LTE_CH_CCCH 0x02
170#define GSMTAP_LTE_CH_DCCH 0x03
171#define GSMTAP_LTE_CH_MCCH 0x04
172#define GSMTAP_LTE_CH_PCCH 0x05
173#define GSMTAP_LTE_CH_DTCH 0x06
174#define GSMTAP_LTE_CH_MTCH 0x07
175
176/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
177/* sub-types for TYPE_E1T1 */
178#define GSMTAP_E1T1_LAPD 0x01 /* Q.921 LAPD */
179#define GSMTAP_E1T1_FR 0x02 /* Frame Relay */
180#define GSMTAP_E1T1_RAW 0x03 /* raw/transparent B-channel */
181#define GSMTAP_E1T1_TRAU16 0x04 /* 16k TRAU frames; sub-slot 0-3 */
182#define GSMTAP_E1T1_TRAU8 0x05 /* 8k TRAU frames; sub-slot 0-7 */
183#define GSMTAP_E1T1_V5EF 0x06 /* V5 Envelope Function */
184#define GSMTAP_E1T1_X75 0x07 /* X.75 B-channel data */
185#define GSMTAP_E1T1_V120 0x08 /* V.120 B-channel data */
186#define GSMTAP_E1T1_V110 0x09 /* V.110 B-channel data */
187#define GSMTAP_E1T1_H221 0x0a /* H.221 B-channel data */
188#define GSMTAP_E1T1_PPP 0x0b /* PPP */
189
190/* flags for the ARFCN */
191#define GSMTAP_ARFCN_F_PCS 0x8000
192#define GSMTAP_ARFCN_F_UPLINK 0x4000
193#define GSMTAP_ARFCN_MASK 0x3fff
194
195/* IANA-assigned well-known UDP port for GSMTAP messages */
196#define GSMTAP_UDP_PORT 4729
197
198/* UMTS RRC message types */
199 enum {
200 GSMTAP_RRC_SUB_DL_DCCH_Message = 0,
201 GSMTAP_RRC_SUB_UL_DCCH_Message,
202 GSMTAP_RRC_SUB_DL_CCCH_Message,
203 GSMTAP_RRC_SUB_UL_CCCH_Message,
204 GSMTAP_RRC_SUB_PCCH_Message,
205 GSMTAP_RRC_SUB_DL_SHCCH_Message,
206 GSMTAP_RRC_SUB_UL_SHCCH_Message,
207 GSMTAP_RRC_SUB_BCCH_FACH_Message,
208 GSMTAP_RRC_SUB_BCCH_BCH_Message,
209 GSMTAP_RRC_SUB_MCCH_Message,
210 GSMTAP_RRC_SUB_MSCH_Message,
211 GSMTAP_RRC_SUB_HandoverToUTRANCommand,
212 GSMTAP_RRC_SUB_InterRATHandoverInfo,
213 GSMTAP_RRC_SUB_SystemInformation_BCH,
214 GSMTAP_RRC_SUB_System_Information_Container,
215 GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo,
216 GSMTAP_RRC_SUB_MasterInformationBlock,
217 GSMTAP_RRC_SUB_SysInfoType1,
218 GSMTAP_RRC_SUB_SysInfoType2,
219 GSMTAP_RRC_SUB_SysInfoType3,
220 GSMTAP_RRC_SUB_SysInfoType4,
221 GSMTAP_RRC_SUB_SysInfoType5,
222 GSMTAP_RRC_SUB_SysInfoType5bis,
223 GSMTAP_RRC_SUB_SysInfoType6,
224 GSMTAP_RRC_SUB_SysInfoType7,
225 GSMTAP_RRC_SUB_SysInfoType8,
226 GSMTAP_RRC_SUB_SysInfoType9,
227 GSMTAP_RRC_SUB_SysInfoType10,
228 GSMTAP_RRC_SUB_SysInfoType11,
229 GSMTAP_RRC_SUB_SysInfoType11bis,
230 GSMTAP_RRC_SUB_SysInfoType12,
231 GSMTAP_RRC_SUB_SysInfoType13,
232 GSMTAP_RRC_SUB_SysInfoType13_1,
233 GSMTAP_RRC_SUB_SysInfoType13_2,
234 GSMTAP_RRC_SUB_SysInfoType13_3,
235 GSMTAP_RRC_SUB_SysInfoType13_4,
236 GSMTAP_RRC_SUB_SysInfoType14,
237 GSMTAP_RRC_SUB_SysInfoType15,
238 GSMTAP_RRC_SUB_SysInfoType15bis,
239 GSMTAP_RRC_SUB_SysInfoType15_1,
240 GSMTAP_RRC_SUB_SysInfoType15_1bis,
241 GSMTAP_RRC_SUB_SysInfoType15_2,
242 GSMTAP_RRC_SUB_SysInfoType15_2bis,
243 GSMTAP_RRC_SUB_SysInfoType15_2ter,
244 GSMTAP_RRC_SUB_SysInfoType15_3,
245 GSMTAP_RRC_SUB_SysInfoType15_3bis,
246 GSMTAP_RRC_SUB_SysInfoType15_4,
247 GSMTAP_RRC_SUB_SysInfoType15_5,
248 GSMTAP_RRC_SUB_SysInfoType15_6,
249 GSMTAP_RRC_SUB_SysInfoType15_7,
250 GSMTAP_RRC_SUB_SysInfoType15_8,
251 GSMTAP_RRC_SUB_SysInfoType16,
252 GSMTAP_RRC_SUB_SysInfoType17,
253 GSMTAP_RRC_SUB_SysInfoType18,
254 GSMTAP_RRC_SUB_SysInfoType19,
255 GSMTAP_RRC_SUB_SysInfoType20,
256 GSMTAP_RRC_SUB_SysInfoType21,
257 GSMTAP_RRC_SUB_SysInfoType22,
258 GSMTAP_RRC_SUB_SysInfoTypeSB1,
259 GSMTAP_RRC_SUB_SysInfoTypeSB2,
260 GSMTAP_RRC_SUB_ToTargetRNC_Container,
261 GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container,
262
263 GSMTAP_RRC_SUB_MAX
264};
265
266/* LTE RRC message types */
267 enum {
268 GSMTAP_LTE_RRC_SUB_DL_CCCH_Message = 0,
269 GSMTAP_LTE_RRC_SUB_DL_DCCH_Message,
270 GSMTAP_LTE_RRC_SUB_UL_CCCH_Message,
271 GSMTAP_LTE_RRC_SUB_UL_DCCH_Message,
272 GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message,
273 GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message,
274 GSMTAP_LTE_RRC_SUB_PCCH_Message,
275 GSMTAP_LTE_RRC_SUB_MCCH_Message,
276 GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS,
277 GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR,
278 GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS,
279 GSMTAP_LTE_RRC_SUB_SC_MCCH_Message,
280 GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message,
281 GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X,
282 GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB,
283 GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB,
284 GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB,
285 GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB,
286 GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB,
287 GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB,
288 GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB,
289 GSMTAP_LTE_RRC_SUB_PCCH_Message_NB,
290 GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB,
291
292 GSMTAP_LTE_RRC_SUB_MAX
293};
294
295/* LTE NAS message types */
296 enum {
297 GSMTAP_LTE_NAS_PLAIN = 0,
298 GSMTAP_LTE_NAS_SEC_HEADER,
299
300 GSMTAP_LTE_NAS_SUB_MAX
301};
302
303/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
305 struct gsmtap_hdr {
306 uint8_t version;
307 uint8_t hdr_len;
308 uint8_t type;
309 uint8_t timeslot;
311 uint16_t arfcn;
312 int8_t signal_dbm;
313 int8_t snr_db;
315 uint32_t frame_number;
317 uint8_t sub_type;
318 uint8_t antenna_nr;
319 uint8_t sub_slot;
320 uint8_t res;
322} __attribute__((packed));
323
325 struct gsmtap_osmocore_log_hdr {
326 struct {
327 uint32_t sec;
328 uint32_t usec;
329 } ts;
330 char proc_name[16];
331 uint32_t pid;
332 uint8_t level;
333 uint8_t _pad[3];
334 /* TODO: color */
335 char subsys[16];
336 struct {
337 char name[32];
338 uint32_t line_nr;
339 } src_file;
340} __attribute__((packed));
341
343 enum gsmtap_um_voice_type {
346 GSMTAP_UM_VOICE_HR,
348 GSMTAP_UM_VOICE_FR,
350 GSMTAP_UM_VOICE_EFR,
352 GSMTAP_UM_VOICE_AMR,
353 /* TODO: Revisit the types below; their usage; ... */
354 GSMTAP_UM_VOICE_AMR_SID_BAD,
355 GSMTAP_UM_VOICE_AMR_ONSET,
356 GSMTAP_UM_VOICE_AMR_RATSCCH,
357 GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH,
358 GSMTAP_UM_VOICE_AMR_SID_FIRST_P1,
359 GSMTAP_UM_VOICE_AMR_SID_FIRST_P2,
360 GSMTAP_UM_VOICE_AMR_SID_FIRST_INH,
361 GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER,
362 GSMTAP_UM_VOICE_AMR_RATSCCH_DATA,
363};
gsmtap_um_voice_type
gsmtap_um_voice_type
First byte of type==GSMTAP_TYPE_UM sub_type==GSMTAP_CHANNEL_VOICE payload.
Definition: gsmtap.h:343
GSMTAP_UM_VOICE_AMR_RATSCCH_DATA
@ GSMTAP_UM_VOICE_AMR_RATSCCH_DATA
Definition: gsmtap.h:362
GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH
@ GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH
Definition: gsmtap.h:357
GSMTAP_UM_VOICE_AMR_ONSET
@ GSMTAP_UM_VOICE_AMR_ONSET
Definition: gsmtap.h:355
GSMTAP_UM_VOICE_EFR
@ GSMTAP_UM_VOICE_EFR
31 payload bytes; Reference is RFC3551 Section 4.5.9 + ETSI TS 101 318
Definition: gsmtap.h:350
GSMTAP_UM_VOICE_AMR
@ GSMTAP_UM_VOICE_AMR
1 byte TOC + 5..31 bytes = 6..32 bytes payload; RFC4867 octet-aligned
Definition: gsmtap.h:352
GSMTAP_UM_VOICE_AMR_SID_FIRST_INH
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_INH
Definition: gsmtap.h:360
GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER
@ GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER
Definition: gsmtap.h:361
GSMTAP_UM_VOICE_AMR_RATSCCH
@ GSMTAP_UM_VOICE_AMR_RATSCCH
Definition: gsmtap.h:356
GSMTAP_UM_VOICE_AMR_SID_FIRST_P2
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_P2
Definition: gsmtap.h:359
GSMTAP_UM_VOICE_AMR_SID_FIRST_P1
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_P1
Definition: gsmtap.h:358
GSMTAP_UM_VOICE_AMR_SID_BAD
@ GSMTAP_UM_VOICE_AMR_SID_BAD
Definition: gsmtap.h:354
GSMTAP_UM_VOICE_HR
@ GSMTAP_UM_VOICE_HR
1 byte TOC + 112 bits (14 octets) = 15 octets payload; Reference is RFC5993 Section 5....
Definition: gsmtap.h:346
GSMTAP_UM_VOICE_FR
@ GSMTAP_UM_VOICE_FR
33 payload bytes; Reference is RFC3551 Section 4.5.8.1
Definition: gsmtap.h:348
GSMTAP_LTE_RRC_SUB_MCCH_Message
@ GSMTAP_LTE_RRC_SUB_MCCH_Message
Definition: gsmtap.h:275
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB
Definition: gsmtap.h:287
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR
Definition: gsmtap.h:277
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message
@ GSMTAP_LTE_RRC_SUB_DL_CCCH_Message
Definition: gsmtap.h:268
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB
Definition: gsmtap.h:282
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message
@ GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message
Definition: gsmtap.h:280
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB
Definition: gsmtap.h:288
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message
@ GSMTAP_LTE_RRC_SUB_DL_DCCH_Message
Definition: gsmtap.h:269
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X
@ GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X
Definition: gsmtap.h:281
GSMTAP_LTE_RRC_SUB_MAX
@ GSMTAP_LTE_RRC_SUB_MAX
Definition: gsmtap.h:292
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS
Definition: gsmtap.h:276
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB
Definition: gsmtap.h:284
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message
@ GSMTAP_LTE_RRC_SUB_SC_MCCH_Message
Definition: gsmtap.h:279
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message
@ GSMTAP_LTE_RRC_SUB_UL_CCCH_Message
Definition: gsmtap.h:270
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS
Definition: gsmtap.h:278
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message
Definition: gsmtap.h:273
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB
Definition: gsmtap.h:285
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message
@ GSMTAP_LTE_RRC_SUB_UL_DCCH_Message
Definition: gsmtap.h:271
GSMTAP_LTE_RRC_SUB_PCCH_Message
@ GSMTAP_LTE_RRC_SUB_PCCH_Message
Definition: gsmtap.h:274
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB
Definition: gsmtap.h:283
GSMTAP_LTE_RRC_SUB_PCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_PCCH_Message_NB
Definition: gsmtap.h:289
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB
Definition: gsmtap.h:286
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB
Definition: gsmtap.h:290
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message
Definition: gsmtap.h:272
GSMTAP_LTE_NAS_SUB_MAX
@ GSMTAP_LTE_NAS_SUB_MAX
Definition: gsmtap.h:300
GSMTAP_LTE_NAS_SEC_HEADER
@ GSMTAP_LTE_NAS_SEC_HEADER
Definition: gsmtap.h:298
GSMTAP_LTE_NAS_PLAIN
@ GSMTAP_LTE_NAS_PLAIN
Definition: gsmtap.h:297
__attribute__
enum gsmtap_um_voice_type __attribute__
GSMTAP_RRC_SUB_SysInfoTypeSB1
@ GSMTAP_RRC_SUB_SysInfoTypeSB1
Definition: gsmtap.h:258
GSMTAP_RRC_SUB_SysInfoType18
@ GSMTAP_RRC_SUB_SysInfoType18
Definition: gsmtap.h:253
GSMTAP_RRC_SUB_SysInfoType13_2
@ GSMTAP_RRC_SUB_SysInfoType13_2
Definition: gsmtap.h:233
GSMTAP_RRC_SUB_System_Information_Container
@ GSMTAP_RRC_SUB_System_Information_Container
Definition: gsmtap.h:214
GSMTAP_RRC_SUB_SysInfoType21
@ GSMTAP_RRC_SUB_SysInfoType21
Definition: gsmtap.h:256
GSMTAP_RRC_SUB_SysInfoType11bis
@ GSMTAP_RRC_SUB_SysInfoType11bis
Definition: gsmtap.h:229
GSMTAP_RRC_SUB_SysInfoType4
@ GSMTAP_RRC_SUB_SysInfoType4
Definition: gsmtap.h:220
GSMTAP_RRC_SUB_SysInfoType15_7
@ GSMTAP_RRC_SUB_SysInfoType15_7
Definition: gsmtap.h:249
GSMTAP_RRC_SUB_SysInfoType11
@ GSMTAP_RRC_SUB_SysInfoType11
Definition: gsmtap.h:228
GSMTAP_RRC_SUB_SysInfoType3
@ GSMTAP_RRC_SUB_SysInfoType3
Definition: gsmtap.h:219
GSMTAP_RRC_SUB_UL_DCCH_Message
@ GSMTAP_RRC_SUB_UL_DCCH_Message
Definition: gsmtap.h:201
GSMTAP_RRC_SUB_SysInfoType16
@ GSMTAP_RRC_SUB_SysInfoType16
Definition: gsmtap.h:251
GSMTAP_RRC_SUB_MasterInformationBlock
@ GSMTAP_RRC_SUB_MasterInformationBlock
Definition: gsmtap.h:216
GSMTAP_RRC_SUB_InterRATHandoverInfo
@ GSMTAP_RRC_SUB_InterRATHandoverInfo
Definition: gsmtap.h:212
GSMTAP_RRC_SUB_SystemInformation_BCH
@ GSMTAP_RRC_SUB_SystemInformation_BCH
Definition: gsmtap.h:213
GSMTAP_RRC_SUB_PCCH_Message
@ GSMTAP_RRC_SUB_PCCH_Message
Definition: gsmtap.h:204
GSMTAP_RRC_SUB_SysInfoType14
@ GSMTAP_RRC_SUB_SysInfoType14
Definition: gsmtap.h:236
GSMTAP_RRC_SUB_MAX
@ GSMTAP_RRC_SUB_MAX
Definition: gsmtap.h:263
GSMTAP_RRC_SUB_UL_CCCH_Message
@ GSMTAP_RRC_SUB_UL_CCCH_Message
Definition: gsmtap.h:203
GSMTAP_RRC_SUB_SysInfoType2
@ GSMTAP_RRC_SUB_SysInfoType2
Definition: gsmtap.h:218
GSMTAP_RRC_SUB_SysInfoType15_2
@ GSMTAP_RRC_SUB_SysInfoType15_2
Definition: gsmtap.h:241
GSMTAP_RRC_SUB_SysInfoType5bis
@ GSMTAP_RRC_SUB_SysInfoType5bis
Definition: gsmtap.h:222
GSMTAP_RRC_SUB_SysInfoType15_6
@ GSMTAP_RRC_SUB_SysInfoType15_6
Definition: gsmtap.h:248
GSMTAP_RRC_SUB_BCCH_BCH_Message
@ GSMTAP_RRC_SUB_BCCH_BCH_Message
Definition: gsmtap.h:208
GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container
@ GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container
Definition: gsmtap.h:261
GSMTAP_RRC_SUB_SysInfoType13
@ GSMTAP_RRC_SUB_SysInfoType13
Definition: gsmtap.h:231
GSMTAP_RRC_SUB_SysInfoType15_4
@ GSMTAP_RRC_SUB_SysInfoType15_4
Definition: gsmtap.h:246
GSMTAP_RRC_SUB_DL_SHCCH_Message
@ GSMTAP_RRC_SUB_DL_SHCCH_Message
Definition: gsmtap.h:205
GSMTAP_RRC_SUB_SysInfoType5
@ GSMTAP_RRC_SUB_SysInfoType5
Definition: gsmtap.h:221
GSMTAP_RRC_SUB_SysInfoType7
@ GSMTAP_RRC_SUB_SysInfoType7
Definition: gsmtap.h:224
GSMTAP_RRC_SUB_SysInfoType15bis
@ GSMTAP_RRC_SUB_SysInfoType15bis
Definition: gsmtap.h:238
GSMTAP_RRC_SUB_SysInfoType13_3
@ GSMTAP_RRC_SUB_SysInfoType13_3
Definition: gsmtap.h:234
GSMTAP_RRC_SUB_SysInfoType15_1bis
@ GSMTAP_RRC_SUB_SysInfoType15_1bis
Definition: gsmtap.h:240
GSMTAP_RRC_SUB_SysInfoType15_2bis
@ GSMTAP_RRC_SUB_SysInfoType15_2bis
Definition: gsmtap.h:242
GSMTAP_RRC_SUB_MCCH_Message
@ GSMTAP_RRC_SUB_MCCH_Message
Definition: gsmtap.h:209
GSMTAP_RRC_SUB_SysInfoType15_2ter
@ GSMTAP_RRC_SUB_SysInfoType15_2ter
Definition: gsmtap.h:243
GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo
@ GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo
Definition: gsmtap.h:215
GSMTAP_RRC_SUB_SysInfoType10
@ GSMTAP_RRC_SUB_SysInfoType10
Definition: gsmtap.h:227
GSMTAP_RRC_SUB_SysInfoType13_4
@ GSMTAP_RRC_SUB_SysInfoType13_4
Definition: gsmtap.h:235
GSMTAP_RRC_SUB_SysInfoType19
@ GSMTAP_RRC_SUB_SysInfoType19
Definition: gsmtap.h:254
GSMTAP_RRC_SUB_SysInfoType17
@ GSMTAP_RRC_SUB_SysInfoType17
Definition: gsmtap.h:252
GSMTAP_RRC_SUB_SysInfoType1
@ GSMTAP_RRC_SUB_SysInfoType1
Definition: gsmtap.h:217
GSMTAP_RRC_SUB_ToTargetRNC_Container
@ GSMTAP_RRC_SUB_ToTargetRNC_Container
Definition: gsmtap.h:260
GSMTAP_RRC_SUB_DL_CCCH_Message
@ GSMTAP_RRC_SUB_DL_CCCH_Message
Definition: gsmtap.h:202
GSMTAP_RRC_SUB_SysInfoType22
@ GSMTAP_RRC_SUB_SysInfoType22
Definition: gsmtap.h:257
GSMTAP_RRC_SUB_DL_DCCH_Message
@ GSMTAP_RRC_SUB_DL_DCCH_Message
Definition: gsmtap.h:200
GSMTAP_RRC_SUB_SysInfoType15_3
@ GSMTAP_RRC_SUB_SysInfoType15_3
Definition: gsmtap.h:244
GSMTAP_RRC_SUB_SysInfoType15_1
@ GSMTAP_RRC_SUB_SysInfoType15_1
Definition: gsmtap.h:239
GSMTAP_RRC_SUB_SysInfoType15_5
@ GSMTAP_RRC_SUB_SysInfoType15_5
Definition: gsmtap.h:247
GSMTAP_RRC_SUB_SysInfoType12
@ GSMTAP_RRC_SUB_SysInfoType12
Definition: gsmtap.h:230
GSMTAP_RRC_SUB_HandoverToUTRANCommand
@ GSMTAP_RRC_SUB_HandoverToUTRANCommand
Definition: gsmtap.h:211
GSMTAP_RRC_SUB_SysInfoType15
@ GSMTAP_RRC_SUB_SysInfoType15
Definition: gsmtap.h:237
GSMTAP_RRC_SUB_SysInfoType20
@ GSMTAP_RRC_SUB_SysInfoType20
Definition: gsmtap.h:255
GSMTAP_RRC_SUB_SysInfoType6
@ GSMTAP_RRC_SUB_SysInfoType6
Definition: gsmtap.h:223
GSMTAP_RRC_SUB_SysInfoType15_8
@ GSMTAP_RRC_SUB_SysInfoType15_8
Definition: gsmtap.h:250
GSMTAP_RRC_SUB_SysInfoType15_3bis
@ GSMTAP_RRC_SUB_SysInfoType15_3bis
Definition: gsmtap.h:245
GSMTAP_RRC_SUB_SysInfoTypeSB2
@ GSMTAP_RRC_SUB_SysInfoTypeSB2
Definition: gsmtap.h:259
GSMTAP_RRC_SUB_SysInfoType9
@ GSMTAP_RRC_SUB_SysInfoType9
Definition: gsmtap.h:226
GSMTAP_RRC_SUB_BCCH_FACH_Message
@ GSMTAP_RRC_SUB_BCCH_FACH_Message
Definition: gsmtap.h:207
GSMTAP_RRC_SUB_SysInfoType13_1
@ GSMTAP_RRC_SUB_SysInfoType13_1
Definition: gsmtap.h:232
GSMTAP_RRC_SUB_UL_SHCCH_Message
@ GSMTAP_RRC_SUB_UL_SHCCH_Message
Definition: gsmtap.h:206
GSMTAP_RRC_SUB_MSCH_Message
@ GSMTAP_RRC_SUB_MSCH_Message
Definition: gsmtap.h:210
GSMTAP_RRC_SUB_SysInfoType8
@ GSMTAP_RRC_SUB_SysInfoType8
Definition: gsmtap.h:225
gsmtap_hdr
Structure of the GSMTAP pseudo-header.
Definition: gsmtap.h:305
gsmtap_hdr::signal_dbm
int8_t signal_dbm
signal level in dBm
Definition: gsmtap.h:312
gsmtap_hdr::frame_number
uint32_t frame_number
GSM Frame Number (FN)
Definition: gsmtap.h:315
gsmtap_hdr::snr_db
int8_t snr_db
signal/noise ratio in dB
Definition: gsmtap.h:313
gsmtap_hdr::timeslot
uint8_t timeslot
timeslot (0..7 on Um)
Definition: gsmtap.h:309
gsmtap_hdr::version
uint8_t version
version, set to GSMTAP_VERSION
Definition: gsmtap.h:306
gsmtap_hdr::res
uint8_t res
reserved for future use (RFU)
Definition: gsmtap.h:320
gsmtap_hdr::sub_slot
uint8_t sub_slot
sub-slot within timeslot
Definition: gsmtap.h:319
gsmtap_hdr::type
uint8_t type
see GSMTAP_TYPE_*
Definition: gsmtap.h:308
gsmtap_hdr::hdr_len
uint8_t hdr_len
length in number of 32bit words
Definition: gsmtap.h:307
gsmtap_hdr::antenna_nr
uint8_t antenna_nr
Antenna Number.
Definition: gsmtap.h:318
gsmtap_hdr::arfcn
uint16_t arfcn
ARFCN (frequency)
Definition: gsmtap.h:311
gsmtap_hdr::sub_type
uint8_t sub_type
Type of burst/channel, see above.
Definition: gsmtap.h:317
gsmtap_osmocore_log_hdr
Structure of the GSMTAP libosmocore logging header.
Definition: gsmtap.h:325
gsmtap_osmocore_log_hdr::pid
uint32_t pid
process ID
Definition: gsmtap.h:331
gsmtap_osmocore_log_hdr::line_nr
uint32_t line_nr
line number
Definition: gsmtap.h:338
gsmtap_osmocore_log_hdr::_pad
uint8_t _pad[3]
Definition: gsmtap.h:333
gsmtap_osmocore_log_hdr::subsys
char subsys[16]
logging sub-system
Definition: gsmtap.h:335
gsmtap_osmocore_log_hdr::ts
struct gsmtap_osmocore_log_hdr::@4 ts
gsmtap_osmocore_log_hdr::name
char name[32]
source file name
Definition: gsmtap.h:337
gsmtap_osmocore_log_hdr::usec
uint32_t usec
Definition: gsmtap.h:328
gsmtap_osmocore_log_hdr::sec
uint32_t sec
Definition: gsmtap.h:327
gsmtap_osmocore_log_hdr::proc_name
char proc_name[16]
name of process
Definition: gsmtap.h:330
gsmtap_osmocore_log_hdr::level
uint8_t level
logging level
Definition: gsmtap.h:332
gsmtap_osmocore_log_hdr::src_file
struct gsmtap_osmocore_log_hdr::@5 src_file