From patchwork Tue Jun 10 17:04:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max X-Patchwork-Id: 358067 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 757811400B8 for ; Wed, 11 Jun 2014 03:06:51 +1000 (EST) Received: from localhost ([127.0.0.1] helo=ganesha.gnumonks.org) by ganesha.gnumonks.org with esmtp (Exim 4.72) (envelope-from ) id 1WuPUz-0007HA-Ak; Tue, 10 Jun 2014 19:06:13 +0200 Received: from hylle05.itea.ntnu.no ([2001:700:300:3::225]) by ganesha.gnumonks.org with esmtp (Exim 4.72) (envelope-from ) id 1WuPTu-0007H4-1l for baseband-devel@lists.osmocom.org; Tue, 10 Jun 2014 19:05:09 +0200 Received: from localhost (localhost [127.0.0.1]) by hylle05.itea.ntnu.no (Postfix) with ESMTP id 398279095FA for ; Tue, 10 Jun 2014 19:05:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle05.itea.ntnu.no Received: from alumnimail.it.ntnu.no (alumnimail.it.ntnu.no [129.241.18.22]) by hylle05.itea.ntnu.no (Postfix) with ESMTP id 78D779095E8 for ; Tue, 10 Jun 2014 19:05:03 +0200 (CEST) Received: from localhost (nat.sec.t-labs.tu-berlin.de [130.149.230.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: suraev) by alumnimail.it.ntnu.no (Postfix) with ESMTPSA id 1C4A8580533 for ; Tue, 10 Jun 2014 19:05:03 +0200 (CEST) From: Max Suraev To: baseband-devel@lists.osmocom.org Subject: [PATCH] add LTE defines to GSMTAP v2 Date: Tue, 10 Jun 2014 19:04:59 +0200 Message-Id: <1402419899-24862-1-git-send-email-Max.Suraev@fairwaves.co> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1402405812-2281-1-git-send-email-Max.Suraev@fairwaves.co> References: <1402405812-2281-1-git-send-email-Max.Suraev@fairwaves.co> X-Spam-Score: 0.0 (/) X-BeenThere: baseband-devel@lists.osmocom.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development discussion about Osmocom BaseBand List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: baseband-devel-bounces@lists.osmocom.org Errors-To: baseband-devel-bounces@lists.osmocom.org --- include/osmocom/core/gsmtap.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Signed-off-by: Sylvain Munaut diff --git a/include/osmocom/core/gsmtap.h b/include/osmocom/core/gsmtap.h index c1c53d0..5fac711 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