aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.h
diff options
context:
space:
mode:
authorS. Shapira <sswsdev@gmail.com>2017-05-12 00:03:29 +0300
committerAnders Broman <a.broman58@gmail.com>2017-05-12 19:42:20 +0000
commit900695547b096b1be34fb58bea98c0474e9c72ab (patch)
treee8bd6461c49c8c925503db686364655e9512688d /epan/dissectors/packet-umts_fp.h
parenta8228fa80bd584ec8cb093cc868add56bf9346b6 (diff)
UMTS Iub: Resolve U-RNTI for C-RNTI
This commit includes logic used to store pairs of C-RNTIs and U-RNTIs based on allocations in RRC and logic to retrive those when encountering C-RNTIs in the MAC header for DCCH over FACH/RACH. Change-Id: I629ab061b7a73416e5730a980480b81a1aaade11 Reviewed-on: https://code.wireshark.org/review/21607 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.h')
-rw-r--r--epan/dissectors/packet-umts_fp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/epan/dissectors/packet-umts_fp.h b/epan/dissectors/packet-umts_fp.h
index 39239930a6..7bac45bd51 100644
--- a/epan/dissectors/packet-umts_fp.h
+++ b/epan/dissectors/packet-umts_fp.h
@@ -137,6 +137,28 @@ typedef struct
} fp_dch_channel_info_t;
+typedef struct fp_crnti_allocation_info_t
+{
+ guint32 alloc_frame_number; /* Frame where C-RNTI was allocated */
+ guint32 urnti; /* The U-RNTI to which the C-RNTI was allocated*/
+} fp_crnti_allocation_info_t;
+
+/* Used in the 'channel_specific_info' field for FACH channels */
+typedef struct fp_fach_channel_info_t
+{
+ /* Key: (guint32) C-RNTI */
+ /* Value: (fp_crnti_allocation_info_t) U-RNTI allocation info */
+ wmem_tree_t* crnti_to_urnti_map; /* Mapping between C-RNTIs and U-RNTIs using them in this FACH */
+} fp_fach_channel_info_t;
+
+/* Used in the 'channel_specific_info' field for RACH channels */
+typedef struct fp_rach_channel_info_t
+{
+ /* Key: (guint32) C-RNTI */
+ /* Value: (fp_crnti_allocation_info_t) U-RNTI allocation info */
+ wmem_tree_t* crnti_to_urnti_map; /* Mapping between C-RNTIs and U-RNTIs using them in this RACH */
+} fp_rach_channel_info_t;
+
typedef struct
{
@@ -150,6 +172,8 @@ typedef struct
gint com_context_id; /* Identifies a single UE in all NBAP messages */
guint32 scrambling_code; /* Identifies a single UE's radio transmissions in the UTRAN */
+ void* channel_specific_info; /* Extended channel info based on the channel type */
+
/* For PCH channel */
gint paging_indications;