summaryrefslogtreecommitdiff
path: root/src/lib/decoder/gsmtap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder/gsmtap.h')
-rw-r--r--src/lib/decoder/gsmtap.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/lib/decoder/gsmtap.h b/src/lib/decoder/gsmtap.h
deleted file mode 100644
index 1022194..0000000
--- a/src/lib/decoder/gsmtap.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef _GSMTAP_H
-#define _GSMTAP_H
-
-/* gsmtap header, pseudo-header in front of the actua GSM payload*/
-
-#include <sys/types.h>
-
-#define GSMTAP_VERSION 0x01
-
-#define GSMTAP_TYPE_UM 0x01
-#define GSMTAP_TYPE_ABIS 0x02
-#define GSMTAP_TYPE_UM_BURST 0x03 /* raw burst bits */
-
-#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
-
-struct gsmtap_hdr {
- u_int8_t version; /* version, set to 0x01 currently */
- u_int8_t hdr_len; /* length in number of 32bit words */
- u_int8_t type; /* see GSMTAP_TYPE_* */
- u_int8_t timeslot; /* timeslot (0..7 on Um) */
-
- u_int16_t arfcn; /* ARFCN (frequency) */
- u_int8_t noise_db; /* noise figure in dB */
- u_int8_t signal_db; /* signal level in dB */
-
- u_int32_t frame_number; /* GSM Frame Number (FN) */
-
- u_int8_t burst_type; /* Type of burst, see above */
- u_int8_t antenna_nr; /* Antenna Number */
- u_int16_t res; /* reserved for future use (RFU) */
-
-} __attribute__((packed));
-#endif /* _GSMTAP_H */
personal git repositories of Harald Welte. Your mileage may vary