gsmtap.h
Go to the documentation of this file.
#pragma once
#include <stdint.h>
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* The GSMTAP format definition is maintained in libosmocore,
* specifically the latest version can always be obtained from
* http://cgit.osmocom.org/cgit/libosmocore/tree/include/osmocom/core/gsmtap.h
*
* If you want to introduce new protocol/burst/channel types or extend
* GSMTAP in any way, please contact the GSMTAP maintainer at either the
* public openbsc@lists.osmocom.org mailing list, or privately at
* Harald Welte <laforge@gnumonks.org>.
*
* Your cooperation ensures that all projects will use the same GSMTAP
* definitions and remain compatible with each other.
*/
#define GSMTAP_VERSION 0x02
#define GSMTAP_TYPE_UM 0x01
#define GSMTAP_TYPE_ABIS 0x02
#define GSMTAP_TYPE_UM_BURST 0x03 /* raw burst bits */
#define GSMTAP_TYPE_SIM 0x04 /* ISO 7816 smart card interface */
#define GSMTAP_TYPE_TETRA_I1 0x05 /* tetra air interface */
#define GSMTAP_TYPE_TETRA_I1_BURST 0x06 /* tetra air interface */
#define GSMTAP_TYPE_WMX_BURST 0x07 /* WiMAX burst */
#define GSMTAP_TYPE_GB_LLC 0x08 /* GPRS Gb interface: LLC */
#define GSMTAP_TYPE_GB_SNDCP 0x09 /* GPRS Gb interface: SNDCP */
#define GSMTAP_TYPE_GMR1_UM 0x0a /* GMR-1 L2 packets */
#define GSMTAP_TYPE_UMTS_RLC_MAC 0x0b
#define GSMTAP_TYPE_UMTS_RRC 0x0c
#define GSMTAP_TYPE_LTE_RRC 0x0d /* LTE interface */
#define GSMTAP_TYPE_LTE_MAC 0x0e /* LTE MAC interface */
#define GSMTAP_TYPE_LTE_MAC_FRAMED 0x0f /* LTE MAC with context hdr */
#define GSMTAP_TYPE_OSMOCORE_LOG 0x10 /* libosmocore logging */
#define GSMTAP_TYPE_QC_DIAG 0x11 /* Qualcomm DIAG frame */
#define GSMTAP_TYPE_LTE_NAS 0x12 /* LTE Non-Access Stratum */
#define GSMTAP_TYPE_E1T1 0x13 /* E1/T1 Lines */
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for TYPE_UM_BURST */
#define GSMTAP_BURST_UNKNOWN 0x00
#define GSMTAP_BURST_FCCH 0x01
#define GSMTAP_BURST_PARTIAL_SCH 0x02
#define GSMTAP_BURST_SCH 0x03
#define GSMTAP_BURST_CTS_SCH 0x04
#define GSMTAP_BURST_COMPACT_SCH 0x05
#define GSMTAP_BURST_NORMAL 0x06
#define GSMTAP_BURST_DUMMY 0x07
#define GSMTAP_BURST_ACCESS 0x08
#define GSMTAP_BURST_NONE 0x09
/* WiMAX bursts */
#define GSMTAP_BURST_CDMA_CODE 0x10 /* WiMAX CDMA Code Attribute burst */
#define GSMTAP_BURST_FCH 0x11 /* WiMAX FCH burst */
#define GSMTAP_BURST_FFB 0x12 /* WiMAX Fast Feedback burst */
#define GSMTAP_BURST_PDU 0x13 /* WiMAX PDU burst */
#define GSMTAP_BURST_HACK 0x14 /* WiMAX HARQ ACK burst */
#define GSMTAP_BURST_PHY_ATTRIBUTES 0x15 /* WiMAX PHY Attributes burst */
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for TYPE_UM */
#define GSMTAP_CHANNEL_UNKNOWN 0x00
#define GSMTAP_CHANNEL_BCCH 0x01
#define GSMTAP_CHANNEL_CCCH 0x02
#define GSMTAP_CHANNEL_RACH 0x03
#define GSMTAP_CHANNEL_AGCH 0x04
#define GSMTAP_CHANNEL_PCH 0x05
#define GSMTAP_CHANNEL_SDCCH 0x06
#define GSMTAP_CHANNEL_SDCCH4 0x07
#define GSMTAP_CHANNEL_SDCCH8 0x08
#define GSMTAP_CHANNEL_FACCH_F 0x09 /* Actually, it's FACCH/F (signaling) */
#define GSMTAP_CHANNEL_FACCH_H 0x0a /* Actually, it's FACCH/H (signaling) */
#define GSMTAP_CHANNEL_PACCH 0x0b
#define GSMTAP_CHANNEL_CBCH52 0x0c
#define GSMTAP_CHANNEL_PDTCH 0x0d
/* for legacy reasons we use a mis-spelled name. PDCH is really the physical channel, but we use it as PDTCH */
#define GSMTAP_CHANNEL_PDCH GSMTAP_CHANNEL_PDTCH
#define GSMTAP_CHANNEL_PTCCH 0x0e
#define GSMTAP_CHANNEL_CBCH51 0x0f
#define GSMTAP_CHANNEL_VOICE_F 0x10 /* voice codec payload (FR/EFR/AMR) */
#define GSMTAP_CHANNEL_VOICE_H 0x11 /* voice codec payload (HR/AMR) */
#define GSMTAP_CHANNEL_TCH_F GSMTAP_CHANNEL_FACCH_F /* We used the wrong naming in 2008 when we were young */
#define GSMTAP_CHANNEL_TCH_H GSMTAP_CHANNEL_FACCH_H /* We used the wrong naming in 2008 when we were young */
/* GPRS Coding Scheme CS1..4 */
#define GSMTAP_GPRS_CS_BASE 0x20
#define GSMTAP_GPRS_CS(N) (GSMTAP_GPRS_CS_BASE + N)
/* (E) GPRS Coding Scheme MCS0..9 */
#define GSMTAP_GPRS_MCS_BASE 0x30
#define GSMTAP_GPRS_MCS(N) (GSMTAP_GPRS_MCS_BASE + N)
#define GSMTAP_CHANNEL_ACCH 0x80
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for GSMTAP_TYPE_SIM */
#define GSMTAP_SIM_APDU 0x00 /* APDU data (complete APDU) */
#define GSMTAP_SIM_ATR 0x01 /* card ATR data */
#define GSMTAP_SIM_PPS_REQ 0x02 /* PPS request data */
#define GSMTAP_SIM_PPS_RSP 0x03 /* PPS response data */
#define GSMTAP_SIM_TPDU_HDR 0x04 /* TPDU command header */
#define GSMTAP_SIM_TPDU_CMD 0x05 /* TPDU command body */
#define GSMTAP_SIM_TPDU_RSP 0x06 /* TPDU response body */
#define GSMTAP_SIM_TPDU_SW 0x07 /* TPDU response trailer */
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for TYPE_TETRA_AIR */
#define GSMTAP_TETRA_BSCH 0x01
#define GSMTAP_TETRA_AACH 0x02
#define GSMTAP_TETRA_SCH_HU 0x03
#define GSMTAP_TETRA_SCH_HD 0x04
#define GSMTAP_TETRA_SCH_F 0x05
#define GSMTAP_TETRA_BNCH 0x06
#define GSMTAP_TETRA_STCH 0x07
#define GSMTAP_TETRA_TCH_F 0x08
#define GSMTAP_TETRA_DMO_SCH_S 0x09
#define GSMTAP_TETRA_DMO_SCH_H 0x0a
#define GSMTAP_TETRA_DMO_SCH_F 0x0b
#define GSMTAP_TETRA_DMO_STCH 0x0c
#define GSMTAP_TETRA_DMO_TCH 0x0d
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for TYPE_GMR1_UM */
#define GSMTAP_GMR1_UNKNOWN 0x00
#define GSMTAP_GMR1_BCCH 0x01
#define GSMTAP_GMR1_CCCH 0x02 /* either AGCH or PCH */
#define GSMTAP_GMR1_PCH 0x03
#define GSMTAP_GMR1_AGCH 0x04
#define GSMTAP_GMR1_BACH 0x05
#define GSMTAP_GMR1_RACH 0x06
#define GSMTAP_GMR1_CBCH 0x07
#define GSMTAP_GMR1_SDCCH 0x08
#define GSMTAP_GMR1_TACCH 0x09
#define GSMTAP_GMR1_GBCH 0x0a
#define GSMTAP_GMR1_SACCH 0x01 /* to be combined with _TCH{6,9} */
#define GSMTAP_GMR1_FACCH 0x02 /* to be combines with _TCH{3,6,9} */
#define GSMTAP_GMR1_DKAB 0x03 /* to be combined with _TCH3 */
#define GSMTAP_GMR1_TCH3 0x10
#define GSMTAP_GMR1_TCH6 0x14
#define GSMTAP_GMR1_TCH9 0x18
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
#define GSMTAP_UMTS_CH_PCCH 0x01
#define GSMTAP_UMTS_CH_CCCH 0x02
#define GSMTAP_UMTS_CH_DCCH 0x03
/* sub-types for TYPE_LTE_RRC */
#define GSMTAP_LTE_CH_BCCH 0x01
#define GSMTAP_LTE_CH_CCCH 0x02
#define GSMTAP_LTE_CH_DCCH 0x03
#define GSMTAP_LTE_CH_MCCH 0x04
#define GSMTAP_LTE_CH_PCCH 0x05
#define GSMTAP_LTE_CH_DTCH 0x06
#define GSMTAP_LTE_CH_MTCH 0x07
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/* sub-types for TYPE_E1T1 */
#define GSMTAP_E1T1_LAPD 0x01 /* Q.921 LAPD */
#define GSMTAP_E1T1_FR 0x02 /* Frame Relay */
#define GSMTAP_E1T1_RAW 0x03 /* raw/transparent B-channel */
#define GSMTAP_E1T1_TRAU16 0x04 /* 16k TRAU frames; sub-slot 0-3 */
#define GSMTAP_E1T1_TRAU8 0x05 /* 8k TRAU frames; sub-slot 0-7 */
/* flags for the ARFCN */
#define GSMTAP_ARFCN_F_PCS 0x8000
#define GSMTAP_ARFCN_F_UPLINK 0x4000
#define GSMTAP_ARFCN_MASK 0x3fff
/* IANA-assigned well-known UDP port for GSMTAP messages */
#define GSMTAP_UDP_PORT 4729
/* UMTS RRC message types */
enum {
GSMTAP_RRC_SUB_DL_DCCH_Message = 0,
GSMTAP_RRC_SUB_UL_DCCH_Message,
GSMTAP_RRC_SUB_DL_CCCH_Message,
GSMTAP_RRC_SUB_UL_CCCH_Message,
GSMTAP_RRC_SUB_PCCH_Message,
GSMTAP_RRC_SUB_DL_SHCCH_Message,
GSMTAP_RRC_SUB_UL_SHCCH_Message,
GSMTAP_RRC_SUB_BCCH_FACH_Message,
GSMTAP_RRC_SUB_BCCH_BCH_Message,
GSMTAP_RRC_SUB_MCCH_Message,
GSMTAP_RRC_SUB_MSCH_Message,
GSMTAP_RRC_SUB_HandoverToUTRANCommand,
GSMTAP_RRC_SUB_InterRATHandoverInfo,
GSMTAP_RRC_SUB_SystemInformation_BCH,
GSMTAP_RRC_SUB_System_Information_Container,
GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo,
GSMTAP_RRC_SUB_MasterInformationBlock,
GSMTAP_RRC_SUB_SysInfoType1,
GSMTAP_RRC_SUB_SysInfoType2,
GSMTAP_RRC_SUB_SysInfoType3,
GSMTAP_RRC_SUB_SysInfoType4,
GSMTAP_RRC_SUB_SysInfoType5,
GSMTAP_RRC_SUB_SysInfoType5bis,
GSMTAP_RRC_SUB_SysInfoType6,
GSMTAP_RRC_SUB_SysInfoType7,
GSMTAP_RRC_SUB_SysInfoType8,
GSMTAP_RRC_SUB_SysInfoType9,
GSMTAP_RRC_SUB_SysInfoType10,
GSMTAP_RRC_SUB_SysInfoType11,
GSMTAP_RRC_SUB_SysInfoType11bis,
GSMTAP_RRC_SUB_SysInfoType12,
GSMTAP_RRC_SUB_SysInfoType13,
GSMTAP_RRC_SUB_SysInfoType13_1,
GSMTAP_RRC_SUB_SysInfoType13_2,
GSMTAP_RRC_SUB_SysInfoType13_3,
GSMTAP_RRC_SUB_SysInfoType13_4,
GSMTAP_RRC_SUB_SysInfoType14,
GSMTAP_RRC_SUB_SysInfoType15,
GSMTAP_RRC_SUB_SysInfoType15bis,
GSMTAP_RRC_SUB_SysInfoType15_1,
GSMTAP_RRC_SUB_SysInfoType15_1bis,
GSMTAP_RRC_SUB_SysInfoType15_2,
GSMTAP_RRC_SUB_SysInfoType15_2bis,
GSMTAP_RRC_SUB_SysInfoType15_2ter,
GSMTAP_RRC_SUB_SysInfoType15_3,
GSMTAP_RRC_SUB_SysInfoType15_3bis,
GSMTAP_RRC_SUB_SysInfoType15_4,
GSMTAP_RRC_SUB_SysInfoType15_5,
GSMTAP_RRC_SUB_SysInfoType15_6,
GSMTAP_RRC_SUB_SysInfoType15_7,
GSMTAP_RRC_SUB_SysInfoType15_8,
GSMTAP_RRC_SUB_SysInfoType16,
GSMTAP_RRC_SUB_SysInfoType17,
GSMTAP_RRC_SUB_SysInfoType18,
GSMTAP_RRC_SUB_SysInfoType19,
GSMTAP_RRC_SUB_SysInfoType20,
GSMTAP_RRC_SUB_SysInfoType21,
GSMTAP_RRC_SUB_SysInfoType22,
GSMTAP_RRC_SUB_SysInfoTypeSB1,
GSMTAP_RRC_SUB_SysInfoTypeSB2,
GSMTAP_RRC_SUB_ToTargetRNC_Container,
GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container,
GSMTAP_RRC_SUB_MAX
};
/* LTE RRC message types */
enum {
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message = 0,
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message,
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message,
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message,
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message,
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message,
GSMTAP_LTE_RRC_SUB_PCCH_Message,
GSMTAP_LTE_RRC_SUB_MCCH_Message,
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS,
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR,
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS,
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message,
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message,
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X,
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB,
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB,
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB,
GSMTAP_LTE_RRC_SUB_PCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB,
GSMTAP_LTE_RRC_SUB_MAX
};
/* LTE NAS message types */
enum {
GSMTAP_LTE_NAS_PLAIN = 0,
GSMTAP_LTE_NAS_SEC_HEADER,
GSMTAP_LTE_NAS_SUB_MAX
};
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
struct gsmtap_hdr {
uint8_t version;
uint8_t hdr_len;
uint8_t type;
uint8_t timeslot;
uint16_t arfcn;
int8_t signal_dbm;
int8_t snr_db;
uint32_t frame_number;
uint8_t sub_type;
uint8_t antenna_nr;
uint8_t sub_slot;
uint8_t res;
} __attribute__((packed));
struct gsmtap_osmocore_log_hdr {
struct {
uint32_t sec;
uint32_t usec;
} ts;
char proc_name[16];
uint32_t pid;
uint8_t level;
uint8_t _pad[3];
/* TODO: color */
char subsys[16];
struct {
char name[32];
uint32_t line_nr;
} src_file;
} __attribute__((packed));
enum gsmtap_um_voice_type {
GSMTAP_UM_VOICE_HR,
GSMTAP_UM_VOICE_FR,
GSMTAP_UM_VOICE_EFR,
GSMTAP_UM_VOICE_AMR,
/* TODO: Revisit the types below; their usage; ... */
GSMTAP_UM_VOICE_AMR_SID_BAD,
GSMTAP_UM_VOICE_AMR_ONSET,
GSMTAP_UM_VOICE_AMR_RATSCCH,
GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH,
GSMTAP_UM_VOICE_AMR_SID_FIRST_P1,
GSMTAP_UM_VOICE_AMR_SID_FIRST_P2,
GSMTAP_UM_VOICE_AMR_SID_FIRST_INH,
GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER,
GSMTAP_UM_VOICE_AMR_RATSCCH_DATA,
};
gsmtap_um_voice_type
gsmtap_um_voice_type
First byte of type==GSMTAP_TYPE_UM sub_type==GSMTAP_CHANNEL_VOICE payload.
Definition: gsmtap.h:336
GSMTAP_UM_VOICE_AMR_RATSCCH_DATA
@ GSMTAP_UM_VOICE_AMR_RATSCCH_DATA
Definition: gsmtap.h:355
GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH
@ GSMTAP_UM_VOICE_AMR_SID_UPDATE_INH
Definition: gsmtap.h:350
GSMTAP_UM_VOICE_AMR_ONSET
@ GSMTAP_UM_VOICE_AMR_ONSET
Definition: gsmtap.h:348
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:343
GSMTAP_UM_VOICE_AMR
@ GSMTAP_UM_VOICE_AMR
1 byte TOC + 5..31 bytes = 6..32 bytes payload; RFC4867 octet-aligned
Definition: gsmtap.h:345
GSMTAP_UM_VOICE_AMR_SID_FIRST_INH
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_INH
Definition: gsmtap.h:353
GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER
@ GSMTAP_UM_VOICE_AMR_RATSCCH_MARKER
Definition: gsmtap.h:354
GSMTAP_UM_VOICE_AMR_RATSCCH
@ GSMTAP_UM_VOICE_AMR_RATSCCH
Definition: gsmtap.h:349
GSMTAP_UM_VOICE_AMR_SID_FIRST_P2
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_P2
Definition: gsmtap.h:352
GSMTAP_UM_VOICE_AMR_SID_FIRST_P1
@ GSMTAP_UM_VOICE_AMR_SID_FIRST_P1
Definition: gsmtap.h:351
GSMTAP_UM_VOICE_AMR_SID_BAD
@ GSMTAP_UM_VOICE_AMR_SID_BAD
Definition: gsmtap.h:347
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:339
GSMTAP_UM_VOICE_FR
@ GSMTAP_UM_VOICE_FR
33 payload bytes; Reference is RFC3551 Section 4.5.8.1
Definition: gsmtap.h:341
GSMTAP_LTE_RRC_SUB_MCCH_Message
@ GSMTAP_LTE_RRC_SUB_MCCH_Message
Definition: gsmtap.h:268
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB
Definition: gsmtap.h:280
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR
Definition: gsmtap.h:270
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message
@ GSMTAP_LTE_RRC_SUB_DL_CCCH_Message
Definition: gsmtap.h:261
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB
Definition: gsmtap.h:275
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message
@ GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message
Definition: gsmtap.h:273
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB
Definition: gsmtap.h:281
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message
@ GSMTAP_LTE_RRC_SUB_DL_DCCH_Message
Definition: gsmtap.h:262
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X
@ GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X
Definition: gsmtap.h:274
GSMTAP_LTE_RRC_SUB_MAX
@ GSMTAP_LTE_RRC_SUB_MAX
Definition: gsmtap.h:285
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS
Definition: gsmtap.h:269
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB
Definition: gsmtap.h:277
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message
@ GSMTAP_LTE_RRC_SUB_SC_MCCH_Message
Definition: gsmtap.h:272
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message
@ GSMTAP_LTE_RRC_SUB_UL_CCCH_Message
Definition: gsmtap.h:263
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS
Definition: gsmtap.h:271
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message
@ GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message
Definition: gsmtap.h:266
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB
Definition: gsmtap.h:278
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message
@ GSMTAP_LTE_RRC_SUB_UL_DCCH_Message
Definition: gsmtap.h:264
GSMTAP_LTE_RRC_SUB_PCCH_Message
@ GSMTAP_LTE_RRC_SUB_PCCH_Message
Definition: gsmtap.h:267
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB
Definition: gsmtap.h:276
GSMTAP_LTE_RRC_SUB_PCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_PCCH_Message_NB
Definition: gsmtap.h:282
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB
Definition: gsmtap.h:279
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB
@ GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB
Definition: gsmtap.h:283
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message
@ GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message
Definition: gsmtap.h:265
GSMTAP_LTE_NAS_SUB_MAX
@ GSMTAP_LTE_NAS_SUB_MAX
Definition: gsmtap.h:293
GSMTAP_LTE_NAS_SEC_HEADER
@ GSMTAP_LTE_NAS_SEC_HEADER
Definition: gsmtap.h:291
GSMTAP_LTE_NAS_PLAIN
@ GSMTAP_LTE_NAS_PLAIN
Definition: gsmtap.h:290
__attribute__
enum gsmtap_um_voice_type __attribute__
GSMTAP_RRC_SUB_SysInfoTypeSB1
@ GSMTAP_RRC_SUB_SysInfoTypeSB1
Definition: gsmtap.h:251
GSMTAP_RRC_SUB_SysInfoType18
@ GSMTAP_RRC_SUB_SysInfoType18
Definition: gsmtap.h:246
GSMTAP_RRC_SUB_SysInfoType13_2
@ GSMTAP_RRC_SUB_SysInfoType13_2
Definition: gsmtap.h:226
GSMTAP_RRC_SUB_System_Information_Container
@ GSMTAP_RRC_SUB_System_Information_Container
Definition: gsmtap.h:207
GSMTAP_RRC_SUB_SysInfoType21
@ GSMTAP_RRC_SUB_SysInfoType21
Definition: gsmtap.h:249
GSMTAP_RRC_SUB_SysInfoType11bis
@ GSMTAP_RRC_SUB_SysInfoType11bis
Definition: gsmtap.h:222
GSMTAP_RRC_SUB_SysInfoType4
@ GSMTAP_RRC_SUB_SysInfoType4
Definition: gsmtap.h:213
GSMTAP_RRC_SUB_SysInfoType15_7
@ GSMTAP_RRC_SUB_SysInfoType15_7
Definition: gsmtap.h:242
GSMTAP_RRC_SUB_SysInfoType11
@ GSMTAP_RRC_SUB_SysInfoType11
Definition: gsmtap.h:221
GSMTAP_RRC_SUB_SysInfoType3
@ GSMTAP_RRC_SUB_SysInfoType3
Definition: gsmtap.h:212
GSMTAP_RRC_SUB_UL_DCCH_Message
@ GSMTAP_RRC_SUB_UL_DCCH_Message
Definition: gsmtap.h:194
GSMTAP_RRC_SUB_SysInfoType16
@ GSMTAP_RRC_SUB_SysInfoType16
Definition: gsmtap.h:244
GSMTAP_RRC_SUB_MasterInformationBlock
@ GSMTAP_RRC_SUB_MasterInformationBlock
Definition: gsmtap.h:209
GSMTAP_RRC_SUB_InterRATHandoverInfo
@ GSMTAP_RRC_SUB_InterRATHandoverInfo
Definition: gsmtap.h:205
GSMTAP_RRC_SUB_SystemInformation_BCH
@ GSMTAP_RRC_SUB_SystemInformation_BCH
Definition: gsmtap.h:206
GSMTAP_RRC_SUB_PCCH_Message
@ GSMTAP_RRC_SUB_PCCH_Message
Definition: gsmtap.h:197
GSMTAP_RRC_SUB_SysInfoType14
@ GSMTAP_RRC_SUB_SysInfoType14
Definition: gsmtap.h:229
GSMTAP_RRC_SUB_MAX
@ GSMTAP_RRC_SUB_MAX
Definition: gsmtap.h:256
GSMTAP_RRC_SUB_UL_CCCH_Message
@ GSMTAP_RRC_SUB_UL_CCCH_Message
Definition: gsmtap.h:196
GSMTAP_RRC_SUB_SysInfoType2
@ GSMTAP_RRC_SUB_SysInfoType2
Definition: gsmtap.h:211
GSMTAP_RRC_SUB_SysInfoType15_2
@ GSMTAP_RRC_SUB_SysInfoType15_2
Definition: gsmtap.h:234
GSMTAP_RRC_SUB_SysInfoType5bis
@ GSMTAP_RRC_SUB_SysInfoType5bis
Definition: gsmtap.h:215
GSMTAP_RRC_SUB_SysInfoType15_6
@ GSMTAP_RRC_SUB_SysInfoType15_6
Definition: gsmtap.h:241
GSMTAP_RRC_SUB_BCCH_BCH_Message
@ GSMTAP_RRC_SUB_BCCH_BCH_Message
Definition: gsmtap.h:201
GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container
@ GSMTAP_RRC_SUB_TargetRNC_ToSourceRNC_Container
Definition: gsmtap.h:254
GSMTAP_RRC_SUB_SysInfoType13
@ GSMTAP_RRC_SUB_SysInfoType13
Definition: gsmtap.h:224
GSMTAP_RRC_SUB_SysInfoType15_4
@ GSMTAP_RRC_SUB_SysInfoType15_4
Definition: gsmtap.h:239
GSMTAP_RRC_SUB_DL_SHCCH_Message
@ GSMTAP_RRC_SUB_DL_SHCCH_Message
Definition: gsmtap.h:198
GSMTAP_RRC_SUB_SysInfoType5
@ GSMTAP_RRC_SUB_SysInfoType5
Definition: gsmtap.h:214
GSMTAP_RRC_SUB_SysInfoType7
@ GSMTAP_RRC_SUB_SysInfoType7
Definition: gsmtap.h:217
GSMTAP_RRC_SUB_SysInfoType15bis
@ GSMTAP_RRC_SUB_SysInfoType15bis
Definition: gsmtap.h:231
GSMTAP_RRC_SUB_SysInfoType13_3
@ GSMTAP_RRC_SUB_SysInfoType13_3
Definition: gsmtap.h:227
GSMTAP_RRC_SUB_SysInfoType15_1bis
@ GSMTAP_RRC_SUB_SysInfoType15_1bis
Definition: gsmtap.h:233
GSMTAP_RRC_SUB_SysInfoType15_2bis
@ GSMTAP_RRC_SUB_SysInfoType15_2bis
Definition: gsmtap.h:235
GSMTAP_RRC_SUB_MCCH_Message
@ GSMTAP_RRC_SUB_MCCH_Message
Definition: gsmtap.h:202
GSMTAP_RRC_SUB_SysInfoType15_2ter
@ GSMTAP_RRC_SUB_SysInfoType15_2ter
Definition: gsmtap.h:236
GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo
@ GSMTAP_RRC_SUB_UE_RadioAccessCapabilityInfo
Definition: gsmtap.h:208
GSMTAP_RRC_SUB_SysInfoType10
@ GSMTAP_RRC_SUB_SysInfoType10
Definition: gsmtap.h:220
GSMTAP_RRC_SUB_SysInfoType13_4
@ GSMTAP_RRC_SUB_SysInfoType13_4
Definition: gsmtap.h:228
GSMTAP_RRC_SUB_SysInfoType19
@ GSMTAP_RRC_SUB_SysInfoType19
Definition: gsmtap.h:247
GSMTAP_RRC_SUB_SysInfoType17
@ GSMTAP_RRC_SUB_SysInfoType17
Definition: gsmtap.h:245
GSMTAP_RRC_SUB_SysInfoType1
@ GSMTAP_RRC_SUB_SysInfoType1
Definition: gsmtap.h:210
GSMTAP_RRC_SUB_ToTargetRNC_Container
@ GSMTAP_RRC_SUB_ToTargetRNC_Container
Definition: gsmtap.h:253
GSMTAP_RRC_SUB_DL_CCCH_Message
@ GSMTAP_RRC_SUB_DL_CCCH_Message
Definition: gsmtap.h:195
GSMTAP_RRC_SUB_SysInfoType22
@ GSMTAP_RRC_SUB_SysInfoType22
Definition: gsmtap.h:250
GSMTAP_RRC_SUB_DL_DCCH_Message
@ GSMTAP_RRC_SUB_DL_DCCH_Message
Definition: gsmtap.h:193
GSMTAP_RRC_SUB_SysInfoType15_3
@ GSMTAP_RRC_SUB_SysInfoType15_3
Definition: gsmtap.h:237
GSMTAP_RRC_SUB_SysInfoType15_1
@ GSMTAP_RRC_SUB_SysInfoType15_1
Definition: gsmtap.h:232
GSMTAP_RRC_SUB_SysInfoType15_5
@ GSMTAP_RRC_SUB_SysInfoType15_5
Definition: gsmtap.h:240
GSMTAP_RRC_SUB_SysInfoType12
@ GSMTAP_RRC_SUB_SysInfoType12
Definition: gsmtap.h:223
GSMTAP_RRC_SUB_HandoverToUTRANCommand
@ GSMTAP_RRC_SUB_HandoverToUTRANCommand
Definition: gsmtap.h:204
GSMTAP_RRC_SUB_SysInfoType15
@ GSMTAP_RRC_SUB_SysInfoType15
Definition: gsmtap.h:230
GSMTAP_RRC_SUB_SysInfoType20
@ GSMTAP_RRC_SUB_SysInfoType20
Definition: gsmtap.h:248
GSMTAP_RRC_SUB_SysInfoType6
@ GSMTAP_RRC_SUB_SysInfoType6
Definition: gsmtap.h:216
GSMTAP_RRC_SUB_SysInfoType15_8
@ GSMTAP_RRC_SUB_SysInfoType15_8
Definition: gsmtap.h:243
GSMTAP_RRC_SUB_SysInfoType15_3bis
@ GSMTAP_RRC_SUB_SysInfoType15_3bis
Definition: gsmtap.h:238
GSMTAP_RRC_SUB_SysInfoTypeSB2
@ GSMTAP_RRC_SUB_SysInfoTypeSB2
Definition: gsmtap.h:252
GSMTAP_RRC_SUB_SysInfoType9
@ GSMTAP_RRC_SUB_SysInfoType9
Definition: gsmtap.h:219
GSMTAP_RRC_SUB_BCCH_FACH_Message
@ GSMTAP_RRC_SUB_BCCH_FACH_Message
Definition: gsmtap.h:200
GSMTAP_RRC_SUB_SysInfoType13_1
@ GSMTAP_RRC_SUB_SysInfoType13_1
Definition: gsmtap.h:225
GSMTAP_RRC_SUB_UL_SHCCH_Message
@ GSMTAP_RRC_SUB_UL_SHCCH_Message
Definition: gsmtap.h:199
GSMTAP_RRC_SUB_MSCH_Message
@ GSMTAP_RRC_SUB_MSCH_Message
Definition: gsmtap.h:203
GSMTAP_RRC_SUB_SysInfoType8
@ GSMTAP_RRC_SUB_SysInfoType8
Definition: gsmtap.h:218
gsmtap_hdr
Structure of the GSMTAP pseudo-header.
Definition: gsmtap.h:298
gsmtap_hdr::signal_dbm
int8_t signal_dbm
signal level in dBm
Definition: gsmtap.h:305
gsmtap_hdr::frame_number
uint32_t frame_number
GSM Frame Number (FN)
Definition: gsmtap.h:308
gsmtap_hdr::snr_db
int8_t snr_db
signal/noise ratio in dB
Definition: gsmtap.h:306
gsmtap_hdr::timeslot
uint8_t timeslot
timeslot (0..7 on Um)
Definition: gsmtap.h:302
gsmtap_hdr::version
uint8_t version
version, set to 0x01 currently
Definition: gsmtap.h:299
gsmtap_hdr::res
uint8_t res
reserved for future use (RFU)
Definition: gsmtap.h:313
gsmtap_hdr::sub_slot
uint8_t sub_slot
sub-slot within timeslot
Definition: gsmtap.h:312
gsmtap_hdr::type
uint8_t type
see GSMTAP_TYPE_*
Definition: gsmtap.h:301
gsmtap_hdr::hdr_len
uint8_t hdr_len
length in number of 32bit words
Definition: gsmtap.h:300
gsmtap_hdr::antenna_nr
uint8_t antenna_nr
Antenna Number.
Definition: gsmtap.h:311
gsmtap_hdr::arfcn
uint16_t arfcn
ARFCN (frequency)
Definition: gsmtap.h:304
gsmtap_hdr::sub_type
uint8_t sub_type
Type of burst/channel, see above.
Definition: gsmtap.h:310
gsmtap_osmocore_log_hdr
Structure of the GSMTAP libosmocore logging header.
Definition: gsmtap.h:318
gsmtap_osmocore_log_hdr::pid
uint32_t pid
process ID
Definition: gsmtap.h:324
gsmtap_osmocore_log_hdr::line_nr
uint32_t line_nr
line number
Definition: gsmtap.h:331
gsmtap_osmocore_log_hdr::_pad
uint8_t _pad[3]
Definition: gsmtap.h:326
gsmtap_osmocore_log_hdr::subsys
char subsys[16]
logging sub-system
Definition: gsmtap.h:328
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:330
gsmtap_osmocore_log_hdr::usec
uint32_t usec
Definition: gsmtap.h:321
gsmtap_osmocore_log_hdr::sec
uint32_t sec
Definition: gsmtap.h:320
gsmtap_osmocore_log_hdr::proc_name
char proc_name[16]
name of process
Definition: gsmtap.h:323
gsmtap_osmocore_log_hdr::level
uint8_t level
logging level
Definition: gsmtap.h:325
gsmtap_osmocore_log_hdr::src_file
struct gsmtap_osmocore_log_hdr::@5 src_file