aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
-rw-r--r--epan/dissectors/packet-gsm_a_gm.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c
index efda8c3716..181e3ce893 100644
--- a/epan/dissectors/packet-gsm_a_gm.c
+++ b/epan/dissectors/packet-gsm_a_gm.c
@@ -84,6 +84,7 @@
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/ipproto.h>
+#include "packet-gsm_rlcmac.h"
#include "packet-ber.h"
#include "packet-gsm_a_common.h"
#include "packet-e212.h"
@@ -586,6 +587,7 @@ static expert_field ei_gsm_a_gm_missing_mandatory_element = EI_INIT;
static dissector_handle_t rrc_irat_ho_info_handle;
static dissector_handle_t lte_rrc_ue_eutra_cap_handle;
static dissector_handle_t nbifom_handle;
+static dissector_handle_t rlcmac_racap_handle;
static dissector_table_t gprs_sm_pco_subdissector_table; /* GPRS SM PCO PPP Protocols */
@@ -1641,6 +1643,16 @@ static const value_string gsm_a_gm_ec_pch_mon_support_vals[] = {
};
guint16
+de_gmm_ms_radio_acc_cap_rlcmac(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
+{
+ tvbuff_t *payload_tvb;
+ payload_tvb = tvb_new_subset_length(tvb, offset, len);
+
+ call_dissector(rlcmac_racap_handle, payload_tvb, pinfo, tree);
+ return len;
+}
+
+guint16
de_gmm_ms_radio_acc_cap(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
{
guint32 curr_offset;
@@ -6239,7 +6251,7 @@ guint16 (*gm_elem_fcn[])(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_
de_gmm_imeisv_req, /* IMEISV Request */
de_gmm_rec_npdu_lst, /* Receive N-PDU Numbers List */
de_gmm_ms_net_cap, /* MS Network Capability */
- de_gmm_ms_radio_acc_cap, /* MS Radio Access Capability */
+ de_gmm_ms_radio_acc_cap_rlcmac, /* MS Radio Access Capability */
de_gmm_cause, /* GMM Cause */
de_gmm_rai, /* Routing Area Identification */
de_gmm_rai2, /* Routing Area Identification 2 */
@@ -9463,6 +9475,7 @@ proto_reg_handoff_gsm_a_gm(void)
rrc_irat_ho_info_handle = find_dissector_add_dependency("rrc.irat.irat_ho_info", proto_a_gm);
lte_rrc_ue_eutra_cap_handle = find_dissector_add_dependency("lte-rrc.ue_eutra_cap", proto_a_gm);
nbifom_handle = find_dissector_add_dependency("nbifom", proto_a_gm);
+ rlcmac_racap_handle = find_dissector_add_dependency("gsm_rlcmac_racap", proto_a_gm);
}
/*