1 /* packet-rrc-template.h
2 * Copyright 2009, Anders Broman <anders.broman@ericsson.com>
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
14 #include <epan/asn1.h> /* Needed for non asn1 dissectors?*/
17 #include "packet-rrc-exp.h"
19 enum rrc_message_type
{
20 RRC_MESSAGE_TYPE_INVALID
= 0,
21 RRC_MESSAGE_TYPE_PCCH
= 1,
22 RRC_MESSAGE_TYPE_UL_CCCH
,
23 RRC_MESSAGE_TYPE_DL_CCCH
,
24 RRC_MESSAGE_TYPE_UL_DCCH
,
25 RRC_MESSAGE_TYPE_DL_DCCH
,
26 RRC_MESSAGE_TYPE_BCCH_FACH
29 enum nas_sys_info_gsm_map
{
30 RRC_NAS_SYS_UNKNOWN
= 0,
33 RRC_NAS_SYS_INFO_CN_COMMON
37 RRC_UE_STATE_UNKNOWN
= 0,
38 RRC_UE_STATE_CELL_DCH
,
39 RRC_UE_STATE_CELL_FACH
,
40 RRC_UE_STATE_CELL_PCH
,
44 #define MAX_RRC_FRAMES 64
45 typedef struct rrc_info
47 enum rrc_message_type msgtype
[MAX_RRC_FRAMES
];
48 uint16_t hrnti
[MAX_RRC_FRAMES
];
51 /*Struct for storing ciphering information*/
52 typedef struct rrc_ciphering_info
54 int seq_no
[31][2]; /*Indicates for each Rbid when ciphering starts - Indexers are [BearerID][Direction]*/
55 GTree
* /*uint32_t*/ start_cs
; /*Start value for CS counter*/
56 GTree
* /*uint32_t*/ start_ps
; /*Start value for PS counter*/
57 int32_t ciphering_algorithm
; /*Indicates which type of ciphering algorithm used*/
58 int32_t integrity_algorithm
; /*Indicates which type of integrity algorithm used*/
59 uint32_t setup_frame
[2]; /*Store which frame contained this information - Indexer is [Direction]*/
60 uint32_t ps_conf_counters
[31][2]; /*This should also be made for CS*/
64 extern GTree
* hsdsch_muxed_flows
;
65 extern GTree
* rrc_ciph_info_tree
;
66 extern wmem_tree_t
* rrc_global_urnti_crnti_map
;
68 #endif /* PACKET_RRC_H */