aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.h
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2007-05-08 17:13:14 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2007-05-08 17:13:14 +0000
commitaac8ca13557c0b6e4c8cdfe4942c8dbeabb2a62c (patch)
tree57baac369b3c46d5d6d6759117f01c568455c847 /epan/dissectors/packet-umts_fp.h
parent5b41e5bec5c74eddf98f2f58583873079b95a335 (diff)
From Kriang Lerdsuwanakij:
This patch adds the handling of Spare Extension bytes to UMTS Frame Protocol. It also handles the case when the presence of CRC in dedicated channels is not known (i.e. when FP from a K12/K15 log is dissected). The new functionality is placed in the new function "dissect_spare_extension_and_crc". The "dch_crc_present" field inside "struct fp_info" (file packet-umts_fp.h) is also extended to handle the case of unknown CRC presence. Much of other changes is to update "offset" variable and return it so that the location of Spare Extension and CRC is available. The patch also include a small tweak to handle Frame Protocol information saved from K15. Some fields appear 8 bytes later compared to K12. The changes are in the file packet-k12.c. svn path=/trunk/; revision=21726
Diffstat (limited to 'epan/dissectors/packet-umts_fp.h')
-rw-r--r--epan/dissectors/packet-umts_fp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.h b/epan/dissectors/packet-umts_fp.h
index 2dc509e3e6..d74d1cb133 100644
--- a/epan/dissectors/packet-umts_fp.h
+++ b/epan/dissectors/packet-umts_fp.h
@@ -57,7 +57,7 @@ typedef struct fp_info
guint8 release_month; /* e.g. 12 for December */
gboolean is_uplink;
gint channel; /* see definitions above */
- gboolean dch_crc_present;
+ guint8 dch_crc_present; /* 0=No, 1=Yes, 2=Unknown */
gint paging_indications;
gint num_chans;
#define MAX_FP_CHANS 64