2 * Routines for ANSI IS-801 (Location Services (PLD)) dissection
4 * Location Services (Position Determination Service)
5 * 3GPP2 C.S0022-0 v1.0 IS-801
7 * Location Services (Position Determination Service)
8 * 3GPP2 C.S0022-0-1 v1.0 IS-801 Addendum
10 * Copyright 2004, Michael Lum <mlum [AT] telostech.com>
11 * In association with Telos Technology Inc.
13 * $Id: packet-ansi_801.c,v 1.1 2004/03/27 11:32:27 guy Exp $
15 * Ethereal - Network traffic analyzer
16 * By Gerald Combs <gerald@ethereal.com>
17 * Copyright 1998 Gerald Combs
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version 2
22 * of the License, or (at your option) any later version.
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
42 #ifdef HAVE_SYS_TYPES_H
43 # include <sys/types.h>
46 #ifdef HAVE_NETINET_IN_H
47 # include <netinet/in.h>
52 #include "epan/packet.h"
55 static char *ansi_proto_name = "ANSI IS-801 (Location Services (PLD))";
56 static char *ansi_proto_name_short = "IS-801";
58 #define ANSI_801_FORWARD 0
59 #define ANSI_801_REVERSE 1
62 /* Initialize the subtree pointers */
63 static gint ett_ansi_801 = -1;
65 /* Initialize the protocol and registered fields */
66 static int proto_ansi_801 = -1;
67 static int hf_ansi_801_for_req_type = -1;
68 static int hf_ansi_801_for_rsp_type = -1;
69 static int hf_ansi_801_rev_req_type = -1;
70 static int hf_ansi_801_rev_rsp_type = -1;
71 static int hf_ansi_801_for_sess_tag = -1;
72 static int hf_ansi_801_rev_sess_tag = -1;
73 static int hf_ansi_801_sess_tag = -1;
75 static char bigbuf[1024];
76 static dissector_handle_t data_handle;
77 static packet_info *g_pinfo;
78 static proto_tree *g_tree;
84 my_match_strval(guint32 val, const value_string *vs, gint *idx)
90 if (vs[i].value == val)
104 /* PARAM FUNCTIONS */
106 #define EXTRANEOUS_DATA_CHECK(edc_len, edc_max_len) \
107 if ((edc_len) > (edc_max_len)) \
109 proto_tree_add_text(tree, tvb, \
110 offset, (edc_len) - (edc_max_len), "Extraneous Data"); \
113 #define SHORT_DATA_CHECK(sdc_len, sdc_min_len) \
114 if ((sdc_len) < (sdc_min_len)) \
116 proto_tree_add_text(tree, tvb, \
117 offset, (sdc_len), "Short Data (?)"); \
121 #define EXACT_DATA_CHECK(edc_len, edc_eq_len) \
122 if ((edc_len) != (edc_eq_len)) \
124 proto_tree_add_text(tree, tvb, \
125 offset, (edc_len), "Unexpected Data Length"); \
131 for_req_pseudo_meas(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset)
134 guint32 saved_offset;
136 SHORT_DATA_CHECK(len, 3);
138 saved_offset = offset;
140 value = tvb_get_ntoh24(tvb, offset);
142 other_decode_bitfield_value(bigbuf, value >> 16, 0xe0, 8);
143 proto_tree_add_text(tree, tvb, offset, 1,
144 "%s : Preferred response quality, %u",
146 (value & 0xe00000) >> 21);
148 other_decode_bitfield_value(bigbuf, value >> 16, 0x1f, 8);
149 proto_tree_add_text(tree, tvb, offset, 1,
150 "%s : Number of fixes (MSB), %u",
152 (value & 0x1fe000) >> 13);
154 other_decode_bitfield_value(bigbuf, value >> 8, 0xe0, 8);
155 proto_tree_add_text(tree, tvb, offset, 1,
156 "%s : Number of fixes (LSB)",
159 other_decode_bitfield_value(bigbuf, value >> 8, 0x1f, 8);
160 proto_tree_add_text(tree, tvb, offset, 1,
161 "%s : Time between fixes (MSB), %u",
163 (value & 0x001fe0) >> 5);
165 other_decode_bitfield_value(bigbuf, value, 0xe0, 8);
166 proto_tree_add_text(tree, tvb, offset, 1,
167 "%s : Time between fixes (LSB)",
170 other_decode_bitfield_value(bigbuf, value, 0x10, 8);
171 proto_tree_add_text(tree, tvb, offset, 1,
172 "%s : Offset %srequested",
174 (value & 0x10) ? "" : "not ");
176 other_decode_bitfield_value(bigbuf, value, 0x0f, 8);
177 proto_tree_add_text(tree, tvb, offset, 1,
183 EXTRANEOUS_DATA_CHECK(len, offset - saved_offset);
186 static const value_string for_req_type_strings[] = {
188 { 2, "Request MS Information" },
189 { 3, "Request Autonomous Measurement Weighting Factors" },
190 { 4, "Request Pseudorange Measurement" },
191 { 5, "Request Pilot Phase Measurement" },
192 { 1, "Request Location Response" },
193 { 6, "Request Time Offset Measurement" },
194 { 7, "Request Cancellation" },
197 #define NUM_FOR_REQ_TYPE (sizeof(for_req_type_strings)/sizeof(value_string))
198 static gint ett_for_req_type[NUM_FOR_REQ_TYPE];
199 static void (*for_req_type_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset) = {
201 NULL, /* Request MS Information */
202 NULL, /* Request Autonomous Measurement Weighting Factors */
203 for_req_pseudo_meas, /* Request Pseudorange Measurement */
204 NULL, /* Request Pilot Phase Measurement */
205 NULL, /* Request Location Response */
206 NULL, /* Request Time Offset Measurement */
207 NULL, /* Request Cancellation */
211 static const value_string for_rsp_type_strings[] = {
213 { 2, "Provide BS Capabilities" },
214 { 4, "Provide GPS Acquisition Assistance" },
215 { 6, "Provide GPS Location Assistance Spherical Coordinates" },
216 { 7, "Provide GPS Location Assistance Cartesian Coordinates" },
217 { 5, "Provide GPS Sensitivity Assistance" },
218 { 3, "Provide Base Station Almanac" },
219 { 8, "Provide GPS Almanac" },
220 { 9, "Provide GPS Ephemeris" },
221 { 10, "Provide GPS Navigation Message Bits" },
222 { 1, "Provide Location Response" },
223 { 11, "Provide GPS Almanac Correction" },
224 { 12, "Provide GPS Satellite Health Information" },
227 #define NUM_FOR_RSP_TYPE (sizeof(for_rsp_type_strings)/sizeof(value_string))
228 static gint ett_for_rsp_type[NUM_FOR_RSP_TYPE];
229 static void (*for_rsp_type_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset) = {
231 NULL, /* Provide BS Capabilities */
232 NULL, /* Provide GPS Acquisition Assistance */
233 NULL, /* Provide GPS Location Assistance Spherical Coordinates */
234 NULL, /* Provide GPS Location Assistance Cartesian Coordinates */
235 NULL, /* Provide GPS Sensitivity Assistance */
236 NULL, /* Provide Base Station Almanac */
237 NULL, /* Provide GPS Almanac */
238 NULL, /* Provide GPS Ephemeris */
239 NULL, /* Provide GPS Navigation Message Bits */
240 NULL, /* Provide Location Response */
241 NULL, /* Provide GPS Almanac Correction */
242 NULL, /* Provide GPS Satellite Health Information */
246 static const value_string rev_req_type_strings[] = {
248 { 2, "Request BS Capabilities" },
249 { 4, "Request GPS Acquisition Assistance" },
250 { 6, "Request GPS Location Assistance" },
252 { 5, "Request GPS Sensitivity Assistance" },
253 { 3, "Request Base Station Almanac" },
254 { 8, "Request GPS Almanac" },
255 { 9, "Request GPS Ephemeris" },
256 { 10, "Request GPS Navigation Message Bits" },
257 { 1, "Request Location Response" },
258 { 11, "Request GPS Almanac Correction" },
259 { 12, "Request GPS Satellite Health Information" },
262 #define NUM_REV_REQ_TYPE (sizeof(rev_req_type_strings)/sizeof(value_string))
263 static gint ett_rev_req_type[NUM_REV_REQ_TYPE];
264 static void (*rev_req_type_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset) = {
266 NULL, /* Request BS Capabilities */
267 NULL, /* Request GPS Acquisition Assistance */
268 NULL, /* Request GPS Location Assistance */
270 NULL, /* Request GPS Sensitivity Assistance */
271 NULL, /* Request Base Station Almanac */
272 NULL, /* Request GPS Almanac */
273 NULL, /* Request GPS Ephemeris */
274 NULL, /* Request GPS Navigation Message Bits */
275 NULL, /* Request Location Response */
276 NULL, /* Request GPS Almanac Correction */
277 NULL, /* Request GPS Satellite Health Information */
281 static const value_string rev_rsp_type_strings[] = {
283 { 2, "Provide MS Information" },
284 { 3, "Provide Autonomous Measurement Weighting Factors" },
285 { 4, "Provide Pseudorange Measurement" },
286 { 5, "Provide Pilot Phase Measurement" },
287 { 1, "Provide Location Response" },
288 { 6, "Provide Time Offset Measurement" },
289 { 7, "Provide Cancellation Acknowledgement" },
292 #define NUM_REV_RSP_TYPE (sizeof(rev_rsp_type_strings)/sizeof(value_string))
293 static gint ett_rev_rsp_type[NUM_REV_RSP_TYPE];
294 static void (*rev_rsp_type_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint len, guint32 offset) = {
296 NULL, /* Provide MS Information */
297 NULL, /* Provide Autonomous Measurement Weighting Factors */
298 NULL, /* Provide Pseudorange Measurement */
299 NULL, /* Provide Pilot Phase Measurement */
300 NULL, /* Provide Location Response */
301 NULL, /* Provide Time Offset Measurement */
302 NULL, /* Provide Cancellation Acknowledgement */
307 for_request(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
317 oct = tvb_get_guint8(tvb, offset);
319 other_decode_bitfield_value(bigbuf, oct, 0xf0, 8);
320 proto_tree_add_text(tree, tvb, offset, 1,
324 str = my_match_strval(oct & 0x0f, for_req_type_strings, &idx);
331 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
333 proto_tree_add_uint_format(tree, hf_ansi_801_for_req_type, tvb, offset,
335 "%s : Request Type, %s (%u)",
340 subtree = proto_item_add_subtree(item, ett_for_req_type[idx]);
343 oct = tvb_get_guint8(tvb, offset);
345 proto_tree_add_text(subtree, tvb, offset, 1,
351 if (for_req_type_fcn[idx] != NULL)
353 (*for_req_type_fcn[idx])(tvb, subtree, oct, offset);
357 proto_tree_add_text(subtree, tvb, offset, oct,
361 *offset_p = offset + oct;
365 for_response(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
375 oct = tvb_get_guint8(tvb, offset);
377 other_decode_bitfield_value(bigbuf, oct, 0xe0, 8);
378 proto_tree_add_text(tree, tvb, offset, 1,
382 other_decode_bitfield_value(bigbuf, oct, 0x10, 8);
383 proto_tree_add_text(tree, tvb, offset, 1,
384 "%s : Unsolicited response indicator",
387 str = my_match_strval(oct & 0x0f, for_rsp_type_strings, &idx);
394 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
396 proto_tree_add_uint_format(tree, hf_ansi_801_for_rsp_type, tvb, offset,
398 "%s : Response Type, %s (%u)",
403 subtree = proto_item_add_subtree(item, ett_for_rsp_type[idx]);
406 oct = tvb_get_guint8(tvb, offset);
408 proto_tree_add_text(subtree, tvb, offset, 1,
414 if (for_rsp_type_fcn[idx] != NULL)
416 (*for_rsp_type_fcn[idx])(tvb, subtree, oct, offset);
420 proto_tree_add_text(subtree, tvb, offset, oct,
424 *offset_p = offset + oct;
428 rev_request(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
438 oct = tvb_get_guint8(tvb, offset);
440 other_decode_bitfield_value(bigbuf, oct, 0xf0, 8);
441 proto_tree_add_text(tree, tvb, offset, 1,
445 str = my_match_strval(oct & 0x0f, rev_req_type_strings, &idx);
452 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
454 proto_tree_add_uint_format(tree, hf_ansi_801_rev_req_type, tvb, offset,
456 "%s : Request Type, %s (%u)",
461 subtree = proto_item_add_subtree(item, ett_rev_req_type[idx]);
464 oct = tvb_get_guint8(tvb, offset);
466 proto_tree_add_text(subtree, tvb, offset, 1,
472 if (rev_req_type_fcn[idx] != NULL)
474 (*rev_req_type_fcn[idx])(tvb, subtree, oct, offset);
478 proto_tree_add_text(subtree, tvb, offset, oct,
482 *offset_p = offset + oct;
486 rev_response(tvbuff_t *tvb, proto_tree *tree, guint32 *offset_p)
496 oct = tvb_get_guint8(tvb, offset);
498 other_decode_bitfield_value(bigbuf, oct, 0xe0, 8);
499 proto_tree_add_text(tree, tvb, offset, 1,
503 other_decode_bitfield_value(bigbuf, oct, 0x10, 8);
504 proto_tree_add_text(tree, tvb, offset, 1,
505 "%s : Unsolicited response indicator",
508 str = my_match_strval(oct & 0x0f, rev_rsp_type_strings, &idx);
515 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
517 proto_tree_add_uint_format(tree, hf_ansi_801_rev_rsp_type, tvb, offset,
519 "%s : Response Type, %s (%u)",
524 subtree = proto_item_add_subtree(item, ett_rev_rsp_type[idx]);
527 oct = tvb_get_guint8(tvb, offset);
529 proto_tree_add_text(subtree, tvb, offset, 1,
535 if (rev_rsp_type_fcn[idx] != NULL)
537 (*rev_rsp_type_fcn[idx])(tvb, subtree, oct, offset);
541 proto_tree_add_text(subtree, tvb, offset, oct,
545 *offset_p = offset + oct;
549 dissect_ansi_801_for_message(tvbuff_t *tvb, proto_tree *tree)
552 guint8 oct, num_req, num_rsp;
557 oct = tvb_get_guint8(tvb, offset);
559 other_decode_bitfield_value(bigbuf, oct, 0x80, 8);
560 proto_tree_add_text(tree, tvb, offset, 1,
561 "%s : Session Start",
564 other_decode_bitfield_value(bigbuf, oct, 0x40, 8);
565 proto_tree_add_text(tree, tvb, offset, 1,
569 other_decode_bitfield_value(bigbuf, oct, 0x20, 8);
570 proto_tree_add_text(tree, tvb, offset, 1,
571 "%s : Session Source",
574 other_decode_bitfield_value(bigbuf, oct, 0x1f, 8);
575 proto_tree_add_uint_format(tree, hf_ansi_801_for_sess_tag, tvb, offset,
577 "%s : Session Tag (%u)",
581 proto_tree_add_uint_hidden(tree, hf_ansi_801_sess_tag, tvb, offset,
585 oct = tvb_get_guint8(tvb, offset);
589 case 0x00: str = "Position Determination Data Message"; break;
590 case 0xff: str = "Reserved"; break;
594 str = "Reserved for future standardization";
599 "Available for manufacturer-specific Position Determination "
600 "Data Message definition as specified in TSB-58";
605 other_decode_bitfield_value(bigbuf, oct, 0xff, 8);
606 proto_tree_add_text(tree, tvb, offset, 1,
607 "%s : PD Message Type, %s (%u)",
616 oct = tvb_get_guint8(tvb, offset);
618 num_req = (oct & 0xf0) >> 4;
619 num_rsp = oct & 0x0f;
621 other_decode_bitfield_value(bigbuf, oct, 0xf0, 8);
622 proto_tree_add_text(tree, tvb, offset, 1,
623 "%s : Number Requests (%u)",
627 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
628 proto_tree_add_text(tree, tvb, offset, 1,
629 "%s : Number Responses (%u)",
634 rem_len = tvb_length_remaining(tvb, offset);
636 while ((num_req > 0) &&
639 for_request(tvb, tree, &offset);
641 rem_len = tvb_length_remaining(tvb, offset);
647 proto_tree_add_text(tree, tvb,
648 offset, -1, "Short Data (?)");
652 while ((num_rsp > 0) &&
655 for_response(tvb, tree, &offset);
657 rem_len = tvb_length_remaining(tvb, offset);
663 proto_tree_add_text(tree, tvb,
664 offset, -1, "Short Data (?)");
670 proto_tree_add_text(tree, tvb, offset, rem_len,
676 proto_tree_add_text(tree, tvb, offset, -1,
677 "Reserved/Proprietary/Future Data");
682 dissect_ansi_801_rev_message(tvbuff_t *tvb, proto_tree *tree)
685 guint8 oct, num_req, num_rsp;
690 oct = tvb_get_guint8(tvb, offset);
692 other_decode_bitfield_value(bigbuf, oct, 0x80, 8);
693 proto_tree_add_text(tree, tvb, offset, 1,
694 "%s : Session Start",
697 other_decode_bitfield_value(bigbuf, oct, 0x40, 8);
698 proto_tree_add_text(tree, tvb, offset, 1,
702 other_decode_bitfield_value(bigbuf, oct, 0x20, 8);
703 proto_tree_add_text(tree, tvb, offset, 1,
704 "%s : Session Source",
707 other_decode_bitfield_value(bigbuf, oct, 0x1f, 8);
708 proto_tree_add_uint_format(tree, hf_ansi_801_rev_sess_tag, tvb, offset,
710 "%s : Session Tag (%u)",
714 proto_tree_add_uint_hidden(tree, hf_ansi_801_sess_tag, tvb, offset,
718 oct = tvb_get_guint8(tvb, offset);
722 case 0x00: str = "Position Determination Data Message"; break;
723 case 0xff: str = "Reserved"; break;
727 str = "Reserved for future standardization";
732 "Available for manufacturer-specific Position Determination "
733 "Data Message definition as specified in TSB-58";
738 other_decode_bitfield_value(bigbuf, oct, 0xff, 8);
739 proto_tree_add_text(tree, tvb, offset, 1,
740 "%s : PD Message Type, %s (%u)",
749 oct = tvb_get_guint8(tvb, offset);
751 num_req = (oct & 0xf0) >> 4;
752 num_rsp = oct & 0x0f;
754 other_decode_bitfield_value(bigbuf, oct, 0xf0, 8);
755 proto_tree_add_text(tree, tvb, offset, 1,
756 "%s : Number Requests (%u)",
760 other_decode_bitfield_value(bigbuf, oct, 0x0f, 8);
761 proto_tree_add_text(tree, tvb, offset, 1,
762 "%s : Number Responses (%u)",
767 rem_len = tvb_length_remaining(tvb, offset);
769 while ((num_req > 0) &&
772 rev_request(tvb, tree, &offset);
774 rem_len = tvb_length_remaining(tvb, offset);
780 proto_tree_add_text(tree, tvb,
781 offset, -1, "Short Data (?)");
785 while ((num_rsp > 0) &&
788 rev_response(tvb, tree, &offset);
790 rem_len = tvb_length_remaining(tvb, offset);
796 proto_tree_add_text(tree, tvb,
797 offset, -1, "Short Data (?)");
803 proto_tree_add_text(tree, tvb, offset, rem_len,
809 proto_tree_add_text(tree, tvb, offset, -1,
810 "Reserved/Proprietary/Future Data");
815 dissect_ansi_801(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
817 proto_item *ansi_801_item;
818 proto_tree *ansi_801_tree = NULL;
822 if (check_col(pinfo->cinfo, COL_PROTOCOL))
824 col_set_str(pinfo->cinfo, COL_PROTOCOL, ansi_proto_name_short);
827 /* In the interest of speed, if "tree" is NULL, don't do any work not
828 * necessary to generate protocol tree items.
835 * create the ansi_801 protocol tree
838 proto_tree_add_protocol_format(tree, proto_ansi_801, tvb, 0, -1,
841 (pinfo->match_port == ANSI_801_FORWARD) ? "Forward" : "Reverse");
844 proto_item_add_subtree(ansi_801_item, ett_ansi_801);
846 if (pinfo->match_port == ANSI_801_FORWARD)
848 dissect_ansi_801_for_message(tvb, ansi_801_tree);
852 dissect_ansi_801_rev_message(tvb, ansi_801_tree);
858 /* Register the protocol with Ethereal */
860 proto_register_ansi_801(void)
865 /* Setup list of header fields */
866 static hf_register_info hf[] =
868 { &hf_ansi_801_for_req_type,
869 { "Forward Request Type", "ansi_801.for_req_type",
870 FT_UINT8, BASE_DEC, NULL, 0,
873 { &hf_ansi_801_for_rsp_type,
874 { "Forward Response Type", "ansi_801.for_rsp_type",
875 FT_UINT8, BASE_DEC, NULL, 0,
878 { &hf_ansi_801_rev_req_type,
879 { "Reverse Request Type", "ansi_801.rev_req_type",
880 FT_UINT8, BASE_DEC, NULL, 0,
883 { &hf_ansi_801_rev_rsp_type,
884 { "Reverse Response Type", "ansi_801.rev_rsp_type",
885 FT_UINT8, BASE_DEC, NULL, 0,
888 { &hf_ansi_801_for_sess_tag,
889 { "Forward Session Tag", "ansi_801.for_sess_tag",
890 FT_UINT8, BASE_DEC, NULL, 0,
893 { &hf_ansi_801_rev_sess_tag,
894 { "Reverse Session Tag", "ansi_801.rev_sess_tag",
895 FT_UINT8, BASE_DEC, NULL, 0,
898 { &hf_ansi_801_sess_tag,
899 { "Session Tag", "ansi_801.sess_tag",
900 FT_UINT8, BASE_DEC, NULL, 0,
905 /* Setup protocol subtree array */
906 #define NUM_INDIVIDUAL_PARAMS 1
907 gint *ett[NUM_INDIVIDUAL_PARAMS+NUM_FOR_REQ_TYPE+NUM_FOR_RSP_TYPE+NUM_REV_REQ_TYPE+NUM_REV_RSP_TYPE];
909 ett[0] = &ett_ansi_801;
911 last_offset = NUM_INDIVIDUAL_PARAMS;
913 for (i=0; i < NUM_FOR_REQ_TYPE; i++, last_offset++)
915 ett[last_offset] = &ett_for_req_type[i];
918 for (i=0; i < NUM_FOR_RSP_TYPE; i++, last_offset++)
920 ett[last_offset] = &ett_for_rsp_type[i];
923 for (i=0; i < NUM_REV_REQ_TYPE; i++, last_offset++)
925 ett[last_offset] = &ett_rev_req_type[i];
928 for (i=0; i < NUM_REV_RSP_TYPE; i++, last_offset++)
930 ett[last_offset] = &ett_rev_rsp_type[i];
933 /* Register the protocol name and description */
935 proto_register_protocol(ansi_proto_name, "ANSI IS-801 (Location Services (PLD))", "ansi_801");
937 /* Required function calls to register the header fields and subtrees used */
938 proto_register_field_array(proto_ansi_801, hf, array_length(hf));
939 proto_register_subtree_array(ett, array_length(ett));
944 proto_reg_handoff_ansi_801(void)
946 dissector_handle_t ansi_801_handle;
948 ansi_801_handle = create_dissector_handle(dissect_ansi_801, proto_ansi_801);
950 dissector_add("ansi_map.pld", ANSI_801_FORWARD, ansi_801_handle);
951 dissector_add("ansi_map.pld", ANSI_801_REVERSE, ansi_801_handle);
952 dissector_add("ansi_a.pld", ANSI_801_FORWARD, ansi_801_handle);
953 dissector_add("ansi_a.pld", ANSI_801_REVERSE, ansi_801_handle);
955 data_handle = find_dissector("data");