2009-02-03 21:30:36 +00:00
|
|
|
/* packet-dect.c
|
|
|
|
*
|
|
|
|
* Dissector for the Digital Enhanced Cordless Telecommunications
|
|
|
|
* protocol.
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright 2008-2009:
|
2010-06-11 16:11:42 +00:00
|
|
|
* - Andreas Schuler <andreas (A) schulerdev.de>
|
2009-02-03 21:30:36 +00:00
|
|
|
* - Matthias Wenzel <dect (A) mazzoo.de>
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2009-02-11 07:46:39 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2009-02-03 21:30:36 +00:00
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2009-02-11 07:46:39 +00:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
2009-02-03 21:30:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2009-02-11 07:46:39 +00:00
|
|
|
TODO (roughly in that order)
|
2011-02-01 22:46:30 +00:00
|
|
|
- Expand beyond full slot, 2-level modulation
|
2009-02-11 07:46:39 +00:00
|
|
|
- Make things stateful
|
|
|
|
- Once the capture format has stabilized, get rid of the Ethernet
|
2011-02-01 22:46:30 +00:00
|
|
|
hack and use a proper capture type.
|
2009-02-03 21:30:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2011-05-23 14:26:43 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2009-02-03 21:30:36 +00:00
|
|
|
#include <epan/packet.h>
|
|
|
|
#include <epan/etypes.h>
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
#define ETHERTYPE_DECT 0x2323
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
#define DECT_PACKET_INFO_LEN 11
|
2009-03-24 22:09:21 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
#define DECT_PACKET_PP 0
|
|
|
|
#define DECT_PACKET_FP 1
|
2010-06-11 16:11:42 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
#define DECT_AFIELD_SIZE 8
|
|
|
|
#define DECT_AFIELD_TAIL_SIZE 5
|
|
|
|
#define DECT_BFIELD_DATA_SIZE 128
|
|
|
|
|
|
|
|
#define DECT_A_TA_MASK 0xE0
|
|
|
|
#define DECT_A_TA_SHIFT 5
|
|
|
|
#define DECT_A_BA_MASK 0x0E
|
|
|
|
#define DECT_A_BA_SHIFT 1
|
|
|
|
#define DECT_A_Q1_MASK 0x10
|
|
|
|
#define DECT_A_Q2_MASK 0x01
|
|
|
|
|
|
|
|
enum {
|
|
|
|
DECT_TA_CT0 = 0,
|
|
|
|
DECT_TA_CT1,
|
|
|
|
DECT_TA_NT_CL,
|
|
|
|
DECT_TA_NT,
|
|
|
|
DECT_TA_QT,
|
|
|
|
DECT_TA_ESC,
|
|
|
|
DECT_TA_MT,
|
|
|
|
DECT_TA_PT,
|
|
|
|
DECT_TA_MT_FIRST = DECT_TA_PT
|
|
|
|
};
|
|
|
|
|
|
|
|
/* ETSI EN 300 175-3 V2.3.0 6.2.4 and Annex E */
|
2009-02-03 23:11:13 +00:00
|
|
|
/* scramble table with corrections by Jakub Hruska */
|
2011-02-01 22:46:30 +00:00
|
|
|
static const guint8 scrt[8][31]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0x3B, 0xCD, 0x21, 0x5D, 0x88, 0x65, 0xBD, 0x44, 0xEF, 0x34, 0x85, 0x76, 0x21, 0x96, 0xF5, 0x13, 0xBC, 0xD2, 0x15, 0xD8, 0x86, 0x5B, 0xD4, 0x4E, 0xF3, 0x48, 0x57, 0x62, 0x19, 0x6F, 0x51},
|
|
|
|
{0x32, 0xDE, 0xA2, 0x77, 0x9A, 0x42, 0xBB, 0x10, 0xCB, 0x7A, 0x89, 0xDE, 0x69, 0x0A, 0xEC, 0x43, 0x2D, 0xEA, 0x27, 0x79, 0xA4, 0x2B, 0xB1, 0x0C, 0xB7, 0xA8, 0x9D, 0xE6, 0x90, 0xAE, 0xC4},
|
|
|
|
{0x2D, 0xEA, 0x27, 0x79, 0xA4, 0x2B, 0xB1, 0x0C, 0xB7, 0xA8, 0x9D, 0xE6, 0x90, 0xAE, 0xC4, 0x32, 0xDE, 0xA2, 0x77, 0x9A, 0x42, 0xBB, 0x10, 0xCB, 0x7A, 0x89, 0xDE, 0x69, 0x0A, 0xEC, 0x43},
|
|
|
|
{0x27, 0x79, 0xA4, 0x2B, 0xB1, 0x0C, 0xB7, 0xA8, 0x9D, 0xE6, 0x90, 0xAE, 0xC4, 0x32, 0xDE, 0xA2, 0x77, 0x9A, 0x42, 0xBB, 0x10, 0xCB, 0x7A, 0x89, 0xDE, 0x69, 0x0A, 0xEC, 0x43, 0x2D, 0xEA},
|
|
|
|
{0x19, 0x6F, 0x51, 0x3B, 0xCD, 0x21, 0x5D, 0x88, 0x65, 0xBD, 0x44, 0xEF, 0x34, 0x85, 0x76, 0x21, 0x96, 0xF5, 0x13, 0xBC, 0xD2, 0x15, 0xD8, 0x86, 0x5B, 0xD4, 0x4E, 0xF3, 0x48, 0x57, 0x62},
|
|
|
|
{0x13, 0xBC, 0xD2, 0x15, 0xD8, 0x86, 0x5B, 0xD4, 0x4E, 0xF3, 0x48, 0x57, 0x62, 0x19, 0x6F, 0x51, 0x3B, 0xCD, 0x21, 0x5D, 0x88, 0x65, 0xBD, 0x44, 0xEF, 0x34, 0x85, 0x76, 0x21, 0x96, 0xF5},
|
|
|
|
{0x0C, 0xB7, 0xA8, 0x9D, 0xE6, 0x90, 0xAE, 0xC4, 0x32, 0xDE, 0xA2, 0x77, 0x9A, 0x42, 0xBB, 0x10, 0xCB, 0x7A, 0x89, 0xDE, 0x69, 0x0A, 0xEC, 0x43, 0x2D, 0xEA, 0x27, 0x79, 0xA4, 0x2B, 0xB1},
|
|
|
|
{0x79, 0xA4, 0x2B, 0xB1, 0x0C, 0xB7, 0xA8, 0x9D, 0xE6, 0x90, 0xAE, 0xC4, 0x32, 0xDE, 0xA2, 0x77, 0x9A, 0x42, 0xBB, 0x10, 0xCB, 0x7A, 0x89, 0xDE, 0x69, 0x0A, 0xEC, 0x43, 0x2D, 0xEA, 0x27}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int proto_dect = -1;
|
|
|
|
|
|
|
|
|
2009-02-05 00:33:45 +00:00
|
|
|
static gint ett_dect = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static gint ett_columns = -1;
|
2009-02-05 00:33:45 +00:00
|
|
|
static gint ett_afield = -1;
|
|
|
|
static gint ett_ahead = -1;
|
|
|
|
static gint ett_atail = -1;
|
2009-02-04 23:17:55 +00:00
|
|
|
static gint ett_aqt = -1;
|
2009-02-05 00:33:45 +00:00
|
|
|
static gint ett_bfield = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static gint ett_bfdescrdata = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
|
|
|
|
static int hf_dect_transceivermode = -1;
|
|
|
|
static int hf_dect_preamble = -1;
|
|
|
|
static int hf_dect_type = -1;
|
|
|
|
static int hf_dect_channel = -1;
|
|
|
|
static int hf_dect_framenumber = -1;
|
|
|
|
static int hf_dect_rssi = -1;
|
|
|
|
static int hf_dect_slot = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static int hf_dect_cc = -1;
|
|
|
|
static int hf_dect_cc_TA = -1;
|
2011-02-01 22:46:30 +00:00
|
|
|
static int hf_dect_cc_AField = -1;
|
|
|
|
static int hf_dect_cc_BField = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A = -1;
|
|
|
|
static int hf_dect_A_Head = -1;
|
2009-03-24 22:09:21 +00:00
|
|
|
static int hf_dect_A_Head_TA_FP = -1;
|
|
|
|
static int hf_dect_A_Head_TA_PP = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A_Head_Q1 = -1;
|
|
|
|
static int hf_dect_A_Head_BA = -1;
|
|
|
|
static int hf_dect_A_Head_Q2 = -1;
|
|
|
|
static int hf_dect_A_Tail = -1;
|
|
|
|
static int hf_dect_A_Tail_Nt = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_Qh = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Sn = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Nr = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Sp = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Esc = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Txs = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Mc = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static int hf_dect_A_Tail_Qt_0_CA = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A_Tail_Qt_0_Spr1 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Cn = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_Spr2 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_0_PSCN = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A12 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A13 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A14 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A15 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A16 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A17 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A18 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A19 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A20 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A21 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A22 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A23 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A24 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A25 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A26 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A27 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A28 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A29 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A30 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A31 = -1;
|
2009-03-30 21:55:22 +00:00
|
|
|
static int hf_dect_A_Tail_Qt_3_A32 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A33 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A34 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A35 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A36 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A37 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A38 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A39 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A40 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A41 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A42 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A43 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A44 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A45 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A46 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_3_A47 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_CRFPHops = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_CRFPEnc = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_REFHops = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_REPCap = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_Sync = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A20 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_MACSusp = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_MACIpq = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A23 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A24 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A25 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A26 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A27 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A28 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A29 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A30 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A31 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A32 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A33 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A34 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A35 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A36 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A37 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A38 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A39 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A40 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A41 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A42 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A43 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A44 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A45 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A46 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_4_A47 = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_6_Spare = -1;
|
|
|
|
static int hf_dect_A_Tail_Qt_6_Mfn = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A_Tail_Mt_Mh = -1;
|
2011-02-01 22:46:30 +00:00
|
|
|
static int hf_dect_A_Tail_Mt_Mh_attr = -1;
|
2009-04-09 13:58:20 +00:00
|
|
|
static int hf_dect_A_Tail_Mt_Mh_fmid = -1;
|
|
|
|
static int hf_dect_A_Tail_Mt_Mh_pmid = -1;
|
2009-02-03 21:30:36 +00:00
|
|
|
static int hf_dect_A_Tail_Mt_BasicConCtrl = -1;
|
|
|
|
static int hf_dect_A_Tail_Mt_Encr_Cmd1 = -1;
|
|
|
|
static int hf_dect_A_Tail_Mt_Encr_Cmd2 = -1;
|
|
|
|
static int hf_dect_A_Tail_Pt_ExtFlag = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_SDU = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_RFPI = -1;
|
2011-05-23 14:26:43 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_BsData = -1;
|
2009-02-03 21:30:36 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_InfoType = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_SlotPairs = -1;
|
|
|
|
static int hf_dect_A_Tail_Pt_Fillbits = -1;
|
2009-02-03 21:30:36 +00:00
|
|
|
static int hf_dect_A_Tail_Pt_Bearer_Sn = -1;
|
|
|
|
static int hf_dect_A_Tail_Pt_Bearer_Cn = -1;
|
|
|
|
static int hf_dect_A_Tail_Pt_Bearer_Sp = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_A_RCRC = -1;
|
|
|
|
static int hf_dect_B = -1;
|
|
|
|
static int hf_dect_B_Data = -1;
|
2010-06-11 16:11:42 +00:00
|
|
|
static int hf_dect_B_DescrambledData = -1;
|
2009-04-09 13:58:20 +00:00
|
|
|
static int hf_dect_B_fn = -1;
|
2009-02-03 23:11:13 +00:00
|
|
|
static int hf_dect_B_XCRC = -1;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string tranceiver_mode[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Receive"},
|
|
|
|
{1, "Send"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.1.2 */
|
2009-03-24 22:09:21 +00:00
|
|
|
static const value_string TA_vals_FP[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Ct Next Data Packet"},
|
|
|
|
{1, "Ct First Data Packet"},
|
|
|
|
{2, "Nt Identities Information on Connectionless Bearer"},
|
|
|
|
{3, "Nt Identities Information"},
|
|
|
|
{4, "Qt Multiframe Synchronisation and System Information"},
|
|
|
|
{5, "Escape"},
|
|
|
|
{6, "Mt MAC Layer Control"},
|
|
|
|
{7, "Pt Paging Tail"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.1.2 */
|
2009-03-24 22:09:21 +00:00
|
|
|
static const value_string TA_vals_PP[]=
|
|
|
|
{
|
|
|
|
{0, "Ct Next Data Packet"},
|
|
|
|
{1, "Ct First Data Packet"},
|
|
|
|
{2, "Nt Identities Information on Connectionless Bearer"},
|
|
|
|
{3, "Nt Identities Information"},
|
|
|
|
{4, "Qt Multiframe Synchronisation and System Information"},
|
|
|
|
{5, "Escape"},
|
|
|
|
{6, "Mt MAC Layer Control"},
|
|
|
|
{7, "Mt MAC Layer Control,first packet"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.1.4 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string BA_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "U-Type, In, SIn or Ip Packet No. 0 or No Valid Ip_error_detect Channel Data"},
|
|
|
|
{1, "U-Type, Ip_error_detect or Ip Packet No. 1 or SIn or No Valid In Channel Data"},
|
|
|
|
{2, "Double-Slot Required / E-Type, all Cf or CLf, Packet No. 0"},
|
|
|
|
{3, "E-Type, All Cf, Packet No. 1"},
|
|
|
|
{4, "Half-Slot Required / E-Type, not all Cf or CLf, Cf Packet No. 0"},
|
|
|
|
{5, "E-Type, not all Cf, Cf Packet No. 1"},
|
|
|
|
{6, "E-Type, All MAC control (unnumbered)"},
|
|
|
|
{7, "No B-Field"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.1 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTHead_vals[]=
|
2011-02-01 22:46:30 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Static System Info"},
|
|
|
|
{1, "Static System Info"},
|
|
|
|
{2, "Extended RF Carriers Part 1"},
|
|
|
|
{3, "Fixed Part Capabilities"},
|
|
|
|
{4, "Extended Fixed Part Capabilities"},
|
|
|
|
{5, "SARI List Contents"},
|
|
|
|
{6, "Multi-Frame No."},
|
|
|
|
{7, "Escape"},
|
|
|
|
{8, "Obsolete"},
|
|
|
|
{9, "Extended RF Carriers Part 2"},
|
2010-06-11 16:11:42 +00:00
|
|
|
{10, "Reserved("},
|
|
|
|
{11, "Transmit Information"},
|
|
|
|
{12, "Extended Fixed Part Capabilities 2"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{13, "Reserved"},
|
|
|
|
{14, "Reserved"},
|
|
|
|
{15, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.2 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTNormalReverse_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Normal RFP Transmit Half-Frame"},
|
|
|
|
{1, "Normal PP Transmit Half-Frame"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.3 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTSlotNumber_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Slot Pair 0/12"},
|
|
|
|
{1, "Slot Pair 1/13"},
|
|
|
|
{2, "Slot Pair 2/14"},
|
|
|
|
{3, "Slot Pair 3/15"},
|
|
|
|
{4, "Slot Pair 4/16"},
|
|
|
|
{5, "Slot Pair 5/17"},
|
|
|
|
{6, "Slot Pair 6/18"},
|
|
|
|
{7, "Slot Pair 7/19"},
|
|
|
|
{8, "Slot Pair 8/20"},
|
|
|
|
{9, "Slot Pair 9/21"},
|
|
|
|
{10, "Slot Pair 10/22"},
|
|
|
|
{11, "Slot Pair 11/23"},
|
|
|
|
{12, "Reserved"},
|
|
|
|
{13, "Reserved"},
|
|
|
|
{14, "Reserved"},
|
|
|
|
{15, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.4 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTStartPosition_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "S-Field starts at Bit F0"},
|
|
|
|
{1, "Reserved for Future Use"},
|
|
|
|
{2, "S-Field starts at Bit F240"},
|
|
|
|
{3, "Reserved for Future Use"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.5 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTEscape_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "No QT Escape is broadcast"},
|
|
|
|
{1, "The QT Escape is broadcast"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.6 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTTranceiver_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "RFP has 1 Transceiver"},
|
|
|
|
{1, "RFP has 2 Transceiver"},
|
|
|
|
{2, "RFP has 3 Transceiver"},
|
|
|
|
{3, "RFP has 4 or more Transceiver"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.7 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTExtendedCarrier_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "No Extended RF Carrier Information Message"},
|
|
|
|
{1, "Extended RF Carrier Information Message shall be transmitted in the next Multiframe"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.9 */
|
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.11 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTSpr_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "OK"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{2, "Reserved"},
|
|
|
|
{3, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.10 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTCarrierNumber_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "RF Carrier 0"},
|
|
|
|
{1, "RF Carrier 1"},
|
|
|
|
{2, "RF Carrier 2"},
|
|
|
|
{3, "RF Carrier 3"},
|
|
|
|
{4, "RF Carrier 4"},
|
|
|
|
{5, "RF Carrier 5"},
|
|
|
|
{6, "RF Carrier 6"},
|
|
|
|
{7, "RF Carrier 7"},
|
|
|
|
{8, "RF Carrier 8"},
|
|
|
|
{9, "RF Carrier 9"},
|
|
|
|
{10, "RF Carrier 10"},
|
|
|
|
{11, "RF Carrier 11"},
|
|
|
|
{12, "RF Carrier 12"},
|
|
|
|
{13, "RF Carrier 13"},
|
|
|
|
{14, "RF Carrier 14"},
|
|
|
|
{15, "RF Carrier 15"},
|
|
|
|
{16, "RF Carrier 16"},
|
|
|
|
{17, "RF Carrier 17"},
|
|
|
|
{18, "RF Carrier 18"},
|
|
|
|
{19, "RF Carrier 19"},
|
|
|
|
{20, "RF Carrier 20"},
|
|
|
|
{21, "RF Carrier 21"},
|
|
|
|
{22, "RF Carrier 22"},
|
|
|
|
{23, "RF Carrier 23"},
|
|
|
|
{24, "RF Carrier 24"},
|
|
|
|
{25, "RF Carrier 25"},
|
|
|
|
{26, "RF Carrier 26"},
|
|
|
|
{27, "RF Carrier 27"},
|
|
|
|
{28, "RF Carrier 28"},
|
|
|
|
{29, "RF Carrier 29"},
|
|
|
|
{30, "RF Carrier 30"},
|
|
|
|
{31, "RF Carrier 31"},
|
|
|
|
{32, "RF Carrier 32"},
|
|
|
|
{33, "RF Carrier 33"},
|
|
|
|
{34, "RF Carrier 34"},
|
|
|
|
{35, "RF Carrier 35"},
|
|
|
|
{36, "RF Carrier 36"},
|
|
|
|
{37, "RF Carrier 37"},
|
|
|
|
{38, "RF Carrier 38"},
|
|
|
|
{39, "RF Carrier 39"},
|
|
|
|
{40, "RF Carrier 40"},
|
|
|
|
{41, "RF Carrier 41"},
|
|
|
|
{42, "RF Carrier 42"},
|
|
|
|
{43, "RF Carrier 43"},
|
|
|
|
{44, "RF Carrier 44"},
|
|
|
|
{45, "RF Carrier 45"},
|
|
|
|
{46, "RF Carrier 46"},
|
|
|
|
{47, "RF Carrier 47"},
|
|
|
|
{48, "RF Carrier 48"},
|
|
|
|
{49, "RF Carrier 49"},
|
|
|
|
{50, "RF Carrier 50"},
|
|
|
|
{51, "RF Carrier 51"},
|
|
|
|
{52, "RF Carrier 52"},
|
|
|
|
{53, "RF Carrier 53"},
|
|
|
|
{54, "RF Carrier 54"},
|
|
|
|
{55, "RF Carrier 55"},
|
|
|
|
{56, "RF Carrier 56"},
|
|
|
|
{57, "RF Carrier 57"},
|
|
|
|
{58, "RF Carrier 58"},
|
|
|
|
{59, "RF Carrier 59"},
|
|
|
|
{60, "RF Carrier 60"},
|
|
|
|
{61, "RF Carrier 61"},
|
|
|
|
{62, "RF Carrier 62"},
|
|
|
|
{63, "RF Carrier 63"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2.12 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string QTScanCarrierNum_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Primary Scan next on RF Carrier 0"},
|
|
|
|
{1, "Primary Scan next on RF Carrier 1"},
|
|
|
|
{2, "Primary Scan next on RF Carrier 2"},
|
|
|
|
{3, "Primary Scan next on RF Carrier 3"},
|
|
|
|
{4, "Primary Scan next on RF Carrier 4"},
|
|
|
|
{5, "Primary Scan next on RF Carrier 5"},
|
|
|
|
{6, "Primary Scan next on RF Carrier 6"},
|
|
|
|
{7, "Primary Scan next on RF Carrier 7"},
|
|
|
|
{8, "Primary Scan next on RF Carrier 8"},
|
|
|
|
{9, "Primary Scan next on RF Carrier 9"},
|
|
|
|
{10, "Primary Scan next on RF Carrier 10"},
|
|
|
|
{11, "Primary Scan next on RF Carrier 11"},
|
|
|
|
{12, "Primary Scan next on RF Carrier 12"},
|
|
|
|
{13, "Primary Scan next on RF Carrier 13"},
|
|
|
|
{14, "Primary Scan next on RF Carrier 14"},
|
|
|
|
{15, "Primary Scan next on RF Carrier 15"},
|
|
|
|
{16, "Primary Scan next on RF Carrier 16"},
|
|
|
|
{17, "Primary Scan next on RF Carrier 17"},
|
|
|
|
{18, "Primary Scan next on RF Carrier 18"},
|
|
|
|
{19, "Primary Scan next on RF Carrier 19"},
|
|
|
|
{20, "Primary Scan next on RF Carrier 20"},
|
|
|
|
{21, "Primary Scan next on RF Carrier 21"},
|
|
|
|
{22, "Primary Scan next on RF Carrier 22"},
|
|
|
|
{23, "Primary Scan next on RF Carrier 23"},
|
|
|
|
{24, "Primary Scan next on RF Carrier 24"},
|
|
|
|
{25, "Primary Scan next on RF Carrier 25"},
|
|
|
|
{26, "Primary Scan next on RF Carrier 26"},
|
|
|
|
{27, "Primary Scan next on RF Carrier 27"},
|
|
|
|
{28, "Primary Scan next on RF Carrier 28"},
|
|
|
|
{29, "Primary Scan next on RF Carrier 29"},
|
|
|
|
{30, "Primary Scan next on RF Carrier 30"},
|
|
|
|
{31, "Primary Scan next on RF Carrier 31"},
|
|
|
|
{32, "Primary Scan next on RF Carrier 32"},
|
|
|
|
{33, "Primary Scan next on RF Carrier 33"},
|
|
|
|
{34, "Primary Scan next on RF Carrier 34"},
|
|
|
|
{35, "Primary Scan next on RF Carrier 35"},
|
|
|
|
{36, "Primary Scan next on RF Carrier 36"},
|
|
|
|
{37, "Primary Scan next on RF Carrier 37"},
|
|
|
|
{38, "Primary Scan next on RF Carrier 38"},
|
|
|
|
{39, "Primary Scan next on RF Carrier 39"},
|
|
|
|
{40, "Primary Scan next on RF Carrier 40"},
|
|
|
|
{41, "Primary Scan next on RF Carrier 41"},
|
|
|
|
{42, "Primary Scan next on RF Carrier 42"},
|
|
|
|
{43, "Primary Scan next on RF Carrier 43"},
|
|
|
|
{44, "Primary Scan next on RF Carrier 44"},
|
|
|
|
{45, "Primary Scan next on RF Carrier 45"},
|
|
|
|
{46, "Primary Scan next on RF Carrier 46"},
|
|
|
|
{47, "Primary Scan next on RF Carrier 47"},
|
|
|
|
{48, "Primary Scan next on RF Carrier 48"},
|
|
|
|
{49, "Primary Scan next on RF Carrier 49"},
|
|
|
|
{50, "Primary Scan next on RF Carrier 50"},
|
|
|
|
{51, "Primary Scan next on RF Carrier 51"},
|
|
|
|
{52, "Primary Scan next on RF Carrier 52"},
|
|
|
|
{53, "Primary Scan next on RF Carrier 53"},
|
|
|
|
{54, "Primary Scan next on RF Carrier 54"},
|
|
|
|
{55, "Primary Scan next on RF Carrier 55"},
|
|
|
|
{56, "Primary Scan next on RF Carrier 56"},
|
|
|
|
{57, "Primary Scan next on RF Carrier 57"},
|
|
|
|
{58, "Primary Scan next on RF Carrier 58"},
|
|
|
|
{59, "Primary Scan next on RF Carrier 59"},
|
|
|
|
{60, "Primary Scan next on RF Carrier 60"},
|
|
|
|
{61, "Primary Scan next on RF Carrier 61"},
|
|
|
|
{62, "Primary Scan next on RF Carrier 62"},
|
|
|
|
{63, "Primary Scan next on RF Carrier 63"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.4.2 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A12_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Extended FP Info"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Extended FP Info"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A13_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Double Duplex Bearer Connections"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Double Duplex Bearer Connections"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A14_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Reserved"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A15_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Double Slot"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Double Slot"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A16_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Half Slot"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Half Slot"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A17_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Full Slot"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Full Slot"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A18_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Frequency Control"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Frequency Control"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A19_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Page Repetition"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Page Repetition"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A20_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " C/O Setup on Dummy allowed"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "C/O Setup on Dummy allowed"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A21_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " C/L Uplink"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "C/L Uplink"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A22_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " C/L Downlink"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "C/L Downlink"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A23_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Basic A-Field Set-Up"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Basic A-Field Set-Up"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A24_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Advanced A-Field Set-Up"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Advanced A-Field Set-Up"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A25_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " B-field Set-Up"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "B-field Set-Up"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A26_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Cf Messages"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Cf Messages"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A27_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " In Minimum Delay"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "In Minimum Delay"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A28_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " In Normal Delay"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "In Normal Delay"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A29_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Ip Error Detection"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Ip Error Detection"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A30_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Ip Error Correction"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Ip Error Correction"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string Qt_A31_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
{0, " Multibearer Connections"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{1, "Multibearer Connections"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-5 V2.3.0 Annex F */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_A32_vals[]=
|
|
|
|
{
|
|
|
|
{0, " ADPCM/G.726 Voice service"},
|
|
|
|
{1, "ADPCM/G.726 Voice service"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A33_vals[]=
|
|
|
|
{
|
|
|
|
{0, " GAP basic speech"},
|
|
|
|
{1, "GAP basic speech"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A34_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Non-voice circuit switched service"},
|
|
|
|
{1, "Non-voice circuit switched service"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A35_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Non-voice packet switched service"},
|
|
|
|
{1, "Non-voice packet switched service"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A36_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Standard authentication required"},
|
|
|
|
{1, "Standard authentication required"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A37_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Standard ciphering supported"},
|
|
|
|
{1, "Standard ciphering supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A38_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Location registration supported"},
|
|
|
|
{1, "Location registration supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A39_vals[]=
|
|
|
|
{
|
|
|
|
{0, " SIM services available"},
|
|
|
|
{1, "SIM services available"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A40_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Non-static Fixed Part (FP)"},
|
|
|
|
{1, "Non-static Fixed Part (FP)"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A41_vals[]=
|
|
|
|
{
|
|
|
|
{0, " CISS services available"},
|
|
|
|
{1, "CISS services available"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A42_vals[]=
|
|
|
|
{
|
|
|
|
{0, " CLMS service available"},
|
|
|
|
{1, "CLMS service available"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A43_vals[]=
|
|
|
|
{
|
|
|
|
{0, " COMS service available"},
|
|
|
|
{1, "COMS service available"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A44_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Access rights requests supported"},
|
|
|
|
{1, "Access rights requests supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A45_vals[]=
|
|
|
|
{
|
|
|
|
{0, " External handover supported"},
|
|
|
|
{1, "External handover supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A46_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Connection handover supported"},
|
|
|
|
{1, "Connection handover supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_A47_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Reserved"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static const value_string Qt_EA20_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Reserved"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5.2.1 */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_CRFPHops_vals[]=
|
|
|
|
{
|
|
|
|
{0, "1 CRFP is allowed"},
|
|
|
|
{1, "2 CRFP allowed in cascade"},
|
|
|
|
{2, "3 CRFP allowed in cascade"},
|
|
|
|
{3, "No CRFP allowed"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_CRFPEnc_vals[]=
|
|
|
|
{
|
|
|
|
{0, "CRFP encryption not supported"},
|
|
|
|
{1, "CRFP encryption supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_REPHops_vals[]=
|
|
|
|
{
|
|
|
|
{0, "REP not supported"},
|
|
|
|
{1, "1 REP is allowed"},
|
|
|
|
{2, "2 REP are allowed in cascade"},
|
|
|
|
{3, "3 REP are allowed in cascade"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_REPCap_vals[]=
|
|
|
|
{
|
|
|
|
{0, "REP interlacing not supported"},
|
|
|
|
{1, "REP interlacing supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5.2.2 */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_Sync_vals[]=
|
|
|
|
{
|
|
|
|
{0, "standard, see EN 300 175-2 [2], clauses 4.6 and 5.2"},
|
|
|
|
{1, "prolonged preamble, see EN 300 175-2 [2], annex C (see note)"},
|
|
|
|
{2, "reserved"},
|
|
|
|
{3, "reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5.2.3 */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_MACSusp_vals[]=
|
|
|
|
{
|
|
|
|
{0, "Suspend and Resume not supported"},
|
|
|
|
{1, "Suspend and Resume supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5.2.4 */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_MACIpq_vals[]=
|
|
|
|
{
|
|
|
|
{0, "Ipq not supported"},
|
|
|
|
{1, "Ipq supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5.2 */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_EA23_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Extended Fixed Part Info 2"},
|
|
|
|
{1, "Extended Fixed Part Info 2"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA24_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Unused"},
|
|
|
|
{1, "Unused"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-5 V2.3.0 Annex F */
|
2009-03-30 21:55:22 +00:00
|
|
|
static const value_string Qt_EA25_vals[]=
|
|
|
|
{
|
|
|
|
{0, " F-MMS Interworking profile supported"},
|
|
|
|
{1, "F-MMS Interworking profile supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA26_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Basic ODAP supported"},
|
|
|
|
{1, "Basic ODAP supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA27_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Generic Media Encapsulation transport (DPRS) supported"},
|
|
|
|
{1, "Generic Media Encapsulation transport (DPRS) supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA28_vals[]=
|
|
|
|
{
|
|
|
|
{0, " IP Roaming unrestricted supported"},
|
|
|
|
{1, "IP Roaming unrestricted supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA29_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Ethernet"},
|
|
|
|
{1, "Ethernet"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA30_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Token Ring"},
|
|
|
|
{1, "Token Ring"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA31_vals[]=
|
|
|
|
{
|
|
|
|
{0, " IP"},
|
|
|
|
{1, "IP"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA32_vals[]=
|
|
|
|
{
|
|
|
|
{0, " PPP"},
|
|
|
|
{1, "PPP"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA33_vals[]=
|
|
|
|
{
|
|
|
|
{0, " V.24"},
|
|
|
|
{1, "V.24"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA34_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Reserved"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA35_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Reserved"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA36_vals[]=
|
|
|
|
{
|
|
|
|
{0, " RAP Part 1 Profile"},
|
|
|
|
{1, "RAP Part 1 Profile"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA37_vals[]=
|
|
|
|
{
|
|
|
|
{0, " ISDN intermediate system"},
|
|
|
|
{1, "ISDN intermediate system"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA38_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Synchronization to GPS achieved"},
|
|
|
|
{1, "Synchronization to GPS achieved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA39_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Location registration with TPUI allowed"},
|
|
|
|
{1, "Location registration with TPUI allowed"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA40_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Emergency call supported"},
|
|
|
|
{1, "Emergency call supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA41_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Asymmetric bearers supported"},
|
|
|
|
{1, "Asymmetric bearers supported"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA42_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Reserved"},
|
|
|
|
{1, "Reserved"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA43_vals[]=
|
|
|
|
{
|
|
|
|
{0, " LRMS"},
|
|
|
|
{1, "LRMS"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA44_vals[]=
|
|
|
|
{
|
|
|
|
{0, " Data Service Profile D"},
|
|
|
|
{1, "Data Service Profile D"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA45_vals[]=
|
|
|
|
{
|
|
|
|
{0, " DPRS Stream"},
|
|
|
|
{1, "DPRS Stream"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA46_vals[]=
|
|
|
|
{
|
|
|
|
{0, " DPRS FREL"},
|
|
|
|
{1, "DPRS FREL"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string Qt_EA47_vals[]=
|
|
|
|
{
|
|
|
|
{0, " ISDN Data Services"},
|
|
|
|
{1, "ISDN Data Services"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.1 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string MTHead_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Basic Connection Control"},
|
|
|
|
{1, "Advanced Connection Control"},
|
|
|
|
{2, "MAC Layer Test Messages"},
|
|
|
|
{3, "Quality Control"},
|
|
|
|
{4, "Broadcast and Connectionless Services"},
|
|
|
|
{5, "Encryption Control"},
|
|
|
|
{6, "Tail for use with the first Transmission of a B-Field \"bearer request\" Message"},
|
|
|
|
{7, "Escape"},
|
|
|
|
{8, "TARI Message"},
|
|
|
|
{9, "REP Connection Control"},
|
|
|
|
{10, "Reserved"},
|
|
|
|
{11, "Reserved"},
|
|
|
|
{12, "Reserved"},
|
|
|
|
{13, "Reserved"},
|
|
|
|
{14, "Reserved"},
|
|
|
|
{15, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.2 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string MTBasicConCtrl_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Access Request"},
|
|
|
|
{1, "Bearer Handover Request"},
|
|
|
|
{2, "Connection Handover Request"},
|
|
|
|
{3, "Unconfirmed Access Request"},
|
|
|
|
{4, "Bearer Confirm"},
|
|
|
|
{5, "Wait"},
|
|
|
|
{6, "Attributes T Request"},
|
|
|
|
{7, "Attributes T Confirm"},
|
|
|
|
{8, "Reserved"},
|
|
|
|
{9, "Reserved"},
|
|
|
|
{10, "Reserved"},
|
|
|
|
{11, "Reserved"},
|
|
|
|
{12, "Reserved"},
|
|
|
|
{13, "Reserved"},
|
|
|
|
{14, "Reserved"},
|
|
|
|
{15, "Release"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.7 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string MTEncrCmd1_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Start Encryption"},
|
|
|
|
{1, "Stop Encryption"},
|
|
|
|
{2, "reserved"},
|
|
|
|
{3, "reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string MTEncrCmd2_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Request"},
|
|
|
|
{1, "Confirm"},
|
|
|
|
{2, "Grant"},
|
|
|
|
{3, "Reserved"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.4.2.2 */
|
|
|
|
static const value_string PTExtFlag_vals[]=
|
|
|
|
{
|
2010-06-11 16:11:42 +00:00
|
|
|
{0, "Next normal Page in Frame 0"},
|
|
|
|
{1, "Another Page in next Frame"},
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.4.2.3 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string PTSDU_vals[]=
|
2011-02-01 22:46:30 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Zero Length Page"},
|
|
|
|
{1, "Short Page"},
|
|
|
|
{2, "Full Page"},
|
|
|
|
{3, "MAC resume page"},
|
|
|
|
{4, "Not the last 36 Bits of a Long Page"},
|
|
|
|
{5, "The first 36 Bits of a Long Page"},
|
|
|
|
{6, "The last 36 Bits of a Long Page"},
|
|
|
|
{7, "All of a Long Page (first and last)"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.4.3.1 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string PTInfoType_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "Fill Bits"},
|
|
|
|
{1, "Blind Full Slot Information for Circuit Mode Service"},
|
|
|
|
{2, "Other Bearer"},
|
|
|
|
{3, "Recommended Other Bearer"},
|
|
|
|
{4, "Good RFP Bearer"},
|
|
|
|
{5, "Dummy or connectionless Bearer Position"},
|
|
|
|
{6, "Extended Modulation Types"},
|
|
|
|
{7, "Escape"},
|
|
|
|
{8, "Dummy or connectionless Bearer Marker"},
|
|
|
|
{9, "Bearer Handover/Replacement Information"},
|
|
|
|
{10, "RFP Status and Modulation Types"},
|
|
|
|
{11, "Active Carriers"},
|
|
|
|
{12, "Connectionless Bearer Position"},
|
|
|
|
{13, "RFP Power Level"},
|
|
|
|
{14, "Blind Double Slot/RFP-FP Interface Resource Information"},
|
|
|
|
{15, "Blind Full Slot Information for Packet Mode Service"},
|
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.4.3.10 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static const value_string PTRFPPower_vals[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
{0, "0 dBm"},
|
|
|
|
{1, "2 dBm"},
|
|
|
|
{2, "4 dBm"},
|
|
|
|
{3, "6 dBm"},
|
|
|
|
{4, "8 dBm"},
|
|
|
|
{5, "10 dBm"},
|
|
|
|
{6, "12 dBm"},
|
|
|
|
{7, "14 dBm"},
|
|
|
|
{8, "16 dBm"},
|
|
|
|
{9, "18 dBm"},
|
|
|
|
{10, "20 dBm"},
|
|
|
|
{11, "22 dBm"},
|
|
|
|
{12, "24 dBm"},
|
|
|
|
{13, "26 dBm"},
|
|
|
|
{14, "28 dBm"},
|
|
|
|
{15, "30 dBm"},
|
2009-02-03 23:11:13 +00:00
|
|
|
{0, NULL}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static unsigned char
|
2009-08-17 17:19:31 +00:00
|
|
|
dect_getbit(guint8 *data, int bit)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
|
|
|
guint8 byte=data[bit/8];
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
return (byte>>bit%8)&1;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|
2009-02-05 02:27:33 +00:00
|
|
|
static void
|
2009-08-17 17:19:31 +00:00
|
|
|
dect_setbit(guint8 *data, int bit, guint8 value)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
|
|
|
if(!value)
|
|
|
|
data[bit/8]&=~(1<<(bit%8));
|
|
|
|
else
|
|
|
|
data[bit/8]|=(1<<(bit%8));
|
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* EN 300 175-3 V2.3.0 6.2.5.4 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static guint8
|
2009-02-11 07:46:39 +00:00
|
|
|
calc_xcrc(guint8* data, guint8 length)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
|
|
|
guint8 bits[21];
|
|
|
|
guint8 gp=0x1;
|
2009-03-30 21:55:22 +00:00
|
|
|
guint8 crc;
|
2009-02-03 21:30:36 +00:00
|
|
|
guint8 next;
|
2009-02-11 07:46:39 +00:00
|
|
|
int y, x;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
for(y=0;y<=length-4;y++)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-08-17 17:19:31 +00:00
|
|
|
dect_setbit(bits, y, dect_getbit(data, y+48*(1+(int)(y/16))));
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
length=10;
|
2009-03-30 21:55:22 +00:00
|
|
|
crc=bits[0];
|
2009-02-03 21:30:36 +00:00
|
|
|
y=0;
|
|
|
|
while(y<length)
|
|
|
|
{
|
|
|
|
if(y<(length-1))
|
|
|
|
next=bits[y+1];
|
|
|
|
else
|
|
|
|
next=0;
|
|
|
|
y++;
|
|
|
|
x=0;
|
|
|
|
while(x<8)
|
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
while(!(crc&0x80))
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
crc<<=1;
|
|
|
|
crc|=!!(next&0x80);
|
2009-02-03 21:30:36 +00:00
|
|
|
next<<=1;
|
|
|
|
x++;
|
|
|
|
if(x>7)
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if(x>7)
|
|
|
|
break;
|
2009-03-30 21:55:22 +00:00
|
|
|
crc<<=1;
|
|
|
|
crc|=!!(next&0x80);
|
2009-02-03 21:30:36 +00:00
|
|
|
next<<=1;
|
|
|
|
x++;
|
2009-03-30 21:55:22 +00:00
|
|
|
crc^=(gp<<4);
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
2009-03-30 21:55:22 +00:00
|
|
|
return crc;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* EN 300 175-3 V2.3.0 6.2.5.2 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static guint16
|
2009-02-03 23:11:13 +00:00
|
|
|
calc_rcrc(guint8* data)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
guint16 gp=0x0589; /* 10000010110001001 without the leading 1 */
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
guint16 crc;
|
2009-02-03 21:30:36 +00:00
|
|
|
guint8 next;
|
2009-02-11 07:46:39 +00:00
|
|
|
int y, x;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
crc=data[0]<<8|data[1];
|
2009-02-03 21:30:36 +00:00
|
|
|
y=0;
|
|
|
|
while(y<6)
|
|
|
|
{
|
|
|
|
next=data[2+y];
|
|
|
|
y++;
|
|
|
|
x=0;
|
|
|
|
while(x<8)
|
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
while(!(crc&0x8000))
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-03-30 21:55:22 +00:00
|
|
|
crc<<=1;
|
|
|
|
crc|=!!(next&0x80);
|
2009-02-03 21:30:36 +00:00
|
|
|
next<<=1;
|
|
|
|
x++;
|
|
|
|
if(x>7)
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if(x>7)
|
|
|
|
break;
|
2009-03-30 21:55:22 +00:00
|
|
|
crc<<=1;
|
|
|
|
crc|=!!(next&0x80);
|
2009-02-03 21:30:36 +00:00
|
|
|
next<<=1;
|
|
|
|
x++;
|
2009-03-30 21:55:22 +00:00
|
|
|
crc^=gp;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
2009-03-30 21:55:22 +00:00
|
|
|
crc^=1;
|
|
|
|
return crc;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 6.2.1.3 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static gint
|
2011-02-01 22:46:30 +00:00
|
|
|
dissect_bfield(gboolean dect_packet_type _U_, guint8 ba,
|
|
|
|
packet_info *pinfo _U_, tvbuff_t *tvb, gint offset, proto_tree *DectTree, proto_tree *ColumnsTree)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-11 07:46:39 +00:00
|
|
|
guint8 xcrc, xcrclen;
|
2009-02-03 21:30:36 +00:00
|
|
|
guint16 blen;
|
2011-02-01 22:46:30 +00:00
|
|
|
gint start_offset;
|
2010-06-11 16:11:42 +00:00
|
|
|
char *bfield_str;
|
|
|
|
char *bfield_short_str;
|
2011-02-01 22:46:30 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_item *bfieldti = NULL;
|
|
|
|
proto_tree *BField = NULL;
|
|
|
|
|
|
|
|
proto_item *bfdescrdatati = NULL;
|
|
|
|
proto_tree *BFDescrData = NULL;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
guint8 bfield_data[DECT_BFIELD_DATA_SIZE];
|
|
|
|
guint bfield_length = tvb_length_remaining(tvb, offset);
|
|
|
|
|
|
|
|
if (bfield_length > DECT_BFIELD_DATA_SIZE)
|
|
|
|
bfield_length = DECT_BFIELD_DATA_SIZE;
|
|
|
|
|
|
|
|
if (bfield_length)
|
|
|
|
tvb_memcpy(tvb, bfield_data, offset, bfield_length);
|
|
|
|
else
|
|
|
|
memset(bfield_data, 0, DECT_BFIELD_DATA_SIZE);
|
|
|
|
|
2010-02-18 06:18:34 +00:00
|
|
|
/* B-Field */
|
2011-02-01 22:46:30 +00:00
|
|
|
switch(ba)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-04 22:00:31 +00:00
|
|
|
case 0:
|
|
|
|
case 1:
|
|
|
|
case 3:
|
|
|
|
case 5:
|
|
|
|
case 6:
|
|
|
|
blen=40;
|
|
|
|
xcrclen=4;
|
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
bfield_short_str="Full Slot";
|
|
|
|
bfield_str="Full Slot (320 bit data, 4 bit xcrc)";
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
blen=100;
|
|
|
|
xcrclen=4;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
bfield_short_str="Double Slot";
|
|
|
|
bfield_str="Double Slot (800 bit data, 4 bit xcrc)";
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 4:
|
|
|
|
blen=10;
|
|
|
|
xcrclen=4;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
bfield_short_str="Half Slot";
|
|
|
|
bfield_str="Half Slot (80 bit data, 4 bit xcrc)";
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 7:
|
2009-03-24 22:13:18 +00:00
|
|
|
default:
|
2009-02-04 22:00:31 +00:00
|
|
|
blen=0;
|
|
|
|
xcrclen=0;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
bfield_short_str="No B-Field";
|
|
|
|
bfield_str="No B-Field";
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
2010-06-11 16:11:42 +00:00
|
|
|
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_BField, tvb, offset, 1, bfield_short_str);
|
|
|
|
|
2009-02-03 21:30:36 +00:00
|
|
|
if(blen)
|
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
bfieldti = proto_tree_add_item(DectTree, hf_dect_B, tvb, offset, blen, FALSE);
|
2010-06-11 16:11:42 +00:00
|
|
|
BField = proto_item_add_subtree(bfieldti, ett_bfield);
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_none_format(BField, hf_dect_B_Data, tvb, offset, blen, "%s", bfield_str);
|
2010-06-11 16:11:42 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
bfdescrdatati = proto_tree_add_item(BField, hf_dect_B_DescrambledData, tvb, offset, blen, FALSE);
|
2010-06-11 16:11:42 +00:00
|
|
|
BFDescrData = proto_item_add_subtree(bfdescrdatati, ett_bfdescrdata);
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
start_offset=offset;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
if(blen<=bfield_length)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
gint fn;
|
2009-04-09 13:58:20 +00:00
|
|
|
guint16 x, y;
|
2009-02-03 21:30:36 +00:00
|
|
|
for(fn=0;fn<8;fn++)
|
|
|
|
{
|
|
|
|
guint16 bytecount=0;
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
offset=start_offset;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_none_format(BFDescrData, hf_dect_B_fn, tvb, offset, 0, "Framenumber %u/%u", fn, fn+8);
|
2009-02-03 21:30:36 +00:00
|
|
|
for(x=0;x<blen;x+=16)
|
|
|
|
{
|
2009-03-28 17:30:31 +00:00
|
|
|
/*
|
|
|
|
* XXX - should this just be an FTYPE_BYTES
|
|
|
|
* field, and possibly just displayed as
|
|
|
|
* "Data: N bytes" rather than giving all
|
|
|
|
* the bytes of data?
|
2010-06-11 16:11:42 +00:00
|
|
|
*
|
|
|
|
* No, it gives you the bytes in descrambled
|
|
|
|
* form depending on the framenumber. Sometimes,
|
|
|
|
* you doesn't know the real framenumber, so you need
|
|
|
|
* the range of all possible descramblings. (a.schuler)
|
2009-03-28 17:30:31 +00:00
|
|
|
*/
|
|
|
|
emem_strbuf_t *string;
|
|
|
|
string = ep_strbuf_new(NULL);
|
2009-02-03 21:30:36 +00:00
|
|
|
for(y=0;y<16;y++)
|
|
|
|
{
|
|
|
|
if((x+y)>=blen)
|
|
|
|
break;
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
ep_strbuf_append_printf(string,"%.2x ", bfield_data[x+y]^scrt[fn][bytecount%31]);
|
2009-02-03 21:30:36 +00:00
|
|
|
bytecount++;
|
|
|
|
}
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_none_format(BFDescrData, hf_dect_B_Data, tvb, offset, y, "Data: %s", string->str);
|
|
|
|
offset+=y;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
2010-06-11 16:11:42 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
proto_tree_add_none_format(BField, hf_dect_B_Data, tvb, offset, 0, "Data too Short");
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
if(blen==40)
|
|
|
|
xcrc=calc_xcrc(bfield_data, 83);
|
|
|
|
else
|
|
|
|
xcrc=0;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
if((unsigned)(blen+1)<=bfield_length)
|
2010-06-11 16:11:42 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
if(xcrc!=(bfield_data[40]&0xf0))
|
2009-04-09 13:58:20 +00:00
|
|
|
/* XXX: pkt_bfield->Data[40]&0xf0 isn't really the Recv value?? */
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_uint_format(bfieldti, hf_dect_B_XCRC, tvb, offset, 1, 0, "X-CRC Error (Calc:%.2x, Recv:%.2x)",xcrc, bfield_data[40]&0xf0);
|
2009-02-03 21:30:36 +00:00
|
|
|
else
|
2009-04-09 13:58:20 +00:00
|
|
|
/* XXX: pkt_bfield->Data[40]&0xf0 isn't really the Recv value?? */
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_uint_format(bfieldti, hf_dect_B_XCRC, tvb, offset, 1, 1, "X-CRC Match (Calc:%.2x, Recv:%.2x)", xcrc, bfield_data[40]&0xf0);
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
else
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_uint_format(bfieldti, hf_dect_B_XCRC, tvb, offset, 1, 0, "No X-CRC logged (Calc:%.2x)", xcrc);
|
|
|
|
|
2009-02-03 21:30:36 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 6.2.1.2 */
|
2009-02-05 02:27:33 +00:00
|
|
|
static void
|
2011-02-01 22:46:30 +00:00
|
|
|
dissect_afield(gboolean dect_packet_type, guint8 *ba,
|
|
|
|
packet_info *pinfo _U_, tvbuff_t *tvb, gint offset, proto_tree *DectTree, proto_tree *ColumnsTree)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
guint8 ta;
|
2009-02-04 23:17:55 +00:00
|
|
|
guint8 rcrcdat[8];
|
2011-02-01 22:46:30 +00:00
|
|
|
guint16 computed_rcrc;
|
2010-06-11 16:11:42 +00:00
|
|
|
emem_strbuf_t *afield_str;
|
|
|
|
|
|
|
|
proto_item *afieldti = NULL;
|
|
|
|
proto_item *aheadti = NULL;
|
|
|
|
proto_item *atailti = NULL;
|
|
|
|
proto_tree *AField = NULL;
|
|
|
|
proto_tree *AHead = NULL;
|
|
|
|
proto_tree *ATail = NULL;
|
2009-04-09 13:58:20 +00:00
|
|
|
|
|
|
|
guint8 header, tail_0, tail_1, tail_2, tail_3, tail_4;
|
2011-02-01 22:46:30 +00:00
|
|
|
guint16 rcrc;
|
2010-06-11 16:11:42 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
afield_str = ep_strbuf_new(NULL);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
/************************** A-Field ***********************************/
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.1.1, 7.2.1
|
|
|
|
*
|
|
|
|
* | TA |Q1| BA |Q2| Tail | R-CRC |
|
|
|
|
* +-----------------------+--------/ /--------+-------------+
|
|
|
|
* |a0 a1 a2 a3 a4 a5 a6 a7|a8 | | | a47|a48 | a63|
|
|
|
|
*/
|
|
|
|
|
2010-02-18 06:18:34 +00:00
|
|
|
/* A-Field */
|
2010-06-11 16:11:42 +00:00
|
|
|
header = tvb_get_guint8(tvb, offset+0);
|
|
|
|
tail_0 = tvb_get_guint8(tvb, offset+1);
|
|
|
|
tail_1 = tvb_get_guint8(tvb, offset+2);
|
|
|
|
tail_2 = tvb_get_guint8(tvb, offset+3);
|
|
|
|
tail_3 = tvb_get_guint8(tvb, offset+4);
|
|
|
|
tail_4 = tvb_get_guint8(tvb, offset+5);
|
2011-02-01 22:46:30 +00:00
|
|
|
rcrc = tvb_get_ntohs(tvb, offset+6);
|
|
|
|
|
|
|
|
ta = (header & DECT_A_TA_MASK) >> DECT_A_TA_SHIFT;
|
|
|
|
*ba = (header & DECT_A_BA_MASK) >> DECT_A_BA_SHIFT;
|
|
|
|
|
|
|
|
afieldti = proto_tree_add_item(DectTree, hf_dect_A, tvb, offset, DECT_AFIELD_SIZE, FALSE);
|
2009-02-11 07:46:39 +00:00
|
|
|
AField = proto_item_add_subtree(afieldti, ett_afield);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
/* Header */
|
2011-05-23 14:26:43 +00:00
|
|
|
aheadti = proto_tree_add_item(AField, hf_dect_A_Head, tvb, offset, 1, FALSE);
|
2009-02-11 07:46:39 +00:00
|
|
|
AHead = proto_item_add_subtree(aheadti, ett_ahead);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-24 22:09:21 +00:00
|
|
|
if(dect_packet_type==DECT_PACKET_FP)
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(AHead, hf_dect_A_Head_TA_FP, tvb, offset, 1, FALSE);
|
2009-03-24 22:09:21 +00:00
|
|
|
else
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(AHead, hf_dect_A_Head_TA_PP, tvb, offset, 1, FALSE);
|
2009-03-24 22:09:21 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(AHead, hf_dect_A_Head_Q1, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(AHead, hf_dect_A_Head_BA, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(AHead, hf_dect_A_Head_Q2, tvb, offset, 1, FALSE);
|
2009-02-03 21:30:36 +00:00
|
|
|
offset++;
|
|
|
|
|
|
|
|
/* Tail */
|
2009-03-24 22:09:21 +00:00
|
|
|
if(dect_packet_type==DECT_PACKET_FP)
|
|
|
|
{
|
2011-05-23 14:26:43 +00:00
|
|
|
atailti = proto_tree_add_none_format(afieldti, hf_dect_A_Tail, tvb, offset, 5,
|
2011-02-01 22:46:30 +00:00
|
|
|
"FP-Tail: %s", val_to_str(ta, TA_vals_FP, "Error, please report: %d"));
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2011-05-23 14:26:43 +00:00
|
|
|
atailti = proto_tree_add_none_format(afieldti, hf_dect_A_Tail, tvb, offset, 5,
|
2011-02-01 22:46:30 +00:00
|
|
|
"PP-Tail: %s", val_to_str(ta, TA_vals_PP, "Error, please report: %d"));
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
ATail = proto_item_add_subtree(atailti, ett_atail);
|
2009-03-24 22:09:21 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
if((ta==DECT_TA_CT0)||(ta==DECT_TA_CT1))
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 10.8.1.1.1 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_TA, tvb, offset, 1, "[Ct]");
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
if(ta==DECT_TA_CT0)
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"C-Channel Next Data: %s",tvb_bytes_to_str(tvb, offset, 5));
|
|
|
|
else
|
|
|
|
ep_strbuf_append_printf(afield_str,"C-Channel First Data: %s",tvb_bytes_to_str(tvb, offset, 5));
|
|
|
|
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
2011-02-01 22:46:30 +00:00
|
|
|
else if((ta==DECT_TA_NT)||(ta==DECT_TA_NT_CL))
|
2009-03-24 22:09:21 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.2 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_TA, tvb, offset, 1, "[Nt]");
|
|
|
|
|
|
|
|
ep_strbuf_append_printf(afield_str,"RFPI: %s",tvb_bytes_to_str(tvb, offset, 5));
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(atailti, hf_dect_A_Tail_Nt, tvb, offset, 5, FALSE);
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
2011-02-01 22:46:30 +00:00
|
|
|
else if(ta==DECT_TA_QT)
|
2009-03-24 22:09:21 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_TA, tvb, offset, 1, "[Qt]");
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_Qh, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
switch(tail_0>>4)
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
|
|
|
case 0: /* Static System Info */
|
|
|
|
case 1:
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.2 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Static System Info");
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Nr, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Sn, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Sp, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Esc, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Txs, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Mc, tvb, offset, 1, FALSE);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_none_format(ATail, hf_dect_A_Tail_Qt_0_CA, tvb, offset, 2, " Carrier%s%s%s%s%s%s%s%s%s%s available",
|
2009-04-09 13:58:20 +00:00
|
|
|
(tail_1&0x02)?" 0":"", (tail_1&0x01)?" 1":"", (tail_2&0x80)?" 2":"",
|
|
|
|
(tail_2&0x40)?" 3":"", (tail_2&0x20)?" 4":"", (tail_2&0x10)?" 5":"",
|
|
|
|
(tail_2&0x08)?" 6":"", (tail_2&0x04)?" 7":"", (tail_2&0x02)?" 8":"",
|
|
|
|
(tail_2&0x01)?" 9":"");
|
2010-06-11 16:11:42 +00:00
|
|
|
offset+=2;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Spr1, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Cn, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_Spr2, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_0_PSCN, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-04 23:17:55 +00:00
|
|
|
/* due to addition further down */
|
2009-02-04 22:00:31 +00:00
|
|
|
offset-=5;
|
|
|
|
break;
|
|
|
|
case 2: /* Extended RF Carriers Part 1 */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.3 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Extended RF Carriers Part 1");
|
2011-02-01 22:46:30 +00:00
|
|
|
/* TODO */
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 3: /* Fixed Part Capabilities */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.4 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Fixed Part Capabilities");
|
2009-02-04 22:00:31 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A12, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A13, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A14, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A15, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A16, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A17, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A18, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A19, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A20, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A21, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A22, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A23, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A24, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A25, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A26, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A27, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A28, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A29, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A30, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A31, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
/* higher layer capabilities */
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A32, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A33, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A34, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A35, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A36, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A37, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A38, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A39, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A40, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A41, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A42, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A43, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A44, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A45, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A46, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_3_A47, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
2009-02-04 22:00:31 +00:00
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* due to addition further down */
|
2009-02-04 22:00:31 +00:00
|
|
|
offset-=5;
|
|
|
|
break;
|
|
|
|
case 4: /* Extended Fixed Part Capabilities */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.5 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Extended Fixed Part Capabilities");
|
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_CRFPHops, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_CRFPEnc, tvb, offset, 1, FALSE);
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_REFHops, tvb, offset, 2, FALSE);
|
2009-03-30 21:55:22 +00:00
|
|
|
offset++;
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_REPCap, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_Sync, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A20, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_MACSusp, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_MACIpq, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A23, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A24, tvb, offset, 1, FALSE);
|
|
|
|
|
|
|
|
/* higher layer capabilities */
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A25, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A26, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A27, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A28, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A29, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A30, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A31, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A32, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A33, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A34, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A35, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A36, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A37, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A38, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A39, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A40, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A41, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A42, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A43, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A44, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A45, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A46, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_4_A47, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
|
|
|
|
|
|
|
/* due to addition further down */
|
|
|
|
offset-=5;
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 5: /* SARI List Contents */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.6 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "SARI List Contents");
|
2011-02-01 22:46:30 +00:00
|
|
|
/* TODO */
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
2011-02-01 22:46:30 +00:00
|
|
|
case 6: /* Multi-Frame No */
|
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.7 */
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_6_Spare, tvb, offset, 2, FALSE);
|
2009-03-30 21:55:22 +00:00
|
|
|
offset+=2;
|
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Multi-Frame No.: %s",tvb_bytes_to_str(tvb, offset, 3));
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Qt_6_Mfn, tvb, offset, 3, FALSE);
|
2009-03-30 21:55:22 +00:00
|
|
|
offset+=3;
|
|
|
|
|
|
|
|
/* due to addition further down */
|
|
|
|
offset-=5;
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
2011-02-01 22:46:30 +00:00
|
|
|
case 7: /* Escape */
|
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.8 */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Escape Data: %s",tvb_bytes_to_str(tvb, offset, 5));
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 8: /* Obsolete */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.1 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Obsolete");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 9: /* Extended RF Carriers Part 2 */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.9 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Extended RF Carriers Part 2");
|
2011-02-01 22:46:30 +00:00
|
|
|
/* TODO */
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
2010-06-11 16:11:42 +00:00
|
|
|
case 11: /* Transmit Information */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.10 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Transmit Information");
|
2011-02-01 22:46:30 +00:00
|
|
|
/* TODO */
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
2009-03-30 21:55:22 +00:00
|
|
|
case 12: /* Extended Fixed Part Capabilities 2 */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.11 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Extended Fixed Part Capabilities 2");
|
2011-02-01 22:46:30 +00:00
|
|
|
/* TODO */
|
2009-03-30 21:55:22 +00:00
|
|
|
break;
|
2010-06-11 16:11:42 +00:00
|
|
|
case 10: /* Reserved */
|
2009-02-04 22:00:31 +00:00
|
|
|
case 13:
|
|
|
|
case 14:
|
|
|
|
case 15:
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Reserved");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
}
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
2011-02-01 22:46:30 +00:00
|
|
|
else if(ta==DECT_TA_ESC)
|
2009-03-24 22:09:21 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.3.8 */
|
|
|
|
/* Provide hook for escape message dissector */
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
2011-02-01 22:46:30 +00:00
|
|
|
else if((ta==DECT_TA_MT)||((ta==DECT_TA_MT_FIRST)&&(dect_packet_type==DECT_PACKET_PP)))
|
2009-03-24 22:09:21 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_TA, tvb, offset, 1, "[Mt]");
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_uint(ATail, hf_dect_A_Tail_Mt_Mh, tvb, offset, 1, tail_0);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
switch(tail_0>>4)
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
|
|
|
case 0: /* Basic Connection Control */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.2 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Basic Connection Control");
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_BasicConCtrl, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-06-22 06:29:32 +00:00
|
|
|
if(((tail_0 & 0x0f)==6)||((tail_0 & 0x0f)==7))
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
2010-06-11 16:11:42 +00:00
|
|
|
/* TODO See ETSI EN 300 175-3 V2.3.0 7.2.5.2.4 */
|
|
|
|
proto_tree_add_none_format(ATail, hf_dect_A_Tail_Mt_Mh_attr, tvb, offset, 4, "More infos at ETSI EN 300 175-3 V2.3.0 7.2.5.2.4");
|
2009-04-09 13:58:20 +00:00
|
|
|
offset +=4;
|
2009-02-04 22:00:31 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Mh_fmid, tvb, offset, 2, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Mh_pmid, tvb, offset, 3, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset+=3;
|
|
|
|
}
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* due to addition further down */
|
2009-02-04 22:00:31 +00:00
|
|
|
offset-=5;
|
|
|
|
break;
|
|
|
|
case 1: /* Advanced Connection Control */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.3 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Advanced Connection Control");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 2: /* MAC Layer Test Messages */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.4 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "MAC Layer Test Messages");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 3: /* Quality Control */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.5 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Quality Control");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 4: /* Broadcast and Connectionless Services */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.6 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Broadcast and Connectionless Services");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 5: /* Encryption Control */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.7 */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Encryption Control: %s %s",
|
|
|
|
val_to_str((tail_0&0x0c)>>2, MTEncrCmd1_vals, "Error, please report: %d"),
|
|
|
|
val_to_str(tail_0&0x03, MTEncrCmd2_vals, "Error, please report: %d"));
|
|
|
|
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Encr_Cmd1, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Encr_Cmd2, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Mh_fmid, tvb, offset, 2, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_Mh_pmid, tvb, offset, 3, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset+=3;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
/* due to addition further down */
|
2009-02-04 22:00:31 +00:00
|
|
|
offset-=5;
|
|
|
|
break;
|
|
|
|
case 6: /* Tail for use with the first Transmission of a B-Field \"bearer request\" Message */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.8 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Tail for use with the first Transmission of a B-Field \"bearer request\" Message");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 7: /* Escape */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.9 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Escape");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 8: /* TARI Message */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.10 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "TARI Message");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 9: /* REP Connection Control */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.5.11 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "REP Connection Control");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 10: /* Reserved */
|
|
|
|
case 11:
|
|
|
|
case 12:
|
|
|
|
case 13:
|
|
|
|
case 14:
|
|
|
|
case 15:
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, "Reserved");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
}
|
2009-03-24 22:09:21 +00:00
|
|
|
}
|
2011-02-01 22:46:30 +00:00
|
|
|
else if((ta==DECT_TA_PT)&&(dect_packet_type==DECT_PACKET_FP))
|
2009-03-24 22:09:21 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 7.2.4 */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_TA, tvb, offset, 1, "[Pt]");
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_ExtFlag, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_SDU, tvb, offset, 1, FALSE);
|
2010-06-11 16:11:42 +00:00
|
|
|
|
|
|
|
if(((tail_0&0x70)>>4)&0xfe)
|
|
|
|
ep_strbuf_append_printf(afield_str,"%s, ",val_to_str((tail_0&0x70)>>4, PTSDU_vals, "Error, please report: %d"));
|
2011-05-23 14:26:43 +00:00
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
switch((tail_0&0x70)>>4)
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
|
|
|
case 0: /* Zero Length Page */
|
|
|
|
case 1: /* Short Page */
|
2009-04-09 13:58:20 +00:00
|
|
|
if(((tail_0&0x70)>>4)==0)
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"RFPI: xxxxx%.1x%.2x%.2x, ", (tail_0&0x0f), tail_1, tail_2);
|
|
|
|
proto_tree_add_none_format(atailti, hf_dect_A_Tail_Pt_RFPI, tvb, offset, 3, "RFPI: xxxxx%.1x%.2x%.2x", (tail_0&0x0f), tail_1, tail_2);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset+=3;
|
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_InfoType, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Bs Data: %.1x%.2x%.2x, ", (tail_0&0x0f), tail_1, tail_2);
|
|
|
|
proto_tree_add_none_format(atailti, hf_dect_A_Tail_Pt_BsData, tvb, offset, 3, "Bs Data: %.1x%.2x%.2x", (tail_0&0x0f), tail_1, tail_2);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset+=3;
|
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_InfoType, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
}
|
2010-06-11 16:11:42 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"%s",val_to_str(tail_3>>4, PTInfoType_vals, "Error, please report: %d"));
|
2010-06-11 16:11:42 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
switch(tail_3>>4)
|
2009-02-04 22:00:31 +00:00
|
|
|
{
|
|
|
|
case 0: /* Fill Bits */
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_none_format(ATail, hf_dect_A_Tail_Pt_Fillbits, tvb, offset, 2, "Fillbits: %.1x%.2x", tail_3&0x0f, tail_4);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 1: /* Blind Full Slot Information for Circuit Mode Service */
|
2010-06-11 16:11:42 +00:00
|
|
|
offset+=2;
|
|
|
|
break;
|
2009-02-04 22:00:31 +00:00
|
|
|
case 7: /* Escape */
|
2010-06-11 16:11:42 +00:00
|
|
|
offset+=2;
|
|
|
|
break;
|
2009-02-04 22:00:31 +00:00
|
|
|
case 8: /* Dummy or connectionless Bearer Marker */
|
2010-06-11 16:11:42 +00:00
|
|
|
proto_tree_add_none_format(ATail, hf_dect_A_Tail_Pt_SlotPairs, tvb, offset, 2, " Slot-Pairs: %s%s%s%s%s%s%s%s%s%s%s%s available",
|
2011-02-01 22:46:30 +00:00
|
|
|
(tail_3&0x08)?" 0/12":"", (tail_3&0x04)?" 1/13":"", (tail_3&0x02)?" 2/14":"",
|
|
|
|
(tail_3&0x01)?" 3/15":"", (tail_4&0x80)?" 4/16":"", (tail_4&0x40)?" 5/17":"",
|
|
|
|
(tail_4&0x20)?" 6/18":"", (tail_4&0x10)?" 7/19":"", (tail_4&0x08)?" 8/20":"",
|
|
|
|
(tail_4&0x04)?" 9/21":"", (tail_4&0x02)?" 10/22":"", (tail_4&0x01)?" 11/23":"");
|
2009-02-04 22:00:31 +00:00
|
|
|
|
|
|
|
offset+=2;
|
2009-02-03 21:30:36 +00:00
|
|
|
break;
|
2009-02-04 22:00:31 +00:00
|
|
|
case 2: /* Other Bearer */
|
|
|
|
case 3: /* Recommended Other Bearer */
|
|
|
|
case 4: /* Good RFP Bearer */
|
|
|
|
case 5: /* Dummy or connectionless Bearer Position */
|
|
|
|
case 12: /* Connectionless Bearer Position */
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_Bearer_Sn, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_Bearer_Sp, tvb, offset, 1, FALSE);
|
|
|
|
proto_tree_add_item(ATail, hf_dect_A_Tail_Pt_Bearer_Cn, tvb, offset, 1, FALSE);
|
2009-02-04 22:00:31 +00:00
|
|
|
offset++;
|
|
|
|
break;
|
|
|
|
case 6: /* Extended Modulation Types */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 9: /* Bearer Handover/Replacement Information */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 10: /* RFP Status and Modulation Types */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 11: /* Active Carriers */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 13: /* RFP Power Level */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 14: /* Blind Double Slot/RFP-FP Interface Resource Information */
|
|
|
|
offset+=2;
|
|
|
|
break;
|
|
|
|
case 15: /* Blind Full Slot Information for Packet Mode Service */
|
|
|
|
offset+=2;
|
2009-02-03 21:30:36 +00:00
|
|
|
break;
|
2009-02-04 22:00:31 +00:00
|
|
|
}
|
2009-02-04 23:17:55 +00:00
|
|
|
/* due to addition further down */
|
2009-02-04 22:00:31 +00:00
|
|
|
offset-=5;
|
|
|
|
break;
|
|
|
|
case 2: /* Full Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Full Page");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 3: /* MAC Resume Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"MAC Resume Page");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 4: /* Not the Last 36 Bits of a Long Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"Not the Last 36 Bits");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 5: /* The First 36 Bits of a Long Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"The First 36 Bits");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 6: /* The Last 36 Bits of a Long Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"The Last 36 Bits");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
case 7: /* All of a Long Page */
|
2010-06-11 16:11:42 +00:00
|
|
|
ep_strbuf_append_printf(afield_str,"All of a Long Page");
|
2009-02-04 22:00:31 +00:00
|
|
|
break;
|
|
|
|
}
|
2010-06-11 16:11:42 +00:00
|
|
|
|
|
|
|
proto_tree_add_string(ColumnsTree, hf_dect_cc_AField, tvb, offset, 1, afield_str->str);
|
2009-02-04 22:00:31 +00:00
|
|
|
}
|
2009-03-24 22:09:21 +00:00
|
|
|
|
2009-02-03 21:30:36 +00:00
|
|
|
offset+=5;
|
|
|
|
|
|
|
|
/* R-CRC */
|
2011-02-01 22:46:30 +00:00
|
|
|
/* ETSI EN 300 175-3 V2.3.0 6.2.5.1 */
|
2010-07-07 21:27:13 +00:00
|
|
|
tvb_memcpy(tvb, rcrcdat, DECT_PACKET_INFO_LEN, 6);
|
2009-02-03 21:30:36 +00:00
|
|
|
rcrcdat[6]=0;
|
|
|
|
rcrcdat[7]=0;
|
2011-02-01 22:46:30 +00:00
|
|
|
computed_rcrc=calc_rcrc(rcrcdat);
|
|
|
|
if(computed_rcrc!=rcrc)
|
|
|
|
proto_tree_add_uint_format(afieldti, hf_dect_A_RCRC, tvb, offset, 2, 0, "R-CRC Error (Calc:%.4x, Recv:%.4x)", computed_rcrc, rcrc);
|
2009-02-03 21:30:36 +00:00
|
|
|
else
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_uint_format(afieldti, hf_dect_A_RCRC, tvb, offset, 2, 1, "R-CRC Match (Calc:%.4x, Recv:%.4x)", computed_rcrc, rcrc);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
|
|
|
offset+=2;
|
|
|
|
}
|
|
|
|
|
2009-02-03 23:11:13 +00:00
|
|
|
static void
|
|
|
|
dissect_dect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_item *ti =NULL;
|
|
|
|
proto_item *typeti =NULL;
|
|
|
|
proto_tree *DectTree =NULL;
|
|
|
|
gint offset =0;
|
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
guint16 type;
|
2009-02-05 08:25:59 +00:00
|
|
|
guint pkt_len;
|
2011-02-01 22:46:30 +00:00
|
|
|
guint8 ba;
|
|
|
|
|
|
|
|
/************************** Custom Columns ****************************/
|
|
|
|
proto_item *columnstreeti;
|
|
|
|
proto_tree *ColumnsTree;
|
|
|
|
|
|
|
|
col_clear(pinfo->cinfo, COL_INFO);
|
|
|
|
col_append_fstr(pinfo->cinfo, COL_INFO, "Use Custom Columns for Infos");
|
|
|
|
|
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "DECT");
|
2009-02-03 21:30:36 +00:00
|
|
|
|
|
|
|
pkt_len=tvb_length(tvb);
|
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
if(pkt_len<=DECT_PACKET_INFO_LEN)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2011-02-01 22:46:30 +00:00
|
|
|
col_set_str(pinfo->cinfo, COL_INFO, "No Data");
|
2009-02-03 21:30:36 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
ti=proto_tree_add_item(tree, proto_dect, tvb, 0, -1, FALSE);
|
|
|
|
DectTree=proto_item_add_subtree(ti, ett_dect);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_transceivermode, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_channel, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_slot, tvb, offset, 2, FALSE);
|
|
|
|
offset+=2;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_framenumber, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_rssi, tvb, offset, 1, FALSE);
|
|
|
|
offset++;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
proto_tree_add_item(DectTree, hf_dect_preamble, tvb, offset, 3, FALSE);
|
|
|
|
offset+=3;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
typeti=proto_tree_add_item(DectTree, hf_dect_type, tvb, offset, 2, FALSE);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
type=tvb_get_ntohs(tvb, offset);
|
|
|
|
offset+=2;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
columnstreeti = proto_tree_add_item(DectTree, hf_dect_cc, tvb, 0, 0, FALSE);
|
|
|
|
ColumnsTree = proto_item_add_subtree(columnstreeti, ett_afield);
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2011-02-01 22:46:30 +00:00
|
|
|
switch(type) {
|
|
|
|
case 0x1675:
|
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "DECT PP");
|
|
|
|
proto_item_append_text(typeti, " Phone Packet");
|
|
|
|
dissect_afield(DECT_PACKET_PP, &ba, pinfo, tvb, offset, DectTree, ColumnsTree);
|
|
|
|
offset += DECT_AFIELD_SIZE;
|
|
|
|
dissect_bfield(DECT_PACKET_PP, ba, pinfo, tvb, offset, DectTree, ColumnsTree);
|
|
|
|
break;
|
|
|
|
case 0xe98a:
|
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "DECT RFP");
|
|
|
|
proto_item_append_text(typeti, " Station Packet");
|
|
|
|
dissect_afield(DECT_PACKET_FP, &ba, pinfo, tvb, offset, DectTree, ColumnsTree);
|
|
|
|
offset += DECT_AFIELD_SIZE;
|
|
|
|
dissect_bfield(DECT_PACKET_FP, ba, pinfo, tvb, offset, DectTree, ColumnsTree);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "DECT Unk");
|
|
|
|
proto_item_append_text(typeti, " Unknown Packet");
|
|
|
|
break;
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-02-03 23:11:13 +00:00
|
|
|
void
|
|
|
|
proto_register_dect(void)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
|
|
|
static hf_register_info hf[]=
|
|
|
|
{
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_transceivermode,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Tranceiver-Mode", "dect.tranceivermode", FT_UINT8, BASE_HEX, VALS(tranceiver_mode),
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_channel,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Channel", "dect.channel", FT_UINT8, BASE_DEC, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_framenumber,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Frame#", "dect.framenumber", FT_UINT16, BASE_DEC, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_rssi,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"RSSI", "dect.rssi", FT_UINT8, BASE_DEC, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_slot,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Slot", "dect.slot", FT_UINT16, BASE_DEC, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_preamble,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Preamble", "dect.preamble", FT_BYTES, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_type,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Packet-Type", "dect.type", FT_BYTES, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
|
|
|
|
/* **************** Custom Columns ***********************/
|
|
|
|
|
|
|
|
{ &hf_dect_cc,
|
|
|
|
{"Columns", "dect.cc", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_cc_TA,
|
|
|
|
{"TA", "dect.cc.TA", FT_STRING, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_cc_AField,
|
|
|
|
{"A-Field", "dect.cc.afield", FT_STRING, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_cc_BField,
|
|
|
|
{"B-Field", "dect.cc.bfield", FT_STRING, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* **************** A-Field ******************************/
|
2009-02-11 07:46:39 +00:00
|
|
|
/* ***** Header ***** */
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_A,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"A-Field", "dect.afield", FT_BYTES, BASE_NONE, NULL,
|
2009-02-11 07:46:39 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Head,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"A-Field Header", "dect.afield.head", FT_UINT8, BASE_HEX, NULL,
|
2009-02-11 07:46:39 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2009-03-24 22:09:21 +00:00
|
|
|
{ &hf_dect_A_Head_TA_FP,
|
|
|
|
{"TA", "dect.afield.head.TA", FT_UINT8, BASE_DEC, VALS(TA_vals_FP),
|
2011-02-01 22:46:30 +00:00
|
|
|
DECT_A_TA_MASK, NULL, HFILL}},
|
2009-03-24 22:09:21 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Head_TA_PP,
|
|
|
|
{"TA", "dect.afield.head.TA", FT_UINT8, BASE_DEC, VALS(TA_vals_PP),
|
2011-02-01 22:46:30 +00:00
|
|
|
DECT_A_TA_MASK, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Head_Q1,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Q1", "dect.afield.head.Q1", FT_UINT8, BASE_DEC, NULL,
|
2011-02-01 22:46:30 +00:00
|
|
|
DECT_A_Q1_MASK, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Head_BA,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"BA", "dect.afield.head.BA", FT_UINT8, BASE_DEC, VALS(BA_vals),
|
2011-02-01 22:46:30 +00:00
|
|
|
DECT_A_BA_MASK, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Head_Q2,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Q2", "dect.afield.head.Q2", FT_UINT8, BASE_DEC, NULL,
|
2011-02-01 22:46:30 +00:00
|
|
|
DECT_A_Q2_MASK, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
/* ***** Tail ***** */
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_A_Tail,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"A-Field Tail", "dect.afield.tail", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Nt */
|
|
|
|
{ &hf_dect_A_Tail_Nt,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"RFPI", "dect.afield.tail.Nt", FT_BYTES, BASE_NONE, NULL,
|
2009-04-09 13:58:20 +00:00
|
|
|
0x0, "A-Field Tail: Nt/RFPI", HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Qt */
|
|
|
|
{ &hf_dect_A_Tail_Qt_Qh,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Qh", "dect.afield.tail.Qt.Qh", FT_UINT8, BASE_DEC, VALS(QTHead_vals),
|
|
|
|
0xF0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Qt Static System Information */
|
|
|
|
/* Byte 0 */
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Nr,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"NR", "dect.afield.tail.Qt.NR", FT_UINT8, BASE_DEC, VALS(QTNormalReverse_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Sn,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"SN", "dect.afield.tail.Qt.SN", FT_UINT8, BASE_DEC, VALS(QTSlotNumber_vals),
|
|
|
|
0x0F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Byte 1 */
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Sp,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"SP", "dect.afield.tail.Qt.SP", FT_UINT8, BASE_DEC, VALS(QTStartPosition_vals),
|
|
|
|
0xC0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Esc,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Esc", "dect.afield.tail.Qt.Esc", FT_UINT8, BASE_DEC, VALS(QTEscape_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Txs,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Txs", "dect.afield.tail.Qt.Txs", FT_UINT8, BASE_DEC, VALS(QTTranceiver_vals),
|
|
|
|
0x18, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Mc,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Mc", "dect.afield.tail.Qt.Mc", FT_UINT8, BASE_DEC, VALS(QTExtendedCarrier_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
/* Byte 2 */
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_CA,
|
|
|
|
{"CA", "dect.afield.tail.Qt.CA", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
2011-05-23 14:26:43 +00:00
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* Byte 3 */
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Spr1,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"Spr1", "dect.afield.tail.Qt.Spr1", FT_UINT8, BASE_DEC, VALS(QTSpr_vals),
|
2009-02-11 07:46:39 +00:00
|
|
|
0xC0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Cn,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"CN", "dect.afield.tail.Qt.CN", FT_UINT8, BASE_DEC, VALS(QTCarrierNumber_vals),
|
|
|
|
0x3F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Byte 4 */
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_Spr2,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"Spr2", "dect.afield.tail.Qt.Spr2", FT_UINT8, BASE_DEC, VALS(QTSpr_vals),
|
2009-02-11 07:46:39 +00:00
|
|
|
0xC0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_0_PSCN,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"PSCN", "dect.afield.tail.Qt.PSCN", FT_UINT8, BASE_DEC, VALS(QTScanCarrierNum_vals),
|
|
|
|
0x3F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Qt Fixed Part Capabilities */
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A12,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A12", "dect.afield.tail.Qt.Fp.A12", FT_UINT8, BASE_DEC, VALS(Qt_A12_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A13,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A13", "dect.afield.tail.Qt.Fp.A13", FT_UINT8, BASE_DEC, VALS(Qt_A13_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A14,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A14", "dect.afield.tail.Qt.Fp.A14", FT_UINT8, BASE_DEC, VALS(Qt_A14_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A15,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A15", "dect.afield.tail.Qt.Fp.A15", FT_UINT8, BASE_DEC, VALS(Qt_A15_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A16,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A16", "dect.afield.tail.Qt.Fp.A16", FT_UINT8, BASE_DEC, VALS(Qt_A16_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A17,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A17", "dect.afield.tail.Qt.Fp.A17", FT_UINT8, BASE_DEC, VALS(Qt_A17_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A18,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A18", "dect.afield.tail.Qt.Fp.A18", FT_UINT8, BASE_DEC, VALS(Qt_A18_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A19,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A19", "dect.afield.tail.Qt.Fp.A19", FT_UINT8, BASE_DEC, VALS(Qt_A19_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A20,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A20", "dect.afield.tail.Qt.Fp.A20", FT_UINT8, BASE_DEC, VALS(Qt_A20_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A21,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A21", "dect.afield.tail.Qt.Fp.A21", FT_UINT8, BASE_DEC, VALS(Qt_A21_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A22,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A22", "dect.afield.tail.Qt.Fp.A22", FT_UINT8, BASE_DEC, VALS(Qt_A22_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A23,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A23", "dect.afield.tail.Qt.Fp.A23", FT_UINT8, BASE_DEC, VALS(Qt_A23_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A24,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A24", "dect.afield.tail.Qt.Fp.A24", FT_UINT8, BASE_DEC, VALS(Qt_A24_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A25,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A25", "dect.afield.tail.Qt.Fp.A25", FT_UINT8, BASE_DEC, VALS(Qt_A25_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A26,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A26", "dect.afield.tail.Qt.Fp.A26", FT_UINT8, BASE_DEC, VALS(Qt_A26_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A27,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A27", "dect.afield.tail.Qt.Fp.A27", FT_UINT8, BASE_DEC, VALS(Qt_A27_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A28,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A28", "dect.afield.tail.Qt.Fp.A28", FT_UINT8, BASE_DEC, VALS(Qt_A28_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A29,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A29", "dect.afield.tail.Qt.Fp.A29", FT_UINT8, BASE_DEC, VALS(Qt_A29_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A30,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A30", "dect.afield.tail.Qt.Fp.A30", FT_UINT8, BASE_DEC, VALS(Qt_A30_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A31,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"A31", "dect.afield.tail.Qt.Fp.A31", FT_UINT8, BASE_DEC, VALS(Qt_A31_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
/* higher layer capabilities */
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A32,
|
|
|
|
{"A32", "dect.afield.tail.Qt.Fp.A32", FT_UINT8, BASE_DEC, VALS(Qt_A32_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A33,
|
|
|
|
{"A33", "dect.afield.tail.Qt.Fp.A33", FT_UINT8, BASE_DEC, VALS(Qt_A33_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A34,
|
|
|
|
{"A34", "dect.afield.tail.Qt.Fp.A34", FT_UINT8, BASE_DEC, VALS(Qt_A34_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A35,
|
|
|
|
{"A35", "dect.afield.tail.Qt.Fp.A35", FT_UINT8, BASE_DEC, VALS(Qt_A35_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A36,
|
|
|
|
{"A36", "dect.afield.tail.Qt.Fp.A36", FT_UINT8, BASE_DEC, VALS(Qt_A36_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A37,
|
|
|
|
{"A37", "dect.afield.tail.Qt.Fp.A37", FT_UINT8, BASE_DEC, VALS(Qt_A37_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A38,
|
|
|
|
{"A38", "dect.afield.tail.Qt.Fp.A38", FT_UINT8, BASE_DEC, VALS(Qt_A38_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A39,
|
|
|
|
{"A39", "dect.afield.tail.Qt.Fp.A39", FT_UINT8, BASE_DEC, VALS(Qt_A39_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A40,
|
|
|
|
{"A40", "dect.afield.tail.Qt.Fp.A40", FT_UINT8, BASE_DEC, VALS(Qt_A40_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A41,
|
|
|
|
{"A41", "dect.afield.tail.Qt.Fp.A41", FT_UINT8, BASE_DEC, VALS(Qt_A41_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A42,
|
|
|
|
{"A42", "dect.afield.tail.Qt.Fp.A42", FT_UINT8, BASE_DEC, VALS(Qt_A42_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A43,
|
|
|
|
{"A43", "dect.afield.tail.Qt.Fp.A43", FT_UINT8, BASE_DEC, VALS(Qt_A43_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A44,
|
|
|
|
{"A44", "dect.afield.tail.Qt.Fp.A44", FT_UINT8, BASE_DEC, VALS(Qt_A44_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A45,
|
|
|
|
{"A45", "dect.afield.tail.Qt.Fp.A45", FT_UINT8, BASE_DEC, VALS(Qt_A45_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A46,
|
|
|
|
{"A46", "dect.afield.tail.Qt.Fp.A46", FT_UINT8, BASE_DEC, VALS(Qt_A46_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_3_A47,
|
|
|
|
{"A47", "dect.afield.tail.Qt.Fp.A47", FT_UINT8, BASE_DEC, VALS(Qt_A47_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
/* Qt Extended Fixed Part Capabilities */
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_CRFPHops,
|
|
|
|
{"CRFP Hops", "dect.afield.tail.Qt.Efp.CRFPHops", FT_UINT8, BASE_DEC, VALS(Qt_CRFPHops_vals),
|
|
|
|
0x0C, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_CRFPEnc,
|
|
|
|
{"CRFP Enc", "dect.afield.tail.Qt.Efp.CRFPEnc", FT_UINT8, BASE_DEC, VALS(Qt_CRFPEnc_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_REFHops,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"REP Hops", "dect.afield.tail.Qt.Efp.REPHops", FT_UINT16, BASE_DEC, VALS(Qt_REPHops_vals),
|
|
|
|
0x0180, NULL, HFILL}},
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_REPCap,
|
|
|
|
{"REP Cap.", "dect.afield.tail.Qt.Efp.REPCap", FT_UINT8, BASE_DEC, VALS(Qt_REPCap_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_Sync,
|
|
|
|
{"Sync", "dect.afield.tail.Qt.Efp.Sync", FT_UINT8, BASE_DEC, VALS(Qt_Sync_vals),
|
|
|
|
0x30, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A20,
|
|
|
|
{"A20", "dect.afield.tail.Qt.Efp.A20", FT_UINT8, BASE_DEC, VALS(Qt_EA20_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_MACSusp,
|
|
|
|
{"MAC Suspend", "dect.afield.tail.Qt.Efp.MACSusp", FT_UINT8, BASE_DEC, VALS(Qt_MACSusp_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_MACIpq,
|
|
|
|
{"MAC Ipq", "dect.afield.tail.Qt.Efp.MACIpq", FT_UINT8, BASE_DEC, VALS(Qt_MACIpq_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A23,
|
|
|
|
{"A23", "dect.afield.tail.Qt.Efp.A23", FT_UINT8, BASE_DEC, VALS(Qt_EA23_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A24,
|
|
|
|
{"A24", "dect.afield.tail.Qt.Efp.A24", FT_UINT8, BASE_DEC, VALS(Qt_EA24_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
|
|
|
|
|
|
|
|
|
|
|
/* Higher Layer Capabilities */
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A25,
|
|
|
|
{"A25", "dect.afield.tail.Qt.Efp.A25", FT_UINT8, BASE_DEC, VALS(Qt_EA25_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A26,
|
|
|
|
{"A26", "dect.afield.tail.Qt.Efp.A26", FT_UINT8, BASE_DEC, VALS(Qt_EA26_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A27,
|
|
|
|
{"A27", "dect.afield.tail.Qt.Efp.A27", FT_UINT8, BASE_DEC, VALS(Qt_EA27_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A28,
|
|
|
|
{"A28", "dect.afield.tail.Qt.Efp.A28", FT_UINT8, BASE_DEC, VALS(Qt_EA28_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A29,
|
|
|
|
{"A29", "dect.afield.tail.Qt.Efp.A29", FT_UINT8, BASE_DEC, VALS(Qt_EA29_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A30,
|
|
|
|
{"A30", "dect.afield.tail.Qt.Efp.A30", FT_UINT8, BASE_DEC, VALS(Qt_EA30_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A31,
|
|
|
|
{"A31", "dect.afield.tail.Qt.Efp.A31", FT_UINT8, BASE_DEC, VALS(Qt_EA31_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A32,
|
|
|
|
{"A32", "dect.afield.tail.Qt.Efp.A32", FT_UINT8, BASE_DEC, VALS(Qt_EA32_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A33,
|
|
|
|
{"A33", "dect.afield.tail.Qt.Efp.A33", FT_UINT8, BASE_DEC, VALS(Qt_EA33_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A34,
|
|
|
|
{"A34", "dect.afield.tail.Qt.Efp.A34", FT_UINT8, BASE_DEC, VALS(Qt_EA34_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A35,
|
|
|
|
{"A35", "dect.afield.tail.Qt.Efp.A35", FT_UINT8, BASE_DEC, VALS(Qt_EA35_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A36,
|
|
|
|
{"A36", "dect.afield.tail.Qt.Efp.A36", FT_UINT8, BASE_DEC, VALS(Qt_EA36_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A37,
|
|
|
|
{"A37", "dect.afield.tail.Qt.Efp.A37", FT_UINT8, BASE_DEC, VALS(Qt_EA37_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A38,
|
|
|
|
{"A38", "dect.afield.tail.Qt.Efp.A38", FT_UINT8, BASE_DEC, VALS(Qt_EA38_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A39,
|
|
|
|
{"A39", "dect.afield.tail.Qt.Efp.A39", FT_UINT8, BASE_DEC, VALS(Qt_EA39_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A40,
|
|
|
|
{"A40", "dect.afield.tail.Qt.Efp.A40", FT_UINT8, BASE_DEC, VALS(Qt_EA40_vals),
|
|
|
|
0x80, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A41,
|
|
|
|
{"A41", "dect.afield.tail.Qt.Efp.A41", FT_UINT8, BASE_DEC, VALS(Qt_EA41_vals),
|
|
|
|
0x40, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A42,
|
|
|
|
{"A42", "dect.afield.tail.Qt.Efp.A42", FT_UINT8, BASE_DEC, VALS(Qt_EA42_vals),
|
|
|
|
0x20, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A43,
|
|
|
|
{"A43", "dect.afield.tail.Qt.Efp.A43", FT_UINT8, BASE_DEC, VALS(Qt_EA43_vals),
|
|
|
|
0x10, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A44,
|
|
|
|
{"A44", "dect.afield.tail.Qt.Efp.A44", FT_UINT8, BASE_DEC, VALS(Qt_EA44_vals),
|
|
|
|
0x08, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A45,
|
|
|
|
{"A45", "dect.afield.tail.Qt.Efp.A45", FT_UINT8, BASE_DEC, VALS(Qt_EA45_vals),
|
|
|
|
0x04, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A46,
|
|
|
|
{"A46", "dect.afield.tail.Qt.Efp.A46", FT_UINT8, BASE_DEC, VALS(Qt_EA46_vals),
|
|
|
|
0x02, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_4_A47,
|
|
|
|
{"A47", "dect.afield.tail.Qt.Efp.A47", FT_UINT8, BASE_DEC, VALS(Qt_EA47_vals),
|
|
|
|
0x01, NULL, HFILL}},
|
|
|
|
|
|
|
|
|
|
|
|
/* Qt Multiframe Number */
|
|
|
|
{ &hf_dect_A_Tail_Qt_6_Spare,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"Spare Bits", "dect.afield.tail.Qt.Mfn.Spare", FT_UINT16, BASE_HEX, NULL,
|
|
|
|
0x0FFF, NULL, HFILL}},
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Qt_6_Mfn,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"Multiframe Number", "dect.afield.tail.Qt.Mfn.Mfn", FT_BYTES, BASE_NONE, NULL,
|
2011-02-01 22:46:30 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-03-30 21:55:22 +00:00
|
|
|
|
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* Mt */
|
|
|
|
{ &hf_dect_A_Tail_Mt_Mh,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Mh", "dect.afield.tail.Mt.Mh", FT_UINT8, BASE_DEC, VALS(MTHead_vals),
|
|
|
|
0xF0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
{ &hf_dect_A_Tail_Mt_Mh_attr,
|
|
|
|
{"Mh", "dect.afield.tail.Mt.Mh.attr", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
{ &hf_dect_A_Tail_Mt_Mh_fmid,
|
2009-04-09 15:32:26 +00:00
|
|
|
{"Mh/FMID", "dect.afield.tail.Mt.Mh.fmid", FT_UINT16, BASE_HEX, NULL,
|
2011-05-23 17:53:51 +00:00
|
|
|
0xFFF0, NULL, HFILL}},
|
2009-04-09 13:58:20 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Mt_Mh_pmid,
|
2009-04-09 15:32:26 +00:00
|
|
|
{"Mh/PMID", "dect.afield.tail.Mt.Mh.pmid", FT_UINT24, BASE_HEX, NULL,
|
2009-04-09 13:58:20 +00:00
|
|
|
0x0FFFFF, NULL, HFILL}},
|
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
/* Mt Basic Connection Control */
|
|
|
|
{ &hf_dect_A_Tail_Mt_BasicConCtrl,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Cmd", "dect.afield.tail.Mt.BasicConCtrl", FT_UINT8, BASE_DEC, VALS(MTBasicConCtrl_vals),
|
|
|
|
0x0F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Mt Encryption Control */
|
|
|
|
{ &hf_dect_A_Tail_Mt_Encr_Cmd1,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Cmd1", "dect.afield.tail.Mt.Encr.Cmd1", FT_UINT8, BASE_DEC, VALS(MTEncrCmd1_vals),
|
|
|
|
0x0C, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Mt_Encr_Cmd2,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"Cmd2", "dect.afield.tail.Mt.Encr.Cmd2", FT_UINT8, BASE_DEC, VALS(MTEncrCmd2_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0x03, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* Pt */
|
|
|
|
{ &hf_dect_A_Tail_Pt_ExtFlag,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"ExtFlag", "dect.afield.tail.Pt.ExtFlag", FT_UINT8, BASE_DEC, VALS(PTExtFlag_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0x80, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_SDU,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"Bs SDU", "dect.afield.tail.Pt.SDU", FT_UINT8, BASE_DEC, VALS(PTSDU_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0x70, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
{ &hf_dect_A_Tail_Pt_RFPI,
|
|
|
|
{"InfoType", "dect.afield.tail.Pt.RFPI", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_BsData,
|
|
|
|
{"Bs Data", "dect.afield.tail.Pt.BsData", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_A_Tail_Pt_InfoType,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"InfoType", "dect.afield.tail.Pt.InfoType", FT_UINT8, BASE_DEC, VALS(PTInfoType_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0xF0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
{ &hf_dect_A_Tail_Pt_Fillbits,
|
|
|
|
{"FillBits", "dect.afield.tail.Pt.FillBits", FT_NONE, BASE_NONE, NULL,
|
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_SlotPairs,
|
|
|
|
{"SlotPairs", "dect.afield.tail.Pt.SlotPairs", FT_NONE, BASE_NONE, NULL,
|
2009-02-05 02:27:33 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_Bearer_Sn,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"SN", "dect.afield.tail.Pt.SN", FT_UINT8, BASE_DEC, VALS(QTSlotNumber_vals),
|
|
|
|
0x0F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_Bearer_Sp,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"SP", "dect.afield.tail.Pt.SP", FT_UINT8, BASE_DEC, VALS(QTStartPosition_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0xC0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_A_Tail_Pt_Bearer_Cn,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"CN", "dect.afield.tail.Pt.CN", FT_UINT8, BASE_DEC, VALS(QTCarrierNumber_vals),
|
2009-02-05 02:27:33 +00:00
|
|
|
0x3F, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
/* ***** R-CRC ***** */
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_A_RCRC,
|
|
|
|
{"A-Field R-CRC", "dect.afield.rcrc", FT_UINT8, BASE_DEC, NULL,
|
2009-02-11 07:46:39 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
/* ***************** B-Field *************************** */
|
|
|
|
{ &hf_dect_B,
|
2009-04-09 13:58:20 +00:00
|
|
|
{"B-Field", "dect.bfield", FT_BYTES, BASE_NONE,
|
2010-06-11 16:11:42 +00:00
|
|
|
0x0, 0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
|
|
|
{ &hf_dect_B_Data,
|
2010-06-11 16:11:42 +00:00
|
|
|
{"B-Field", "dect.bfield.data", FT_NONE, BASE_NONE, NULL,
|
2009-04-09 13:58:20 +00:00
|
|
|
0x0, NULL, HFILL}},
|
|
|
|
|
2010-06-11 16:11:42 +00:00
|
|
|
{ &hf_dect_B_DescrambledData,
|
|
|
|
{"Descrambled Data", "dect.bfield.descrdata", FT_NONE, BASE_NONE,
|
|
|
|
0x0, 0x0, NULL, HFILL}},
|
|
|
|
|
2009-04-09 13:58:20 +00:00
|
|
|
{ &hf_dect_B_fn,
|
|
|
|
{"B-Field", "dect.bfield.framenumber", FT_NONE, BASE_NONE, NULL,
|
2009-02-05 02:27:33 +00:00
|
|
|
0x0, NULL, HFILL}},
|
2009-02-04 23:17:55 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
/* ***** X-CRC ***** */
|
2009-02-04 23:17:55 +00:00
|
|
|
{ &hf_dect_B_XCRC,
|
2009-02-11 07:46:39 +00:00
|
|
|
{"B-Field X-CRC", "dect.bfield.xcrc", FT_UINT8, BASE_DEC, NULL,
|
2009-02-05 02:27:33 +00:00
|
|
|
0x0, NULL, HFILL}}
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* Setup protocol subtree array */
|
2009-02-03 23:11:13 +00:00
|
|
|
static gint *ett[]=
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-04 23:17:55 +00:00
|
|
|
&ett_dect,
|
2010-06-11 16:11:42 +00:00
|
|
|
&ett_columns,
|
2009-02-04 23:17:55 +00:00
|
|
|
&ett_ahead,
|
|
|
|
&ett_afield,
|
|
|
|
&ett_atail,
|
|
|
|
&ett_aqt,
|
2010-06-11 16:11:42 +00:00
|
|
|
&ett_bfield,
|
|
|
|
&ett_bfdescrdata
|
2009-02-03 21:30:36 +00:00
|
|
|
};
|
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
proto_dect=proto_register_protocol("DECT Protocol", "DECT", "dect");
|
|
|
|
proto_register_field_array(proto_dect, hf, array_length(hf));
|
|
|
|
proto_register_subtree_array(ett, array_length(ett));
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|
2009-02-03 23:11:13 +00:00
|
|
|
void
|
|
|
|
proto_reg_handoff_dect(void)
|
2009-02-03 21:30:36 +00:00
|
|
|
{
|
2009-02-04 00:12:55 +00:00
|
|
|
dissector_handle_t dect_handle;
|
2009-02-03 21:30:36 +00:00
|
|
|
|
2009-02-11 07:46:39 +00:00
|
|
|
dect_handle = create_dissector_handle(dissect_dect, proto_dect);
|
2010-12-20 05:35:29 +00:00
|
|
|
dissector_add_uint("ethertype", ETHERTYPE_DECT , dect_handle);
|
2009-02-03 21:30:36 +00:00
|
|
|
}
|
|
|
|
|