summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorMax <max.suraev@fairwaves.co>2014-06-10 19:04:59 +0200
committerSylvain Munaut <tnt@246tNt.com>2014-06-15 18:52:55 +0200
commitb0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e (patch)
treed9051a2166d61799ea4073c775d743315cc78fe9 /include/osmocom
parente28bc6876d127e1165dc7ad2ea96b585a1161ec6 (diff)
gsmtap: add LTE defines to GSMTAP v2
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/gsmtap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/osmocom/core/gsmtap.h b/include/osmocom/core/gsmtap.h
index c1c53d0c..4694219a 100644
--- a/include/osmocom/core/gsmtap.h
+++ b/include/osmocom/core/gsmtap.h
@@ -43,7 +43,7 @@
#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 */
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
@@ -135,6 +135,15 @@
#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
+
/* flags for the ARFCN */
#define GSMTAP_ARFCN_F_PCS 0x8000
#define GSMTAP_ARFCN_F_UPLINK 0x4000