* 2000 Access Network Interfaces
* 3GPP2 A.S0001-1 TIA/EIA-2001
*
- * $Id: packet-ansi_a.c,v 1.6 2003/11/09 22:32:44 guy Exp $
+ * $Id: packet-ansi_a.c,v 1.15 2003/12/21 04:31:56 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "epan/packet.h"
#include "prefs.h"
+#include "tap.h"
#include "packet-bssap.h"
+#include "packet-ansi_a.h"
+
/* PROTOTYPES/FORWARDS */
#define ANSI_A_MIN(x,y) (((x) < (y)) ? (x) : (y))
-static const value_string ansi_bsmap_strings[] = {
+const value_string ansi_a_ios401_bsmap_strings[] = {
{ 0x69, "Additional Service Notification" },
{ 0x65, "ADDS Page" },
{ 0x66, "ADDS Page Ack" },
{ 0, NULL },
};
-static const value_string ansi_dtap_strings[] = {
+const value_string ansi_a_ios401_dtap_strings[] = {
{ 0x62, "Additional Service Request" },
{ 0x53, "ADDS Deliver" },
{ 0x54, "ADDS Deliver Ack" },
{ 0, NULL },
};
-static const value_string ansi_elem_1_strings[] = {
+const value_string ansi_a_ios401_elem_1_strings[] = {
{ 0x20, "Access Network Identifiers" },
{ 0x3D, "ADDS User Part" },
{ 0x25, "AMPS Hard Handoff Parameters" },
static int proto_a_bsmap = -1;
static int proto_a_dtap = -1;
+static int ansi_a_tap = -1;
+
static int hf_ansi_a_none = -1;
static int hf_ansi_a_bsmap_msgtype = -1;
static int hf_ansi_a_dtap_msgtype = -1;
return(cnt);
}
-/* Generate, into "buf", a string showing the bits of a bitfield.
- * Return a pointer to the character after that string.
- */
-static char *
-my_decode_bitfield_value(char *buf, guint32 val, guint32 mask, int width)
-{
- int i;
- guint32 bit;
- char *p;
-
- i = 0;
- p = buf;
- bit = 1 << (width - 1);
-
- for (;;)
- {
- if (mask & bit)
- {
- /* This bit is part of the field. Show its value. */
- if (val & bit)
- {
- *p++ = '1';
- }
- else
- {
- *p++ = '0';
- }
- }
- else
- {
- /* This bit is not part of the field. */
- *p++ = '.';
- }
-
- bit >>= 1;
- i++;
-
- if (i >= width) break;
-
- if (i % 4 == 0) *p++ = ' ';
- }
-
- *p = '\0';
-
- return(p);
-}
-
static gchar *
my_match_strval(guint32 val, const value_string *vs, gint *idx)
{
if (data)
{
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Extension",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : %sTransparent service",
a_bigbuf,
(oct & 0x40) ? "Non-" : "");
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : N-AMPS",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ANSI/EIA/TIA-553",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Timeslot Number",
a_bigbuf);
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value >> 8, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, value >> 8, 0xf8, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, value >> 8, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, value >> 8, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (MSB): %u",
a_bigbuf,
value & 0x07ff);
- my_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset + 1, 1,
"%s : ARFCN (LSB)",
a_bigbuf);
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value >> 8, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, value >> 8, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, value >> 8, 0x7f, 8);
+ other_decode_bitfield_value(a_bigbuf, value >> 8, 0x7f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : SID (MSB), %u",
a_bigbuf,
value & 0x7fff);
- my_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset + 1, 1,
"%s : SID (LSB)",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Hard Handoff",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Number of Channels to Add: %u",
a_bigbuf,
(oct & 0x70) >> 4);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Frame Offset: (%u), %.2f ms",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Pilot PN Code (LSB)",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
value |= ((guint32) (oct & 0x80)) << 1;
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Pilot PN Code (MSB): %u",
a_bigbuf,
value);
- my_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Power Combined",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x20, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x20, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Frequency Included",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
value = tvb_get_guint8(tvb, curr_offset + 1) | ((oct & 0x07) << 8);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (MSB): %u",
a_bigbuf,
curr_offset++;
- my_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (LSB)",
a_bigbuf);
subtree = proto_item_add_subtree(item, ett_ansi_enc_info);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Extension",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x7c, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x7c, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Encryption Parameter Identifier: (%u) %s",
a_bigbuf,
(oct & 0x7c) >> 2,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Status: %s",
a_bigbuf,
(oct & 0x02) ? "active" : "inactive");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Available: algorithm is %savailable",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Mobile P_REV: %u",
a_bigbuf,
sprintf(add_string, " - P_REV (%u)", (oct & 0xe0) >> 5);
- my_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : See List of Entries",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : RF Power Capability: %s",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : NAR_AN_CAP: N-AMPS %ssupported",
a_bigbuf,
(oct & 0x80) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : IS-95: %ssupported",
a_bigbuf,
(oct & 0x40) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x20, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x20, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Slotted: mobile is %sin slotted mode",
a_bigbuf,
(oct & 0x20) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x04, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x04, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : DTX: mobile is %scapable of DTX",
a_bigbuf,
(oct & 0x04) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Mobile Term: mobile is %scapable of receiving incoming calls",
a_bigbuf,
(oct & 0x02) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Mobile Term: mobile is %scapable of receiving incoming calls",
a_bigbuf,
(oct & 0x02) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : PACA Supported Indicator (PSI): mobile station %s PACA",
a_bigbuf,
{
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
str = band_class_str[temp_int];
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Band Class: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Band Class %u Air Interfaces Supported: %u",
switch (oct & 0x07)
{
case 2:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: Broadcast",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Priority: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Message ID: %u",
break;
case 0:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Unused",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Odd/Even Indicator: %s",
a_bigbuf,
(oct & 0x08) ? "ODD" : "EVEN");
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: No Identity Code",
/* FALLTHRU */
case 6:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Identity Digit 1: %c",
a_bigbuf,
Dgt_msid.out[(oct & 0xf0) >> 4]);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Odd/Even Indicator: %s",
a_bigbuf,
(oct & 0x08) ? "ODD" : "EVEN");
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: %s",
break;
case 3:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Unused",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Odd/Even Indicator: %s",
a_bigbuf,
(oct & 0x08) ? "ODD" : "EVEN");
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: Interface Directory Number",
break;
case 4:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Unused",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Odd/Even Indicator: %s",
a_bigbuf,
(oct & 0x08) ? "ODD" : "EVEN");
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: TMSI",
break;
case 5:
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Unused",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Odd/Even Indicator: %s",
a_bigbuf,
(oct & 0x08) ? "ODD" : "EVEN");
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Identity: ESN",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Slot Cycle Index: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3c, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3c, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Call Priority Level: %u",
a_bigbuf,
(oct & 0x3c) >> 2);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Queuing %sallowed",
a_bigbuf,
(oct & 0x02) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Preemption %sallowed",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Extension",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Cause Class: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : National Cause",
{
value = tvb_get_guint8(tvb, curr_offset + 1);
- my_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Cause (MSB): %u",
curr_offset++;
- my_decode_bitfield_value(a_bigbuf, value, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Cause (LSB)",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Cause: (%u) %s",
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : PCM Multiplexer: %u",
a_bigbuf,
(value & 0xffe0) >> 5);
- my_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Timeslot: %u",
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : PCM Multiplexer: %u",
a_bigbuf,
(value & 0xffe0) >> 5);
- my_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Timeslot: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Circuit Mode: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Downlink Signal Strength Raw: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ID Type: %u",
a_bigbuf,
(oct & 0x60) >> 5);
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Handoff Power Level: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Handoff Power Level: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : OTD: Mobile will %sbe using OTD",
a_bigbuf,
num_chan = (oct & 0x70) >> 4;
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Channel Count: %u",
a_bigbuf,
num_chan);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Frame Offset: (%u), %.2f ms",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Pilot Gating Rate: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x18, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : QOF Mask",
a_bigbuf);
value = tvb_get_guint8(tvb, curr_offset + 1);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Walsh Code Channel Index (MSB): %u",
a_bigbuf,
curr_offset++;
- my_decode_bitfield_value(a_bigbuf, value, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Walsh Code Channel Index (LSB)",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Pilot PN Code (LSB)",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
value |= ((guint32) (oct & 0x80)) << 1;
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Pilot PN Code (MSB): %u",
a_bigbuf,
value);
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Frequency Included",
a_bigbuf);
value = tvb_get_guint8(tvb, curr_offset + 1) | ((oct & 0x07) << 8);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (MSB): %u",
a_bigbuf,
curr_offset++;
- my_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (LSB)",
a_bigbuf);
str = band_class_str[temp_int];
}
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Band Class: %s",
value = tvb_get_guint8(tvb, curr_offset + 1) | ((oct & 0x07) << 8);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (MSB): %u",
a_bigbuf,
curr_offset++;
- my_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
+ other_decode_bitfield_value(a_bigbuf, value & 0x00ff, 0xff, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ARFCN (LSB)",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Extension: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Type of Number: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Number Plan Identification: %s",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Extension",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Presentation Indicator: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1c, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1c, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Screening Indicator: %s",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Random Number Type: (%u) %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Auth Signature Type: (%u) %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Count: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Extension",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Number: %s",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Numbering Plan Identification: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Extension: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Number: %s",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Numbering Plan Identification: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Extension",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Presentation Indicator: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1c, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1c, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Screening Indicator: %s",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Packet Priority: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Extension",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x60, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Coding Standard: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Location: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Extension",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Class: (%u) %s",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Value: (%u)",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfe, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfe, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : TFO Mode: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
str = band_class_str[temp_int];
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Band Class: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Number of Preamble Frames: %u",
a_bigbuf,
(oct & 0xe0) >> 5);
- my_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reset L2: %s Layer 2 Acknowledgement",
a_bigbuf,
(oct & 0x10) ? "Reset" : "Do not reset");
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reset FPC: %s counters",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x06, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x06, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Encryption Mode: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Private LCM: %s Private Long Code Mask",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Nom_Pwr_Ext",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Nom_Pwr: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3e, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3e, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : FPC Subchannel Information: %u",
a_bigbuf,
(oct & 0x3e) >> 1);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : FPC SubChannel Information Included",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0e, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0e, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Power Control Step: %u",
a_bigbuf,
(oct & 0x0e) >> 1);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Power Control Step Included",
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value, 0x8000, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x8000, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Proprietary Indicator",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, value, 0x7000, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x7000, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Service Option Revision",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, value, 0x0fff, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x0fff, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Base Service Option Number",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Data Burst Type: %s",
elem_is2000_scr(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string)
{
guint8 oct;
- guint8 oct_len;
guint32 curr_offset;
add_string = add_string;
curr_offset = offset;
- oct_len = tvb_get_guint8(tvb, curr_offset);
-
- proto_tree_add_text(tree,
- tvb, curr_offset, 1,
- "Bit-Exact Length Octet Count: %u",
- oct_len);
-
- curr_offset++;
-
- NO_MORE_DATA_CHECK(len);
-
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Bit-Exact Length Fill Bits: %u",
a_bigbuf,
NO_MORE_DATA_CHECK(len);
- if (oct_len > 0)
- {
- SHORT_DATA_CHECK(len - (curr_offset - offset), oct_len);
-
- proto_tree_add_text(tree, tvb, curr_offset, oct_len,
- "IS-2000 Service Configuration Record Content");
+ proto_tree_add_text(tree, tvb, curr_offset,
+ len - (curr_offset - offset),
+ "IS-2000 Service Configuration Record Content");
- curr_offset += oct_len;
- }
+ curr_offset += len - (curr_offset - offset);
EXTRANEOUS_DATA_CHECK(len, curr_offset - offset);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Bit-Exact Length Fill Bits: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x10, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : DCCH Supported: IS-2000 DCCH %ssupported",
a_bigbuf,
(oct & 0x10) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : FCH Supported: IS-2000 FCH %ssupported",
a_bigbuf,
(oct & 0x08) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x04, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x04, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : OTD Supported: Orthogonal Transmit Diversity %ssupported",
a_bigbuf,
(oct & 0x04) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Enhanced RC CFG Supported: Radio configuration in radio class 2 %ssupported",
a_bigbuf,
(oct & 0x02) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : QPCH Supported: Quick Paging Channel %ssupported",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Geo Location Type: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x08, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Geo Location Included",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : FCH Information: Bit-Exact Length Fill Bits: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : DCCH Information: Bit-Exact Length Fill Bits: %u",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Number Type: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1e, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1e, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Number Plan: %s",
a_bigbuf,
if (oct_len > 1)
{
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : MSB of first digit",
a_bigbuf);
curr_offset += (oct_len - 2);
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, value, 0xe000, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0xe000, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : Number Type: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, value, 0x1e00, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x1e00, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : Number Plan: %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, value, 0x0180, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x0180, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : Presentation Indicator (PI): %s",
a_bigbuf,
break;
}
- my_decode_bitfield_value(a_bigbuf, value, 0x0060, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x0060, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : Screening Indicator (SI): %s",
a_bigbuf,
{
oct = (value & 0x00ff);
- my_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : MSB of first digit",
a_bigbuf);
curr_offset += (oct_len - 3);
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(subtree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
}
else
{
- my_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
proto_tree_add_text(subtree, tvb, curr_offset, 2,
"%s : Reserved",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Search Window A Size (Srch_Win_A): %u",
a_bigbuf,
(oct & 0xf0) >> 4);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Search Window N Size (Srch_Win_N): %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Search Window R Size (Srch_Win_R): %u",
a_bigbuf,
value = tvb_get_guint8(tvb, curr_offset + 1);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Add Pilot Threshold (T_Add) (MSB): %u",
a_bigbuf,
oct = value;
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Add Pilot Threshold (T_Add) (LSB)",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Drop Pilot Threshold (T_Drop): %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Compare Threshold (T_Comp): %u",
a_bigbuf,
(oct & 0xf0) >> 4);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Drop Timer Value (T_TDrop): %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Neighbor Max Age (Nghbor_Max_AGE): %u",
a_bigbuf,
(oct & 0xf0) >> 4);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : SOFT_SLOPE: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : ADD_INTERCEPT: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xc0, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x3f, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : DROP_INTERCEPT: %u",
a_bigbuf,
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
case 3: str = "Reserved"; break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x03, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Resolution: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x40, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Include Priority: MSC %s include priority in Assignment Request",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x30, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x30, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Forward: %s",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0c, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0c, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reverse: %s",
a_bigbuf,
str);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Alloc: resources are %sallocated",
a_bigbuf,
(oct & 0x02) ? "" : "not ");
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Avail: resources are %savailable",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x80, 8);
proto_tree_add_text(tree, tvb, curr_offset, 1,
"%s : Extension",
a_bigbuf);
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x70, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Type of Number: %s",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Numbering Plan Identification: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xe0, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
str = band_class_str[temp_int];
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x1f, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Band Class: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfc, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x02, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : All Circuits",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Inclusive",
value = tvb_get_ntohs(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0xffe0, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : PCM Multiplexer: %u",
a_bigbuf,
(value & 0xffe0) >> 5);
- my_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
+ other_decode_bitfield_value(a_bigbuf, value, 0x001f, 16);
proto_tree_add_text(tree,
tvb, curr_offset, 2,
"%s : Timeslot: %u",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf8, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
break;
}
- my_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x07, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : PACA Action Required: %s",
oct = tvb_get_guint8(tvb, curr_offset);
- my_decode_bitfield_value(a_bigbuf, oct, 0xfe, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xfe, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x01, 8);
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"%s : PACA Reorigination Indicator (PRI)",
typedef enum
{
- P_ACC_NET_ID, /* Access Network Identifiers */
- P_ADDS_USER_PART, /* ADDS User Part */
- P_AMPS_HHO_PARAM, /* AMPS Hard Handoff Parameters */
- P_ANCH_PDSN_ADDR, /* Anchor PDSN Address */
- P_ANCH_PP_ADDR, /* Anchor P-P Address */
- P_AUTH_CHLG_PARAM, /* Authentication Challenge Parameter */
- P_AUTH_CNF_PARAM, /* Authentication Confirmation Parameter (RANDC) */
- P_AUTH_DATA, /* Authentication Data */
- P_AUTH_EVENT, /* Authentication Event */
- P_AUTH_PARAM_COUNT, /* Authentication Parameter COUNT */
- P_AUTH_RESP_PARAM, /* Authentication Response Parameter */
- P_BAND_CLASS, /* Band Class */
- P_CLD_PARTY_ASCII_NUM, /* Called Party ASCII Number */
- P_CLD_PARTY_BCD_NUM, /* Called Party BCD Number */
- P_CLG_PARTY_ASCII_NUM, /* Calling Party ASCII Number */
- P_CAUSE, /* Cause */
- P_CAUSE_L3, /* Cause Layer 3 */
- P_CDMA_SOWD, /* CDMA Serving One Way Delay */
- P_CELL_ID, /* Cell Identifier */
- P_CELL_ID_LIST, /* Cell Identifier List */
- P_CHAN_NUM, /* Channel Number */
- P_CHAN_TYPE, /* Channel Type */
- P_CCT_GROUP, /* Circuit Group */
- P_CIC, /* Circuit Identity Code */
- P_CIC_EXT, /* Circuit Identity Code Extension */
- P_CM_INFO_TYPE_2, /* Classmark Information Type 2 */
- P_DOWNLINK_RE, /* Downlink Radio Environment */
- P_DOWNLINK_RE_LIST, /* Downlink Radio Environment List */
- P_ENC_INFO, /* Encryption Information */
- P_EXT_HO_DIR_PARAMS, /* Extended Handoff Direction Parameters */
- P_GEO_LOC, /* Geographic Location */
- P_SSCI, /* Special Service Call Indicator */
- P_HO_POW_LEV, /* Handoff Power Level */
- P_HHO_PARAMS, /* Hard Handoff Parameters */
- P_IE_REQD, /* Information Element Requested */
- P_IS2000_CHAN_ID, /* IS-2000 Channel Identity */
- P_IS2000_CHAN_ID_3X, /* IS-2000 Channel Identity 3X */
- P_IS2000_MOB_CAP, /* IS-2000 Mobile Capabilities */
- P_IS2000_NN_SCR, /* IS-2000 Non-Negotiable Service Configuration Record */
- P_IS2000_SCR, /* IS-2000 Service Configuration Record */
- P_IS2000_CAUSE, /* IS-95/IS-2000 Cause Value */
- P_IS2000_RED_RECORD, /* IS-2000 Redirection Record */
- P_IS95_CHAN_ID, /* IS-95 Channel Identity */
- P_IS95_MS_MEAS_CHAN_ID, /* IS-95 MS Measured Channel Identity */
- P_L3_INFO, /* Layer 3 Information */
- P_LAI, /* Location Area Information */
- P_MWI, /* Message Waiting Indication */
- P_MID, /* Mobile Identity */
- P_MS_INFO_RECS, /* MS Information Records */
- P_ORIG_CI, /* Origination Continuation Indicator */
- P_PACA_ORDER, /* PACA Order */
- P_PACA_REOI, /* PACA Reorigination Indicator */
- P_PACA_TS, /* PACA Timestamp */
- P_PSP, /* Packet Session Parameters */
- P_PDSN_IP_ADDR, /* PDSN IP Address */
- P_PDI, /* Power Down Indicator */
- P_PRIO, /* Priority */
- P_PREV, /* Protocol Revision */
- P_PTYPE, /* Protocol Type */
- P_PSMM_COUNT, /* PSMM Count */
- P_QOS_PARAMS, /* Quality of Service Parameters */
- P_RE_RES, /* Radio Environment and Resources */
- P_REG_TYPE, /* Registration Type */
- P_REJ_CAUSE, /* Reject Cause */
- P_RESP_REQ, /* Response Request */
- P_RET_CAUSE, /* Return Cause */
- P_RF_CHAN_ID, /* RF Channel Identity */
- P_SO, /* Service Option */
- P_SOCI, /* Service Option Connection Identifier (SOCI) */
- P_SO_LIST, /* Service Option List */
- P_S_RED_INFO, /* Service Redirection Info */
- P_SR_ID, /* Session Reference Identifier (SR_ID) */
- P_SID, /* SID */
- P_SIGNAL, /* Signal */
- P_SCI, /* Slot Cycle Index */
- P_SW_VER, /* Software Version */
- P_SRNC_TRNC_TC, /* Source RNC to Target RNC Transparent Container */
- P_S_PDSN_ADDR, /* Source PDSN Address */
- P_TAG, /* Tag */
- P_TRNC_SRNC_TC, /* Target RNC to Source RNC Transparent Container */
- P_XMODE, /* Transcoder Mode */
- P_UZ_ID, /* User Zone ID */
- P_VP_REQ, /* Voice Privacy Request */
- P_NONE, /* NONE */
+ ANSI_A_E_ACC_NET_ID, /* Access Network Identifiers */
+ ANSI_A_E_ADDS_USER_PART, /* ADDS User Part */
+ ANSI_A_E_AMPS_HHO_PARAM, /* AMPS Hard Handoff Parameters */
+ ANSI_A_E_ANCH_PDSN_ADDR, /* Anchor PDSN Address */
+ ANSI_A_E_ANCH_PP_ADDR, /* Anchor P-P Address */
+ ANSI_A_E_AUTH_CHLG_PARAM, /* Authentication Challenge Parameter */
+ ANSI_A_E_AUTH_CNF_PARAM, /* Authentication Confirmation Parameter (RANDC) */
+ ANSI_A_E_AUTH_DATA, /* Authentication Data */
+ ANSI_A_E_AUTH_EVENT, /* Authentication Event */
+ ANSI_A_E_AUTH_PARAM_COUNT, /* Authentication Parameter COUNT */
+ ANSI_A_E_AUTH_RESP_PARAM, /* Authentication Response Parameter */
+ ANSI_A_E_BAND_CLASS, /* Band Class */
+ ANSI_A_E_CLD_PARTY_ASCII_NUM, /* Called Party ASCII Number */
+ ANSI_A_E_CLD_PARTY_BCD_NUM, /* Called Party BCD Number */
+ ANSI_A_E_CLG_PARTY_ASCII_NUM, /* Calling Party ASCII Number */
+ ANSI_A_E_CAUSE, /* Cause */
+ ANSI_A_E_CAUSE_L3, /* Cause Layer 3 */
+ ANSI_A_E_CDMA_SOWD, /* CDMA Serving One Way Delay */
+ ANSI_A_E_CELL_ID, /* Cell Identifier */
+ ANSI_A_E_CELL_ID_LIST, /* Cell Identifier List */
+ ANSI_A_E_CHAN_NUM, /* Channel Number */
+ ANSI_A_E_CHAN_TYPE, /* Channel Type */
+ ANSI_A_E_CCT_GROUP, /* Circuit Group */
+ ANSI_A_E_CIC, /* Circuit Identity Code */
+ ANSI_A_E_CIC_EXT, /* Circuit Identity Code Extension */
+ ANSI_A_E_CM_INFO_TYPE_2, /* Classmark Information Type 2 */
+ ANSI_A_E_DOWNLINK_RE, /* Downlink Radio Environment */
+ ANSI_A_E_DOWNLINK_RE_LIST, /* Downlink Radio Environment List */
+ ANSI_A_E_ENC_INFO, /* Encryption Information */
+ ANSI_A_E_EXT_HO_DIR_PARAMS, /* Extended Handoff Direction Parameters */
+ ANSI_A_E_GEO_LOC, /* Geographic Location */
+ ANSI_A_E_SSCI, /* Special Service Call Indicator */
+ ANSI_A_E_HO_POW_LEV, /* Handoff Power Level */
+ ANSI_A_E_HHO_PARAMS, /* Hard Handoff Parameters */
+ ANSI_A_E_IE_REQD, /* Information Element Requested */
+ ANSI_A_E_IS2000_CHAN_ID, /* IS-2000 Channel Identity */
+ ANSI_A_E_IS2000_CHAN_ID_3X, /* IS-2000 Channel Identity 3X */
+ ANSI_A_E_IS2000_MOB_CAP, /* IS-2000 Mobile Capabilities */
+ ANSI_A_E_IS2000_NN_SCR, /* IS-2000 Non-Negotiable Service Configuration Record */
+ ANSI_A_E_IS2000_SCR, /* IS-2000 Service Configuration Record */
+ ANSI_A_E_IS2000_CAUSE, /* IS-95/IS-2000 Cause Value */
+ ANSI_A_E_IS2000_RED_RECORD, /* IS-2000 Redirection Record */
+ ANSI_A_E_IS95_CHAN_ID, /* IS-95 Channel Identity */
+ ANSI_A_E_IS95_MS_MEAS_CHAN_ID, /* IS-95 MS Measured Channel Identity */
+ ANSI_A_E_L3_INFO, /* Layer 3 Information */
+ ANSI_A_E_LAI, /* Location Area Information */
+ ANSI_A_E_MWI, /* Message Waiting Indication */
+ ANSI_A_E_MID, /* Mobile Identity */
+ ANSI_A_E_MS_INFO_RECS, /* MS Information Records */
+ ANSI_A_E_ORIG_CI, /* Origination Continuation Indicator */
+ ANSI_A_E_PACA_ORDER, /* PACA Order */
+ ANSI_A_E_PACA_REOI, /* PACA Reorigination Indicator */
+ ANSI_A_E_PACA_TS, /* PACA Timestamp */
+ ANSI_A_E_PSP, /* Packet Session Parameters */
+ ANSI_A_E_PDSN_IP_ADDR, /* PDSN IP Address */
+ ANSI_A_E_PDI, /* Power Down Indicator */
+ ANSI_A_E_PRIO, /* Priority */
+ ANSI_A_E_PREV, /* Protocol Revision */
+ ANSI_A_E_PTYPE, /* Protocol Type */
+ ANSI_A_E_PSMM_COUNT, /* PSMM Count */
+ ANSI_A_E_QOS_PARAMS, /* Quality of Service Parameters */
+ ANSI_A_E_RE_RES, /* Radio Environment and Resources */
+ ANSI_A_E_REG_TYPE, /* Registration Type */
+ ANSI_A_E_REJ_CAUSE, /* Reject Cause */
+ ANSI_A_E_RESP_REQ, /* Response Request */
+ ANSI_A_E_RET_CAUSE, /* Return Cause */
+ ANSI_A_E_RF_CHAN_ID, /* RF Channel Identity */
+ ANSI_A_E_SO, /* Service Option */
+ ANSI_A_E_SOCI, /* Service Option Connection Identifier (SOCI) */
+ ANSI_A_E_SO_LIST, /* Service Option List */
+ ANSI_A_E_S_RED_INFO, /* Service Redirection Info */
+ ANSI_A_E_SR_ID, /* Session Reference Identifier (SR_ID) */
+ ANSI_A_E_SID, /* SID */
+ ANSI_A_E_SIGNAL, /* Signal */
+ ANSI_A_E_SCI, /* Slot Cycle Index */
+ ANSI_A_E_SW_VER, /* Software Version */
+ ANSI_A_E_SRNC_TRNC_TC, /* Source RNC to Target RNC Transparent Container */
+ ANSI_A_E_S_PDSN_ADDR, /* Source PDSN Address */
+ ANSI_A_E_TAG, /* Tag */
+ ANSI_A_E_TRNC_SRNC_TC, /* Target RNC to Source RNC Transparent Container */
+ ANSI_A_E_XMODE, /* Transcoder Mode */
+ ANSI_A_E_UZ_ID, /* User Zone ID */
+ ANSI_A_E_VP_REQ, /* Voice Privacy Request */
+ ANSI_A_E_NONE /* NONE */
}
elem_idx_t;
-#define NUM_ELEM_1 (sizeof(ansi_elem_1_strings)/sizeof(value_string))
+#define NUM_ELEM_1 (sizeof(ansi_a_ios401_elem_1_strings)/sizeof(value_string))
static gint ett_ansi_elem_1[NUM_ELEM_1];
static guint8 (*elem_1_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string) = {
NULL, /* Access Network Identifiers */
oct = tvb_get_guint8(tvb, curr_offset);
- if (oct == (guint8) ansi_elem_1_strings[idx].value)
+ if (oct == (guint8) ansi_a_ios401_elem_1_strings[idx].value)
{
parm_len = tvb_get_guint8(tvb, curr_offset + 1);
proto_tree_add_text(tree,
tvb, curr_offset, parm_len + 2,
"%s%s",
- ansi_elem_1_strings[idx].strptr,
+ ansi_a_ios401_elem_1_strings[idx].strptr,
(name_add == NULL) || (name_add[0] == '\0') ? "" : name_add);
subtree = proto_item_add_subtree(item, ett_ansi_elem_1[idx]);
oct = tvb_get_guint8(tvb, curr_offset);
- if (oct == (guint8) ansi_elem_1_strings[idx].value)
+ if (oct == (guint8) ansi_a_ios401_elem_1_strings[idx].value)
{
item =
proto_tree_add_text(tree,
tvb, curr_offset, -1,
"%s%s",
- ansi_elem_1_strings[idx].strptr,
+ ansi_a_ios401_elem_1_strings[idx].strptr,
(name_add == NULL) || (name_add[0] == '\0') ? "" : name_add);
subtree = proto_item_add_subtree(item, ett_ansi_elem_1[idx]);
oct = tvb_get_guint8(tvb, curr_offset);
- if (oct == (guint8) ansi_elem_1_strings[idx].value)
+ if (oct == (guint8) ansi_a_ios401_elem_1_strings[idx].value)
{
proto_tree_add_uint_format(tree, hf_ansi_a_elem_id, tvb, curr_offset, 1, oct,
"%s%s",
- ansi_elem_1_strings[idx].strptr,
+ ansi_a_ios401_elem_1_strings[idx].strptr,
(name_add == NULL) || (name_add[0] == '\0') ? "" : name_add);
consumed = 1;
proto_tree_add_text(tree,
tvb, curr_offset, parm_len + 1,
"%s%s",
- ansi_elem_1_strings[idx].strptr,
+ ansi_a_ios401_elem_1_strings[idx].strptr,
(name_add == NULL) || (name_add[0] == '\0') ? "" : name_add);
subtree = proto_item_add_subtree(item, ett_ansi_elem_1[idx]);
proto_tree_add_text(tree, \
tvb, curr_offset, 0, \
"Missing Mandatory element (0x%02x) %s%s, rest of dissection is suspect", \
- ansi_elem_1_strings[elem_idx].value, \
- ansi_elem_1_strings[elem_idx].strptr, \
+ ansi_a_ios401_elem_1_strings[elem_idx].value, \
+ ansi_a_ios401_elem_1_strings[elem_idx].strptr, \
(elem_name_addition == NULL) || (elem_name_addition[0] == '\0') ? "" : elem_name_addition \
); \
} \
proto_tree_add_text(tree, \
tvb, curr_offset, 0, \
"Missing Mandatory element (0x%02x) %s%s, rest of dissection is suspect", \
- ansi_elem_1_strings[elem_idx].value, \
- ansi_elem_1_strings[elem_idx].strptr, \
+ ansi_a_ios401_elem_1_strings[elem_idx].value, \
+ ansi_a_ios401_elem_1_strings[elem_idx].strptr, \
(elem_name_addition == NULL) || (elem_name_addition[0] == '\0') ? "" : elem_name_addition \
); \
} \
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CELL_ID, "");
+ ELEM_MAND_TLV(ANSI_A_E_CELL_ID, "");
- ELEM_MAND_TLV(P_L3_INFO, "");
+ ELEM_MAND_TLV(ANSI_A_E_L3_INFO, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
subtree = proto_item_add_subtree(item, ett_cm_srvc_type);
- my_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0xf0, 8);
proto_tree_add_text(subtree,
tvb, curr_offset, 1,
"%s : Element ID",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct, 0x0f, 8);
proto_tree_add_text(subtree,
tvb, curr_offset, 1,
"%s : Service Type: (%u) %s",
curr_offset++;
curr_len--;
- ELEM_MAND_LV(P_CM_INFO_TYPE_2, "");
+ ELEM_MAND_LV(ANSI_A_E_CM_INFO_TYPE_2, "");
- ELEM_MAND_LV(P_MID, "");
+ ELEM_MAND_LV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_CLD_PARTY_BCD_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLD_PARTY_BCD_NUM, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TV(P_AUTH_CNF_PARAM, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_CNF_PARAM, "");
- ELEM_OPT_TV(P_AUTH_PARAM_COUNT, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_PARAM_COUNT, "");
- ELEM_OPT_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_T(P_VP_REQ, "");
+ ELEM_OPT_T(ANSI_A_E_VP_REQ, "");
- ELEM_OPT_TV(P_RE_RES, "");
+ ELEM_OPT_TV(ANSI_A_E_RE_RES, "");
- ELEM_OPT_TLV(P_CLD_PARTY_ASCII_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLD_PARTY_ASCII_NUM, "");
- ELEM_OPT_TV(P_CIC, "");
+ ELEM_OPT_TV(ANSI_A_E_CIC, "");
- ELEM_OPT_TLV(P_AUTH_EVENT, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_EVENT, "");
- ELEM_OPT_TLV(P_AUTH_DATA, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_DATA, "");
- ELEM_OPT_TLV(P_PACA_REOI, "");
+ ELEM_OPT_TLV(ANSI_A_E_PACA_REOI, "");
- ELEM_OPT_TLV(P_UZ_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_UZ_ID, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_CM_INFO_TYPE_2, "");
+ ELEM_MAND_LV(ANSI_A_E_CM_INFO_TYPE_2, "");
- ELEM_MAND_LV(P_MID, "");
+ ELEM_MAND_LV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TV(P_AUTH_CNF_PARAM, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_CNF_PARAM, "");
- ELEM_OPT_TV(P_AUTH_PARAM_COUNT, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_PARAM_COUNT, "");
- ELEM_OPT_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_T(P_VP_REQ, "");
+ ELEM_OPT_T(ANSI_A_E_VP_REQ, "");
- ELEM_OPT_TV(P_CIC, "");
+ ELEM_OPT_TV(ANSI_A_E_CIC, "");
- ELEM_OPT_TLV(P_AUTH_EVENT, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_EVENT, "");
- ELEM_OPT_TV(P_RE_RES, "");
+ ELEM_OPT_TV(ANSI_A_E_RE_RES, "");
- ELEM_OPT_TLV(P_UZ_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_UZ_ID, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TV(P_SIGNAL, "");
+ ELEM_OPT_TV(ANSI_A_E_SIGNAL, "");
- ELEM_OPT_TLV(P_MS_INFO_RECS, "");
+ ELEM_OPT_TLV(ANSI_A_E_MS_INFO_RECS, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CHAN_TYPE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CHAN_TYPE, "");
- ELEM_OPT_TV(P_CIC, "");
+ ELEM_OPT_TV(ANSI_A_E_CIC, "");
- ELEM_OPT_TLV(P_ENC_INFO, "");
+ ELEM_OPT_TLV(ANSI_A_E_ENC_INFO, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_TV(P_SIGNAL, "");
+ ELEM_OPT_TV(ANSI_A_E_SIGNAL, "");
- ELEM_OPT_TLV(P_CLG_PARTY_ASCII_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLG_PARTY_ASCII_NUM, "");
- ELEM_OPT_TLV(P_MS_INFO_RECS, "");
+ ELEM_OPT_TLV(ANSI_A_E_MS_INFO_RECS, "");
- ELEM_OPT_TLV(P_PRIO, "");
+ ELEM_OPT_TLV(ANSI_A_E_PRIO, "");
- ELEM_OPT_TLV(P_PACA_TS, "");
+ ELEM_OPT_TLV(ANSI_A_E_PACA_TS, "");
- ELEM_OPT_TLV(P_QOS_PARAMS, "");
+ ELEM_OPT_TLV(ANSI_A_E_QOS_PARAMS, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CHAN_NUM, "");
+ ELEM_MAND_TV(ANSI_A_E_CHAN_NUM, "");
- ELEM_OPT_TLV(P_ENC_INFO, "");
+ ELEM_OPT_TLV(ANSI_A_E_ENC_INFO, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CAUSE_L3, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE_L3, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CAUSE_L3, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE_L3, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_T(P_PDI, "");
+ ELEM_OPT_T(ANSI_A_E_PDI, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_MS_INFO_RECS, "");
+ ELEM_OPT_TLV(ANSI_A_E_MS_INFO_RECS, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_CLD_PARTY_BCD_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLD_PARTY_BCD_NUM, "");
- ELEM_OPT_TV(P_SIGNAL, "");
+ ELEM_OPT_TV(ANSI_A_E_SIGNAL, "");
- ELEM_OPT_TV(P_MWI, "");
+ ELEM_OPT_TV(ANSI_A_E_MWI, "");
- ELEM_OPT_TLV(P_CLG_PARTY_ASCII_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLG_PARTY_ASCII_NUM, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_MS_INFO_RECS, "");
+ ELEM_OPT_TLV(ANSI_A_E_MS_INFO_RECS, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TV(P_SIGNAL, "");
+ ELEM_OPT_TV(ANSI_A_E_SIGNAL, "");
- ELEM_OPT_TV(P_MWI, "");
+ ELEM_OPT_TV(ANSI_A_E_MWI, "");
- ELEM_OPT_TLV(P_CLG_PARTY_ASCII_NUM, "");
+ ELEM_OPT_TLV(ANSI_A_E_CLG_PARTY_ASCII_NUM, "");
- ELEM_OPT_TLV(P_MS_INFO_RECS, "");
+ ELEM_OPT_TLV(ANSI_A_E_MS_INFO_RECS, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_PRIO, "");
+ ELEM_OPT_TLV(ANSI_A_E_PRIO, "");
- ELEM_OPT_TLV(P_PACA_TS, "");
+ ELEM_OPT_TLV(ANSI_A_E_PACA_TS, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_PACA_ORDER, "");
+ ELEM_OPT_TLV(ANSI_A_E_PACA_ORDER, "");
- ELEM_OPT_TLV(P_PRIO, "");
+ ELEM_OPT_TLV(ANSI_A_E_PRIO, "");
- ELEM_OPT_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TV(P_AUTH_CNF_PARAM, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_CNF_PARAM, "");
- ELEM_OPT_TV(P_AUTH_PARAM_COUNT, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_PARAM_COUNT, "");
- ELEM_OPT_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TLV(P_AUTH_EVENT, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_EVENT, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_PRIO, "");
+ ELEM_OPT_TLV(ANSI_A_E_PRIO, "");
- ELEM_OPT_TLV(P_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_MAND_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_AUTH_CHLG_PARAM, "");
+ ELEM_MAND_LV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_MAND_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_AUTH_RESP_PARAM, "");
+ ELEM_MAND_LV(ANSI_A_E_AUTH_RESP_PARAM, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_UZ_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_UZ_ID, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_AUTH_CHLG_PARAM, "");
+ ELEM_MAND_LV(ANSI_A_E_AUTH_CHLG_PARAM, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_AUTH_CHLG_PARAM, "");
+ ELEM_MAND_LV(ANSI_A_E_AUTH_CHLG_PARAM, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_AUTH_RESP_PARAM, "");
+ ELEM_MAND_LV(ANSI_A_E_AUTH_RESP_PARAM, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_CAUSE_L3, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE_L3, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_MID, "");
+ ELEM_MAND_LV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_LAI, "");
+ ELEM_OPT_TV(ANSI_A_E_LAI, "");
- ELEM_OPT_TLV(P_CM_INFO_TYPE_2, "");
+ ELEM_OPT_TLV(ANSI_A_E_CM_INFO_TYPE_2, "");
- ELEM_OPT_TV(P_REG_TYPE, "");
+ ELEM_OPT_TV(ANSI_A_E_REG_TYPE, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TV(P_AUTH_CNF_PARAM, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_CNF_PARAM, "");
- ELEM_OPT_TV(P_AUTH_PARAM_COUNT, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_PARAM_COUNT, "");
- ELEM_OPT_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TLV(P_AUTH_EVENT, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_EVENT, "");
- ELEM_OPT_TLV(P_UZ_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_UZ_ID, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TV(P_LAI, "");
+ ELEM_OPT_TV(ANSI_A_E_LAI, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_V(P_REJ_CAUSE);
+ ELEM_MAND_V(ANSI_A_E_REJ_CAUSE);
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_ENC_INFO, "");
+ ELEM_MAND_TLV(ANSI_A_E_ENC_INFO, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_ENC_INFO, "");
+ ELEM_OPT_TLV(ANSI_A_E_ENC_INFO, "");
- ELEM_OPT_T(P_VP_REQ, "");
+ ELEM_OPT_T(ANSI_A_E_VP_REQ, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_MAND_TLV(P_CELL_ID_LIST, " (Target)");
+ ELEM_MAND_TLV(ANSI_A_E_CELL_ID_LIST, " (Target)");
- ELEM_OPT_TLV(P_CM_INFO_TYPE_2, "");
+ ELEM_OPT_TLV(ANSI_A_E_CM_INFO_TYPE_2, "");
- ELEM_OPT_T(P_RESP_REQ, "");
+ ELEM_OPT_T(ANSI_A_E_RESP_REQ, "");
- ELEM_OPT_TLV(P_ENC_INFO, "");
+ ELEM_OPT_TLV(ANSI_A_E_ENC_INFO, "");
- ELEM_OPT_TLV(P_IS95_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_CHAN_ID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_DOWNLINK_RE, "");
+ ELEM_OPT_TLV(ANSI_A_E_DOWNLINK_RE, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
- ELEM_OPT_TLV(P_IS95_MS_MEAS_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_MS_MEAS_CHAN_ID, "");
- ELEM_OPT_TLV(P_IS2000_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CHAN_ID, "");
- ELEM_OPT_TLV(P_QOS_PARAMS, "");
+ ELEM_OPT_TLV(ANSI_A_E_QOS_PARAMS, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
- ELEM_OPT_TLV(P_IS2000_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_SCR, "");
- ELEM_OPT_TLV(P_PDSN_IP_ADDR, "");
+ ELEM_OPT_TLV(ANSI_A_E_PDSN_IP_ADDR, "");
- ELEM_OPT_TLV(P_PTYPE, "");
+ ELEM_OPT_TLV(ANSI_A_E_PTYPE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CHAN_TYPE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CHAN_TYPE, "");
- ELEM_MAND_TLV(P_ENC_INFO, "");
+ ELEM_MAND_TLV(ANSI_A_E_ENC_INFO, "");
- ELEM_MAND_TLV(P_CM_INFO_TYPE_2, "");
+ ELEM_MAND_TLV(ANSI_A_E_CM_INFO_TYPE_2, "");
- ELEM_MAND_TLV(P_CELL_ID_LIST, "(Target)");
+ ELEM_MAND_TLV(ANSI_A_E_CELL_ID_LIST, "(Target)");
- ELEM_OPT_TLV(P_CIC_EXT, "");
+ ELEM_OPT_TLV(ANSI_A_E_CIC_EXT, "");
- ELEM_OPT_TLV(P_IS95_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_CHAN_ID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_DOWNLINK_RE, "");
+ ELEM_OPT_TLV(ANSI_A_E_DOWNLINK_RE, "");
- ELEM_OPT_TV(P_SO, "");
+ ELEM_OPT_TV(ANSI_A_E_SO, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
- ELEM_OPT_TLV(P_IS95_MS_MEAS_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_MS_MEAS_CHAN_ID, "");
- ELEM_OPT_TLV(P_IS2000_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CHAN_ID, "");
- ELEM_OPT_TLV(P_QOS_PARAMS, "");
+ ELEM_OPT_TLV(ANSI_A_E_QOS_PARAMS, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
- ELEM_OPT_TLV(P_IS2000_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_SCR, "");
- ELEM_OPT_TLV(P_PDSN_IP_ADDR, "");
+ ELEM_OPT_TLV(ANSI_A_E_PDSN_IP_ADDR, "");
- ELEM_OPT_TLV(P_PTYPE, "");
+ ELEM_OPT_TLV(ANSI_A_E_PTYPE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_IS95_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_CHAN_ID, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TLV(P_EXT_HO_DIR_PARAMS, "");
+ ELEM_OPT_TLV(ANSI_A_E_EXT_HO_DIR_PARAMS, "");
- ELEM_OPT_TV(P_HHO_PARAMS, "");
+ ELEM_OPT_TV(ANSI_A_E_HHO_PARAMS, "");
- ELEM_OPT_TLV(P_IS2000_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CHAN_ID, "");
- ELEM_OPT_TLV(P_IS2000_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_SCR, "");
- ELEM_OPT_TLV(P_IS2000_NN_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_NN_SCR, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TV(P_RF_CHAN_ID, "");
+ ELEM_OPT_TV(ANSI_A_E_RF_CHAN_ID, "");
- ELEM_OPT_TLV(P_IS95_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS95_CHAN_ID, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TLV(P_HO_POW_LEV, "");
+ ELEM_OPT_TLV(ANSI_A_E_HO_POW_LEV, "");
- ELEM_OPT_TV(P_SID, "");
+ ELEM_OPT_TV(ANSI_A_E_SID, "");
- ELEM_OPT_TLV(P_EXT_HO_DIR_PARAMS, "");
+ ELEM_OPT_TLV(ANSI_A_E_EXT_HO_DIR_PARAMS, "");
- ELEM_OPT_TV(P_HHO_PARAMS, "");
+ ELEM_OPT_TV(ANSI_A_E_HHO_PARAMS, "");
- ELEM_OPT_TLV(P_IS2000_CHAN_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CHAN_ID, "");
- ELEM_OPT_TLV(P_IS2000_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_SCR, "");
- ELEM_OPT_TLV(P_IS2000_NN_SCR, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_NN_SCR, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CCT_GROUP, "");
+ ELEM_OPT_TLV(ANSI_A_E_CCT_GROUP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
- ELEM_OPT_TLV(P_CCT_GROUP, "");
+ ELEM_OPT_TLV(ANSI_A_E_CCT_GROUP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_SW_VER, "");
+ ELEM_OPT_TLV(ANSI_A_E_SW_VER, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_SW_VER, "");
+ ELEM_OPT_TLV(ANSI_A_E_SW_VER, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CCT_GROUP, "");
+ ELEM_OPT_TLV(ANSI_A_E_CCT_GROUP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TV(P_CIC, "");
+ ELEM_MAND_TV(ANSI_A_E_CIC, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_XMODE, "");
+ ELEM_MAND_TLV(ANSI_A_E_XMODE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_CAUSE, "");
+ ELEM_MAND_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_MAND_TLV(P_ADDS_USER_PART, "");
+ ELEM_MAND_TLV(ANSI_A_E_ADDS_USER_PART, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CELL_ID_LIST, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID_LIST, "");
- ELEM_OPT_TV(P_SCI, "");
+ ELEM_OPT_TV(ANSI_A_E_SCI, "");
- ELEM_OPT_TLV(P_IS2000_MOB_CAP, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_MOB_CAP, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_MAND_TLV(P_ADDS_USER_PART, "");
+ ELEM_MAND_TLV(ANSI_A_E_ADDS_USER_PART, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_AUTH_RESP_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_RESP_PARAM, "");
- ELEM_OPT_TV(P_AUTH_CNF_PARAM, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_CNF_PARAM, "");
- ELEM_OPT_TV(P_AUTH_PARAM_COUNT, "");
+ ELEM_OPT_TV(ANSI_A_E_AUTH_PARAM_COUNT, "");
- ELEM_OPT_TLV(P_AUTH_CHLG_PARAM, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_CHLG_PARAM, "");
- ELEM_OPT_TLV(P_AUTH_EVENT, "");
+ ELEM_OPT_TLV(ANSI_A_E_AUTH_EVENT, "");
- ELEM_OPT_TLV(P_CELL_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_LV(P_ADDS_USER_PART, "");
+ ELEM_MAND_LV(ANSI_A_E_ADDS_USER_PART, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CDMA_SOWD, "");
+ ELEM_OPT_TLV(ANSI_A_E_CDMA_SOWD, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_MAND_TLV(P_MID, "");
+ ELEM_MAND_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE, "");
- ELEM_OPT_TLV(P_CELL_ID, "");
+ ELEM_OPT_TLV(ANSI_A_E_CELL_ID, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TV(P_TAG, "");
+ ELEM_OPT_TV(ANSI_A_E_TAG, "");
- ELEM_OPT_TLV(P_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_MID, "");
+ ELEM_OPT_TLV(ANSI_A_E_MID, "");
- ELEM_OPT_TLV(P_IS2000_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
curr_offset = offset;
curr_len = len;
- ELEM_OPT_TLV(P_IS2000_CAUSE, "");
+ ELEM_OPT_TLV(ANSI_A_E_IS2000_CAUSE, "");
EXTRANEOUS_DATA_CHECK(curr_len, 0);
}
-#define NUM_IOS401_BSMAP_MSG (sizeof(ansi_bsmap_strings)/sizeof(value_string))
-static gint ett_bsmap_msg[NUM_IOS401_BSMAP_MSG];
+#define ANSI_A_IOS401_BSMAP_NUM_MSG (sizeof(ansi_a_ios401_bsmap_strings)/sizeof(value_string))
+static gint ett_bsmap_msg[ANSI_A_IOS401_BSMAP_NUM_MSG];
static void (*bsmap_msg_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) = {
NULL, /* Additional Service Notification */
bsmap_adds_page, /* ADDS Page */
NULL, /* NONE */
};
-#define NUM_IOS401_DTAP_MSG (sizeof(ansi_dtap_strings)/sizeof(value_string))
-static gint ett_dtap_msg[NUM_IOS401_DTAP_MSG];
+#define ANSI_A_IOS401_DTAP_NUM_MSG (sizeof(ansi_a_ios401_dtap_strings)/sizeof(value_string))
+static gint ett_dtap_msg[ANSI_A_IOS401_DTAP_NUM_MSG];
static void (*dtap_msg_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) = {
NULL, /* Additional Service Request */
dtap_adds_deliver, /* ADDS Deliver */
static void
dissect_bsmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- guint8 oct;
- guint32 offset, saved_offset;
- guint32 len;
- gint idx;
- proto_item *bsmap_item = NULL;
- proto_tree *bsmap_tree = NULL;
- gchar *str;
+ static ansi_a_tap_rec_t tap_rec[4];
+ static ansi_a_tap_rec_t *tap_p;
+ static int tap_current=0;
+ guint8 oct;
+ guint32 offset, saved_offset;
+ guint32 len;
+ gint idx;
+ proto_item *bsmap_item = NULL;
+ proto_tree *bsmap_tree = NULL;
+ gchar *msg_str;
- if (!proto_is_protocol_enabled(proto_a_bsmap))
- {
- call_dissector(data_handle, tvb, pinfo, tree);
- return;
- }
-
if (check_col(pinfo->cinfo, COL_INFO))
{
col_append_str(pinfo->cinfo, COL_INFO, "(BSMAP) ");
}
/*
- * In the interest of speed, if "tree" is NULL, don't do any work
- * not necessary to generate protocol tree items.
+ * set tap record pointer
*/
- if (!tree)
+ tap_current++;
+ if (tap_current == 4)
{
- return;
+ tap_current = 0;
}
+ tap_p = &tap_rec[tap_current];
+
offset = 0;
saved_offset = offset;
*/
oct = tvb_get_guint8(tvb, offset++);
- str = my_match_strval((guint32) oct, ansi_bsmap_strings, &idx);
+ msg_str = my_match_strval((guint32) oct, ansi_a_ios401_bsmap_strings, &idx);
/*
* create the a protocol tree
*/
- if (str == NULL)
+ if (msg_str == NULL)
{
bsmap_item =
proto_tree_add_protocol_format(tree, proto_a_bsmap, tvb, 0, len,
bsmap_item =
proto_tree_add_protocol_format(tree, proto_a_bsmap, tvb, 0, -1,
"ANSI A-I/F BSMAP - %s",
- str);
+ msg_str);
bsmap_tree = proto_item_add_subtree(bsmap_item, ett_bsmap_msg[idx]);
if (check_col(pinfo->cinfo, COL_INFO))
{
- col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", str);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", msg_str);
}
}
proto_tree_add_uint_format(bsmap_tree, hf_ansi_a_bsmap_msgtype,
tvb, saved_offset, 1, oct, "Message Type");
- if (str == NULL) return;
+ tap_p->pdu_type = BSSAP_PDU_TYPE_BSMAP;
+ tap_p->message_type = oct;
+
+ tap_queue_packet(ansi_a_tap, pinfo, tap_p);
+
+ if (msg_str == NULL) return;
if ((len - offset) <= 0) return;
static void
dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- guint8 oct;
- guint32 offset, saved_offset;
- guint32 len;
- guint32 oct_1, oct_2;
- gint idx;
- proto_item *dtap_item = NULL;
- proto_tree *dtap_tree = NULL;
- proto_item *oct_1_item = NULL;
- proto_tree *oct_1_tree = NULL;
- gchar *str;
+ static ansi_a_tap_rec_t tap_rec[4];
+ static ansi_a_tap_rec_t *tap_p;
+ static int tap_current=0;
+ guint8 oct;
+ guint32 offset, saved_offset;
+ guint32 len;
+ guint32 oct_1, oct_2;
+ gint idx;
+ proto_item *dtap_item = NULL;
+ proto_tree *dtap_tree = NULL;
+ proto_item *oct_1_item = NULL;
+ proto_tree *oct_1_tree = NULL;
+ gchar *msg_str;
+ gchar *str;
- if (!proto_is_protocol_enabled(proto_a_dtap))
- {
- call_dissector(data_handle, tvb, pinfo, tree);
- return;
- }
-
len = tvb_length(tvb);
if (len < 3)
}
/*
- * In the interest of speed, if "tree" is NULL, don't do any work
- * not necessary to generate protocol tree items.
+ * set tap record pointer
*/
- if (!tree)
+ tap_current++;
+ if (tap_current == 4)
{
- return;
+ tap_current = 0;
}
+ tap_p = &tap_rec[tap_current];
+
offset = 0;
saved_offset = offset;
saved_offset = offset;
oct = tvb_get_guint8(tvb, offset++);
- str = my_match_strval((guint32) oct, ansi_dtap_strings, &idx);
+ msg_str = my_match_strval((guint32) oct, ansi_a_ios401_dtap_strings, &idx);
/*
* create the a protocol tree
*/
- if (str == NULL)
+ if (msg_str == NULL)
{
dtap_item =
proto_tree_add_protocol_format(tree, proto_a_dtap, tvb, 0, len,
dtap_item =
proto_tree_add_protocol_format(tree, proto_a_dtap, tvb, 0, -1,
"ANSI A-I/F DTAP - %s",
- str);
+ msg_str);
dtap_tree = proto_item_add_subtree(dtap_item, ett_dtap_msg[idx]);
if (check_col(pinfo->cinfo, COL_INFO))
{
- col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", str);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", msg_str);
}
}
oct_1_tree = proto_item_add_subtree(oct_1_item, ett_dtap_oct_1);
- my_decode_bitfield_value(a_bigbuf, oct_1, 0xf0, 8);
+ other_decode_bitfield_value(a_bigbuf, oct_1, 0xf0, 8);
proto_tree_add_text(oct_1_tree,
tvb, 0, 1,
"%s : Reserved",
a_bigbuf);
- my_decode_bitfield_value(a_bigbuf, oct_1, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct_1, 0x0f, 8);
proto_tree_add_text(oct_1_tree,
tvb, 0, 1,
"%s : Protocol Discriminator: %u",
switch (a_variant)
{
case A_VARIANT_IS634:
- my_decode_bitfield_value(a_bigbuf, oct_2, 0x80, 8);
+ other_decode_bitfield_value(a_bigbuf, oct_2, 0x80, 8);
proto_tree_add_text(dtap_tree,
tvb, 1, 1,
"%s : Transaction Identifier (TI) Flag: %s",
a_bigbuf,
((oct_2 & 0x80) ? "allocated by receiver" : "allocated by sender"));
- my_decode_bitfield_value(a_bigbuf, oct_2, 0x70, 8);
+ other_decode_bitfield_value(a_bigbuf, oct_2, 0x70, 8);
proto_tree_add_text(dtap_tree,
tvb, 1, 1,
"%s : Transaction Identifier (TI): %u",
a_bigbuf,
(oct_2 & 0x70) >> 4);
- my_decode_bitfield_value(a_bigbuf, oct_2, 0x0f, 8);
+ other_decode_bitfield_value(a_bigbuf, oct_2, 0x0f, 8);
proto_tree_add_text(dtap_tree,
tvb, 1, 1,
"%s : Reserved",
tvb, saved_offset, 1, oct,
"Message Type");
- if (str == NULL) return;
+ tap_p->pdu_type = BSSAP_PDU_TYPE_DTAP;
+ tap_p->message_type = oct;
+
+ tap_queue_packet(ansi_a_tap, pinfo, tap_p);
+
+ if (msg_str == NULL) return;
if ((len - offset) <= 0) return;
{
{ &hf_ansi_a_bsmap_msgtype,
{ "BSMAP Message Type", "ansi_a.bsmap_msgtype",
- FT_UINT8, BASE_HEX, VALS(ansi_bsmap_strings), 0x0,
+ FT_UINT8, BASE_HEX, VALS(ansi_a_ios401_bsmap_strings), 0x0,
"", HFILL }
},
{ &hf_ansi_a_dtap_msgtype,
{ "DTAP Message Type", "ansi_a.dtap_msgtype",
- FT_UINT8, BASE_HEX, VALS(ansi_dtap_strings), 0x0,
+ FT_UINT8, BASE_HEX, VALS(ansi_a_ios401_dtap_strings), 0x0,
"", HFILL }
},
{ &hf_ansi_a_elem_id,
{ "Element ID", "ansi_a.elem_id",
- FT_UINT8, BASE_DEC, VALS(ansi_elem_1_strings), 0,
+ FT_UINT8, BASE_DEC, VALS(ansi_a_ios401_elem_1_strings), 0,
"", HFILL }
},
{ &hf_ansi_a_length,
};
/* Setup protocol subtree array */
-#define MAX_NUM_DTAP_MSG ANSI_A_MAX(NUM_IOS401_DTAP_MSG, 0)
-#define MAX_NUM_BSMAP_MSG ANSI_A_MAX(NUM_IOS401_BSMAP_MSG, 0)
+#define MAX_NUM_DTAP_MSG ANSI_A_MAX(ANSI_A_IOS401_DTAP_NUM_MSG, 0)
+#define MAX_NUM_BSMAP_MSG ANSI_A_MAX(ANSI_A_IOS401_BSMAP_NUM_MSG, 0)
#define NUM_INDIVIDUAL_ELEMS 9
- static gint *ett[NUM_INDIVIDUAL_ELEMS+MAX_NUM_DTAP_MSG+MAX_NUM_BSMAP_MSG+NUM_ELEM_1+NUM_MS_INFO_REC];
+ gint **ett;
+ gint ett_len = (NUM_INDIVIDUAL_ELEMS+MAX_NUM_DTAP_MSG+MAX_NUM_BSMAP_MSG+NUM_ELEM_1+NUM_MS_INFO_REC) * sizeof(gint *);
- memset((void *) ett, -1, sizeof(ett));
+ /*
+ * XXX - at least one version of the HP C compiler apparently doesn't
+ * recognize constant expressions using the "?" operator as being
+ * constant expressions, so you can't use the expression that
+ * initializes "ett_let" as an array size. Therefore, we dynamically
+ * allocate the array instead.
+ */
+ ett = g_malloc(ett_len);
+
+ memset((void *) ett_dtap_msg, -1, sizeof(gint) * MAX_NUM_DTAP_MSG);
+ memset((void *) ett_bsmap_msg, -1, sizeof(gint) * MAX_NUM_BSMAP_MSG);
+ memset((void *) ett_ansi_elem_1, -1, sizeof(gint) * NUM_ELEM_1);
+ memset((void *) ett_ansi_ms_info_rec, -1, sizeof(gint) * NUM_MS_INFO_REC);
ett[0] = &ett_bsmap;
ett[1] = &ett_dtap;
register_dissector_table("ansi_a.ota", "IS-683-A (OTA)",
FT_UINT8, BASE_DEC);
- proto_register_subtree_array(ett, array_length(ett));
+ proto_register_subtree_array(ett, ett_len / sizeof(gint *));
+
+ ansi_a_tap = register_tap("ansi_a");
/*
* setup for preferences
&a_global_variant,
a_variant_options,
FALSE);
+
+ g_free(ett);
}