aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ranap
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-04-29 20:45:53 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-04-29 20:45:53 +0000
commit447faa608249ba769866a069b48698cf09c9b137 (patch)
tree2594675b8efedad7769dacfe13fb85fbc2ef4454 /asn1/ranap
parent3f9d9a766e557770e942840b17d78044a572d08e (diff)
downloadwireshark-447faa608249ba769866a069b48698cf09c9b137.tar.gz
wireshark-447faa608249ba769866a069b48698cf09c9b137.tar.bz2
wireshark-447faa608249ba769866a069b48698cf09c9b137.zip
From Mike Morrin:
Dissection of BSSMAP IEs: Old BSS to New BSS Info and New BSS to Old BSS Info https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4712 svn path=/trunk/; revision=32606
Diffstat (limited to 'asn1/ranap')
-rw-r--r--asn1/ranap/packet-ranap-template.c1
-rw-r--r--asn1/ranap/ranap.cnf23
2 files changed, 24 insertions, 0 deletions
diff --git a/asn1/ranap/packet-ranap-template.c b/asn1/ranap/packet-ranap-template.c
index dc3afb6f54..372680bf30 100644
--- a/asn1/ranap/packet-ranap-template.c
+++ b/asn1/ranap/packet-ranap-template.c
@@ -43,6 +43,7 @@
#include "packet-ranap.h"
#include "packet-e212.h"
#include "packet-sccp.h"
+#include "packet-gsm_a_common.h"
#ifdef _MSC_VER
/* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
diff --git a/asn1/ranap/ranap.cnf b/asn1/ranap/ranap.cnf
index 7cfe1f8000..2a1d71f36f 100644
--- a/asn1/ranap/ranap.cnf
+++ b/asn1/ranap/ranap.cnf
@@ -230,6 +230,29 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
#.END
+#.FN_BODY OldBSS-ToNewBSS-Information VAL_PTR = &bss_info_tvb
+ tvbuff_t *bss_info_tvb=NULL;
+
+%(DEFAULT_BODY)s
+ if (bss_info_tvb)
+ bssmap_old_bss_to_new_bss_info(bss_info_tvb, tree, actx->pinfo);
+#.END
+
+#.FN_BODY NewBSS-To-OldBSS-Information VAL_PTR = &bss_info_tvb
+ tvbuff_t *bss_info_tvb=NULL;
+
+%(DEFAULT_BODY)s
+ if (bss_info_tvb)
+ bssmap_new_bss_to_old_bss_info(bss_info_tvb, tree, actx->pinfo);
+#.END
+
+#.FN_BODY L3-Information VAL_PTR = &l3_info_tvb
+ tvbuff_t *l3_info_tvb=NULL;
+
+%(DEFAULT_BODY)s
+ if (l3_info_tvb)
+ dissector_try_port(nas_pdu_dissector_table, 0x1, l3_info_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree));
+#.END
# following construction is not supported by asn2wrs
# PLMNidentity ::= TBCD-STRING (SIZE (3))