aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/lte-rrc
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-10-02 15:08:27 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-10-02 15:08:27 +0000
commit8a324e57374f45894983572b4143f34ceac96b5e (patch)
treed3ad24466b133d8df08dc4fbcb1f4bfe90c5889b /asn1/lte-rrc
parent4e76faeba6b01ba7394f6463005cef812fdfd713 (diff)
From Pascal Quantin:
[LTE RRC] Enhance dissection of NeighCellConfig IE. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6412 svn path=/trunk/; revision=39219
Diffstat (limited to 'asn1/lte-rrc')
-rw-r--r--asn1/lte-rrc/lte-rrc.cnf26
-rw-r--r--asn1/lte-rrc/packet-lte-rrc-template.c2
2 files changed, 28 insertions, 0 deletions
diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf
index 36b0e011dd..d634408ebb 100644
--- a/asn1/lte-rrc/lte-rrc.cnf
+++ b/asn1/lte-rrc/lte-rrc.cnf
@@ -291,6 +291,32 @@ if(ue_eutra_cap_tvb){
if (utra_bcch_cont_tvb && rrc_sys_info_cont_handle)
call_dissector(rrc_sys_info_cont_handle, utra_bcch_cont_tvb, actx->pinfo, tree);
+#.FN_BODY NeighCellConfig VAL_PTR = &neigh_cell_config_tvb
+ tvbuff_t *neigh_cell_config_tvb = NULL;
+%(DEFAULT_BODY)s
+ if (neigh_cell_config_tvb) {
+ guint8 bits;
+ proto_tree *subtree;
+ subtree = proto_item_add_subtree(actx->created_item, ett_lte_rrc_neighCellConfig);
+ bits = tvb_get_bits8(neigh_cell_config_tvb, 0, 2);
+ switch (bits) {
+ case 0:
+ proto_tree_add_text(subtree, neigh_cell_config_tvb, 0, 1, "Not all neighbour cells have the same MBSFN subframe allocation as serving cell");
+ break;
+ case 1:
+ proto_tree_add_text(subtree, neigh_cell_config_tvb, 0, 1, "No MBSFN subframes are present in all neighbour cells");
+ break;
+ case 2:
+ proto_tree_add_text(subtree, neigh_cell_config_tvb, 0, 1, "The MBSFN subframe allocations of all neighbour cells are identical to or subsets of that in the serving cell");
+ break;
+ case 3:
+ proto_tree_add_text(subtree, neigh_cell_config_tvb, 0, 1, "Different UL/DL allocation in neighbouring cells for TDD compared to the serving cell");
+ break;
+ default:
+ break;
+ }
+ }
+
#.FN_HDR MasterInformationBlock
col_append_str(actx->pinfo->cinfo, COL_INFO, "MasterInformationBlock ");
diff --git a/asn1/lte-rrc/packet-lte-rrc-template.c b/asn1/lte-rrc/packet-lte-rrc-template.c
index 8ea5b72737..45ad004230 100644
--- a/asn1/lte-rrc/packet-lte-rrc-template.c
+++ b/asn1/lte-rrc/packet-lte-rrc-template.c
@@ -98,6 +98,7 @@ static int ett_lte_rrc = -1;
#include "packet-lte-rrc-ett.c"
static gint ett_lte_rrc_featureGroupIndicators = -1;
+static gint ett_lte_rrc_neighCellConfig = -1;
/* Forward declarations */
static int dissect_DL_DCCH_Message_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_);
@@ -475,6 +476,7 @@ void proto_register_lte_rrc(void) {
#include "packet-lte-rrc-ettarr.c"
&ett_lte_rrc_featureGroupIndicators,
+ &ett_lte_rrc_neighCellConfig,
};