Change in libosmocore[master]: gsmtap: Add definitions for E1/T1 payload (LAPD, TRAU, FR) in GSMTAP

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 20 20:07:03 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19745 )

Change subject: gsmtap: Add definitions for E1/T1 payload (LAPD, TRAU, FR) in GSMTAP
......................................................................

gsmtap: Add definitions for E1/T1 payload (LAPD, TRAU, FR) in GSMTAP

Change-Id: Ie22eac9a881fe0822f8abc9de73620b93b1f2b37
---
M include/osmocom/core/gsmtap.h
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/include/osmocom/core/gsmtap.h b/include/osmocom/core/gsmtap.h
index 82e9525..11b2d13 100644
--- a/include/osmocom/core/gsmtap.h
+++ b/include/osmocom/core/gsmtap.h
@@ -48,6 +48,7 @@
 #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 ===== */
 
@@ -171,6 +172,14 @@
 #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

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19745
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie22eac9a881fe0822f8abc9de73620b93b1f2b37
Gerrit-Change-Number: 19745
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200820/80c5e90d/attachment.htm>


More information about the gerrit-log mailing list