aec9697ede5871c3a219c73b60ee267602d2436b
[obnox/wireshark/wip.git] / epan / dissectors / packet-umts_fp.h
1 /* packet-fp.h
2  *
3  * Martin Mathieson
4  * $Id$
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23  */
24
25 /* Channel types */
26 #define CHANNEL_RACH_FDD     1
27 #define CHANNEL_RACH_TDD     2
28 #define CHANNEL_FACH_FDD     3
29 #define CHANNEL_FACH_TDD     4
30 #define CHANNEL_DSCH_FDD     5
31 #define CHANNEL_DSCH_TDD     6
32 #define CHANNEL_USCH_TDD_384 8
33 #define CHANNEL_USCH_TDD_128 24
34 #define CHANNEL_PCH          9
35 #define CHANNEL_CPCH         10
36 #define CHANNEL_BCH          11
37 #define CHANNEL_DCH          12
38 #define CHANNEL_HSDSCH       13
39 #define CHANNEL_IUR_CPCHF    14
40 #define CHANNEL_IUR_FACH     15
41 #define CHANNEL_IUR_DSCH     16
42 #define CHANNEL_EDCH         17
43 #define CHANNEL_RACH_TDD_128 18
44
45 /* Info attached to each FP packet */
46 struct _fp_info
47 {
48     guint8 release;
49     guint  dct2000_variant;
50     gboolean is_uplink;
51     gint channel;
52     gint node_type;
53     gboolean dch_crc_present;
54     gint paging_indications;
55     gint num_chans;
56 #define MAX_FP_CHANS  64
57     gint chan_tf_size[MAX_FP_CHANS];
58     gint chan_num_tbs[MAX_FP_CHANS];
59
60 #define MAX_EDCH_DDIS 16
61     gint   no_ddi_entries;
62     guint8 edch_ddi[MAX_EDCH_DDIS];
63     guint  edch_macd_pdu_size[MAX_EDCH_DDIS];
64 };
65