aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-02-28 23:09:02 +0000
committerBill Meier <wmeier@newsguy.com>2011-02-28 23:09:02 +0000
commit093e8f25c4dc7ae1f222881c235e6dd604ef8126 (patch)
tree3d191b97382925052e910eb8b3dd73e4b65d9436 /epan/dissectors
parent191f6622e1d28149b61bb5f230a4b51ab8ae7f0a (diff)
Define global vars as static; Whitespace cleanup.
svn path=/trunk/; revision=36098
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gsm_rlcmac.c953
-rw-r--r--epan/dissectors/packet-gsm_rlcmac.h224
2 files changed, 593 insertions, 584 deletions
diff --git a/epan/dissectors/packet-gsm_rlcmac.c b/epan/dissectors/packet-gsm_rlcmac.c
index b30f0f893e..d87ec9b7a2 100644
--- a/epan/dissectors/packet-gsm_rlcmac.c
+++ b/epan/dissectors/packet-gsm_rlcmac.c
@@ -1,6 +1,6 @@
/* packet-gsm_rlcmac.c
* Routines for GSM RLC MAC control plane message dissection in wireshark.
- * TS 44.060 and 24.008
+ * TS 44.060 and 24.008
* By Vincent Helfre
* Copyright (c) 2011 ST-Ericsson
*
@@ -34,7 +34,7 @@
#include "string.h"
#include "stdio.h"
-/* Initialize the protocol and registered fields
+/* Initialize the protocol and registered fields
*/
static int proto_gsm_rlcmac = -1;
static int ett_gsm_rlcmac = -1;
@@ -64,7 +64,7 @@ static int hf_dl_ctrl_spare = -1;
/* CSN1 structures */
/*(not all parts of CSN_DESCR structure are always initialized.)*/
-const
+static const
CSN_DESCR_BEGIN(StartingTime_t)
M_UINT (StartingTime_t, N32, 5), /* 04.08 refers to T1' := (FN div 1326) mod 32 */
M_UINT (StartingTime_t, N51, 6), /* 04.08 refers to T3 := FN mod 51 */
@@ -72,15 +72,15 @@ CSN_DESCR_BEGIN(StartingTime_t)
CSN_DESCR_END (StartingTime_t)
/*< Global TFI IE >*/
-const
+static const
CSN_DESCR_BEGIN(Global_TFI_t)
M_UNION (Global_TFI_t, 2),
M_UINT (Global_TFI_t, u.UPLINK_TFI_v, 5),
M_UINT (Global_TFI_t, u.DOWNLINK_TFI_v, 5),
CSN_DESCR_END (Global_TFI_t)
-
+
/*< Starting Frame Number Description IE >*/
-const
+static const
CSN_DESCR_BEGIN(Starting_Frame_Number_t)
M_UNION (Starting_Frame_Number_t, 2),
M_TYPE (Starting_Frame_Number_t, u.StartingTime, StartingTime_t),
@@ -88,7 +88,7 @@ CSN_DESCR_BEGIN(Starting_Frame_Number_t)
CSN_DESCR_END(Starting_Frame_Number_t)
/*< Ack/Nack Description IE >*/
-const
+static const
CSN_DESCR_BEGIN(Ack_Nack_Description_t)
M_BIT (Ack_Nack_Description_t, FINAL_ACK_INDICATION_v),
M_UINT (Ack_Nack_Description_t, STARTING_SEQUENCE_NUMBER_v, 7),
@@ -96,7 +96,7 @@ CSN_DESCR_BEGIN(Ack_Nack_Description_t)
CSN_DESCR_END (Ack_Nack_Description_t)
/*< Packet Timing Advance IE >*/
-const
+static const
CSN_DESCR_BEGIN(Packet_Timing_Advance_t)
M_NEXT_EXIST (Packet_Timing_Advance_t, Exist_TIMING_ADVANCE_VALUE_v, 1),
M_UINT (Packet_Timing_Advance_t, TIMING_ADVANCE_VALUE_v, 6),
@@ -107,7 +107,7 @@ CSN_DESCR_BEGIN(Packet_Timing_Advance_t)
CSN_DESCR_END (Packet_Timing_Advance_t)
/*< Power Control Parameters IE >*/
-const
+static const
CSN_DESCR_BEGIN(GPRS_Power_Control_Parameters_t)
M_UINT (GPRS_Power_Control_Parameters_t, ALPHA_v, 4),
M_UINT (GPRS_Power_Control_Parameters_t, T_AVG_W_v, 5),
@@ -117,7 +117,7 @@ CSN_DESCR_BEGIN(GPRS_Power_Control_Parameters_t)
CSN_DESCR_END (GPRS_Power_Control_Parameters_t)
/*< Global Power Control Parameters IE >*/
-const
+static const
CSN_DESCR_BEGIN(Global_Power_Control_Parameters_t)
M_UINT (Global_Power_Control_Parameters_t, ALPHA_v, 4),
M_UINT (Global_Power_Control_Parameters_t, T_AVG_W_v, 5),
@@ -129,7 +129,7 @@ CSN_DESCR_BEGIN(Global_Power_Control_Parameters_t)
CSN_DESCR_END (Global_Power_Control_Parameters_t)
/*< Global Packet Timing Advance IE >*/
-const
+static const
CSN_DESCR_BEGIN(Global_Packet_Timing_Advance_t)
M_NEXT_EXIST (Global_Packet_Timing_Advance_t, Exist_TIMING_ADVANCE_VALUE_v, 1),
M_UINT (Global_Packet_Timing_Advance_t, TIMING_ADVANCE_VALUE_v, 6),
@@ -144,7 +144,7 @@ CSN_DESCR_BEGIN(Global_Packet_Timing_Advance_t)
CSN_DESCR_END (Global_Packet_Timing_Advance_t)
/*< Channel Quality Report struct >*/
-const
+static const
CSN_DESCR_BEGIN(Channel_Quality_Report_t)
M_UINT (Channel_Quality_Report_t, C_VALUE_v, 6),
M_UINT (Channel_Quality_Report_t, RXQUAL_v, 3),
@@ -176,7 +176,7 @@ CSN_DESCR_BEGIN(Channel_Quality_Report_t)
CSN_DESCR_END (Channel_Quality_Report_t)
/*< EGPRS Ack/Nack Description >*/
-const
+static const
CSN_DESCR_BEGIN (EGPRS_AckNack_t)
M_NEXT_EXIST (EGPRS_AckNack_t, Exist_LENGTH_v, 1),
M_UINT (EGPRS_AckNack_t, LENGTH_v, 8),
@@ -194,32 +194,32 @@ CSN_DESCR_END (EGPRS_AckNack_t)
/*<P1 Rest Octets>*/
/*<P2 Rest Octets>*/
-const
+static const
CSN_DESCR_BEGIN(MobileAllocationIE_t)
M_UINT (MobileAllocationIE_t, Length, 8),
M_VAR_ARRAY (MobileAllocationIE_t, MA_v, Length, 0),
CSN_DESCR_END (MobileAllocationIE_t)
-const
+static const
CSN_DESCR_BEGIN(SingleRFChannel_t)
M_UINT (SingleRFChannel_t, spare, 2),
M_UINT (SingleRFChannel_t, ARFCN_v, 10),
CSN_DESCR_END (SingleRFChannel_t)
-const
+static const
CSN_DESCR_BEGIN(RFHoppingChannel_t)
M_UINT (RFHoppingChannel_t, MAIO_v, 6),
M_UINT (RFHoppingChannel_t, HSN_v, 6),
CSN_DESCR_END (RFHoppingChannel_t)
-const
+static const
CSN_DESCR_BEGIN(MobileAllocation_or_Frequency_Short_List_t)
M_UNION (MobileAllocation_or_Frequency_Short_List_t, 2),
M_BITMAP (MobileAllocation_or_Frequency_Short_List_t, u.Frequency_Short_List, 64),
M_TYPE (MobileAllocation_or_Frequency_Short_List_t, u.MA_v, MobileAllocationIE_t),
CSN_DESCR_END (MobileAllocation_or_Frequency_Short_List_t)
-const
+static const
CSN_DESCR_BEGIN(Channel_Description_t)
M_UINT (Channel_Description_t, Channel_type_and_TDMA_offset, 5),
M_UINT (Channel_Description_t, TN_v, 3),
@@ -230,7 +230,7 @@ CSN_DESCR_BEGIN(Channel_Description_t)
M_TYPE (Channel_Description_t, u.RFHoppingChannel, RFHoppingChannel_t),
CSN_DESCR_END(Channel_Description_t)
-const
+static const
CSN_DESCR_BEGIN(Group_Channel_Description_t)
M_TYPE (Group_Channel_Description_t, Channel_Description, Channel_Description_t),
@@ -238,7 +238,7 @@ CSN_DESCR_BEGIN(Group_Channel_Description_t)
M_TYPE (Group_Channel_Description_t, MA_or_Frequency_Short_List, MobileAllocation_or_Frequency_Short_List_t),
CSN_DESCR_END (Group_Channel_Description_t)
-const
+static const
CSN_DESCR_BEGIN(Group_Call_Reference_t)
M_UINT (Group_Call_Reference_t, value, 27),
M_BIT (Group_Call_Reference_t, SF),
@@ -247,7 +247,7 @@ CSN_DESCR_BEGIN(Group_Call_Reference_t)
M_UINT (Group_Call_Reference_t, Ciphering_information, 4),
CSN_DESCR_END (Group_Call_Reference_t)
-const
+static const
CSN_DESCR_BEGIN(Group_Call_information_t)
M_TYPE (Group_Call_information_t, Group_Call_Reference, Group_Call_Reference_t),
@@ -255,7 +255,7 @@ CSN_DESCR_BEGIN(Group_Call_information_t)
M_TYPE (Group_Call_information_t, Group_Channel_Description, Group_Channel_Description_t),
CSN_DESCR_END (Group_Call_information_t)
-const
+static const
CSN_DESCR_BEGIN (P1_Rest_Octets_t)
M_NEXT_EXIST_LH(P1_Rest_Octets_t, Exist_NLN_PCH_and_NLN_status, 2),
M_UINT (P1_Rest_Octets_t, NLN_PCH_v, 2),
@@ -274,7 +274,7 @@ CSN_DESCR_BEGIN (P1_Rest_Octets_t)
M_UINT_LH (P1_Rest_Octets_t, Packet_Page_Indication_2, 1),
CSN_DESCR_END (P1_Rest_Octets_t)
-const
+static const
CSN_DESCR_BEGIN (P2_Rest_Octets_t)
M_NEXT_EXIST_LH(P2_Rest_Octets_t, Exist_CN3_v, 1),
M_UINT (P2_Rest_Octets_t, CN3_v, 2),
@@ -296,12 +296,12 @@ CSN_DESCR_BEGIN (P2_Rest_Octets_t)
CSN_DESCR_END (P2_Rest_Octets_t)
-/* <IA Rest Octets>
- * Note!!
+/* <IA Rest Octets>
+ * Note!!
* - first two bits skipped and frequencyparameters skipped
* - additions for R99 and EGPRS added
*/
-const
+static const
CSN_DESCR_BEGIN(DynamicAllocation_t)
M_UINT (DynamicAllocation_t, USF_v, 3),
M_UINT (DynamicAllocation_t, USF_GRANULARITY_v, 1),
@@ -311,7 +311,7 @@ CSN_DESCR_BEGIN(DynamicAllocation_t)
M_UINT (DynamicAllocation_t, PR_MODE_v, 1),
CSN_DESCR_END (DynamicAllocation_t)
-const
+static const
CSN_DESCR_BEGIN(EGPRS_TwoPhaseAccess_t)
M_NEXT_EXIST (EGPRS_TwoPhaseAccess_t, Exist_ALPHA_v, 1),
M_UINT (EGPRS_TwoPhaseAccess_t, ALPHA_v, 4),
@@ -326,7 +326,7 @@ CSN_DESCR_BEGIN(EGPRS_TwoPhaseAccess_t)
M_UINT (EGPRS_TwoPhaseAccess_t, PR_MODE_v, 1),
CSN_DESCR_END (EGPRS_TwoPhaseAccess_t)
-const
+static const
CSN_DESCR_BEGIN(EGPRS_OnePhaseAccess_t)
M_UINT (EGPRS_OnePhaseAccess_t, TFI_ASSIGNMENT_v, 5),
M_UINT (EGPRS_OnePhaseAccess_t, POLLING_v, 1),
@@ -356,7 +356,7 @@ CSN_DESCR_BEGIN(EGPRS_OnePhaseAccess_t)
M_TYPE (EGPRS_OnePhaseAccess_t, TBF_STARTING_TIME_v, StartingTime_t),
CSN_DESCR_END (EGPRS_OnePhaseAccess_t)
-const
+static const
CSN_DESCR_BEGIN(IA_EGPRS_00_t)
M_UINT (IA_EGPRS_00_t, ExtendedRA, 5),
@@ -367,7 +367,7 @@ CSN_DESCR_BEGIN(IA_EGPRS_00_t)
M_TYPE (IA_EGPRS_00_t, Access.OnePhaseAccess, EGPRS_OnePhaseAccess_t),
CSN_DESCR_END (IA_EGPRS_00_t)
-const
+static const
CSN_ChoiceElement_t IA_EGPRS_Choice[] =
{
{2, 0x00, M_TYPE (IA_EGPRS_t, u.IA_EGPRS_PUA, IA_EGPRS_00_t)},
@@ -375,24 +375,24 @@ CSN_ChoiceElement_t IA_EGPRS_Choice[] =
{1, 0x01, CSN_ERROR(IA_EGPRS_t, "1 <IA_EGPRS>", CSN_ERROR_STREAM_NOT_SUPPORTED)}
};
-/* Please observe the double usage of UnionType element.
- * First, it is used to store the second bit of LL/LH identification of EGPRS contents.
- * Thereafter, UnionType will be used to store the index to detected choice.
+/* Please observe the double usage of UnionType element.
+ * First, it is used to store the second bit of LL/LH identification of EGPRS contents.
+ * Thereafter, UnionType will be used to store the index to detected choice.
*/
-const
+static const
CSN_DESCR_BEGIN(IA_EGPRS_t)
M_UINT (IA_EGPRS_t, UnionType , 1),
M_CHOICE (IA_EGPRS_t, UnionType, IA_EGPRS_Choice, ElementsOf(IA_EGPRS_Choice)),
CSN_DESCR_END (IA_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN(IA_FreqParamsBeforeTime_t)
M_UINT (IA_FreqParamsBeforeTime_t, Length, 6),
M_UINT (IA_FreqParamsBeforeTime_t, MAIO_v, 6),
M_VAR_ARRAY (IA_FreqParamsBeforeTime_t, MobileAllocation, Length, 8),
CSN_DESCR_END (IA_FreqParamsBeforeTime_t)
-const
+static const
CSN_DESCR_BEGIN (GPRS_SingleBlockAllocation_t)
M_NEXT_EXIST (GPRS_SingleBlockAllocation_t, Exist_ALPHA_v, 1),
M_UINT (GPRS_SingleBlockAllocation_t, ALPHA_v, 4),
@@ -407,7 +407,7 @@ CSN_DESCR_BEGIN (GPRS_SingleBlockAllocation_t)
M_UINT (GPRS_SingleBlockAllocation_t, PR_MODE_v, 1),
CSN_DESCR_END (GPRS_SingleBlockAllocation_t)
-const
+static const
CSN_DESCR_BEGIN (GPRS_DynamicOrFixedAllocation_t)
M_UINT (GPRS_DynamicOrFixedAllocation_t, TFI_ASSIGNMENT_v, 5),
M_UINT (GPRS_DynamicOrFixedAllocation_t, POLLING_v, 1),
@@ -431,13 +431,13 @@ CSN_DESCR_BEGIN (GPRS_DynamicOrFixedAllocation_t)
M_TYPE (GPRS_DynamicOrFixedAllocation_t, TBF_STARTING_TIME_v, StartingTime_t),
CSN_DESCR_END (GPRS_DynamicOrFixedAllocation_t)
-const
+static const
CSN_DESCR_BEGIN(PU_IA_AdditionsR99_t)
M_NEXT_EXIST (PU_IA_AdditionsR99_t, Exist_ExtendedRA, 1),
M_UINT (PU_IA_AdditionsR99_t, ExtendedRA, 5),
CSN_DESCR_END (PU_IA_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Uplink_ImmAssignment_t)
M_UNION (Packet_Uplink_ImmAssignment_t, 2),
M_TYPE (Packet_Uplink_ImmAssignment_t, Access.SingleBlockAllocation, GPRS_SingleBlockAllocation_t),
@@ -447,16 +447,16 @@ CSN_DESCR_BEGIN (Packet_Uplink_ImmAssignment_t)
M_TYPE (Packet_Uplink_ImmAssignment_t, AdditionsR99, PU_IA_AdditionsR99_t),
CSN_DESCR_END (Packet_Uplink_ImmAssignment_t)
-const
+static const
CSN_DESCR_BEGIN(PD_IA_AdditionsR99_t)
M_UINT (PD_IA_AdditionsR99_t, EGPRS_WindowSize, 5),
M_UINT (PD_IA_AdditionsR99_t, LINK_QUALITY_MEASUREMENT_MODE_v, 2),
-
+
M_NEXT_EXIST (PD_IA_AdditionsR99_t, Exist_BEP_PERIOD2_v, 1),
M_UINT (PD_IA_AdditionsR99_t, BEP_PERIOD2_v, 4),
CSN_DESCR_END (PD_IA_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Downlink_ImmAssignment_t)
M_UINT (Packet_Downlink_ImmAssignment_t, TLLI_v, 32),
@@ -484,21 +484,21 @@ CSN_DESCR_BEGIN(Packet_Downlink_ImmAssignment_t)
M_TYPE (Packet_Downlink_ImmAssignment_t, AdditionsR99, PD_IA_AdditionsR99_t),
CSN_DESCR_END (Packet_Downlink_ImmAssignment_t)
-const
+static const
CSN_DESCR_BEGIN (Second_Part_Packet_Assignment_t)
M_NEXT_EXIST_OR_NULL_LH(Second_Part_Packet_Assignment_t, Exist_SecondPart, 2),
M_NEXT_EXIST (Second_Part_Packet_Assignment_t, Exist_ExtendedRA, 1),
M_UINT (Second_Part_Packet_Assignment_t, ExtendedRA, 5),
CSN_DESCR_END (Second_Part_Packet_Assignment_t)
-const
+static const
CSN_DESCR_BEGIN(IA_PacketAssignment_UL_DL_t)
M_UNION (IA_PacketAssignment_UL_DL_t, 2),
M_TYPE (IA_PacketAssignment_UL_DL_t, ul_dl.Packet_Uplink_ImmAssignment, Packet_Uplink_ImmAssignment_t),
M_TYPE (IA_PacketAssignment_UL_DL_t, ul_dl.Packet_Downlink_ImmAssignment, Packet_Downlink_ImmAssignment_t),
CSN_DESCR_END (IA_PacketAssignment_UL_DL_t)
-const
+static const
CSN_DESCR_BEGIN(IA_PacketAssignment_t)
M_UNION (IA_PacketAssignment_t, 2),
M_TYPE (IA_PacketAssignment_t, u.UplinkDownlinkAssignment, IA_PacketAssignment_UL_DL_t),
@@ -506,7 +506,7 @@ CSN_DESCR_BEGIN(IA_PacketAssignment_t)
CSN_DESCR_END (IA_PacketAssignment_t)
/* Packet Polling Request */
-const
+static const
CSN_ChoiceElement_t PacketPollingID[] =
{
{1, 0, M_TYPE(PacketPollingID_t, u.Global_TFI, Global_TFI_t)},
@@ -515,12 +515,12 @@ CSN_ChoiceElement_t PacketPollingID[] =
/*{3, 0x07 , M_TYPE(PacketUplinkID_t, u.Packet_Request_Reference, Packet_Request_Reference_t)},*/
};
-const
+static const
CSN_DESCR_BEGIN(PacketPollingID_t)
M_CHOICE (PacketPollingID_t, UnionType, PacketPollingID, ElementsOf(PacketPollingID)),
CSN_DESCR_END (PacketPollingID_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Polling_Request_t)
M_UINT (Packet_Polling_Request_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Polling_Request_t, PAGE_MODE_v, 2),
@@ -528,18 +528,18 @@ CSN_DESCR_BEGIN(Packet_Polling_Request_t)
M_BIT (Packet_Polling_Request_t, TYPE_OF_ACK_v),
CSN_DESCR_END (Packet_Polling_Request_t)
-const
+static const
CSN_DESCR_BEGIN(MobileAllocation_t)
M_UINT_OFFSET(MobileAllocation_t, MA_BitLength, 6, 1),
M_VAR_BITMAP (MobileAllocation_t, MA_BITMAP_v, MA_BitLength, 0),
CSN_DESCR_END (MobileAllocation_t)
-const
+static const
CSN_DESCR_BEGIN(ARFCN_index_list_t)
M_REC_ARRAY (ARFCN_index_list_t, ARFCN_INDEX_v, ElementsOf_ARFCN_INDEX_v, 6),
CSN_DESCR_END (ARFCN_index_list_t)
-const
+static const
CSN_DESCR_BEGIN(GPRS_Mobile_Allocation_t)
M_UINT (GPRS_Mobile_Allocation_t, HSN_v, 6),
M_REC_ARRAY (GPRS_Mobile_Allocation_t, RFL_NUMBER_v, ElementsOf_RFL_NUMBER_v, 4),
@@ -549,13 +549,13 @@ CSN_DESCR_BEGIN(GPRS_Mobile_Allocation_t)
CSN_DESCR_END (GPRS_Mobile_Allocation_t)
/*< SI 13 Rest Octets >*/
-const
+static const
CSN_DESCR_BEGIN (Extension_Bits_t)
M_UINT_OFFSET (Extension_Bits_t, extension_length, 6, 1),
M_LEFT_VAR_BMP(Extension_Bits_t, Extension_Info, extension_length, 0),
CSN_DESCR_END (Extension_Bits_t)
-const
+static const
CSN_DESCR_BEGIN(GPRS_Cell_Options_t)
M_UINT (GPRS_Cell_Options_t, NMO_v, 2),
M_UINT_OFFSET(GPRS_Cell_Options_t, T3168_v, 3, 1),
@@ -564,17 +564,17 @@ CSN_DESCR_BEGIN(GPRS_Cell_Options_t)
M_BIT (GPRS_Cell_Options_t, ACCESS_BURST_TYPE_v),
M_BIT (GPRS_Cell_Options_t, CONTROL_ACK_TYPE_v),
M_UINT (GPRS_Cell_Options_t, BS_CV_MAX_v, 4),
-
+
M_NEXT_EXIST (GPRS_Cell_Options_t, Exist_PAN, 3),
M_UINT (GPRS_Cell_Options_t, PAN_DEC_v, 3),
M_UINT (GPRS_Cell_Options_t, PAN_INC_v, 3),
M_UINT (GPRS_Cell_Options_t, PAN_MAX_v, 3),
-
+
M_NEXT_EXIST (GPRS_Cell_Options_t, Exist_Extension_Bits, 1),
M_TYPE (GPRS_Cell_Options_t, Extension_Bits, Extension_Bits_t),
CSN_DESCR_END (GPRS_Cell_Options_t)
-const
+static const
CSN_DESCR_BEGIN(PBCCH_Not_present_t)
M_UINT (PBCCH_Not_present_t, RAC_v, 8),
M_BIT (PBCCH_Not_present_t, SPGC_CCCH_SUP_v),
@@ -584,7 +584,7 @@ CSN_DESCR_BEGIN(PBCCH_Not_present_t)
M_TYPE (PBCCH_Not_present_t, GPRS_Power_Control_Parameters, GPRS_Power_Control_Parameters_t),
CSN_DESCR_END (PBCCH_Not_present_t)
-const
+static const
CSN_ChoiceElement_t SI13_PBCCH_Description_Channel[] =
{/* this one is used in SI13*/
{2, 0x00 , M_NULL(PBCCH_Description_t, u.dummy)},/*Default to BCCH carrier*/
@@ -592,22 +592,22 @@ CSN_ChoiceElement_t SI13_PBCCH_Description_Channel[] =
{1, 0x01 , M_UINT(PBCCH_Description_t, u.MAIO_v, 6)},
};
-const
+static const
CSN_DESCR_BEGIN(PBCCH_Description_t)/*SI13*/
M_UINT (PBCCH_Description_t, Pb, 4),
M_UINT (PBCCH_Description_t, TSC_v, 3),
M_UINT (PBCCH_Description_t, TN_v, 3),
-
+
M_CHOICE (PBCCH_Description_t, UnionType, SI13_PBCCH_Description_Channel, ElementsOf(SI13_PBCCH_Description_Channel)),
CSN_DESCR_END (PBCCH_Description_t)
-const
+static const
CSN_DESCR_BEGIN(PBCCH_present_t)
M_UINT (PBCCH_present_t, PSI1_REPEAT_PERIOD_v, 4),
M_TYPE (PBCCH_present_t, PBCCH_Description, PBCCH_Description_t),
CSN_DESCR_END (PBCCH_present_t)
-const
+static const
CSN_DESCR_BEGIN (SI_13_t)
M_THIS_EXIST_LH (SI_13_t),
@@ -633,7 +633,7 @@ CSN_DESCR_END (SI_13_t)
/************************************************************/
/*< Packet TBF Release message content >*/
-const
+static const
CSN_DESCR_BEGIN(Packet_TBF_Release_t)
M_UINT (Packet_TBF_Release_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_TBF_Release_t, PAGE_MODE_v, 2),
@@ -646,13 +646,13 @@ CSN_DESCR_END (Packet_TBF_Release_t)
/*< Packet Control Acknowledgement message content >*/
-const
+static const
CSN_DESCR_BEGIN (Packet_Control_Acknowledgement_AdditionsR6_t)
M_NEXT_EXIST (Packet_Control_Acknowledgement_AdditionsR6_t, Exist_CTRL_ACK_Extension, 1),
M_UINT (Packet_Control_Acknowledgement_AdditionsR6_t, CTRL_ACK_Extension_v, 9),
CSN_DESCR_END (Packet_Control_Acknowledgement_AdditionsR6_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Control_Acknowledgement_AdditionsR5_t)
M_NEXT_EXIST (Packet_Control_Acknowledgement_AdditionsR5_t, Exist_TN_RRBP, 1),
M_UINT (Packet_Control_Acknowledgement_AdditionsR5_t, TN_RRBP_v, 3),
@@ -663,7 +663,7 @@ CSN_DESCR_BEGIN (Packet_Control_Acknowledgement_AdditionsR5_t)
M_TYPE (Packet_Control_Acknowledgement_AdditionsR5_t, AdditionsR6, Packet_Control_Acknowledgement_AdditionsR6_t),
CSN_DESCR_END (Packet_Control_Acknowledgement_AdditionsR5_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Control_Acknowledgement_t)
M_UINT (Packet_Control_Acknowledgement_t, PayloadType, 2),
M_UINT (Packet_Control_Acknowledgement_t, spare, 5),
@@ -677,7 +677,7 @@ CSN_DESCR_BEGIN (Packet_Control_Acknowledgement_t)
CSN_DESCR_END (Packet_Control_Acknowledgement_t)
/*< Packet Downlink Dummy Control Block message content >*/
-const
+static const
CSN_DESCR_BEGIN(Packet_Downlink_Dummy_Control_Block_t)
M_UINT (Packet_Downlink_Dummy_Control_Block_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Downlink_Dummy_Control_Block_t, PAGE_MODE_v, 2),
@@ -687,7 +687,7 @@ CSN_DESCR_BEGIN(Packet_Downlink_Dummy_Control_Block_t)
CSN_DESCR_END (Packet_Downlink_Dummy_Control_Block_t)
/*< Packet Uplink Dummy Control Block message content >*/
-const
+static const
CSN_DESCR_BEGIN(Packet_Uplink_Dummy_Control_Block_t)
M_UINT (Packet_Uplink_Dummy_Control_Block_t, PayloadType, 2),
M_UINT (Packet_Uplink_Dummy_Control_Block_t, spare, 5),
@@ -698,7 +698,7 @@ CSN_DESCR_BEGIN(Packet_Uplink_Dummy_Control_Block_t)
/*M_FIXED (Packet_Uplink_Dummy_Control_Block_t, 1, 0),*/
CSN_DESCR_END (Packet_Uplink_Dummy_Control_Block_t)
-const
+static const
CSN_DESCR_BEGIN(Receive_N_PDU_Number_t)
M_UINT (Receive_N_PDU_Number_t, nsapi, 4),
M_UINT (Receive_N_PDU_Number_t, value, 8),
@@ -709,26 +709,26 @@ gint16 Receive_N_PDU_Number_list_Dissector(proto_tree *tree, csnStream_t* ar, tv
return csnStreamDissector(tree, ar, CSNDESCR(Receive_N_PDU_Number_t), tvb, data, ett_gsm_rlcmac);
}
-const
+static const
CSN_DESCR_BEGIN(Receive_N_PDU_Number_list_t)
M_SERIALIZE (Receive_N_PDU_Number_list_t, IEI, Receive_N_PDU_Number_list_Dissector),
M_VAR_TARRAY (Receive_N_PDU_Number_list_t, Receive_N_PDU_Number, Receive_N_PDU_Number_t, Count_Receive_N_PDU_Number),
CSN_DESCR_END (Receive_N_PDU_Number_list_t)
/*< MS Radio Access capability IE >*/
-const
+static const
CSN_DESCR_BEGIN (DTM_EGPRS_t)
M_NEXT_EXIST (DTM_EGPRS_t, Exist_DTM_EGPRS_multislot_class, 1),
M_UINT (DTM_EGPRS_t, DTM_EGPRS_multislot_class, 2),
CSN_DESCR_END (DTM_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN (DTM_EGPRS_HighMultislotClass_t)
M_NEXT_EXIST (DTM_EGPRS_HighMultislotClass_t, Exist_DTM_EGPRS_HighMultislotClass, 1),
M_UINT (DTM_EGPRS_HighMultislotClass_t, DTM_EGPRS_HighMultislotClass, 3),
CSN_DESCR_END (DTM_EGPRS_HighMultislotClass_t)
-const
+static const
CSN_DESCR_BEGIN (Multislot_capability_t)
M_NEXT_EXIST (Multislot_capability_t, Exist_HSCSD_multislot_class, 1),
M_UINT (Multislot_capability_t, HSCSD_multislot_class, 5),
@@ -754,7 +754,7 @@ CSN_DESCR_BEGIN (Multislot_capability_t)
M_TYPE (Multislot_capability_t, DTM_EGPRS_Params, DTM_EGPRS_t),
CSN_DESCR_END (Multislot_capability_t)
-const
+static const
CSN_DESCR_BEGIN (Content_t)
M_UINT (Content_t, RF_Power_Capability, 3),
@@ -789,7 +789,7 @@ CSN_DESCR_BEGIN (Content_t)
M_NEXT_EXIST (Content_t, Exist_HighMultislotCapability, 1),
M_UINT (Content_t, HighMultislotCapability, 2),
-
+
M_NEXT_EXIST (Content_t, Exist_GERAN_lu_ModeCapability, 1),
M_UINT (Content_t, GERAN_lu_ModeCapability, 4),
@@ -813,14 +813,14 @@ gint16 Content_Dissector(proto_tree *tree, csnStream_t* ar, tvbuff_t *tvb, void*
return csnStreamDissector(tree, ar, CSNDESCR(Content_t), tvb, data, ett_gsm_rlcmac);
}
-const
+static const
CSN_DESCR_BEGIN (Additional_access_technologies_struct_t)
M_UINT (Additional_access_technologies_struct_t, Access_Technology_Type, 4),
M_UINT (Additional_access_technologies_struct_t, GMSK_Power_class, 3),
M_UINT (Additional_access_technologies_struct_t, Eight_PSK_Power_class, 2),
CSN_DESCR_END (Additional_access_technologies_struct_t)
-const
+static const
CSN_DESCR_BEGIN (Additional_access_technologies_t)
M_REC_TARRAY (Additional_access_technologies_t, Additional_access_technologies[0], Additional_access_technologies_struct_t, Count_additional_access_technologies),
CSN_DESCR_END (Additional_access_technologies_t)
@@ -830,7 +830,7 @@ gint16 Additional_access_technologies_Dissector(proto_tree *tree, csnStream_t* a
return csnStreamDissector(tree, ar, CSNDESCR(Additional_access_technologies_t), tvb, data, ett_gsm_rlcmac);
}
-const
+static const
CSN_ChoiceElement_t MS_RA_capability_value_Choice[] =
{
{4, AccTech_GSMP, M_SERIALIZE (MS_RA_capability_value_t, u.Content, Content_Dissector)}, /* Long Form */
@@ -841,12 +841,12 @@ CSN_ChoiceElement_t MS_RA_capability_value_Choice[] =
{4, AccTech_GSMOther, M_SERIALIZE (MS_RA_capability_value_t, u.Additional_access_technologies, Additional_access_technologies_Dissector)}, /* Short Form */
};
-const
+static const
CSN_DESCR_BEGIN(MS_RA_capability_value_t)
M_CHOICE (MS_RA_capability_value_t, IndexOfAccTech, MS_RA_capability_value_Choice, ElementsOf(MS_RA_capability_value_Choice)),
CSN_DESCR_END (MS_RA_capability_value_t)
-const
+static const
CSN_DESCR_BEGIN (MS_Radio_Access_capability_t)
/*Will be done in the main routines:*/
/*M_UINT (MS_Radio_Access_capability_t, IEI, 8), 00100100 */
@@ -856,15 +856,15 @@ CSN_DESCR_BEGIN (MS_Radio_Access_capability_t)
CSN_DESCR_END (MS_Radio_Access_capability_t)
/*< MS Classmark 3 IE > R99 ecsttsv*/
-const
+static const
CSN_DESCR_BEGIN(ARC_t)
M_UINT (ARC_t, A5_Bits, 4),
M_UINT (ARC_t, Arc2_Spare, 4),
M_UINT (ARC_t, Arc1, 4),
CSN_DESCR_END (ARC_t)
-const
-CSN_ChoiceElement_t MultibandChoice[] =
+static const
+CSN_ChoiceElement_t MultibandChoice[] =
{
{3, 0x00, M_UINT(Multiband_t, u.A5_Bits, 4)},
{3, 0x05, M_TYPE(Multiband_t, u.ARC, ARC_t)},
@@ -874,12 +874,12 @@ CSN_ChoiceElement_t MultibandChoice[] =
{3, 0x04, M_TYPE(Multiband_t, u.ARC, ARC_t)},
};
-const
+static const
CSN_DESCR_BEGIN(Multiband_t)
M_CHOICE (Multiband_t, Multiband_v, MultibandChoice, ElementsOf(MultibandChoice)),
CSN_DESCR_END (Multiband_t)
-const
+static const
CSN_DESCR_BEGIN(EDGE_RF_Pwr_t)
M_NEXT_EXIST (EDGE_RF_Pwr_t, ExistEDGE_RF_PwrCap1, 1),
M_UINT (EDGE_RF_Pwr_t, EDGE_RF_PwrCap1, 2),
@@ -888,7 +888,7 @@ CSN_DESCR_BEGIN(EDGE_RF_Pwr_t)
M_UINT (EDGE_RF_Pwr_t, EDGE_RF_PwrCap2, 2),
CSN_DESCR_END (EDGE_RF_Pwr_t)
-const
+static const
CSN_DESCR_BEGIN(MS_Class3_Unpacked_t)
M_UINT (MS_Class3_Unpacked_t, Spare1, 1),
M_TYPE (MS_Class3_Unpacked_t, Multiband, Multiband_t),
@@ -937,7 +937,7 @@ CSN_DESCR_BEGIN(MS_Class3_Unpacked_t)
M_NEXT_EXIST (MS_Class3_Unpacked_t, Exist_SingleBandSupport, 1),
M_UINT (MS_Class3_Unpacked_t, GSM_Band, 4),
-
+
M_NEXT_EXIST (MS_Class3_Unpacked_t, Exist_GSM_700_Associated_Radio_Capability, 1),
M_UINT (MS_Class3_Unpacked_t, GSM_700_Associated_Radio_Capability, 4),
@@ -978,7 +978,7 @@ CSN_DESCR_BEGIN(MS_Class3_Unpacked_t)
M_UINT (MS_Class3_Unpacked_t, Spare2, 1),
CSN_DESCR_END (MS_Class3_Unpacked_t)
-const
+static const
CSN_DESCR_BEGIN(Channel_Request_Description_t)
M_UINT (Channel_Request_Description_t, PEAK_THROUGHPUT_CLASS_v, 4),
M_UINT (Channel_Request_Description_t, RADIO_PRIORITY_v, 2),
@@ -988,19 +988,19 @@ CSN_DESCR_BEGIN(Channel_Request_Description_t)
CSN_DESCR_END (Channel_Request_Description_t)
/* < Packet Resource Request message content > */
-const
+static const
CSN_ChoiceElement_t PacketResourceRequestID[] =
{
{1, 0, M_TYPE(PacketResourceRequestID_t, u.Global_TFI, Global_TFI_t)},
{1, 0x01, M_UINT(PacketResourceRequestID_t, u.TLLI_v, 32)},
};
-const
+static const
CSN_DESCR_BEGIN(PacketResourceRequestID_t)
M_CHOICE (PacketResourceRequestID_t, UnionType, PacketResourceRequestID, ElementsOf(PacketResourceRequestID)),
CSN_DESCR_END (PacketResourceRequestID_t)
-const
+static const
CSN_DESCR_BEGIN(BEP_MeasurementReport_t)
M_NEXT_EXIST (BEP_MeasurementReport_t, Exist, 3),
M_UNION (BEP_MeasurementReport_t, 2),
@@ -1008,13 +1008,13 @@ CSN_DESCR_BEGIN(BEP_MeasurementReport_t)
M_UINT (BEP_MeasurementReport_t, u.MEAN_BEP_8PSK_v, 4),
CSN_DESCR_END (BEP_MeasurementReport_t)
-const
+static const
CSN_DESCR_BEGIN(InterferenceMeasurementReport_t)
M_NEXT_EXIST (InterferenceMeasurementReport_t, Exist, 1),
M_UINT (InterferenceMeasurementReport_t, I_LEVEL_v, 4),
CSN_DESCR_END (InterferenceMeasurementReport_t)
-const
+static const
CSN_DESCR_BEGIN(EGPRS_TimeslotLinkQualityMeasurements_t)
M_NEXT_EXIST (EGPRS_TimeslotLinkQualityMeasurements_t, Exist_BEP_MEASUREMENTS, 1),
M_TYPE_ARRAY (EGPRS_TimeslotLinkQualityMeasurements_t, BEP_MEASUREMENTS_v, BEP_MeasurementReport_t, 8),
@@ -1023,7 +1023,7 @@ CSN_DESCR_BEGIN(EGPRS_TimeslotLinkQualityMeasurements_t)
M_TYPE_ARRAY (EGPRS_TimeslotLinkQualityMeasurements_t, INTERFERENCE_MEASUREMENTS_v, InterferenceMeasurementReport_t, 8),
CSN_DESCR_END (EGPRS_TimeslotLinkQualityMeasurements_t)
-const
+static const
CSN_DESCR_BEGIN(EGPRS_BEP_LinkQualityMeasurements_t)
M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_t, Exist_MEAN_CV_BEP_GMSK, 2),
M_UINT (EGPRS_BEP_LinkQualityMeasurements_t, MEAN_BEP_GMSK_v, 5),
@@ -1034,7 +1034,7 @@ CSN_DESCR_BEGIN(EGPRS_BEP_LinkQualityMeasurements_t)
M_UINT (EGPRS_BEP_LinkQualityMeasurements_t, CV_BEP_8PSK_v, 3),
CSN_DESCR_END (EGPRS_BEP_LinkQualityMeasurements_t)
-const
+static const
CSN_DESCR_BEGIN(PRR_AdditionsR99_t)
M_NEXT_EXIST (PRR_AdditionsR99_t, Exist_EGPRS_BEP_LinkQualityMeasurements, 1),
M_TYPE (PRR_AdditionsR99_t, EGPRS_BEP_LinkQualityMeasurements, EGPRS_BEP_LinkQualityMeasurements_t),
@@ -1049,7 +1049,7 @@ CSN_DESCR_BEGIN(PRR_AdditionsR99_t)
M_UINT (PRR_AdditionsR99_t, RetransmissionOfPRR, 1),
CSN_DESCR_END (PRR_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Resource_Request_t)
/* Mac header */
M_UINT (Packet_Resource_Request_t, PayloadType, 2),
@@ -1067,7 +1067,7 @@ CSN_DESCR_BEGIN (Packet_Resource_Request_t)
M_TYPE (Packet_Resource_Request_t, MS_Radio_Access_capability, MS_Radio_Access_capability_t),
M_TYPE (Packet_Resource_Request_t, Channel_Request_Description, Channel_Request_Description_t),
-
+
M_NEXT_EXIST (Packet_Resource_Request_t, Exist_CHANGE_MARK_v, 1),
M_UINT (Packet_Resource_Request_t, CHANGE_MARK_v, 2),
@@ -1083,7 +1083,7 @@ CSN_DESCR_BEGIN (Packet_Resource_Request_t)
CSN_DESCR_END (Packet_Resource_Request_t)
/*< Packet Mobile TBF Status message content > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Mobile_TBF_Status_t)
/* Mac header */
M_UINT (Packet_Mobile_TBF_Status_t, PayloadType, 2),
@@ -1100,29 +1100,29 @@ CSN_DESCR_BEGIN(Packet_Mobile_TBF_Status_t)
CSN_DESCR_END (Packet_Mobile_TBF_Status_t)
/*< Packet PSI Status message content > */
-const
+static const
CSN_DESCR_BEGIN(PSI_Message_t)
M_UINT (PSI_Message_t, PSI_MESSAGE_TYPE_v, 6),
M_UINT (PSI_Message_t, PSIX_CHANGE_MARK_v, 2),
M_NEXT_EXIST (PSI_Message_t, Exist_PSIX_COUNT_and_Instance_Bitmap, 2),
- M_FIXED (PSI_Message_t, 4, 0), /* Placeholder for PSIX_COUNT (4 bits) */
- M_FIXED (PSI_Message_t, 1, 0), /* Placeholder for Instance bitmap (1 bit) */
+ M_FIXED (PSI_Message_t, 4, 0), /* Placeholder for PSIX_COUNT (4 bits) */
+ M_FIXED (PSI_Message_t, 1, 0), /* Placeholder for Instance bitmap (1 bit) */
CSN_DESCR_END (PSI_Message_t)
-const
+static const
CSN_DESCR_BEGIN(PSI_Message_List_t)
M_REC_TARRAY (PSI_Message_List_t, PSI_Message[0], PSI_Message_t, Count_PSI_Message),
M_FIXED (PSI_Message_List_t, 1, 0x00),
M_UINT (PSI_Message_List_t, ADDITIONAL_MSG_TYPE_v, 1),
CSN_DESCR_END (PSI_Message_List_t)
-const
+static const
CSN_DESCR_BEGIN(Unknown_PSI_Message_List_t)
M_FIXED (Unknown_PSI_Message_List_t, 1, 0x00),
M_UINT (Unknown_PSI_Message_List_t, ADDITIONAL_MSG_TYPE_v, 1),
CSN_DESCR_END (Unknown_PSI_Message_List_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_PSI_Status_t)
/* Mac header */
M_UINT (Packet_PSI_Status_t, PayloadType, 2),
@@ -1139,26 +1139,26 @@ CSN_DESCR_END (Packet_PSI_Status_t)
/* < Packet SI Status message content > */
-const
+static const
CSN_DESCR_BEGIN(SI_Message_t)
M_UINT (SI_Message_t, SI_MESSAGE_TYPE_v, 8),
M_UINT (SI_Message_t, MESS_REC, 2),
CSN_DESCR_END (SI_Message_t)
-const
+static const
CSN_DESCR_BEGIN(SI_Message_List_t)
M_REC_TARRAY (SI_Message_List_t, SI_Message[0], SI_Message_t, Count_SI_Message),
M_FIXED (SI_Message_List_t, 1, 0x00),
M_UINT (SI_Message_List_t, ADDITIONAL_MSG_TYPE_v, 1),
CSN_DESCR_END (SI_Message_List_t)
-const
+static const
CSN_DESCR_BEGIN(Unknown_SI_Message_List_t)
M_FIXED (Unknown_SI_Message_List_t, 1, 0x00),
M_UINT (Unknown_SI_Message_List_t, ADDITIONAL_MSG_TYPE_v, 1),
CSN_DESCR_END (Unknown_SI_Message_List_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_SI_Status_t)
/* Mac header */
M_UINT (Packet_SI_Status_t, PayloadType, 2),
@@ -1174,13 +1174,13 @@ CSN_DESCR_BEGIN(Packet_SI_Status_t)
CSN_DESCR_END (Packet_SI_Status_t)
/* < Packet Downlink Ack/Nack message content > */
-const
+static const
CSN_DESCR_BEGIN(PD_AckNack_AdditionsR99_t)
M_NEXT_EXIST (PD_AckNack_AdditionsR99_t, Exist_PFI_v, 1),
M_UINT (PD_AckNack_AdditionsR99_t, PFI_v, 7),
CSN_DESCR_END (PD_AckNack_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Downlink_Ack_Nack_t)
M_UINT (Packet_Downlink_Ack_Nack_t, PayloadType, 2),
M_UINT (Packet_Downlink_Ack_Nack_t, spare, 5),
@@ -1200,14 +1200,14 @@ CSN_DESCR_END (Packet_Downlink_Ack_Nack_t)
/*< EGPRS Packet Downlink Ack/Nack message content > */
-const
+static const
CSN_DESCR_BEGIN(EGPRS_ChannelQualityReport_t)
M_TYPE (EGPRS_ChannelQualityReport_t, EGPRS_BEP_LinkQualityMeasurements, EGPRS_BEP_LinkQualityMeasurements_t),
M_UINT (EGPRS_ChannelQualityReport_t, C_VALUE_v, 6),
M_TYPE (EGPRS_ChannelQualityReport_t, EGPRS_TimeslotLinkQualityMeasurements, EGPRS_TimeslotLinkQualityMeasurements_t),
CSN_DESCR_END (EGPRS_ChannelQualityReport_t)
-const
+static const
CSN_DESCR_BEGIN(EGPRS_PD_AckNack_t)
/* M_CALLBACK (EGPRS_PD_AckNack_t, (void*)21, IsSupported, IsSupported), */
M_UINT (EGPRS_PD_AckNack_t, PayloadType, 2),
@@ -1226,17 +1226,17 @@ CSN_DESCR_BEGIN(EGPRS_PD_AckNack_t)
M_NEXT_EXIST (EGPRS_PD_AckNack_t, Exist_PFI_v, 1),
M_UINT (EGPRS_PD_AckNack_t, PFI_v, 7),
-
+
M_NEXT_EXIST (EGPRS_PD_AckNack_t, Exist_ExtensionBits, 1),
M_TYPE (EGPRS_PD_AckNack_t, ExtensionBits, Extension_Bits_t),
-
+
M_TYPE (EGPRS_PD_AckNack_t, EGPRS_AckNack, EGPRS_AckNack_t),
/* M_CALLBACK (EGPRS_PD_AckNack_t, (void*)24, EGPRS_AckNack, EGPRS_AckNack), */
M_LEFT_VAR_BMP (EGPRS_PD_AckNack_t, EGPRS_AckNack.URBB_v, EGPRS_AckNack.URBB_LENGTH_v, 0),
-
+
CSN_DESCR_END (EGPRS_PD_AckNack_t)
-const
+static const
CSN_DESCR_BEGIN(FDD_Target_Cell_t)
M_UINT (FDD_Target_Cell_t, FDD_ARFCN_v, 14),
M_UINT (FDD_Target_Cell_t, DIVERSITY_v, 1),
@@ -1246,13 +1246,13 @@ CSN_DESCR_BEGIN(FDD_Target_Cell_t)
CSN_DESCR_END (FDD_Target_Cell_t)
/* TDD cell not implemented */
-const
+static const
CSN_DESCR_BEGIN(TDD_Target_Cell_t)
M_UINT (TDD_Target_Cell_t, Complete_This, 1),
CSN_ERROR (TDD_Target_Cell_t, "Not Implemented", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (TDD_Target_Cell_t)
-const
+static const
CSN_DESCR_BEGIN(PCCF_AdditionsR99_t)
M_NEXT_EXIST (PCCF_AdditionsR99_t, Exist_FDD_Description, 1),
M_TYPE (PCCF_AdditionsR99_t, FDD_Target_Cell, FDD_Target_Cell_t),
@@ -1261,7 +1261,7 @@ CSN_DESCR_BEGIN(PCCF_AdditionsR99_t)
CSN_DESCR_END (PCCF_AdditionsR99_t)
/*< Packet Cell Change Failure message content > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Cell_Change_Failure_t)
/* Mac header */
M_UINT (Packet_Cell_Change_Failure_t, PayloadType, 2),
@@ -1280,7 +1280,7 @@ CSN_DESCR_BEGIN(Packet_Cell_Change_Failure_t)
CSN_DESCR_END (Packet_Cell_Change_Failure_t)
/*< Packet Uplink Ack/Nack message content > */
-const
+static const
CSN_DESCR_BEGIN(Power_Control_Parameters_t)
M_UINT (Power_Control_Parameters_t, ALPHA_v, 4),
@@ -1309,7 +1309,7 @@ CSN_DESCR_BEGIN(Power_Control_Parameters_t)
M_UINT (Power_Control_Parameters_t, Slot[7].GAMMA_TN_v, 5),
CSN_DESCR_END (Power_Control_Parameters_t)
-const
+static const
CSN_DESCR_BEGIN(PU_AckNack_GPRS_AdditionsR99_t)
M_NEXT_EXIST (PU_AckNack_GPRS_AdditionsR99_t, Exist_PacketExtendedTimingAdvance, 1),
M_UINT (PU_AckNack_GPRS_AdditionsR99_t, PacketExtendedTimingAdvance, 2),
@@ -1317,7 +1317,7 @@ CSN_DESCR_BEGIN(PU_AckNack_GPRS_AdditionsR99_t)
M_UINT (PU_AckNack_GPRS_AdditionsR99_t, TBF_EST_v, 1),
CSN_DESCR_END (PU_AckNack_GPRS_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (PU_AckNack_GPRS_t)
M_UINT (PU_AckNack_GPRS_t, CHANNEL_CODING_COMMAND_v, 2),
M_TYPE (PU_AckNack_GPRS_t, Ack_Nack_Description, Ack_Nack_Description_t),
@@ -1342,7 +1342,7 @@ CSN_DESCR_BEGIN (PU_AckNack_GPRS_t)
M_TYPE (PU_AckNack_GPRS_t, AdditionsR99, PU_AckNack_GPRS_AdditionsR99_t),
CSN_DESCR_END (PU_AckNack_GPRS_t)
-const
+static const
CSN_DESCR_BEGIN(PU_AckNack_EGPRS_00_t)
M_UINT (PU_AckNack_EGPRS_00_t, EGPRS_ChannelCodingCommand, 4),
M_UINT (PU_AckNack_EGPRS_00_t, RESEGMENT_v, 1),
@@ -1372,7 +1372,7 @@ CSN_DESCR_BEGIN(PU_AckNack_EGPRS_00_t)
M_LEFT_VAR_BMP (PU_AckNack_EGPRS_00_t, EGPRS_AckNack.URBB_v, EGPRS_AckNack.URBB_LENGTH_v, 0),
CSN_DESCR_END (PU_AckNack_EGPRS_00_t)
-const
+static const
CSN_DESCR_BEGIN(PU_AckNack_EGPRS_t)
/* M_CALLBACK (PU_AckNack_EGPRS_t, (void*)21, IsSupported, IsSupported), */
M_UNION (PU_AckNack_EGPRS_t, 4),
@@ -1382,7 +1382,7 @@ CSN_DESCR_BEGIN(PU_AckNack_EGPRS_t)
CSN_ERROR (PU_AckNack_EGPRS_t, "11 <PU_AckNack_EGPRS>", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (PU_AckNack_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Uplink_Ack_Nack_t)
M_UINT (Packet_Uplink_Ack_Nack_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Uplink_Ack_Nack_t, PAGE_MODE_v, 2),
@@ -1395,7 +1395,7 @@ CSN_DESCR_BEGIN(Packet_Uplink_Ack_Nack_t)
CSN_DESCR_END (Packet_Uplink_Ack_Nack_t)
/*< Packet Uplink Assignment message content > */
-const
+static const
CSN_DESCR_BEGIN(CHANGE_MARK_t)
M_UINT (CHANGE_MARK_t, CHANGE_MARK_1, 2),
@@ -1403,7 +1403,7 @@ CSN_DESCR_BEGIN(CHANGE_MARK_t)
M_UINT (CHANGE_MARK_t, CHANGE_MARK_2, 2),
CSN_DESCR_END (CHANGE_MARK_t)
-const
+static const
CSN_DESCR_BEGIN(Indirect_encoding_t)
M_UINT (Indirect_encoding_t, MAIO_v, 6),
M_UINT (Indirect_encoding_t, MA_NUMBER_v, 4),
@@ -1412,13 +1412,13 @@ CSN_DESCR_BEGIN(Indirect_encoding_t)
M_TYPE (Indirect_encoding_t, CHANGE_MARK, CHANGE_MARK_t),
CSN_DESCR_END (Indirect_encoding_t)
-const
+static const
CSN_DESCR_BEGIN(Direct_encoding_1_t)
M_UINT (Direct_encoding_1_t, MAIO_v, 6),
M_TYPE (Direct_encoding_1_t, GPRS_Mobile_Allocation, GPRS_Mobile_Allocation_t),
CSN_DESCR_END (Direct_encoding_1_t)
-const
+static const
CSN_DESCR_BEGIN(Direct_encoding_2_t)
M_UINT (Direct_encoding_2_t, MAIO_v, 6),
M_UINT (Direct_encoding_2_t, HSN_v, 6),
@@ -1426,7 +1426,7 @@ CSN_DESCR_BEGIN(Direct_encoding_2_t)
M_VAR_ARRAY (Direct_encoding_2_t, MA_Frequency_List, Length_of_MA_Frequency_List, 0),
CSN_DESCR_END (Direct_encoding_2_t)
-const
+static const
CSN_DESCR_BEGIN(Frequency_Parameters_t)
M_UINT (Frequency_Parameters_t, TSC_v, 3),
@@ -1437,19 +1437,19 @@ CSN_DESCR_BEGIN(Frequency_Parameters_t)
M_TYPE (Frequency_Parameters_t, u.Direct_encoding_2, Direct_encoding_2_t),
CSN_DESCR_END (Frequency_Parameters_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Request_Reference_t)
M_UINT (Packet_Request_Reference_t, RANDOM_ACCESS_INFORMATION_v, 11),
M_UINT_ARRAY (Packet_Request_Reference_t, FRAME_NUMBER_v, 8, 2),
CSN_DESCR_END (Packet_Request_Reference_t)
-const
+static const
CSN_DESCR_BEGIN(Timeslot_Allocation_t)
M_NEXT_EXIST (Timeslot_Allocation_t, Exist, 1),
M_UINT (Timeslot_Allocation_t, USF_TN_v, 3),
CSN_DESCR_END (Timeslot_Allocation_t)
-const
+static const
CSN_DESCR_BEGIN(Timeslot_Allocation_Power_Ctrl_Param_t)
M_UINT (Timeslot_Allocation_Power_Ctrl_Param_t, ALPHA_v, 4),
@@ -1487,7 +1487,7 @@ CSN_DESCR_BEGIN(Timeslot_Allocation_Power_Ctrl_Param_t)
CSN_DESCR_END (Timeslot_Allocation_Power_Ctrl_Param_t)
/* USED in <Packet Uplink Assignment message content> */
-const
+static const
CSN_DESCR_BEGIN(Dynamic_Allocation_t)
M_UINT (Dynamic_Allocation_t, Extended_Dynamic_Allocation, 1),
@@ -1511,7 +1511,7 @@ CSN_DESCR_BEGIN(Dynamic_Allocation_t)
M_TYPE (Dynamic_Allocation_t, u.Timeslot_Allocation_Power_Ctrl_Param, Timeslot_Allocation_Power_Ctrl_Param_t),
CSN_DESCR_END (Dynamic_Allocation_t)
-const
+static const
CSN_DESCR_BEGIN(Single_Block_Allocation_t)
M_UINT (Single_Block_Allocation_t, TIMESLOT_NUMBER_v, 3),
@@ -1527,7 +1527,7 @@ CSN_DESCR_BEGIN(Single_Block_Allocation_t)
M_TYPE (Single_Block_Allocation_t, TBF_Starting_Time, Starting_Frame_Number_t),
CSN_DESCR_END (Single_Block_Allocation_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_Dynamic_Allocation_t)
M_UINT (DTM_Dynamic_Allocation_t, Extended_Dynamic_Allocation, 1),
@@ -1548,7 +1548,7 @@ CSN_DESCR_BEGIN(DTM_Dynamic_Allocation_t)
M_TYPE (DTM_Dynamic_Allocation_t, u.Timeslot_Allocation_Power_Ctrl_Param, Timeslot_Allocation_Power_Ctrl_Param_t),
CSN_DESCR_END (DTM_Dynamic_Allocation_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_Single_Block_Allocation_t)
M_UINT (DTM_Single_Block_Allocation_t, TIMESLOT_NUMBER_v, 3),
@@ -1569,7 +1569,7 @@ typedef struct
Global_TFI_t Global_TFI; /* 0 < Global TFI : < Global TFI IE > > */
} h0_Global_TFI_t;
-const
+static const
CSN_DESCR_BEGIN(h0_Global_TFI_t)
M_FIXED (h0_Global_TFI_t, 1, 0x00),
M_TYPE (h0_Global_TFI_t, Global_TFI, Global_TFI_t),
@@ -1580,7 +1580,7 @@ typedef struct
guint32 TLLI_v;/* | 10 < TLLI : bit (32) >*/
} h10_TLLI_t;
-const
+static const
CSN_DESCR_BEGIN(h10_TLLI_t)
M_FIXED (h10_TLLI_t, 2, 0x02),
M_UINT (h10_TLLI_t, TLLI_v, 32),
@@ -1591,7 +1591,7 @@ typedef struct
guint16 TQI_v;/*| 110 < TQI : bit (16) > */
} h110_TQI_t;
-const
+static const
CSN_DESCR_BEGIN(h110_TQI_t)
M_FIXED (h110_TQI_t, 3, 0x06),
M_UINT (h110_TQI_t, TQI_v, 16),
@@ -1602,13 +1602,13 @@ typedef struct
Packet_Request_Reference_t Packet_Request_Reference;/*| 111 < Packet Request Reference : < Packet Request Reference IE > > }*/
} h111_Packet_Request_Reference_t;
-const
+static const
CSN_DESCR_BEGIN(h111_Packet_Request_Reference_t)
M_FIXED (h111_Packet_Request_Reference_t, 3, 0x07),
M_TYPE (h111_Packet_Request_Reference_t, Packet_Request_Reference, Packet_Request_Reference_t),
CSN_DESCR_END (h111_Packet_Request_Reference_t)
-const
+static const
CSN_ChoiceElement_t PacketUplinkID[] =
{
{1, 0 , M_TYPE(PacketUplinkID_t, u.Global_TFI, Global_TFI_t)},
@@ -1617,19 +1617,19 @@ CSN_ChoiceElement_t PacketUplinkID[] =
{3, 0x07 , M_TYPE(PacketUplinkID_t, u.Packet_Request_Reference, Packet_Request_Reference_t)},
};
-const
+static const
CSN_DESCR_BEGIN(PacketUplinkID_t)
M_CHOICE (PacketUplinkID_t, UnionType, PacketUplinkID, ElementsOf(PacketUplinkID)),
CSN_DESCR_END (PacketUplinkID_t)
-const
+static const
CSN_DESCR_BEGIN(PUA_GPRS_AdditionsR99_t)
M_NEXT_EXIST (PUA_GPRS_AdditionsR99_t, Exist_Packet_Extended_Timing_Advance, 1),
M_UINT (PUA_GPRS_AdditionsR99_t, Packet_Extended_Timing_Advance, 2),
CSN_DESCR_END (PUA_GPRS_AdditionsR99_t)
-const
-CSN_DESCR_BEGIN (PUA_GPRS_t)
+static const
+CSN_DESCR_BEGIN (PUA_GPRS_t)
M_UINT (PUA_GPRS_t, CHANNEL_CODING_COMMAND_v, 2),
M_BIT (PUA_GPRS_t, TLLI_BLOCK_CHANNEL_CODING_v),
M_TYPE (PUA_GPRS_t, Packet_Timing_Advance, Packet_Timing_Advance_t),
@@ -1647,7 +1647,7 @@ CSN_DESCR_BEGIN (PUA_GPRS_t)
M_TYPE (PUA_GPRS_t, AdditionsR99, PUA_GPRS_AdditionsR99_t),
CSN_DESCR_END (PUA_GPRS_t)
-const
+static const
CSN_DESCR_BEGIN(COMPACT_ReducedMA_t)
M_UINT (COMPACT_ReducedMA_t, BitmapLength, 7),
M_VAR_BITMAP (COMPACT_ReducedMA_t, ReducedMA_Bitmap, BitmapLength, 0),
@@ -1656,7 +1656,7 @@ CSN_DESCR_BEGIN(COMPACT_ReducedMA_t)
M_UINT (COMPACT_ReducedMA_t, MAIO_2_v, 6),
CSN_DESCR_END (COMPACT_TeducedMA_t)
-const
+static const
CSN_DESCR_BEGIN(MultiBlock_Allocation_t)
M_UINT (MultiBlock_Allocation_t, TIMESLOT_NUMBER_v, 3),
@@ -1673,7 +1673,7 @@ CSN_DESCR_BEGIN(MultiBlock_Allocation_t)
M_UINT (MultiBlock_Allocation_t, NUMBER_OF_RADIO_BLOCKS_ALLOCATED_v, 2),
CSN_DESCR_END (MultiBlock_Allocation_t)
-const
+static const
CSN_DESCR_BEGIN (PUA_EGPRS_00_t)
M_NEXT_EXIST (PUA_EGPRS_00_t, Exist_CONTENTION_RESOLUTION_TLLI_v, 1),
M_UINT (PUA_EGPRS_00_t, CONTENTION_RESOLUTION_TLLI_v, 32),
@@ -1708,7 +1708,7 @@ CSN_DESCR_BEGIN (PUA_EGPRS_00_t)
CSN_ERROR (PUA_EGPRS_00_t, "11 <Fixed Allocation>", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (PUA_EGPRS_00_t)
-const
+static const
CSN_DESCR_BEGIN(PUA_EGPRS_t)
M_UNION (PUA_EGPRS_t, 4),
M_TYPE (PUA_EGPRS_t, u.PUA_EGPRS_00, PUA_EGPRS_00_t),
@@ -1717,7 +1717,7 @@ CSN_DESCR_BEGIN(PUA_EGPRS_t)
CSN_ERROR (PUA_EGPRS_t, "11 <PUA EGPRS>", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (PUA_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Uplink_Assignment_t)
M_UINT (Packet_Uplink_Assignment_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Uplink_Assignment_t, PAGE_MODE_v, 2),
@@ -1734,7 +1734,7 @@ CSN_DESCR_END (Packet_Uplink_Assignment_t)
typedef Packet_Uplink_Assignment_t pulassCheck_t;
-const
+static const
CSN_DESCR_BEGIN(pulassCheck_t)
M_UINT (pulassCheck_t, MESSAGE_TYPE_v, 6),
M_UINT (pulassCheck_t, PAGE_MODE_v, 2),
@@ -1746,31 +1746,31 @@ CSN_DESCR_BEGIN(pulassCheck_t)
CSN_DESCR_END (pulassCheck_t)
/*< Packet Downlink Assignment message content > */
-const
+static const
CSN_DESCR_BEGIN(Measurement_Mapping_struct_t)
M_TYPE (Measurement_Mapping_struct_t, Measurement_Starting_Time, Starting_Frame_Number_t),
M_UINT (Measurement_Mapping_struct_t, MEASUREMENT_INTERVAL_v, 5),
M_UINT (Measurement_Mapping_struct_t, MEASUREMENT_BITMAP_v, 8),
CSN_DESCR_END (Measurement_Mapping_struct_t)
-const
+static const
CSN_ChoiceElement_t PacketDownlinkID[] =
{
{1, 0, M_TYPE(PacketDownlinkID_t, u.Global_TFI, Global_TFI_t)},
{2, 0x02, M_UINT(PacketDownlinkID_t, u.TLLI_v, 32)},
};
-const
+static const
CSN_DESCR_BEGIN(PacketDownlinkID_t)
M_CHOICE (PacketDownlinkID_t, UnionType, PacketDownlinkID, ElementsOf(PacketDownlinkID)),
CSN_DESCR_END (PacketDownlinkID_t)
-const
+static const
CSN_DESCR_BEGIN(PDA_AdditionsR99_t)
M_NEXT_EXIST (PDA_AdditionsR99_t, Exist_EGPRS_Params, 4), /*if Exist_EGPRS_Params == FALSE then none of the following 4 vars exist */
M_UINT (PDA_AdditionsR99_t, EGPRS_WindowSize, 5),
M_UINT (PDA_AdditionsR99_t, LINK_QUALITY_MEASUREMENT_MODE_v, 2),
- M_NEXT_EXIST (PDA_AdditionsR99_t, Exist_BEP_PERIOD2_v, 1),
+ M_NEXT_EXIST (PDA_AdditionsR99_t, Exist_BEP_PERIOD2_v, 1),
M_UINT (PDA_AdditionsR99_t, BEP_PERIOD2_v, 4),
M_NEXT_EXIST (PDA_AdditionsR99_t, Exist_Packet_Extended_Timing_Advance, 1),
@@ -1780,7 +1780,7 @@ CSN_DESCR_BEGIN(PDA_AdditionsR99_t)
M_TYPE (PDA_AdditionsR99_t, COMPACT_ReducedMA, COMPACT_ReducedMA_t),
CSN_DESCR_END (PDA_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Downlink_Assignment_t)
M_UINT (Packet_Downlink_Assignment_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Downlink_Assignment_t, PAGE_MODE_v, 2),
@@ -1824,7 +1824,7 @@ CSN_DESCR_END (Packet_Downlink_Assignment_t)
typedef Packet_Downlink_Assignment_t pdlaCheck_t;
-const
+static const
CSN_DESCR_BEGIN(pdlaCheck_t)
M_UINT (pdlaCheck_t, MESSAGE_TYPE_v, 6),
M_UINT (pdlaCheck_t, PAGE_MODE_v, 2),
@@ -1836,7 +1836,7 @@ CSN_DESCR_BEGIN(pdlaCheck_t)
CSN_DESCR_END (pdlaCheck_t)
/* DTM Packet UL Assignment */
-const
+static const
CSN_DESCR_BEGIN(DTM_Packet_Uplink_Assignment_t)
M_UINT (DTM_Packet_Uplink_Assignment_t, CHANNEL_CODING_COMMAND_v, 2),
M_BIT (DTM_Packet_Uplink_Assignment_t, TLLI_BLOCK_CHANNEL_CODING_v),
@@ -1854,13 +1854,13 @@ CSN_DESCR_BEGIN(DTM_Packet_Uplink_Assignment_t)
M_UINT (DTM_Packet_Uplink_Assignment_t, Packet_Extended_Timing_Advance, 2),
CSN_DESCR_END(DTM_Packet_Uplink_Assignment_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_UL_t)
M_TYPE (DTM_UL_t, DTM_Packet_Uplink_Assignment, DTM_Packet_Uplink_Assignment_t),
CSN_DESCR_END(DTM_UL_t)
/* DTM Packet DL Assignment */
-const
+static const
CSN_DESCR_BEGIN(DTM_Packet_Downlink_Assignment_t)
M_UINT (DTM_Packet_Downlink_Assignment_t, MAC_MODE_v, 2),
M_BIT (DTM_Packet_Downlink_Assignment_t, RLC_MODE_v),
@@ -1887,24 +1887,24 @@ CSN_DESCR_BEGIN(DTM_Packet_Downlink_Assignment_t)
M_UINT (DTM_Packet_Downlink_Assignment_t, Packet_Extended_Timing_Advance, 2),
CSN_DESCR_END(DTM_Packet_Downlink_Assignment_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_DL_t)
M_TYPE (DTM_DL_t, DTM_Packet_Downlink_Assignment, DTM_Packet_Downlink_Assignment_t),
CSN_DESCR_END(DTM_DL_t)
/* GPRS Broadcast Information */
-const
+static const
CSN_DESCR_BEGIN(DTM_GPRS_Broadcast_Information_t)
M_TYPE (DTM_GPRS_Broadcast_Information_t, GPRS_Cell_Options, GPRS_Cell_Options_t),
M_TYPE (DTM_GPRS_Broadcast_Information_t, GPRS_Power_Control_Parameters, GPRS_Power_Control_Parameters_t),
CSN_DESCR_END(DTM_GPRS_Broadcast_Information_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_GPRS_B_t)
M_TYPE (DTM_GPRS_B_t, DTM_GPRS_Broadcast_Information, DTM_GPRS_Broadcast_Information_t),
CSN_DESCR_END(DTM_GPRS_B_t)
-const
+static const
CSN_DESCR_BEGIN(DTM_Channel_Request_Description_t)
M_UINT (DTM_Channel_Request_Description_t, DTM_Pkt_Est_Cause, 2),
M_TYPE (DTM_Channel_Request_Description_t, Channel_Request_Description, Channel_Request_Description_t),
@@ -1920,20 +1920,20 @@ typedef struct
guint8 Mobile_Identity[8];/* octet (val (Length of Mobile Identity contents)) */
} Mobile_Identity_t; /* helper */
-const
+static const
CSN_DESCR_BEGIN(Mobile_Identity_t)
M_UINT (Mobile_Identity_t, Length_of_Mobile_Identity_contents, 4),
M_VAR_ARRAY (Mobile_Identity_t, Mobile_Identity, Length_of_Mobile_Identity_contents, 0),
CSN_DESCR_END (Mobile_Identity_t)
-const
+static const
CSN_DESCR_BEGIN(Page_request_for_TBF_establishment_t)
M_UNION (Page_request_for_TBF_establishment_t, 2),
M_UINT_ARRAY (Page_request_for_TBF_establishment_t, u.PTMSI_v, 8, 4),/* bit (32) == 8*4 */
M_TYPE (Page_request_for_TBF_establishment_t, u.Mobile_Identity, Mobile_Identity_t),
CSN_DESCR_END (Page_request_for_TBF_establishment_t)
-const
+static const
CSN_DESCR_BEGIN(Page_request_for_RR_conn_t)
M_UNION (Page_request_for_RR_conn_t, 2),
M_UINT_ARRAY (Page_request_for_RR_conn_t, u.TMSI_v, 8, 4),/* bit (32) == 8*4 */
@@ -1945,14 +1945,14 @@ CSN_DESCR_BEGIN(Page_request_for_RR_conn_t)
M_UINT (Page_request_for_RR_conn_t, eMLPP_PRIORITY, 3),
CSN_DESCR_END (Page_request_for_RR_conn_t)
-const
+static const
CSN_DESCR_BEGIN(Repeated_Page_info_t)
M_UNION (Repeated_Page_info_t, 2),
M_TYPE (Repeated_Page_info_t, u.Page_req_TBF, Page_request_for_TBF_establishment_t),
M_TYPE (Repeated_Page_info_t, u.Page_req_RR, Page_request_for_RR_conn_t),
CSN_DESCR_END (Repeated_Page_info_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Paging_Request_t)
M_UINT (Packet_Paging_Request_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Paging_Request_t, PAGE_MODE_v, 2),
@@ -1966,7 +1966,7 @@ CSN_DESCR_BEGIN(Packet_Paging_Request_t)
M_REC_TARRAY (Packet_Paging_Request_t, Repeated_Page_info, Repeated_Page_info_t, Count_Repeated_Page_info),
CSN_DESCR_END (Packet_Paging_Request_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_PDCH_Release_t)
M_UINT (Packet_PDCH_Release_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_PDCH_Release_t, PAGE_MODE_v, 2),
@@ -1976,20 +1976,20 @@ CSN_DESCR_BEGIN(Packet_PDCH_Release_t)
CSN_DESCR_END (Packet_PDCH_Release_t)
/*< Packet Power Control/Timing Advance message content >*/
-const
+static const
CSN_DESCR_BEGIN(GlobalTimingAndPower_t)
M_TYPE (GlobalTimingAndPower_t, Global_Packet_Timing_Advance, Global_Packet_Timing_Advance_t),
M_TYPE (GlobalTimingAndPower_t, Power_Control_Parameters, Power_Control_Parameters_t),
CSN_DESCR_END (GlobalTimingAndPower_t)
-const
+static const
CSN_DESCR_BEGIN(GlobalTimingOrPower_t)
M_UNION (GlobalTimingOrPower_t, 2),
M_TYPE (GlobalTimingOrPower_t, u.Global_Packet_Timing_Advance, Global_Packet_Timing_Advance_t),
M_TYPE (GlobalTimingOrPower_t, u.Power_Control_Parameters, Power_Control_Parameters_t),
CSN_DESCR_END (GlobalTimingOrPower_t)
-const
+static const
CSN_ChoiceElement_t PacketPowerControlTimingAdvanceID[] =
{
{1, 0, M_TYPE(PacketPowerControlTimingAdvanceID_t, u.Global_TFI, Global_TFI_t)},
@@ -1997,12 +1997,12 @@ CSN_ChoiceElement_t PacketPowerControlTimingAdvanceID[] =
{3, 0x07, M_TYPE(PacketPowerControlTimingAdvanceID_t, u.Packet_Request_Reference, Packet_Request_Reference_t)},
};
-const
+static const
CSN_DESCR_BEGIN(PacketPowerControlTimingAdvanceID_t)
M_CHOICE (PacketPowerControlTimingAdvanceID_t, UnionType, PacketPowerControlTimingAdvanceID, ElementsOf(PacketPowerControlTimingAdvanceID)),
CSN_DESCR_END (PacketPowerControlTimingAdvanceID_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Power_Control_Timing_Advance_t)
M_UINT (Packet_Power_Control_Timing_Advance_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Power_Control_Timing_Advance_t, PAGE_MODE_v, 2),
@@ -2021,7 +2021,7 @@ CSN_DESCR_BEGIN(Packet_Power_Control_Timing_Advance_t)
CSN_DESCR_END (Packet_Power_Control_Timing_Advance_t)
/*< Packet Queueing Notification message content > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Queueing_Notification_t)
M_UINT (Packet_Queueing_Notification_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Queueing_Notification_t, PAGE_MODE_v, 2),
@@ -2036,7 +2036,7 @@ CSN_DESCR_END (Packet_Queueing_Notification_t)
* This is almost the same structure as used in
* <Packet Uplink Assignment message content> but UPLINK_TFI_ASSIGNMENT_v is removed.
*/
-const
+static const
CSN_DESCR_BEGIN(TRDynamic_Allocation_t)
M_UINT (TRDynamic_Allocation_t, Extended_Dynamic_Allocation, 1),
@@ -2058,13 +2058,13 @@ CSN_DESCR_BEGIN(TRDynamic_Allocation_t)
CSN_DESCR_END (TRDynamic_Allocation_t)
/*< Packet Timeslot Reconfigure message content > */
-const
+static const
CSN_DESCR_BEGIN(PTR_GPRS_AdditionsR99_t)
M_NEXT_EXIST (PTR_GPRS_AdditionsR99_t, Exist_Packet_Extended_Timing_Advance, 1),
M_UINT (PTR_GPRS_AdditionsR99_t, Packet_Extended_Timing_Advance, 2),
CSN_DESCR_END (PTR_GPRS_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (PTR_GPRS_t)
M_UINT (PTR_GPRS_t, CHANNEL_CODING_COMMAND_v, 2),
M_TYPE (PTR_GPRS_t, Common_Timeslot_Reconfigure_Data.Global_Packet_Timing_Advance, Global_Packet_Timing_Advance_t),
@@ -2090,7 +2090,7 @@ CSN_DESCR_BEGIN (PTR_GPRS_t)
M_TYPE (PTR_GPRS_t, AdditionsR99, PTR_GPRS_AdditionsR99_t),
CSN_DESCR_END (PTR_GPRS_t)
-const
+static const
CSN_DESCR_BEGIN(PTR_EGPRS_00_t)
M_NEXT_EXIST (PTR_EGPRS_00_t, Exist_COMPACT_ReducedMA, 1),
M_TYPE (PTR_EGPRS_00_t, COMPACT_ReducedMA, COMPACT_ReducedMA_t),
@@ -2130,7 +2130,7 @@ CSN_DESCR_BEGIN(PTR_EGPRS_00_t)
CSN_ERROR (PTR_EGPRS_00_t, "1 <Fixed Allocation>", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (PTR_EGPRS_00_t)
-const
+static const
CSN_DESCR_BEGIN(PTR_EGPRS_t)
M_UNION (PTR_EGPRS_t, 4),
M_TYPE (PTR_EGPRS_t, u.PTR_EGPRS_00, PTR_EGPRS_00_t),
@@ -2139,7 +2139,7 @@ CSN_DESCR_BEGIN(PTR_EGPRS_t)
CSN_ERROR (PTR_EGPRS_t, "11 <PTR_EGPRS>", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (PTR_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Timeslot_Reconfigure_t)
M_UINT (Packet_Timeslot_Reconfigure_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Timeslot_Reconfigure_t, PAGE_MODE_v, 2),
@@ -2153,8 +2153,8 @@ CSN_DESCR_BEGIN(Packet_Timeslot_Reconfigure_t)
CSN_DESCR_END (Packet_Timeslot_Reconfigure_t)
typedef Packet_Timeslot_Reconfigure_t PTRCheck_t;
-
-const
+
+static const
CSN_DESCR_BEGIN(PTRCheck_t)
M_UINT (PTRCheck_t, MESSAGE_TYPE_v, 6),
M_UINT (PTRCheck_t, PAGE_MODE_v, 2),
@@ -2163,7 +2163,7 @@ CSN_DESCR_BEGIN(PTRCheck_t)
CSN_DESCR_END (PTRCheck_t)
/*< Packet PRACH Parameters message content > */
-const
+static const
CSN_DESCR_BEGIN(PRACH_Control_t)
M_UINT_ARRAY (PRACH_Control_t, ACC_CONTR_CLASS_v, 8, 2), /* bit (16) == 8bit*2 */
M_UINT_ARRAY (PRACH_Control_t, MAX_RETRANS_v, 2, 4), /* bit (2) * 4 */
@@ -2172,27 +2172,32 @@ CSN_DESCR_BEGIN(PRACH_Control_t)
M_NEXT_EXIST (PRACH_Control_t, Exist_PERSISTENCE_LEVEL_v, 1),
M_UINT_ARRAY (PRACH_Control_t, PERSISTENCE_LEVEL_v, 4, 4),
CSN_DESCR_END (PRACH_Control_t)
-const
+
+static const
CSN_DESCR_BEGIN(Cell_Allocation_t)
M_REC_ARRAY (Cell_Allocation_t, RFL_Number, NoOfRFLs, 4),
CSN_DESCR_END (Cell_Allocation_t)
-const
+
+static const
CSN_DESCR_BEGIN(HCS_t)
M_UINT (HCS_t, PRIORITY_CLASS, 3),
M_UINT (HCS_t, HCS_THR, 5),
CSN_DESCR_END (HCS_t)
-const
+
+static const
CSN_DESCR_BEGIN(Location_Repeat_t)
M_UINT (Location_Repeat_t, PBCCH_LOCATION_v, 2),
M_UINT (Location_Repeat_t, PSI1_REPEAT_PERIOD_v, 4),
CSN_DESCR_END (Location_Repeat_t)
-const
+
+static const
CSN_DESCR_BEGIN(SI13_PBCCH_Location_t)
M_UNION (SI13_PBCCH_Location_t, 2),
M_UINT (SI13_PBCCH_Location_t, u.SI13_LOCATION_v, 1),
M_TYPE (SI13_PBCCH_Location_t, u.lr, Location_Repeat_t),
CSN_DESCR_END (SI13_PBCCH_Location_t)
-const
+
+static const
CSN_DESCR_BEGIN(Cell_Selection_t)
M_UINT (Cell_Selection_t, BSIC_v, 6),
M_UINT (Cell_Selection_t, CELL_BAR_ACCESS_2_v, 1),
@@ -2211,12 +2216,14 @@ CSN_DESCR_BEGIN(Cell_Selection_t)
M_NEXT_EXIST (Cell_Selection_t, Exist_SI13_PBCCH_Location, 1),
M_TYPE (Cell_Selection_t, SI13_PBCCH_Location, SI13_PBCCH_Location_t),
CSN_DESCR_END (Cell_Selection_t)
-const
+
+static const
CSN_DESCR_BEGIN(Cell_Selection_Params_With_FreqDiff_t)
M_VAR_BITMAP (Cell_Selection_Params_With_FreqDiff_t, FREQUENCY_DIFF_v, FREQ_DIFF_LENGTH_v, 0),
M_TYPE (Cell_Selection_Params_With_FreqDiff_t, Cell_SelectionParams, Cell_Selection_t),
CSN_DESCR_END (Cell_Selection_Params_With_FreqDiff_t)
-const
+
+static const
CSN_DESCR_BEGIN(NeighbourCellParameters_t)
M_UINT (NeighbourCellParameters_t, START_FREQUENCY_v, 10),
M_TYPE (NeighbourCellParameters_t, Cell_Selection, Cell_Selection_t),
@@ -2224,29 +2231,32 @@ CSN_DESCR_BEGIN(NeighbourCellParameters_t)
M_UINT_OFFSET(NeighbourCellParameters_t, FREQ_DIFF_LENGTH_v, 3, 1),/* offset 1 */
M_VAR_TARRAY (NeighbourCellParameters_t, Cell_Selection_Params_With_FreqDiff, Cell_Selection_Params_With_FreqDiff_t, NR_OF_REMAINING_CELLS_v),
CSN_DESCR_END (NeighbourCellParameters_t)
-const
+
+static const
CSN_DESCR_BEGIN(NeighbourCellList_t)
M_REC_TARRAY (NeighbourCellList_t, Parameters, NeighbourCellParameters_t, Count),
-CSN_DESCR_END (NeighbourCellList_t)
-const
+CSN_DESCR_END (NeighbourCellList_t)
+
+static const
CSN_DESCR_BEGIN(Cell_Selection_2_t)
- M_UINT (Cell_Selection_2_t, CELL_BAR_ACCESS_2_v, 1),
- M_UINT (Cell_Selection_2_t, EXC_ACC_v, 1),
- M_UINT (Cell_Selection_2_t, SAME_RA_AS_SERVING_CELL_v, 1),
- M_NEXT_EXIST (Cell_Selection_2_t, Exist_RXLEV_and_TXPWR, 2),
- M_UINT (Cell_Selection_2_t, GPRS_RXLEV_ACCESS_MIN_v, 6),
- M_UINT (Cell_Selection_2_t, GPRS_MS_TXPWR_MAX_CCH_v, 5),
- M_NEXT_EXIST (Cell_Selection_2_t, Exist_OFFSET_and_TIME, 2),
- M_UINT (Cell_Selection_2_t, GPRS_TEMPORARY_OFFSET_v, 3),
- M_UINT (Cell_Selection_2_t, GPRS_PENALTY_TIME_v, 5),
- M_NEXT_EXIST (Cell_Selection_2_t, Exist_GPRS_RESELECT_OFFSET_v, 1),
- M_UINT (Cell_Selection_2_t, GPRS_RESELECT_OFFSET_v, 5),
- M_NEXT_EXIST (Cell_Selection_2_t, Exist_HCS, 1),
- M_TYPE (Cell_Selection_2_t, HCS, HCS_t),
- M_NEXT_EXIST (Cell_Selection_2_t, Exist_SI13_PBCCH_Location, 1),
- M_TYPE (Cell_Selection_2_t, SI13_PBCCH_Location, SI13_PBCCH_Location_t),
+ M_UINT (Cell_Selection_2_t, CELL_BAR_ACCESS_2_v, 1),
+ M_UINT (Cell_Selection_2_t, EXC_ACC_v, 1),
+ M_UINT (Cell_Selection_2_t, SAME_RA_AS_SERVING_CELL_v, 1),
+ M_NEXT_EXIST (Cell_Selection_2_t, Exist_RXLEV_and_TXPWR, 2),
+ M_UINT (Cell_Selection_2_t, GPRS_RXLEV_ACCESS_MIN_v, 6),
+ M_UINT (Cell_Selection_2_t, GPRS_MS_TXPWR_MAX_CCH_v, 5),
+ M_NEXT_EXIST (Cell_Selection_2_t, Exist_OFFSET_and_TIME, 2),
+ M_UINT (Cell_Selection_2_t, GPRS_TEMPORARY_OFFSET_v, 3),
+ M_UINT (Cell_Selection_2_t, GPRS_PENALTY_TIME_v, 5),
+ M_NEXT_EXIST (Cell_Selection_2_t, Exist_GPRS_RESELECT_OFFSET_v, 1),
+ M_UINT (Cell_Selection_2_t, GPRS_RESELECT_OFFSET_v, 5),
+ M_NEXT_EXIST (Cell_Selection_2_t, Exist_HCS, 1),
+ M_TYPE (Cell_Selection_2_t, HCS, HCS_t),
+ M_NEXT_EXIST (Cell_Selection_2_t, Exist_SI13_PBCCH_Location, 1),
+ M_TYPE (Cell_Selection_2_t, SI13_PBCCH_Location, SI13_PBCCH_Location_t),
CSN_DESCR_END (Cell_Selection_2_t)
-const
+
+static const
CSN_DESCR_BEGIN(Packet_PRACH_Parameters_t)
M_UINT (Packet_PRACH_Parameters_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_PRACH_Parameters_t, PAGE_MODE_v, 2),
@@ -2255,7 +2265,7 @@ CSN_DESCR_BEGIN(Packet_PRACH_Parameters_t)
CSN_DESCR_END (Packet_PRACH_Parameters_t)
/* < Packet Access Reject message content > */
-const
+static const
CSN_ChoiceElement_t RejectID[] =
{
{1, 0x00, M_UINT(RejectID_t, u.TLLI_v, 32)},
@@ -2263,12 +2273,12 @@ CSN_ChoiceElement_t RejectID[] =
{2, 0x03, M_TYPE(RejectID_t, u.Global_TFI, Global_TFI_t)},
};
-const
+static const
CSN_DESCR_BEGIN(RejectID_t)
M_CHOICE (RejectID_t, UnionType, RejectID, ElementsOf(RejectID)),
CSN_DESCR_END (RejectID_t)
-const
+static const
CSN_DESCR_BEGIN(Reject_t)
M_TYPE (Reject_t, ID, RejectID_t),
@@ -2277,7 +2287,7 @@ CSN_DESCR_BEGIN(Reject_t)
M_UINT (Reject_t, WAIT_INDICATION_SIZE_v, 1),
CSN_DESCR_END (Reject_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Access_Reject_t)
M_UINT (Packet_Access_Reject_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Access_Reject_t, PAGE_MODE_v, 2),
@@ -2287,7 +2297,7 @@ CSN_DESCR_BEGIN(Packet_Access_Reject_t)
CSN_DESCR_END (Packet_Access_Reject_t)
/* < Packet Cell Change Order message content > */
-const
+static const
CSN_ChoiceElement_t PacketCellChangeOrderID[] =
{
{1, 0, M_TYPE(PacketCellChangeOrderID_t, u.Global_TFI, Global_TFI_t)},
@@ -2295,18 +2305,18 @@ CSN_ChoiceElement_t PacketCellChangeOrderID[] =
};
/* PacketCellChangeOrderID_t; */
-const
+static const
CSN_DESCR_BEGIN(PacketCellChangeOrderID_t)
M_CHOICE (PacketCellChangeOrderID_t, UnionType, PacketCellChangeOrderID, ElementsOf(PacketCellChangeOrderID)),
CSN_DESCR_END (PacketCellChangeOrderID_t)
-const
+static const
CSN_DESCR_BEGIN(h_FreqBsicCell_t)
M_UINT (h_FreqBsicCell_t, BSIC_v, 6),
M_TYPE (h_FreqBsicCell_t, Cell_Selection, Cell_Selection_t),
CSN_DESCR_END (h_FreqBsicCell_t)
-const CSN_DESCR_BEGIN(CellSelectionParamsWithFreqDiff_t)
+static const CSN_DESCR_BEGIN(CellSelectionParamsWithFreqDiff_t)
/*FREQUENCY_DIFF_v is really an integer but the number of bits to decode it are stored in FREQ_DIFF_LENGTH_v*/
M_VAR_BITMAP (CellSelectionParamsWithFreqDiff_t, FREQUENCY_DIFF_v, FREQ_DIFF_LENGTH_v, 0),
M_UINT (CellSelectionParamsWithFreqDiff_t, BSIC_v, 6), /*bit(6)*/
@@ -2314,7 +2324,7 @@ const CSN_DESCR_BEGIN(CellSelectionParamsWithFreqDiff_t)
M_TYPE (CellSelectionParamsWithFreqDiff_t, CellSelectionParams, Cell_Selection_2_t),
CSN_DESCR_END (CellSelectionParamsWithFreqDiff_t)
-const
+static const
CSN_DESCR_BEGIN(Add_Frequency_list_t)
M_UINT (Add_Frequency_list_t, START_FREQUENCY_v, 10),
M_UINT (Add_Frequency_list_t, BSIC_v, 6),
@@ -2328,11 +2338,11 @@ CSN_DESCR_BEGIN(Add_Frequency_list_t)
M_VAR_TARRAY (Add_Frequency_list_t, CellSelectionParamsWithFreqDiff, CellSelectionParamsWithFreqDiff_t, NR_OF_FREQUENCIES_v),
CSN_DESCR_END (Add_Frequency_list_t)
-const CSN_DESCR_BEGIN(Removed_Freq_Index_t)
- M_UINT(Removed_Freq_Index_t, REMOVED_FREQ_INDEX_v, 6),
+static const CSN_DESCR_BEGIN(Removed_Freq_Index_t)
+ M_UINT(Removed_Freq_Index_t, REMOVED_FREQ_INDEX_v, 6),
CSN_DESCR_END(Removed_Freq_Index_t)
-const
+static const
CSN_DESCR_BEGIN(NC_Frequency_list_t)
M_NEXT_EXIST (NC_Frequency_list_t, Exist_REMOVED_FREQ, 2),
M_UINT_OFFSET(NC_Frequency_list_t, NR_OF_REMOVED_FREQ, 5, 1),/*offset 1*/
@@ -2340,7 +2350,7 @@ CSN_DESCR_BEGIN(NC_Frequency_list_t)
M_REC_TARRAY (NC_Frequency_list_t, Add_Frequency, Add_Frequency_list_t, Count_Add_Frequency),
CSN_DESCR_END (NC_Frequency_list_t)
-const
+static const
CSN_DESCR_BEGIN(NC_Measurement_Parameters_t)
M_UINT (NC_Measurement_Parameters_t, NETWORK_CONTROL_ORDER_v, 2),
@@ -2350,7 +2360,7 @@ CSN_DESCR_BEGIN(NC_Measurement_Parameters_t)
M_UINT (NC_Measurement_Parameters_t, NC_REPORTING_PERIOD_T_v, 3),
CSN_DESCR_END (NC_Measurement_Parameters_t)
-const
+static const
CSN_DESCR_BEGIN(NC_Measurement_Parameters_with_Frequency_List_t)
M_UINT (NC_Measurement_Parameters_with_Frequency_List_t, NETWORK_CONTROL_ORDER_v, 2),
@@ -2364,51 +2374,51 @@ CSN_DESCR_BEGIN(NC_Measurement_Parameters_with_Frequency_List_t)
CSN_DESCR_END (NC_Measurement_Parameters_with_Frequency_List_t)
/*< Packet Cell Change Order message contents >*/
-const
+static const
CSN_DESCR_BEGIN(BA_IND_t)
M_UINT (BA_IND_t, BA_IND_v, 1),
M_UINT (BA_IND_t, BA_IND_3G_v, 1),
CSN_DESCR_END (BA_IND_t)
-const
+static const
CSN_DESCR_BEGIN(GPRSReportPriority_t)
M_UINT (GPRSReportPriority_t, NUMBER_CELLS_v, 7),
M_VAR_BITMAP (GPRSReportPriority_t, REPORT_PRIORITY, NUMBER_CELLS_v, 0),
CSN_DESCR_END (GPRSReportPriority_t)
-const
+static const
CSN_DESCR_BEGIN(OffsetThreshold_t)
M_UINT (OffsetThreshold_t, REPORTING_OFFSET_v, 3),
M_UINT (OffsetThreshold_t, REPORTING_THRESHOLD_v, 3),
CSN_DESCR_END (OffsetThreshold_t)
-const
+static const
CSN_DESCR_BEGIN(GPRSMeasurementParams_PMO_PCCO_t)
- M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_MULTI_BAND_REPORTING, 1),
+ M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_MULTI_BAND_REPORTING, 1),
M_UINT (GPRSMeasurementParams_PMO_PCCO_t, MULTI_BAND_REPORTING_v, 2),
-
- M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_SERVING_BAND_REPORTING, 1),
+
+ M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_SERVING_BAND_REPORTING, 1),
M_UINT (GPRSMeasurementParams_PMO_PCCO_t, SERVING_BAND_REPORTING_v, 2),
-
+
M_UINT (GPRSMeasurementParams_PMO_PCCO_t, SCALE_ORD_v, 2),
-
+
M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_OffsetThreshold900, 1),
M_TYPE (GPRSMeasurementParams_PMO_PCCO_t, OffsetThreshold900, OffsetThreshold_t),
-
+
M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_OffsetThreshold1800, 1),
M_TYPE (GPRSMeasurementParams_PMO_PCCO_t, OffsetThreshold1800, OffsetThreshold_t),
-
+
M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_OffsetThreshold400, 1),
M_TYPE (GPRSMeasurementParams_PMO_PCCO_t, OffsetThreshold400, OffsetThreshold_t),
-
+
M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_OffsetThreshold1900, 1),
M_TYPE (GPRSMeasurementParams_PMO_PCCO_t, OffsetThreshold1900, OffsetThreshold_t),
-
+
M_NEXT_EXIST (GPRSMeasurementParams_PMO_PCCO_t, Exist_OffsetThreshold850, 1),
M_TYPE (GPRSMeasurementParams_PMO_PCCO_t, OffsetThreshold850, OffsetThreshold_t),
CSN_DESCR_END (GPRSMeasurementParams_PMO_PCCO_t)
-const
+static const
CSN_DESCR_BEGIN(GPRSMeasurementParams3G_t)
M_UINT (GPRSMeasurementParams3G_t, Qsearch_p, 4),
M_UINT (GPRSMeasurementParams3G_t, SearchPrio3G, 1),
@@ -2429,7 +2439,7 @@ CSN_DESCR_BEGIN(GPRSMeasurementParams3G_t)
M_UINT (GPRSMeasurementParams3G_t, ReportingThresholdTDD, 3),
CSN_DESCR_END (GPRSMeasurementParams3G_t)
-const
+static const
CSN_DESCR_BEGIN(MultiratParams3G_t)
M_NEXT_EXIST (MultiratParams3G_t, existMultiratReporting, 1),
M_UINT (MultiratParams3G_t, MultiratReporting, 2),
@@ -2438,8 +2448,8 @@ CSN_DESCR_BEGIN(MultiratParams3G_t)
M_TYPE (MultiratParams3G_t, OffsetThreshold, OffsetThreshold_t),
CSN_DESCR_END (MultiratParams3G_t)
-const
-CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PMO_t)
+static const
+CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PMO_t)
M_UINT (ENH_GPRSMeasurementParams3G_PMO_t, Qsearch_P, 4),
M_UINT (ENH_GPRSMeasurementParams3G_PMO_t, SearchPrio3G, 1),
@@ -2449,13 +2459,13 @@ CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PMO_t)
M_NEXT_EXIST (ENH_GPRSMeasurementParams3G_PMO_t, existOffsetThreshold, 1),
M_TYPE (ENH_GPRSMeasurementParams3G_PMO_t, OffsetThreshold, OffsetThreshold_t),
-
+
M_TYPE (ENH_GPRSMeasurementParams3G_PMO_t, ParamsTDD, MultiratParams3G_t),
M_TYPE (ENH_GPRSMeasurementParams3G_PMO_t, ParamsCDMA2000, MultiratParams3G_t),
CSN_DESCR_END (ENH_GPRSMeasurementParams3G_PMO_t)
-const
-CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PCCO_t)
+static const
+CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PCCO_t)
M_UINT (ENH_GPRSMeasurementParams3G_PCCO_t, Qsearch_P, 4),
M_UINT (ENH_GPRSMeasurementParams3G_PCCO_t, SearchPrio3G, 1),
@@ -2465,36 +2475,36 @@ CSN_DESCR_BEGIN(ENH_GPRSMeasurementParams3G_PCCO_t)
M_NEXT_EXIST (ENH_GPRSMeasurementParams3G_PCCO_t, existOffsetThreshold, 1),
M_TYPE (ENH_GPRSMeasurementParams3G_PCCO_t, OffsetThreshold, OffsetThreshold_t),
-
+
M_TYPE (ENH_GPRSMeasurementParams3G_PCCO_t, ParamsTDD, MultiratParams3G_t),
CSN_DESCR_END (ENH_GPRSMeasurementParams3G_PCCO_t)
-const
+static const
CSN_DESCR_BEGIN(N2_t)
M_UINT (N2_t, REMOVED_3GCELL_INDEX_v, 7),
M_UINT (N2_t, CELL_DIFF_LENGTH_3G_v, 3),
M_VAR_BITMAP (N2_t, CELL_DIFF_3G_v, CELL_DIFF_LENGTH_3G_v, 0),
CSN_DESCR_END (N2_t)
-const
+static const
CSN_DESCR_BEGIN (N1_t)
M_UINT_OFFSET (N1_t, N2_Count, 5, 1), /*offset 1*/
M_VAR_TARRAY (N1_t, N2s, N2_t, N2_Count),
CSN_DESCR_END (N1_t)
-
-const
+
+static const
CSN_DESCR_BEGIN (Removed3GCellDescription_t)
M_UINT_OFFSET (Removed3GCellDescription_t, N1_Count, 2, 1), /* offset 1 */
M_VAR_TARRAY (Removed3GCellDescription_t, N1s, N1_t, N1_Count),
CSN_DESCR_END (Removed3GCellDescription_t)
-const
+static const
CSN_DESCR_BEGIN(CDMA2000_Description_t)
M_UINT (CDMA2000_Description_t, Complete_This, 1), /* ISSUE: This implementation must be completed for PMO, PCCO! */
CSN_ERROR (CDMA2000_Description_t, "Not Implemented", CSN_ERROR_STREAM_NOT_SUPPORTED),
CSN_DESCR_END (CDMA2000_Description_t)
-const
+static const
CSN_DESCR_BEGIN(UTRAN_FDD_NeighbourCells_t)
M_UINT (UTRAN_FDD_NeighbourCells_t, ZERO_v, 1),
M_UINT (UTRAN_FDD_NeighbourCells_t, UARFCN_v, 14),
@@ -2504,14 +2514,14 @@ CSN_DESCR_BEGIN(UTRAN_FDD_NeighbourCells_t)
M_VAR_BITMAP (UTRAN_FDD_NeighbourCells_t, CellInfo, BitsInCellInfo, 0),
CSN_DESCR_END (UTRAN_FDD_NeighbourCells_t)
-const
+static const
CSN_DESCR_BEGIN(UTRAN_FDD_Description_t)
M_NEXT_EXIST (UTRAN_FDD_Description_t, existBandwidth, 1),
M_UINT (UTRAN_FDD_Description_t, Bandwidth, 3),
M_REC_TARRAY (UTRAN_FDD_Description_t, CellParams, UTRAN_FDD_NeighbourCells_t, NrOfFrequencies),
CSN_DESCR_END (UTRAN_FDD_Description_t)
-const
+static const
CSN_DESCR_BEGIN(UTRAN_TDD_NeighbourCells_t)
M_UINT (UTRAN_TDD_NeighbourCells_t, ZERO_v, 1),
M_UINT (UTRAN_TDD_NeighbourCells_t, UARFCN_v, 14),
@@ -2521,57 +2531,57 @@ CSN_DESCR_BEGIN(UTRAN_TDD_NeighbourCells_t)
M_VAR_BITMAP (UTRAN_TDD_NeighbourCells_t, CellInfo, BitsInCellInfo, 0),
CSN_DESCR_END (UTRAN_TDD_NeighbourCells_t)
-const
+static const
CSN_DESCR_BEGIN(UTRAN_TDD_Description_t)
M_NEXT_EXIST (UTRAN_TDD_Description_t, existBandwidth, 1),
M_UINT (UTRAN_TDD_Description_t, Bandwidth, 3),
M_REC_TARRAY (UTRAN_TDD_Description_t, CellParams, UTRAN_TDD_NeighbourCells_t, NrOfFrequencies),
CSN_DESCR_END (UTRAN_TDD_Description_t)
-const
+static const
CSN_DESCR_BEGIN(NeighbourCellDescription3G_PMO_t)
- M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Index_Start_3G_v, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Index_Start_3G_v, 1),
M_UINT (NeighbourCellDescription3G_PMO_t, Index_Start_3G_v, 7),
- M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Absolute_Index_Start_EMR_v, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Absolute_Index_Start_EMR_v, 1),
M_UINT (NeighbourCellDescription3G_PMO_t, Absolute_Index_Start_EMR_v, 7),
M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_UTRAN_FDD_Description, 1),
M_TYPE (NeighbourCellDescription3G_PMO_t, UTRAN_FDD_Description, UTRAN_FDD_Description_t),
- M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_UTRAN_TDD_Description, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_UTRAN_TDD_Description, 1),
M_TYPE (NeighbourCellDescription3G_PMO_t, UTRAN_TDD_Description, UTRAN_TDD_Description_t),
- M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_CDMA2000_Description, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_CDMA2000_Description, 1),
M_TYPE (NeighbourCellDescription3G_PMO_t, CDMA2000_Description, CDMA2000_Description_t),
- M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Removed3GCellDescription, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PMO_t, Exist_Removed3GCellDescription, 1),
M_TYPE (NeighbourCellDescription3G_PMO_t, Removed3GCellDescription, Removed3GCellDescription_t),
CSN_DESCR_END (NeighbourCellDescription3G_PMO_t)
-const
+static const
CSN_DESCR_BEGIN(NeighbourCellDescription3G_PCCO_t)
- M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Index_Start_3G_v, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Index_Start_3G_v, 1),
M_UINT (NeighbourCellDescription3G_PCCO_t, Index_Start_3G_v, 7),
- M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Absolute_Index_Start_EMR_v, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Absolute_Index_Start_EMR_v, 1),
M_UINT (NeighbourCellDescription3G_PCCO_t, Absolute_Index_Start_EMR_v, 7),
M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_UTRAN_FDD_Description, 1),
M_TYPE (NeighbourCellDescription3G_PCCO_t, UTRAN_FDD_Description, UTRAN_FDD_Description_t),
- M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_UTRAN_TDD_Description, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_UTRAN_TDD_Description, 1),
M_TYPE (NeighbourCellDescription3G_PCCO_t, UTRAN_TDD_Description, UTRAN_TDD_Description_t),
- M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Removed3GCellDescription, 1),
+ M_NEXT_EXIST (NeighbourCellDescription3G_PCCO_t, Exist_Removed3GCellDescription, 1),
M_TYPE (NeighbourCellDescription3G_PCCO_t, Removed3GCellDescription, Removed3GCellDescription_t),
CSN_DESCR_END (NeighbourCellDescription3G_PCCO_t)
-const
+static const
CSN_DESCR_BEGIN(ENH_Measurement_Parameters_PMO_t)
M_UNION (ENH_Measurement_Parameters_PMO_t, 2),
M_TYPE (ENH_Measurement_Parameters_PMO_t, u.BA_IND, BA_IND_t),
M_UINT (ENH_Measurement_Parameters_PMO_t, u.PSI3_CHANGE_MARK_v, 2),
M_UINT (ENH_Measurement_Parameters_PMO_t, PMO_IND_v, 1),
-
+
M_UINT (ENH_Measurement_Parameters_PMO_t, REPORT_TYPE_v, 1),
M_UINT (ENH_Measurement_Parameters_PMO_t, REPORTING_RATE_v, 1),
M_UINT (ENH_Measurement_Parameters_PMO_t, INVALID_BSIC_REPORTING_v, 1),
-
- M_NEXT_EXIST (ENH_Measurement_Parameters_PMO_t, Exist_NeighbourCellDescription3G, 1),
+
+ M_NEXT_EXIST (ENH_Measurement_Parameters_PMO_t, Exist_NeighbourCellDescription3G, 1),
M_TYPE (ENH_Measurement_Parameters_PMO_t, NeighbourCellDescription3G, NeighbourCellDescription3G_PMO_t),
-
+
M_NEXT_EXIST (ENH_Measurement_Parameters_PMO_t, Exist_GPRSReportPriority, 1),
M_TYPE (ENH_Measurement_Parameters_PMO_t, GPRSReportPriority, GPRSReportPriority_t),
@@ -2582,20 +2592,20 @@ CSN_DESCR_BEGIN(ENH_Measurement_Parameters_PMO_t)
M_TYPE (ENH_Measurement_Parameters_PMO_t, GPRSMeasurementParams3G, ENH_GPRSMeasurementParams3G_PMO_t),
CSN_DESCR_END (ENH_Measurement_Parameters_PMO_t)
-const
+static const
CSN_DESCR_BEGIN(ENH_Measurement_Parameters_PCCO_t)
M_UNION (ENH_Measurement_Parameters_PCCO_t, 2),
M_TYPE (ENH_Measurement_Parameters_PCCO_t, u.BA_IND, BA_IND_t),
M_UINT (ENH_Measurement_Parameters_PCCO_t, u.PSI3_CHANGE_MARK_v, 2),
M_UINT (ENH_Measurement_Parameters_PCCO_t, PMO_IND_v, 1),
-
+
M_UINT (ENH_Measurement_Parameters_PCCO_t, REPORT_TYPE_v, 1),
M_UINT (ENH_Measurement_Parameters_PCCO_t, REPORTING_RATE_v, 1),
M_UINT (ENH_Measurement_Parameters_PCCO_t, INVALID_BSIC_REPORTING_v, 1),
-
- M_NEXT_EXIST (ENH_Measurement_Parameters_PCCO_t, Exist_NeighbourCellDescription3G, 1),
+
+ M_NEXT_EXIST (ENH_Measurement_Parameters_PCCO_t, Exist_NeighbourCellDescription3G, 1),
M_TYPE (ENH_Measurement_Parameters_PCCO_t, NeighbourCellDescription3G, NeighbourCellDescription3G_PCCO_t),
-
+
M_NEXT_EXIST (ENH_Measurement_Parameters_PCCO_t, Exist_GPRSReportPriority, 1),
M_TYPE (ENH_Measurement_Parameters_PCCO_t, GPRSReportPriority, GPRSReportPriority_t),
@@ -2606,33 +2616,33 @@ CSN_DESCR_BEGIN(ENH_Measurement_Parameters_PCCO_t)
M_TYPE (ENH_Measurement_Parameters_PCCO_t, GPRSMeasurementParams3G, ENH_GPRSMeasurementParams3G_PCCO_t),
CSN_DESCR_END (ENH_Measurement_Parameters_PCCO_t)
-const
+static const
CSN_DESCR_BEGIN(CCN_Support_Description_t)
M_UINT (CCN_Support_Description_t, NUMBER_CELLS_v, 7),
M_VAR_BITMAP (CCN_Support_Description_t, CCN_SUPPORTED, NUMBER_CELLS_v, 0),
CSN_DESCR_END (CCN_Support_Description_t)
-const
+static const
CSN_DESCR_BEGIN(lu_ModeCellSelectionParameters_t)
M_UINT (lu_ModeCellSelectionParameters_t, CELL_BAR_QUALIFY_3_v, 2),
M_NEXT_EXIST (lu_ModeCellSelectionParameters_t, Exist_SI13_Alt_PBCCH_Location, 1),
M_TYPE (lu_ModeCellSelectionParameters_t, SI13_Alt_PBCCH_Location, SI13_PBCCH_Location_t),
CSN_DESCR_END (lu_ModeCellSelectionParameters_t)
-const
+static const
CSN_DESCR_BEGIN(lu_ModeCellSelectionParams_t)
M_NEXT_EXIST (lu_ModeCellSelectionParams_t, Exist_lu_ModeCellSelectionParams, 1),
M_TYPE (lu_ModeCellSelectionParams_t, lu_ModeCellSelectionParameters, lu_ModeCellSelectionParameters_t),
CSN_DESCR_END (lu_ModeCellSelectionParams_t)
-const
+static const
CSN_DESCR_BEGIN(lu_ModeNeighbourCellParams_t)
M_TYPE (lu_ModeNeighbourCellParams_t, lu_ModeCellSelectionParameters, lu_ModeCellSelectionParams_t),
M_UINT (lu_ModeNeighbourCellParams_t, NR_OF_FREQUENCIES_v, 5),
M_VAR_TARRAY (lu_ModeNeighbourCellParams_t, lu_ModeCellSelectionParams, lu_ModeCellSelectionParams_t, NR_OF_FREQUENCIES_v),
CSN_DESCR_END (lu_ModeNeighbourCellParams_t)
-const
+static const
CSN_DESCR_BEGIN(lu_ModeOnlyCellSelection_t)
M_UINT (lu_ModeOnlyCellSelection_t, CELL_BAR_QUALIFY_3_v, 2),
M_UINT (lu_ModeOnlyCellSelection_t, SAME_RA_AS_SERVING_CELL_v, 1),
@@ -2655,7 +2665,7 @@ CSN_DESCR_BEGIN(lu_ModeOnlyCellSelection_t)
M_TYPE (lu_ModeOnlyCellSelection_t, SI13_Alt_PBCCH_Location, SI13_PBCCH_Location_t),
CSN_DESCR_END (lu_ModeOnlyCellSelection_t)
-const
+static const
CSN_DESCR_BEGIN(lu_ModeOnlyCellSelectionParamsWithFreqDiff_t)
/*FREQUENCY_DIFF_v is really an integer but the number of bits to decode it are stored in FREQ_DIFF_LENGTH_v*/
M_VAR_BITMAP (lu_ModeOnlyCellSelectionParamsWithFreqDiff_t, FREQUENCY_DIFF_v, FREQ_DIFF_LENGTH_v, 0),
@@ -2664,7 +2674,7 @@ CSN_DESCR_BEGIN(lu_ModeOnlyCellSelectionParamsWithFreqDiff_t)
M_TYPE (lu_ModeOnlyCellSelectionParamsWithFreqDiff_t, lu_ModeOnlyCellSelectionParams, lu_ModeOnlyCellSelection_t),
CSN_DESCR_END (lu_ModeOnlyCellSelectionParamsWithFreqDiff_t)
-const
+static const
CSN_DESCR_BEGIN(Add_lu_ModeOnlyFrequencyList_t)
M_UINT (Add_lu_ModeOnlyFrequencyList_t, START_FREQUENCY_v, 10),
M_UINT (Add_lu_ModeOnlyFrequencyList_t, BSIC_v, 6),
@@ -2678,17 +2688,18 @@ CSN_DESCR_BEGIN(Add_lu_ModeOnlyFrequencyList_t)
M_VAR_TARRAY (Add_lu_ModeOnlyFrequencyList_t, lu_ModeOnlyCellSelectionParamsWithFreqDiff, lu_ModeOnlyCellSelectionParamsWithFreqDiff_t, NR_OF_FREQUENCIES_v),
CSN_DESCR_END (Add_lu_ModeOnlyFrequencyList_t)
-const
+static const
CSN_DESCR_BEGIN(NC_lu_ModeOnlyCapableCellList_t)
- M_REC_TARRAY (NC_lu_ModeOnlyCapableCellList_t, Add_lu_ModeOnlyFrequencyList, Add_lu_ModeOnlyFrequencyList_t, Count_Add_lu_ModeOnlyFrequencyList),
+ M_REC_TARRAY (NC_lu_ModeOnlyCapableCellList_t, Add_lu_ModeOnlyFrequencyList, Add_lu_ModeOnlyFrequencyList_t, Count_Add_lu_ModeOnlyFrequencyList),
CSN_DESCR_END (NC_lu_ModeOnlyCapableCellList_t)
-const
+static const
CSN_DESCR_BEGIN(GPRS_AdditionalMeasurementParams3G_t)
M_NEXT_EXIST (GPRS_AdditionalMeasurementParams3G_t, Exist_FDD_REPORTING_THRESHOLD_2, 1),
M_UINT (GPRS_AdditionalMeasurementParams3G_t, FDD_REPORTING_THRESHOLD_2, 6),
CSN_DESCR_END (GPRS_AdditionalMeasurementParams3G_t)
-const
+
+static const
CSN_DESCR_BEGIN(ServingCellPriorityParametersDescription_t)
M_UINT (ServingCellPriorityParametersDescription_t, GERAN_PRIORITY, 3),
M_UINT (ServingCellPriorityParametersDescription_t, THRESH_Priority_Search, 4),
@@ -2697,7 +2708,7 @@ CSN_DESCR_BEGIN(ServingCellPriorityParametersDescription_t)
M_UINT (ServingCellPriorityParametersDescription_t, T_Reselection, 2),
CSN_DESCR_END (ServingCellPriorityParametersDescription_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedUTRAN_PriorityParameters_t)
M_REC_ARRAY (RepeatedUTRAN_PriorityParameters_t, UTRAN_FREQUENCY_INDEX_a, NumberOfFrequencyIndexes, 5),
@@ -2713,7 +2724,7 @@ CSN_DESCR_BEGIN(RepeatedUTRAN_PriorityParameters_t)
M_UINT (RepeatedUTRAN_PriorityParameters_t, UTRAN_QRXLEVMIN, 5),
CSN_DESCR_END (RepeatedUTRAN_PriorityParameters_t)
-const
+static const
CSN_DESCR_BEGIN(PriorityParametersDescription3G_PMO_t)
M_NEXT_EXIST (PriorityParametersDescription3G_PMO_t, existDEFAULT_UTRAN_Parameters, 3),
@@ -2724,7 +2735,7 @@ CSN_DESCR_BEGIN(PriorityParametersDescription3G_PMO_t)
M_REC_TARRAY (PriorityParametersDescription3G_PMO_t, RepeatedUTRAN_PriorityParameters_a, RepeatedUTRAN_PriorityParameters_t, NumberOfPriorityParameters),
CSN_DESCR_END (PriorityParametersDescription3G_PMO_t)
-const
+static const
CSN_DESCR_BEGIN(EUTRAN_REPORTING_THRESHOLD_OFFSET_t)
M_NEXT_EXIST (EUTRAN_REPORTING_THRESHOLD_OFFSET_t, existEUTRAN_FDD_REPORTING_THRESHOLD_OFFSET, 5),
M_UINT (EUTRAN_REPORTING_THRESHOLD_OFFSET_t, EUTRAN_FDD_REPORTING_THRESHOLD, 3),
@@ -2741,7 +2752,7 @@ CSN_DESCR_BEGIN(EUTRAN_REPORTING_THRESHOLD_OFFSET_t)
M_UINT (EUTRAN_REPORTING_THRESHOLD_OFFSET_t, EUTRAN_TDD_REPORTING_OFFSET, 3),
CSN_DESCR_END (EUTRAN_REPORTING_THRESHOLD_OFFSET_t)
-const
+static const
CSN_DESCR_BEGIN(GPRS_EUTRAN_MeasurementParametersDescription_t)
M_UINT (GPRS_EUTRAN_MeasurementParametersDescription_t, Qsearch_P_EUTRAN, 4),
M_BIT (GPRS_EUTRAN_MeasurementParametersDescription_t, EUTRAN_REP_QUANT),
@@ -2749,14 +2760,14 @@ CSN_DESCR_BEGIN(GPRS_EUTRAN_MeasurementParametersDescription_t)
M_TYPE (GPRS_EUTRAN_MeasurementParametersDescription_t, EUTRAN_REPORTING_THRESHOLD_OFFSET, EUTRAN_REPORTING_THRESHOLD_OFFSET_t),
CSN_DESCR_END (GPRS_EUTRAN_MeasurementParametersDescription_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedEUTRAN_Cells_t)
M_UINT (RepeatedEUTRAN_Cells_t, EARFCN, 16),
M_NEXT_EXIST (RepeatedEUTRAN_Cells_t, existMeasurementBandwidth, 1),
M_UINT (RepeatedEUTRAN_Cells_t, MeasurementBandwidth, 3),
CSN_DESCR_END (RepeatedEUTRAN_Cells_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedEUTRAN_NeighbourCells_t)
M_REC_TARRAY (RepeatedEUTRAN_NeighbourCells_t, EUTRAN_Cells_a, RepeatedEUTRAN_Cells_t, nbrOfEUTRAN_Cells),
@@ -2772,14 +2783,14 @@ CSN_DESCR_BEGIN(RepeatedEUTRAN_NeighbourCells_t)
M_UINT (RepeatedEUTRAN_NeighbourCells_t, EUTRAN_QRXLEVMIN, 5),
CSN_DESCR_END (RepeatedEUTRAN_NeighbourCells_t)
-const
+static const
CSN_DESCR_BEGIN(PCID_Pattern_t)
M_UINT (PCID_Pattern_t, PCID_Pattern_length, 3),
M_VAR_BITMAP (PCID_Pattern_t, PCID_Pattern, PCID_Pattern_length, 1), /* offset 1, 44.060 12.57 */
M_UINT (PCID_Pattern_t, PCID_Pattern_sense, 1),
CSN_DESCR_END (PCID_Pattern_t)
-const
+static const
CSN_DESCR_BEGIN(PCID_Group_IE_t)
M_REC_ARRAY (PCID_Group_IE_t, PCID_a, NumberOfPCIDs, 9),
@@ -2790,25 +2801,25 @@ CSN_DESCR_BEGIN(PCID_Group_IE_t)
M_REC_TARRAY (PCID_Group_IE_t, PCID_Pattern_a, PCID_Pattern_t, NumberOfPCID_Patterns),
CSN_DESCR_END (PCID_Group_IE_t)
-const
+static const
CSN_DESCR_BEGIN(EUTRAN_FREQUENCY_INDEX_t)
M_UINT (EUTRAN_FREQUENCY_INDEX_t, EUTRAN_FREQUENCY_INDEX, 3),
CSN_DESCR_END (EUTRAN_FREQUENCY_INDEX_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedEUTRAN_NotAllowedCells_t)
M_TYPE (RepeatedEUTRAN_NotAllowedCells_t, NotAllowedCells, PCID_Group_IE_t),
M_REC_TARRAY (RepeatedEUTRAN_NotAllowedCells_t, EUTRAN_FREQUENCY_INDEX_a, EUTRAN_FREQUENCY_INDEX_t, NumberOfFrequencyIndexes),
CSN_DESCR_END (RepeatedEUTRAN_NotAllowedCells_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedEUTRAN_PCID_to_TA_mapping_t)
M_REC_TARRAY (RepeatedEUTRAN_PCID_to_TA_mapping_t, PCID_ToTA_Mapping_a, PCID_Group_IE_t, NumberOfMappings),
M_REC_TARRAY (RepeatedEUTRAN_PCID_to_TA_mapping_t, EUTRAN_FREQUENCY_INDEX_a, EUTRAN_FREQUENCY_INDEX_t, NumberOfFrequencyIndexes),
CSN_DESCR_END (RepeatedEUTRAN_PCID_to_TA_mapping_t)
-const
+static const
CSN_DESCR_BEGIN(EUTRAN_ParametersDescription_PMO_t)
M_BIT (EUTRAN_ParametersDescription_PMO_t, EUTRAN_CCN_ACTIVE),
@@ -2820,7 +2831,7 @@ CSN_DESCR_BEGIN(EUTRAN_ParametersDescription_PMO_t)
M_REC_TARRAY (EUTRAN_ParametersDescription_PMO_t, RepeatedEUTRAN_PCID_to_TA_mapping_a, RepeatedEUTRAN_PCID_to_TA_mapping_t, NumberOfMappings),
CSN_DESCR_END (EUTRAN_ParametersDescription_PMO_t)
-const
+static const
CSN_DESCR_BEGIN (PriorityAndEUTRAN_ParametersDescription_PMO_t)
M_NEXT_EXIST (PriorityAndEUTRAN_ParametersDescription_PMO_t, existServingCellPriorityParametersDescription, 1),
M_TYPE (PriorityAndEUTRAN_ParametersDescription_PMO_t, ServingCellPriorityParametersDescription, ServingCellPriorityParametersDescription_t),
@@ -2830,7 +2841,7 @@ CSN_DESCR_BEGIN (PriorityAndEUTRAN_ParametersDescription_PMO_t)
M_TYPE (PriorityAndEUTRAN_ParametersDescription_PMO_t, EUTRAN_ParametersDescription_PMO, EUTRAN_ParametersDescription_PMO_t),
CSN_DESCR_END (PriorityAndEUTRAN_ParametersDescription_PMO_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR8_t)
M_NEXT_EXIST (PMO_AdditionsR8_t, existBA_IND_3G_PMO_IND, 2),
M_BIT (PMO_AdditionsR8_t, BA_IND_3G),
@@ -2840,7 +2851,7 @@ CSN_DESCR_BEGIN (PMO_AdditionsR8_t)
/* TBD: IndividualPriorities_PMO */
CSN_DESCR_END (PMO_AdditionsR8_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR7_t)
M_NEXT_EXIST (PMO_AdditionsR7_t, existREPORTING_OFFSET_THRESHOLD_700, 2),
M_UINT (PMO_AdditionsR7_t, REPORTING_OFFSET_700, 3),
@@ -2854,19 +2865,19 @@ CSN_DESCR_BEGIN (PMO_AdditionsR7_t)
M_TYPE (PMO_AdditionsR7_t, additionsR8, PMO_AdditionsR8_t),
CSN_DESCR_END (PMO_AdditionsR7_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR6_t)
M_UINT (PMO_AdditionsR6_t, CCN_ACTIVE_3G, 1),
M_NEXT_EXIST_OR_NULL (PMO_AdditionsR6_t, existAdditionsR7, 1),
M_TYPE (PMO_AdditionsR6_t, additionsR7, PMO_AdditionsR7_t),
CSN_DESCR_END (PMO_AdditionsR6_t)
-const
+static const
CSN_DESCR_BEGIN(PCCO_AdditionsR6_t)
M_UINT (PCCO_AdditionsR6_t, CCN_ACTIVE_3G, 1),
CSN_DESCR_END (PCCO_AdditionsR6_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR5_t)
M_NEXT_EXIST (PMO_AdditionsR5_t, existGRNTI_Extension, 1),
M_UINT (PMO_AdditionsR5_t, GRNTI, 4),
@@ -2880,7 +2891,7 @@ CSN_DESCR_BEGIN (PMO_AdditionsR5_t)
M_TYPE (PMO_AdditionsR5_t, additionsR6, PMO_AdditionsR6_t),
CSN_DESCR_END (PMO_AdditionsR5_t)
-const
+static const
CSN_DESCR_BEGIN (PCCO_AdditionsR5_t)
M_NEXT_EXIST (PCCO_AdditionsR5_t, existGRNTI_Extension, 1),
M_UINT (PCCO_AdditionsR5_t, GRNTI, 4),
@@ -2894,7 +2905,7 @@ CSN_DESCR_BEGIN (PCCO_AdditionsR5_t)
M_TYPE (PCCO_AdditionsR5_t, additionsR6, PCCO_AdditionsR6_t),
CSN_DESCR_END (PCCO_AdditionsR5_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR4_t)
M_UINT (PMO_AdditionsR4_t, CCN_ACTIVE, 1),
M_NEXT_EXIST (PMO_AdditionsR4_t, Exist_CCN_Support_Description_ID, 1),
@@ -2903,7 +2914,7 @@ CSN_DESCR_BEGIN (PMO_AdditionsR4_t)
M_TYPE (PMO_AdditionsR4_t, AdditionsR5, PMO_AdditionsR5_t),
CSN_DESCR_END (PMO_AdditionsR4_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR99_t)
M_NEXT_EXIST (PMO_AdditionsR99_t, Exist_ENH_Measurement_Parameters, 1),
M_TYPE (PMO_AdditionsR99_t, ENH_Measurement_Parameters, ENH_Measurement_Parameters_PMO_t),
@@ -2911,7 +2922,7 @@ CSN_DESCR_BEGIN (PMO_AdditionsR99_t)
M_TYPE (PMO_AdditionsR99_t, AdditionsR4, PMO_AdditionsR4_t),
CSN_DESCR_END (PMO_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN (PCCO_AdditionsR4_t)
M_UINT (PCCO_AdditionsR4_t, CCN_ACTIVE, 1),
M_NEXT_EXIST (PCCO_AdditionsR4_t, Exist_Container_ID, 1),
@@ -2922,14 +2933,14 @@ CSN_DESCR_BEGIN (PCCO_AdditionsR4_t)
M_TYPE (PCCO_AdditionsR4_t, AdditionsR5, PCCO_AdditionsR5_t),
CSN_DESCR_END (PCCO_AdditionsR4_t)
-const
+static const
CSN_DESCR_BEGIN (PCCO_AdditionsR99_t)
M_TYPE (PCCO_AdditionsR99_t, ENH_Measurement_Parameters, ENH_Measurement_Parameters_PCCO_t),
M_NEXT_EXIST_OR_NULL (PCCO_AdditionsR99_t, Exist_AdditionsR4, 1),
M_TYPE (PCCO_AdditionsR99_t, AdditionsR4, PCCO_AdditionsR4_t),
CSN_DESCR_END (PCCO_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN(LSA_ID_Info_Element_t)
/* 1 -- Message escape*/
M_FIXED (LSA_ID_Info_Element_t, 1, 0x1),
@@ -2938,18 +2949,18 @@ CSN_DESCR_BEGIN(LSA_ID_Info_Element_t)
M_UINT (LSA_ID_Info_Element_t, u.ShortLSA_ID_v, 10),
CSN_DESCR_END (LSA_ID_Info_Element_t)
-const
+static const
CSN_DESCR_BEGIN(LSA_ID_Info_t)
M_REC_TARRAY (LSA_ID_Info_t, LSA_ID_Info_Elements, LSA_ID_Info_Element_t, Count_LSA_ID_Info_Element),
CSN_DESCR_END (LSA_ID_Info_t)
-const
+static const
CSN_DESCR_BEGIN(LSA_Parameters_t)
M_UINT (LSA_Parameters_t, NR_OF_FREQ_OR_CELLS_v, 5),
M_VAR_TARRAY (LSA_Parameters_t, LSA_ID_Info, LSA_ID_Info_t, NR_OF_FREQ_OR_CELLS_v),
CSN_DESCR_END (LSA_Parameters_t)
-const
+static const
CSN_DESCR_BEGIN (PMO_AdditionsR98_t)
M_NEXT_EXIST (PMO_AdditionsR98_t, Exist_LSA_Parameters, 1),
M_TYPE (PMO_AdditionsR98_t, LSA_Parameters, LSA_Parameters_t),
@@ -2958,7 +2969,7 @@ CSN_DESCR_BEGIN (PMO_AdditionsR98_t)
M_TYPE (PMO_AdditionsR98_t, AdditionsR99, PMO_AdditionsR99_t),
CSN_DESCR_END (PMO_AdditionsR98_t)
-const
+static const
CSN_DESCR_BEGIN (PCCO_AdditionsR98_t)
M_NEXT_EXIST (PCCO_AdditionsR98_t, Exist_LSA_Parameters, 1),
M_TYPE (PCCO_AdditionsR98_t, LSA_Parameters, LSA_Parameters_t),
@@ -2967,28 +2978,28 @@ CSN_DESCR_BEGIN (PCCO_AdditionsR98_t)
M_TYPE (PCCO_AdditionsR98_t, AdditionsR99, PCCO_AdditionsR99_t),
CSN_DESCR_END (PCCO_AdditionsR98_t)
-const
+static const
CSN_DESCR_BEGIN (Target_Cell_GSM_t)
M_UINT (Target_Cell_GSM_t, IMMEDIATE_REL_v, 1),
M_UINT (Target_Cell_GSM_t, ARFCN_v, 10),
M_UINT (Target_Cell_GSM_t, BSIC_v, 6),
- M_TYPE (Target_Cell_GSM_t, NC_Measurement_Parameters, NC_Measurement_Parameters_with_Frequency_List_t),
+ M_TYPE (Target_Cell_GSM_t, NC_Measurement_Parameters, NC_Measurement_Parameters_with_Frequency_List_t),
M_NEXT_EXIST_OR_NULL (Target_Cell_GSM_t, Exist_AdditionsR98, 1),
- M_TYPE (Target_Cell_GSM_t, AdditionsR98, PCCO_AdditionsR98_t),
+ M_TYPE (Target_Cell_GSM_t, AdditionsR98, PCCO_AdditionsR98_t),
CSN_DESCR_END (Target_Cell_GSM_t)
-const
+static const
CSN_DESCR_BEGIN(Target_Cell_3G_t)
/* 00 -- Message escape */
M_FIXED (Target_Cell_3G_t, 2, 0x00),
M_UINT (Target_Cell_3G_t, IMMEDIATE_REL_v, 1),
M_NEXT_EXIST (Target_Cell_3G_t, Exist_FDD_Description, 1),
- M_TYPE (Target_Cell_3G_t, FDD_Target_Cell, FDD_Target_Cell_t),
+ M_TYPE (Target_Cell_3G_t, FDD_Target_Cell, FDD_Target_Cell_t),
M_NEXT_EXIST (Target_Cell_3G_t, Exist_TDD_Description, 1),
M_TYPE (Target_Cell_3G_t, TDD_Target_Cell, TDD_Target_Cell_t), /* not implemented */
CSN_DESCR_END (Target_Cell_3G_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Cell_Change_Order_t)
M_UINT (Packet_Cell_Change_Order_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Cell_Change_Order_t, PAGE_MODE_v, 2),
@@ -3001,19 +3012,19 @@ CSN_DESCR_BEGIN(Packet_Cell_Change_Order_t)
CSN_DESCR_END (Packet_Cell_Change_Order_t)
/*< Packet (Enhanced) Measurement Report message contents > */
-const
+static const
CSN_DESCR_BEGIN(BA_USED_t)
M_UINT (BA_USED_t, BA_USED_v, 1),
M_UINT (BA_USED_t, BA_USED_3G_v, 1),
CSN_DESCR_END (BA_USED_t)
-const
+static const
CSN_DESCR_BEGIN(Serving_Cell_Data_t)
M_UINT (Serving_Cell_Data_t, RXLEV_SERVING_CELL_v, 6),
M_FIXED (Serving_Cell_Data_t, 1, 0),
CSN_DESCR_END (Serving_Cell_Data_t)
-const
+static const
CSN_DESCR_BEGIN(NC_Measurements_t)
M_UINT (NC_Measurements_t, FREQUENCY_N_v, 6),
@@ -3022,20 +3033,20 @@ CSN_DESCR_BEGIN(NC_Measurements_t)
M_UINT (NC_Measurements_t, RXLEV_N_v, 6),
CSN_DESCR_END (NC_Measurements_t)
-const
+static const
CSN_DESCR_BEGIN(RepeatedInvalid_BSIC_Info_t)
M_UINT (RepeatedInvalid_BSIC_Info_t, BCCH_FREQ_N_v, 5),
M_UINT (RepeatedInvalid_BSIC_Info_t, BSIC_N_v, 6),
M_UINT (RepeatedInvalid_BSIC_Info_t, RXLEV_N_v, 6),
CSN_DESCR_END (RepeatedInvalid_BSIC_Info_t)
-
-const
+
+static const
CSN_DESCR_BEGIN(REPORTING_QUANTITY_Instance_t)
M_NEXT_EXIST (REPORTING_QUANTITY_Instance_t, Exist_REPORTING_QUANTITY, 1),
M_UINT (REPORTING_QUANTITY_Instance_t, REPORTING_QUANTITY_v, 6),
CSN_DESCR_END (REPORTING_QUANTITY_Instance_t)
-const
+static const
CSN_DESCR_BEGIN(NC_Measurement_Report_t)
M_UINT (NC_Measurement_Report_t, NC_MODE_v, 1),
M_TYPE (NC_Measurement_Report_t, Serving_Cell_Data, Serving_Cell_Data_t),
@@ -3043,7 +3054,7 @@ CSN_DESCR_BEGIN(NC_Measurement_Report_t)
M_VAR_TARRAY (NC_Measurement_Report_t, NC_Measurements, NC_Measurements_t, NUMBER_OF_NC_MEASUREMENTS_v),
CSN_DESCR_END (NC_Measurement_Report_t)
-const
+static const
CSN_DESCR_BEGIN(ENH_NC_Measurement_Report_t)
M_UINT (ENH_NC_Measurement_Report_t, NC_MODE_v, 1),
M_UNION (ENH_NC_Measurement_Report_t, 2),
@@ -3060,7 +3071,7 @@ CSN_DESCR_BEGIN(ENH_NC_Measurement_Report_t)
CSN_DESCR_END (ENH_NC_Measurement_Report_t)
-const
+static const
CSN_DESCR_BEGIN(EXT_Measurement_Report_t)
M_UINT (EXT_Measurement_Report_t, EXT_REPORTING_TYPE, 2), /* either 00, 01 or 10 */
@@ -3094,13 +3105,13 @@ CSN_DESCR_BEGIN(EXT_Measurement_Report_t)
M_VAR_TARRAY (EXT_Measurement_Report_t, EXT_Measurements, NC_Measurements_t, NUMBER_OF_EXT_MEASUREMENTS_v),
CSN_DESCR_END (EXT_Measurement_Report_t)
-const
+static const
CSN_DESCR_BEGIN (Measurements_3G_t)
M_UINT (Measurements_3G_t, CELL_LIST_INDEX_3G_v, 7),
M_UINT (Measurements_3G_t, REPORTING_QUANTITY_v, 6),
CSN_DESCR_END (Measurements_3G_t)
-const
+static const
CSN_DESCR_BEGIN (PMR_AdditionsR99_t)
M_NEXT_EXIST (PMR_AdditionsR99_t, Exist_Info3G, 4),
M_UNION (PMR_AdditionsR99_t, 2),
@@ -3113,7 +3124,7 @@ CSN_DESCR_BEGIN (PMR_AdditionsR99_t)
M_VAR_TARRAY_OFFSET (PMR_AdditionsR99_t, Measurements_3G, Measurements_3G_t, N_3G_v),
CSN_DESCR_END (PMR_AdditionsR99_t)
-const
+static const
CSN_DESCR_BEGIN(EMR_ServingCell_t)
/*CSN_MEMBER_BIT (EMR_ServingCell_t, DTX_USED),*/
M_BIT (EMR_ServingCell_t, DTX_USED),
@@ -3124,7 +3135,7 @@ CSN_DESCR_BEGIN(EMR_ServingCell_t)
M_UINT (EMR_ServingCell_t, NBR_RCVD_BLOCKS, 5),
CSN_DESCR_END(EMR_ServingCell_t)
-const
+static const
CSN_DESCR_BEGIN (EnhancedMeasurementReport_t)
M_UINT (EnhancedMeasurementReport_t, RR_Short_PD, 1),
M_UINT (EnhancedMeasurementReport_t, MESSAGE_TYPE_v, 5), /* struct, variable, length of bits to be encode */
@@ -3135,12 +3146,12 @@ CSN_DESCR_BEGIN (EnhancedMeasurementReport_t)
M_NEXT_EXIST (EnhancedMeasurementReport_t, Exist_ServingCellData, 1),
M_TYPE (EnhancedMeasurementReport_t, ServingCellData, EMR_ServingCell_t),
M_REC_TARRAY (EnhancedMeasurementReport_t, RepeatedInvalid_BSIC_Info[0], RepeatedInvalid_BSIC_Info_t,
- Count_RepeatedInvalid_BSIC_Info),
+ Count_RepeatedInvalid_BSIC_Info),
M_NEXT_EXIST (EnhancedMeasurementReport_t, Exist_ReportBitmap, 1),
M_VAR_TARRAY (EnhancedMeasurementReport_t, REPORTING_QUANTITY_Instances, REPORTING_QUANTITY_Instance_t, Count_REPORTING_QUANTITY_Instances),
CSN_DESCR_END (EnhancedMeasurementReport_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Measurement_Report_t)
/* Mac header */
M_UINT (Packet_Measurement_Report_t, PayloadType, 2),
@@ -3162,7 +3173,7 @@ CSN_DESCR_BEGIN (Packet_Measurement_Report_t)
M_TYPE (Packet_Measurement_Report_t, AdditionsR99, PMR_AdditionsR99_t),
CSN_DESCR_END (Packet_Measurement_Report_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Enh_Measurement_Report_t)
/* Mac header */
M_UINT (Packet_Enh_Measurement_Report_t, PayloadType, 2),
@@ -3177,7 +3188,7 @@ CSN_DESCR_BEGIN (Packet_Enh_Measurement_Report_t)
CSN_DESCR_END (Packet_Enh_Measurement_Report_t)
/*< Packet Measurement Order message contents >*/
-const
+static const
CSN_DESCR_BEGIN(EXT_Frequency_List_t)
M_UINT (EXT_Frequency_List_t, START_FREQUENCY_v, 10),
M_UINT (EXT_Frequency_List_t, NR_OF_FREQUENCIES_v, 5),
@@ -3189,7 +3200,7 @@ CSN_DESCR_BEGIN(EXT_Frequency_List_t)
*/
CSN_DESCR_END (EXT_Frequency_List_t)
-const
+static const
CSN_DESCR_BEGIN (Packet_Measurement_Order_t)
M_UINT (Packet_Measurement_Order_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Measurement_Order_t, PAGE_MODE_v, 2),
@@ -3203,13 +3214,13 @@ CSN_DESCR_BEGIN (Packet_Measurement_Order_t)
M_TYPE (Packet_Measurement_Order_t, NC_Measurement_Parameters, NC_Measurement_Parameters_with_Frequency_List_t),
M_NEXT_EXIST (Packet_Measurement_Order_t, Exist_EXT_Measurement_Parameters, 1),
- M_FIXED (Packet_Measurement_Order_t, 2, 0x0), /* EXT_Measurement_Parameters not handled */
+ M_FIXED (Packet_Measurement_Order_t, 2, 0x0), /* EXT_Measurement_Parameters not handled */
M_NEXT_EXIST_OR_NULL (Packet_Measurement_Order_t, Exist_AdditionsR98, 1),
- M_TYPE (Packet_Measurement_Order_t, AdditionsR98, PMO_AdditionsR98_t),
+ M_TYPE (Packet_Measurement_Order_t, AdditionsR98, PMO_AdditionsR98_t),
CSN_DESCR_END (Packet_Measurement_Order_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Measurement_Order_Reduced_t)
M_UINT (Packet_Measurement_Order_Reduced_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Measurement_Order_Reduced_t, PAGE_MODE_v, 2),
@@ -3218,7 +3229,7 @@ CSN_DESCR_BEGIN(Packet_Measurement_Order_Reduced_t)
CSN_DESCR_END (Packet_Measurement_Order_Reduced_t)
-const
+static const
CSN_DESCR_BEGIN(CCN_Measurement_Report_t)
M_UINT (CCN_Measurement_Report_t, RXLEV_SERVING_CELL_v, 6),
M_FIXED (CCN_Measurement_Report_t, 1, 0),
@@ -3226,13 +3237,13 @@ CSN_DESCR_BEGIN(CCN_Measurement_Report_t)
M_VAR_TARRAY (CCN_Measurement_Report_t, NC_Measurements, NC_Measurements_t, NUMBER_OF_NC_MEASUREMENTS_v),
CSN_DESCR_END (CCN_Measurement_Report_t)
-const
+static const
CSN_DESCR_BEGIN(Target_Cell_GSM_Notif_t)
M_UINT (Target_Cell_GSM_Notif_t, ARFCN_v, 10),
M_UINT (Target_Cell_GSM_Notif_t, BSIC_v, 6),
CSN_DESCR_END (Target_Cell_GSM_Notif_t)
-const
+static const
CSN_DESCR_BEGIN(FDD_Target_Cell_Notif_t)
M_UINT (FDD_Target_Cell_Notif_t, FDD_ARFCN_v, 14),
M_NEXT_EXIST (FDD_Target_Cell_Notif_t, Exist_Bandwith_FDD, 1),
@@ -3240,35 +3251,35 @@ CSN_DESCR_BEGIN(FDD_Target_Cell_Notif_t)
M_UINT (FDD_Target_Cell_Notif_t, SCRAMBLING_CODE_v, 9),
CSN_DESCR_END (FDD_Target_Cell_Notif_t)
-const
+static const
CSN_DESCR_BEGIN(Target_Cell_3G_Notif_t)
/* 0 -- escape bit */
M_FIXED (Target_Cell_3G_Notif_t, 1, 0),
M_NEXT_EXIST (Target_Cell_3G_Notif_t, Exist_FDD_Description, 1),
- M_TYPE (Target_Cell_3G_Notif_t, FDD_Target_Cell_Notif, FDD_Target_Cell_Notif_t),
+ M_TYPE (Target_Cell_3G_Notif_t, FDD_Target_Cell_Notif, FDD_Target_Cell_Notif_t),
M_NEXT_EXIST (Target_Cell_3G_Notif_t, Exist_TDD_Description, 1),
M_TYPE (Target_Cell_3G_Notif_t, TDD_Target_Cell, TDD_Target_Cell_t), /* not implemented */
M_UINT (Target_Cell_3G_Notif_t, REPORTING_QUANTITY_v, 6),
CSN_DESCR_END (Target_Cell_3G_Notif_t)
-const
+static const
CSN_DESCR_BEGIN(Target_Cell_t)
M_UNION (Target_Cell_t, 2),
M_TYPE (Target_Cell_t, u.Target_Cell_GSM_Notif, Target_Cell_GSM_Notif_t),
M_TYPE (Target_Cell_t, u.Target_Cell_3G_Notif, Target_Cell_3G_Notif_t),
CSN_DESCR_END (Target_Cell_t)
-const
+static const
CSN_DESCR_BEGIN (PCCN_AdditionsR6_t)
M_NEXT_EXIST (PCCN_AdditionsR6_t, Exist_BA_USED_3G, 1),
M_UINT (PCCN_AdditionsR6_t, BA_USED_3G_v, 1),
-
+
M_UINT_OFFSET (PCCN_AdditionsR6_t, N_3G_v, 3, 1), /* offset 1 */
M_VAR_TARRAY_OFFSET (PCCN_AdditionsR6_t, Measurements_3G, Measurements_3G_t, N_3G_v),
CSN_DESCR_END (PCCN_AdditionsR6_t)
/*< Packet Cell Change Notification message contents > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Cell_Change_Notification_t)
/* Mac header */
M_UINT (Packet_Cell_Change_Notification_t, PayloadType, 2),
@@ -3287,13 +3298,13 @@ CSN_DESCR_BEGIN(Packet_Cell_Change_Notification_t)
M_UINT (Packet_Cell_Change_Notification_t, PMO_USED_v, 1),
M_UINT (Packet_Cell_Change_Notification_t, PCCN_SENDING, 1),
M_TYPE (Packet_Cell_Change_Notification_t, CCN_Measurement_Report, CCN_Measurement_Report_t),
-
+
M_NEXT_EXIST_OR_NULL(Packet_Cell_Change_Notification_t, Exist_AdditionsR6, 1),
M_TYPE (Packet_Cell_Change_Notification_t, AdditionsR6, PCCN_AdditionsR6_t),
CSN_DESCR_END (Packet_Cell_Change_Notification_t)
/*< Packet Cell Change Continue message contents > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Cell_Change_Continue_t)
M_UINT (Packet_Cell_Change_Continue_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Cell_Change_Continue_t, PAGE_MODE_v, 2),
@@ -3307,31 +3318,31 @@ CSN_DESCR_BEGIN(Packet_Cell_Change_Continue_t)
CSN_DESCR_END (Packet_Cell_Change_Continue_t)
/*< Packet Neighbour Cell Data message contents > */
-const
+static const
CSN_DESCR_BEGIN(PNCD_Container_With_ID_t)
M_UINT (PNCD_Container_With_ID_t, ARFCN_v,10),
M_UINT (PNCD_Container_With_ID_t, BSIC_v, 6),
M_UINT_ARRAY (PNCD_Container_With_ID_t, CONTAINER, 8, 17),/* 8*17 bits */
CSN_DESCR_END (PNCD_Container_With_ID_t)
-const
+static const
CSN_DESCR_BEGIN(PNCD_Container_Without_ID_t)
M_UINT_ARRAY (PNCD_Container_Without_ID_t, CONTAINER, 8, 19),/* 8*19 bits */
CSN_DESCR_END (PNCD_Container_Without_ID_t)
-const
+static const
CSN_ChoiceElement_t PNCDContainer[] =
{
{1, 0x0, M_TYPE(PNCDContainer_t, u.PNCD_Container_Without_ID, PNCD_Container_Without_ID_t)},
{1, 0x1, M_TYPE(PNCDContainer_t, u.PNCD_Container_With_ID, PNCD_Container_With_ID_t)},
};
-const
+static const
CSN_DESCR_BEGIN(PNCDContainer_t)
M_CHOICE (PNCDContainer_t, UnionType, PNCDContainer, ElementsOf(PNCDContainer)),
CSN_DESCR_END (PNCDContainer_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Neighbour_Cell_Data_t)
M_UINT (Packet_Neighbour_Cell_Data_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Neighbour_Cell_Data_t, PAGE_MODE_v, 2),
@@ -3346,7 +3357,7 @@ CSN_DESCR_BEGIN(Packet_Neighbour_Cell_Data_t)
CSN_DESCR_END (Packet_Neighbour_Cell_Data_t)
/*< Packet Serving Cell Data message contents > */
-const
+static const
CSN_DESCR_BEGIN(Packet_Serving_Cell_Data_t)
M_UINT (Packet_Serving_Cell_Data_t, MESSAGE_TYPE_v, 6),
M_UINT (Packet_Serving_Cell_Data_t, PAGE_MODE_v, 2),
@@ -3360,27 +3371,27 @@ CSN_DESCR_END (Packet_Serving_Cell_Data_t)
/* Enhanced Measurement Report */
-const
+static const
CSN_DESCR_BEGIN (ServingCellData_t)
M_UINT (ServingCellData_t, RXLEV_SERVING_CELL, 6),
M_FIXED (ServingCellData_t, 1, 0),
CSN_DESCR_END (ServingCellData_t)
-const
+static const
CSN_DESCR_BEGIN (Repeated_Invalid_BSIC_Info_t)
M_UINT (Repeated_Invalid_BSIC_Info_t, BCCH_FREQ_NCELL, 5),
- M_UINT (Repeated_Invalid_BSIC_Info_t, BSIC, 6),
- M_UINT (Repeated_Invalid_BSIC_Info_t, RXLEV_NCELL, 5),
+ M_UINT (Repeated_Invalid_BSIC_Info_t, BSIC, 6),
+ M_UINT (Repeated_Invalid_BSIC_Info_t, RXLEV_NCELL, 5),
CSN_DESCR_END (Repeated_Invalid_BSIC_Info_t)
-const
+static const
CSN_DESCR_BEGIN (REPORTING_QUANTITY_t)
M_NEXT_EXIST (REPORTING_QUANTITY_t, Exist_REPORTING_QUANTITY, 1),
- M_UINT (REPORTING_QUANTITY_t, REPORTING_QUANTITY, 6),
+ M_UINT (REPORTING_QUANTITY_t, REPORTING_QUANTITY, 6),
CSN_DESCR_END (REPORTING_QUANTITY_t)
-const
+static const
CSN_DESCR_BEGIN (NC_MeasurementReport_t)
M_BIT (NC_MeasurementReport_t, NC_MODE),
M_UNION (NC_MeasurementReport_t, 2),
@@ -3401,14 +3412,14 @@ CSN_DESCR_END (NC_MeasurementReport_t)
/*< Packet Handover Command message content > */
-const
+static const
CSN_DESCR_BEGIN (GlobalTimeslotDescription_t)
M_UNION (GlobalTimeslotDescription_t, 2),
M_UINT (GlobalTimeslotDescription_t, u.MS_TimeslotAllocation, 8),
M_TYPE (GlobalTimeslotDescription_t, u.Power_Control_Parameters, Power_Control_Parameters_t),
CSN_DESCR_END (GlobalTimeslotDescription_t)
-const
+static const
CSN_DESCR_BEGIN (PHO_DownlinkAssignment_t)
M_UINT (PHO_DownlinkAssignment_t, TimeslotAllocation, 8),
M_UINT (PHO_DownlinkAssignment_t, PFI, 7),
@@ -3420,19 +3431,19 @@ CSN_DESCR_BEGIN (PHO_DownlinkAssignment_t)
M_UINT (PHO_DownlinkAssignment_t, EGPRS_WindowSize, 5),
CSN_DESCR_END (PHO_DownlinkAssignment_t)
-const
+static const
CSN_DESCR_BEGIN (PHO_USF_1_7_t)
M_NEXT_EXIST (PHO_USF_1_7_t, Exist_USF, 1),
M_UINT (PHO_USF_1_7_t, USF, 3),
CSN_DESCR_END (PHO_USF_1_7_t)
-const
+static const
CSN_DESCR_BEGIN (USF_AllocationArray_t)
M_UINT (USF_AllocationArray_t, USF_0, 3),
M_VAR_TARRAY_OFFSET (USF_AllocationArray_t, USF_1_7, PHO_USF_1_7_t, NBR_OfAllocatedTimeslots),
CSN_DESCR_END (USF_AllocationArray_t)
-const
+static const
CSN_DESCR_BEGIN (PHO_UplinkAssignment_t)
M_UINT (PHO_UplinkAssignment_t, PFI, 7),
M_BIT (PHO_UplinkAssignment_t, RLC_Mode),
@@ -3457,7 +3468,7 @@ CSN_DESCR_BEGIN (PHO_UplinkAssignment_t)
M_TYPE (PHO_UplinkAssignment_t, u.USF_AllocationArray, USF_AllocationArray_t),
CSN_DESCR_END (PHO_UplinkAssignment_t)
-const
+static const
CSN_DESCR_BEGIN (GlobalTimeslotDescription_UA_t)
M_TYPE (GlobalTimeslotDescription_UA_t, GlobalTimeslotDescription, GlobalTimeslotDescription_t),
M_NEXT_EXIST (GlobalTimeslotDescription_UA_t, Exist_PHO_UA, 3), /* Don't use M_REC_TARRAY as we don't support multiple TBFs */
@@ -3466,7 +3477,7 @@ CSN_DESCR_BEGIN (GlobalTimeslotDescription_UA_t)
M_FIXED (GlobalTimeslotDescription_UA_t, 1, 0x0), /* Escape recursive */
CSN_DESCR_END (GlobalTimeslotDescription_UA_t)
-const
+static const
CSN_DESCR_BEGIN (PHO_GPRS_t)
M_NEXT_EXIST (PHO_GPRS_t, Exist_ChannelCodingCommand, 1),
M_UINT (PHO_GPRS_t, ChannelCodingCommand, 2),
@@ -3479,7 +3490,7 @@ CSN_DESCR_BEGIN (PHO_GPRS_t)
M_FIXED (PHO_GPRS_t, 1, 0x0), /* Escape recursive */
CSN_DESCR_END (PHO_GPRS_t)
-const
+static const
CSN_DESCR_BEGIN (EGPRS_Description_t)
M_NEXT_EXIST (EGPRS_Description_t, Exist_EGPRS_WindowSize, 1),
M_UINT (EGPRS_Description_t, EGPRS_WindowSize, 5),
@@ -3489,7 +3500,7 @@ CSN_DESCR_BEGIN (EGPRS_Description_t)
M_UINT (EGPRS_Description_t, BEP_Period2, 4),
CSN_DESCR_END (EGPRS_Description_t)
-const
+static const
CSN_DESCR_BEGIN (DownlinkTBF_t)
M_NEXT_EXIST (DownlinkTBF_t, Exist_EGPRS_Description, 1),
M_TYPE (DownlinkTBF_t, EGPRS_Description, EGPRS_Description_t),
@@ -3499,7 +3510,7 @@ CSN_DESCR_BEGIN (DownlinkTBF_t)
M_FIXED (DownlinkTBF_t, 1, 0x0), /* Escape recursive */
CSN_DESCR_END (DownlinkTBF_t)
-const
+static const
CSN_DESCR_BEGIN (PHO_EGPRS_t)
M_NEXT_EXIST (PHO_EGPRS_t, Exist_EGPRS_WindowSize, 1),
M_UINT (PHO_EGPRS_t, EGPRS_WindowSize, 5),
@@ -3517,27 +3528,27 @@ CSN_DESCR_BEGIN (PHO_EGPRS_t)
M_TYPE (PHO_EGPRS_t, DownlinkTBF, DownlinkTBF_t),
CSN_DESCR_END (PHO_EGPRS_t)
-const
+static const
CSN_DESCR_BEGIN(PHO_TimingAdvance_t)
M_TYPE (PHO_TimingAdvance_t, GlobalPacketTimingAdvance, Global_Packet_Timing_Advance_t),
M_NEXT_EXIST (PHO_TimingAdvance_t, Exist_PacketExtendedTimingAdvance, 1),
M_UINT (PHO_TimingAdvance_t, PacketExtendedTimingAdvance, 2),
CSN_DESCR_END (PHO_TimingAdvance_t)
-const
+static const
CSN_DESCR_BEGIN(NAS_Container_t)
M_UINT (NAS_Container_t, NAS_ContainerLength, 7),
M_VAR_ARRAY (NAS_Container_t, NAS_Container, NAS_ContainerLength, 0),
CSN_DESCR_END (NAS_Container_t)
-const
+static const
CSN_DESCR_BEGIN(PS_HandoverTo_UTRAN_Payload_t)
M_UINT (PS_HandoverTo_UTRAN_Payload_t, RRC_ContainerLength, 8),
M_VAR_ARRAY (PS_HandoverTo_UTRAN_Payload_t, RRC_Container, RRC_ContainerLength, 0),
CSN_DESCR_END (PS_HandoverTo_UTRAN_Payload_t)
-const
+static const
CSN_DESCR_BEGIN(PHO_RadioResources_t)
M_NEXT_EXIST (PHO_RadioResources_t, Exist_HandoverReference, 1),
M_UINT (PHO_RadioResources_t, HandoverReference, 8),
@@ -3575,7 +3586,7 @@ CSN_DESCR_BEGIN(PHO_RadioResources_t)
M_TYPE (PHO_RadioResources_t, u.PHO_EGPRS_Mode, PHO_EGPRS_t),
CSN_DESCR_END (PHO_RadioResources_t)
-const
+static const
CSN_DESCR_BEGIN(PS_HandoverTo_A_GB_ModePayload_t)
M_FIXED (PS_HandoverTo_A_GB_ModePayload_t, 2, 0x00), /* For future extension to enum. */
M_TYPE (PS_HandoverTo_A_GB_ModePayload_t, PHO_RadioResources, PHO_RadioResources_t),
@@ -3584,7 +3595,7 @@ CSN_DESCR_BEGIN(PS_HandoverTo_A_GB_ModePayload_t)
M_TYPE (PS_HandoverTo_A_GB_ModePayload_t, NAS_Container, NAS_Container_t),
CSN_DESCR_END (PS_HandoverTo_A_GB_ModePayload_t)
-const
+static const
CSN_DESCR_BEGIN(Packet_Handover_Command_t)
M_UINT (Packet_Handover_Command_t, MessageType, 6),
M_UINT (Packet_Handover_Command_t, PageMode, 2),
@@ -3602,8 +3613,8 @@ CSN_DESCR_BEGIN(Packet_Handover_Command_t)
CSN_DESCR_END (Packet_Handover_Command_t)
typedef Packet_Handover_Command_t PHOCheck_t;
-
-const
+
+static const
CSN_DESCR_BEGIN(PHOCheck_t)
M_UINT (PHOCheck_t, MessageType, 6),
M_UINT (PHOCheck_t, PageMode, 2),
@@ -3615,7 +3626,7 @@ CSN_DESCR_END (PHOCheck_t)
/*< Packet Physical Information message content > */
-const
+static const
CSN_DESCR_BEGIN(Packet_PhysicalInformation_t)
M_UINT (Packet_PhysicalInformation_t, MessageType, 6),
M_UINT (Packet_PhysicalInformation_t, PageMode, 2),
@@ -3627,10 +3638,10 @@ CSN_DESCR_END (Packet_PhysicalInformation_t)
/*< End Packet Physical Information > */
-
+
typedef char* MT_Strings_t;
-const MT_Strings_t szMT_Downlink[] = {
+static const MT_Strings_t szMT_Downlink[] = {
"Invalid Message Type", /* 0x00 */
"PACKET_CELL_CHANGE_ORDER", /* 0x01 */
"PACKET_DOWNLINK_ASSIGNMENT", /* 0x02 */
@@ -3696,7 +3707,7 @@ const MT_Strings_t szMT_Downlink[] = {
"PACKET_SYSTEM_INFO_15" /* 0x3E */
};
-const MT_Strings_t szMT_Uplink[] = {
+static const MT_Strings_t szMT_Uplink[] = {
"PACKET_CELL_CHANGE_FAILURE", /* 0x00 */
"PACKET_CONTROL_ACKNOWLEDGEMENT", /* 0x01 */
"PACKET_DOWNLINK_ACK_NACK", /* 0x02 */
@@ -3713,7 +3724,8 @@ const MT_Strings_t szMT_Uplink[] = {
"PACKET_SI_STATUS", /* 0x0D */
};
-char* MT_DL_TextGet(guint8 mt)
+static char*
+MT_DL_TextGet(guint8 mt)
{
if (mt < ElementsOf(szMT_Downlink))
{
@@ -3725,7 +3737,8 @@ char* MT_DL_TextGet(guint8 mt)
}
}
-char* MT_UL_TextGet(guint8 mt)
+static char*
+MT_UL_TextGet(guint8 mt)
{
if (mt < ElementsOf(szMT_Uplink))
{
@@ -3740,7 +3753,7 @@ char* MT_UL_TextGet(guint8 mt)
/* SI1_RestOctet_t */
-const
+static const
CSN_DESCR_BEGIN (SI1_RestOctet_t)
M_NEXT_EXIST_LH(SI1_RestOctet_t, Exist_NCH_Position, 1),
M_UINT (SI1_RestOctet_t, NCH_Position, 5),
@@ -3749,7 +3762,7 @@ CSN_DESCR_BEGIN (SI1_RestOctet_t)
CSN_DESCR_END (SI1_RestOctet_t)
/* SI3_Rest_Octet_t */
-const
+static const
CSN_DESCR_BEGIN(Selection_Parameters_t)
M_UINT (Selection_Parameters_t, CBQ_v, 1),
M_UINT (Selection_Parameters_t, CELL_RESELECT_OFFSET_v, 6),
@@ -3757,17 +3770,17 @@ CSN_DESCR_BEGIN(Selection_Parameters_t)
M_UINT (Selection_Parameters_t, PENALTY_TIME_v, 5),
CSN_DESCR_END (Selection_Parameters_t)
-const
+static const
CSN_DESCR_BEGIN (SI3_Rest_Octet_t)
M_NEXT_EXIST_LH(SI3_Rest_Octet_t, Exist_Selection_Parameters, 1),
M_TYPE (SI3_Rest_Octet_t, Selection_Parameters, Selection_Parameters_t),
-
+
M_NEXT_EXIST_LH(SI3_Rest_Octet_t, Exist_Power_Offset, 1),
M_UINT (SI3_Rest_Octet_t, Power_Offset, 2),
M_UINT_LH (SI3_Rest_Octet_t, System_Information_2ter_Indicator, 1),
M_UINT_LH (SI3_Rest_Octet_t, Early_Classmark_Sending_Control, 1),
-
+
M_NEXT_EXIST_LH(SI3_Rest_Octet_t, Exist_WHERE_v, 1),
M_UINT (SI3_Rest_Octet_t, WHERE_v, 3),
@@ -3781,11 +3794,11 @@ CSN_DESCR_BEGIN (SI3_Rest_Octet_t)
M_UINT (SI3_Rest_Octet_t, SI2quaterIndicator, 1),
CSN_DESCR_END (SI3_Rest_Octet_t)
-const
+static const
CSN_DESCR_BEGIN (SI4_Rest_Octet_t)
M_NEXT_EXIST_LH(SI4_Rest_Octet_t, Exist_Selection_Parameters, 1),
M_TYPE (SI4_Rest_Octet_t, Selection_Parameters, Selection_Parameters_t),
-
+
M_NEXT_EXIST_LH(SI4_Rest_Octet_t, Exist_Power_Offset, 1),
M_UINT (SI4_Rest_Octet_t, Power_Offset, 2),
@@ -3796,7 +3809,7 @@ CSN_DESCR_END (SI4_Rest_Octet_t)
/* SI6_RestOctet_t */
-const
+static const
CSN_DESCR_BEGIN(PCH_and_NCH_Info_t)
M_UINT (PCH_and_NCH_Info_t, PagingChannelRestructuring, 1),
M_UINT (PCH_and_NCH_Info_t, NLN_SACCH_v, 2),
@@ -3807,7 +3820,7 @@ CSN_DESCR_BEGIN(PCH_and_NCH_Info_t)
M_UINT (PCH_and_NCH_Info_t, NLN_Status, 1),
CSN_DESCR_END (PCH_and_NCH_Info_t)
-const
+static const
CSN_DESCR_BEGIN (SI6_RestOctet_t)
M_NEXT_EXIST_LH(SI6_RestOctet_t, Exist_PCH_and_NCH_Info, 1),
M_TYPE (SI6_RestOctet_t, PCH_and_NCH_Info, PCH_and_NCH_Info_t),
@@ -3859,7 +3872,7 @@ dissect_gsm_rlcmac_uplink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
{
case MT_PACKET_CELL_CHANGE_FAILURE:
{
- /*
+ /*
* data is the pointer to the unpack struct that hold the unpack value
* CSNDESCR is an array that holds the different element types
* ar is the csn context holding the bitcount, offset and output
@@ -3933,8 +3946,8 @@ dissect_gsm_rlcmac_uplink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
ret = csnStreamDissector(rlcmac_tree, &ar, CSNDESCR(Packet_SI_Status_t), tvb, &data->u.Packet_SI_Status, ett_gsm_rlcmac);
break;
}
- default:
- ret = -1;
+ default:
+ ret = -1;
break;
}
}
@@ -3944,7 +3957,7 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
{
csnStream_t ar;
proto_item *ti;
- proto_tree *rlcmac_tree = NULL;
+ proto_tree *rlcmac_tree = NULL;
RlcMacDownlink_t * data =(RlcMacDownlink_t *) ep_alloc(sizeof(RlcMacDownlink_t));
MSGGPRS_Status_t ret;
@@ -3953,9 +3966,9 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
gint bit_length;
guint8 payload_type = tvb_get_bits8(tvb, 0, 2);
guint8 rbsn = tvb_get_bits8(tvb, 8, 1);
- guint8 fs = tvb_get_bits8(tvb, 14, 1);
- guint8 ac = tvb_get_bits8(tvb, 15, 1);
-
+ guint8 fs = tvb_get_bits8(tvb, 14, 1);
+ guint8 ac = tvb_get_bits8(tvb, 15, 1);
+
if (payload_type == PAYLOAD_TYPE_DATA)
{
ti = proto_tree_add_text(tree, tvb, 0, 1, "Payload Type: DATA (0), not implemented");
@@ -3967,7 +3980,7 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
return;
}
/* We can decode the message */
- else
+ else
{
/* First print the message type and create a tree item */
bit_offset = 8;
@@ -3991,7 +4004,7 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
{
col_add_str(pinfo->cinfo, COL_INFO, MT_DL_TextGet(data->u.MESSAGE_TYPE_v));
}
-
+
/* Dissect the MAC header */
proto_tree_add_bits_item(rlcmac_tree, hf_dl_ctrl_payload_type, tvb, 0, 2, FALSE);
proto_tree_add_bits_item(rlcmac_tree, hf_dl_ctrl_rrbp, tvb, 2, 2, FALSE);
@@ -4018,7 +4031,7 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
proto_tree_add_bits_item(rlcmac_tree, hf_dl_ctrl_d, tvb, 23, 1, FALSE);
}
}
- }
+ }
/* Initialize the contexts */
bit_length = tvb_length(tvb)*8 - bit_offset;
@@ -4129,7 +4142,7 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
ret = csnStreamDissector(rlcmac_tree, &ar, CSNDESCR(Packet_Downlink_Dummy_Control_Block_t), tvb, &data->u.Packet_Downlink_Dummy_Control_Block, ett_gsm_rlcmac);
break;
}
- default: ret = -1;
+ default: ret = -1;
break;
}
}
@@ -4139,107 +4152,107 @@ dissect_gsm_rlcmac_downlink(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
void
proto_register_gsm_rlcmac(void)
{
- /* Setup protocol subtree array */
+ /* Setup protocol subtree array */
static gint *ett[] = {
&ett_gsm_rlcmac,
};
static hf_register_info hf[] = {
{ &hf_dl_ctrl_payload_type,
- { "Payload Type",
- "gsm_rlcmac_dl.ctrl_payload_type",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ { "Payload Type",
+ "gsm_rlcmac_dl.ctrl_payload_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_rrbp,
+ { &hf_dl_ctrl_rrbp,
{ "RRBP",
- "gsm_rlcmac_dl.rrbp",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.rrbp",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
{ &hf_dl_ctrl_s_p,
- { "S/P",
- "gsm_rlcmac_dl.s_p",
- FT_BOOLEAN, BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ { "S/P",
+ "gsm_rlcmac_dl.s_p",
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_usf,
+ { &hf_dl_ctrl_usf,
{ "USF",
- "gsm_rlcmac_dl.usf",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.usf",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
{ &hf_dl_ctrl_rbsn,
- { "RBSN",
- "gsm_rlcmac_dl.rbsn",
- FT_BOOLEAN,BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ { "RBSN",
+ "gsm_rlcmac_dl.rbsn",
+ FT_BOOLEAN,BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_rti,
+ { &hf_dl_ctrl_rti,
{ "RTI",
- "gsm_rlcmac_dl.rti",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.rti",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
{ &hf_dl_ctrl_fs,
- { "FS",
- "gsm_rlcmac_dl.fs",
- FT_BOOLEAN,BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ { "FS",
+ "gsm_rlcmac_dl.fs",
+ FT_BOOLEAN,BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_ac,
+ { &hf_dl_ctrl_ac,
{ "AC",
- "gsm_rlcmac_dl.ac",
- FT_BOOLEAN,BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.ac",
+ FT_BOOLEAN,BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_pr,
+ { &hf_dl_ctrl_pr,
{ "PR",
- "gsm_rlcmac_dl.pr",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.pr",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_tfi,
+ { &hf_dl_ctrl_tfi,
{ "TFI",
- "gsm_rlcmac_dl.tfi",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.tfi",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_d,
+ { &hf_dl_ctrl_d,
{ "D",
- "gsm_rlcmac_dl.d",
- FT_BOOLEAN,BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.d",
+ FT_BOOLEAN,BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_rbsn_e,
+ { &hf_dl_ctrl_rbsn_e,
{ "RBSNe",
- "gsm_rlcmac_dl.rbsn_e",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.rbsn_e",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_fs_e,
+ { &hf_dl_ctrl_fs_e,
{ "FSe",
- "gsm_rlcmac_dl.fs_e",
- FT_BOOLEAN,BASE_NONE, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.fs_e",
+ FT_BOOLEAN,BASE_NONE, NULL, 0x0,
+ NULL, HFILL
}
},
- { &hf_dl_ctrl_spare,
+ { &hf_dl_ctrl_spare,
{ "spare",
- "gsm_rlcmac_dl.spare",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL
+ "gsm_rlcmac_dl.spare",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
}
},
};
@@ -4256,7 +4269,3 @@ proto_register_gsm_rlcmac(void)
register_dissector("gsm_rlcmac_dl", dissect_gsm_rlcmac_downlink, proto_gsm_rlcmac);
}
-void
-proto_reg_handoff_gsm_rlcmac(void)
-{
-}
diff --git a/epan/dissectors/packet-gsm_rlcmac.h b/epan/dissectors/packet-gsm_rlcmac.h
index 4ee4e89e7c..04dd79beda 100644
--- a/epan/dissectors/packet-gsm_rlcmac.h
+++ b/epan/dissectors/packet-gsm_rlcmac.h
@@ -1,6 +1,6 @@
/* packet-gsm_rlcmac.h
* Definitions for GSM RLC MAC control plane message dissection in wireshark.
- * TS 44.060 and 24.008
+ * TS 44.060 and 24.008
* By Vincent Helfre
* Copyright (c) 2011 ST-Ericsson
*
@@ -27,7 +27,7 @@
#ifndef __PACKET_GSM_RLCMAC_H__
#define __PACKET_GSM_RLCMAC_H__
-
+
#include <stdio.h>
#include <string.h>
#include <glib.h>
@@ -187,13 +187,13 @@ typedef PRE_PACKED struct
typedef struct
{
- guint8 MCC1:4;
- guint8 MCC2:4;
- guint8 MCC3:4;
- guint8 MNC3:4;
- guint8 MNC1:4;
- guint8 MNC2:4;
-} PLMN_t;
+ guint8 MCC1:4;
+ guint8 MCC2:4;
+ guint8 MCC3:4;
+ guint8 MNC3:4;
+ guint8 MNC1:4;
+ guint8 MNC2:4;
+} PLMN_t;
/** This type is used to describe LAI codes */
@@ -259,7 +259,7 @@ typedef enum
LAI_PRIORITY_FORCED
}LAI_Priority_t;
-typedef enum
+typedef enum
{
NOM_I,
NOM_II,
@@ -295,14 +295,14 @@ typedef struct
PLMN_t Element[MAX_ELEMENTS_IN_EQPLMN_LIST];
}EqPLMN_List_t;
-#define MAX_PCCCH 16
-#define MAX_RFL_LENGTH 16 /* length of RFL in PSI2 */
-#define MAX_RFLS 4 /* Max number of RFLs */
-#define MAX_MA_LISTS_IN_PSI2 8 /* MAX MA lists = 8 */
+#define MAX_PCCCH 16
+#define MAX_RFL_LENGTH 16 /* length of RFL in PSI2 */
+#define MAX_RFLS 4 /* Max number of RFLs */
+#define MAX_MA_LISTS_IN_PSI2 8 /* MAX MA lists = 8 */
#define MAX_ALLOCATION_BITMAP_LENGTH 128 /* max length of Fixed Allocation bitmap in BITS (2^7) */
#define MAX_VAR_LENGTH_BITMAP_LENGTH 176 /* max length ever possible for variable length fixed allocation bitmap */
-#define MAX_RRC_CONTAINER_LENGTH 255
-#define MAX_NAS_CONTAINER_LENGTH 127
+#define MAX_RRC_CONTAINER_LENGTH 255
+#define MAX_NAS_CONTAINER_LENGTH 127
typedef struct
@@ -508,7 +508,7 @@ typedef struct
} EGPRS_TwoPhaseAccess_t;
typedef struct
-{
+{
guint8 TFI_ASSIGNMENT_v;
guint8 POLLING_v;
@@ -518,7 +518,7 @@ typedef struct
DynamicAllocation_t DynamicAllocation;
guint8 FixedAllocationDummy; /* Fixed Allocation was removed */
} Allocation;
-
+
guint8 EGPRS_CHANNEL_CODING_COMMAND_v;
guint8 TLLI_BLOCK_CHANNEL_CODING_v;
@@ -532,7 +532,7 @@ typedef struct
guint8 ALPHA_v;
guint8 GAMMA_v;
-
+
gboolean Exist_TIMING_ADVANCE_INDEX_v;
guint8 TIMING_ADVANCE_INDEX_v;
@@ -640,7 +640,7 @@ typedef struct
{
guint8 EGPRS_WindowSize;
guint8 LINK_QUALITY_MEASUREMENT_MODE_v;
-
+
gboolean Exist_BEP_PERIOD2_v;
guint8 BEP_PERIOD2_v;
} PD_IA_AdditionsR99_t;
@@ -1011,7 +1011,7 @@ typedef struct
guint8 Exist_A5_bits;
A5_bits_t A5_bits;
- /*-- zero means that the same values apply for parameters as in the immediately preceeding Access capabilities field within this IE
+ /*-- zero means that the same values apply for parameters as in the immediately preceeding Access capabilities field within this IE
*-- The presence of the A5 bits is mandatory in the 1st Access capabilies struct within this IE.
*/
@@ -1048,7 +1048,7 @@ typedef struct
/* -------- R5 additions */
guint8 Exist_HighMultislotCapability;
guint8 HighMultislotCapability;
-
+
guint8 Exist_GERAN_lu_ModeCapability;
guint8 GERAN_lu_ModeCapability;
@@ -1129,7 +1129,7 @@ typedef struct
guint8 EDGE_RF_PwrCap2;
} EDGE_RF_Pwr_t;
-typedef struct
+typedef struct
{
guint8 A5_Bits;
guint8 Arc2_Spare;
@@ -1139,7 +1139,7 @@ typedef struct
typedef struct
{
guint8 Multiband_v;
- union
+ union
{
guint8 A5_Bits;
ARC_t ARC;
@@ -1150,7 +1150,7 @@ typedef struct /* MS classmark 3 R99 */
{
guint8 Spare1;
Multiband_t Multiband;
-
+
guint8 Exist_R_Support;
guint8 R_GSM_Arc;
@@ -1192,7 +1192,7 @@ typedef struct /* MS classmark 3 R99 */
guint8 DTM_GPRS_multislot_class;
guint8 Single_Slot_DTM;
DTM_EGPRS_t DTM_EGPRS_Params;
-
+
/* -------- R4 additions */
guint8 Exist_SingleBandSupport;
guint8 GSM_Band;
@@ -1210,7 +1210,7 @@ typedef struct /* MS classmark 3 R99 */
/* -------- R5 additions */
guint8 Exist_HighMultislotCapability;
guint8 HighMultislotCapability;
-
+
guint8 Exist_GERAN_lu_ModeCapability;
guint8 GERAN_lu_ModeCapability;
@@ -1319,7 +1319,7 @@ typedef struct
MS_Radio_Access_capability_t MS_Radio_Access_capability;
Channel_Request_Description_t Channel_Request_Description;
-
+
guint8 Exist_CHANGE_MARK_v;
guint8 CHANGE_MARK_v;
@@ -1457,7 +1457,7 @@ typedef struct
guint16 ARFCN_v;
guint8 BSIC_v;
guint8 CAUSE_v;
- gboolean Exist_AdditionsR99;
+ gboolean Exist_AdditionsR99;
PCCF_AdditionsR99_t AdditionsR99;
} Packet_Cell_Change_Failure_t;
@@ -1499,7 +1499,7 @@ typedef struct
{
guint8 MESSAGE_TYPE_v;
guint8 PayloadType;
- guint8 spare;
+ guint8 spare;
guint8 R;
guint8 DOWNLINK_TFI_v;
@@ -1565,8 +1565,8 @@ typedef struct
typedef struct
{
- guint8 EGPRS_ChannelCodingCommand;
- guint8 RESEGMENT_v;
+ guint8 EGPRS_ChannelCodingCommand;
+ guint8 RESEGMENT_v;
guint8 PRE_EMPTIVE_TRANSMISSION_v;
guint8 PRR_RETRANSMISSION_REQUEST_v;
guint8 ARAC_RETRANSMISSION_REQUEST_v;
@@ -1813,7 +1813,7 @@ typedef struct
gboolean Exist_ALPHA_GAMMA_TN_v;
guint8 ALPHA_v;
- guint8 GAMMA_TN_v;
+ guint8 GAMMA_TN_v;
gboolean Exist_P0_BTS_PWR_CTRL_PR_MODE;
guint8 P0_v;
@@ -1935,7 +1935,7 @@ typedef struct
gboolean Exist_PFI_v;
guint8 PFI_v;
}DTM_Channel_Request_Description_t;
-
+
/* < Packet Downlink Assignment message content > */
typedef struct
{
@@ -1959,7 +1959,7 @@ typedef struct
gboolean Exist_EGPRS_Params; /* if Exist_EGPRS_Params == FALSE then none of the following 4 vars exist */
guint8 EGPRS_WindowSize;
guint8 LINK_QUALITY_MEASUREMENT_MODE_v;
- gboolean Exist_BEP_PERIOD2_v;
+ gboolean Exist_BEP_PERIOD2_v;
guint8 BEP_PERIOD2_v;
gboolean Exist_Packet_Extended_Timing_Advance;
@@ -2072,7 +2072,7 @@ typedef struct
TMSI_t TMSI_v;
struct MobileId Mobile_Identity;
} u;
-
+
guint8 CHANNEL_NEEDED_v;
guint8 Exist_eMLPP_PRIORITY;
@@ -2137,7 +2137,7 @@ typedef struct
{
Global_Packet_Timing_Advance_t Global_Packet_Timing_Advance;
Power_Control_Parameters_t Power_Control_Parameters;
- } u;
+ } u;
} GlobalTimingOrPower_t;
typedef struct
@@ -2585,7 +2585,7 @@ typedef struct
guint16 ARFCN_v;
h_CG_t h_CG;
} u;
-
+
guint8 TIMESLOT_ALLOCATION_v;
} Channel_Group_t;
@@ -2688,26 +2688,26 @@ typedef struct
/* < Packet Cell Change Order message content > */
typedef struct
{
- guint8 CELL_BAR_ACCESS_2_v;
- guint8 EXC_ACC_v;
- guint8 SAME_RA_AS_SERVING_CELL_v;
+ guint8 CELL_BAR_ACCESS_2_v;
+ guint8 EXC_ACC_v;
+ guint8 SAME_RA_AS_SERVING_CELL_v;
- guint8 Exist_RXLEV_and_TXPWR;
- guint8 GPRS_RXLEV_ACCESS_MIN_v;
- guint8 GPRS_MS_TXPWR_MAX_CCH_v;
+ guint8 Exist_RXLEV_and_TXPWR;
+ guint8 GPRS_RXLEV_ACCESS_MIN_v;
+ guint8 GPRS_MS_TXPWR_MAX_CCH_v;
- guint8 Exist_OFFSET_and_TIME;
- guint8 GPRS_TEMPORARY_OFFSET_v;
- guint8 GPRS_PENALTY_TIME_v;
+ guint8 Exist_OFFSET_and_TIME;
+ guint8 GPRS_TEMPORARY_OFFSET_v;
+ guint8 GPRS_PENALTY_TIME_v;
- guint8 Exist_GPRS_RESELECT_OFFSET_v;
- guint8 GPRS_RESELECT_OFFSET_v;
+ guint8 Exist_GPRS_RESELECT_OFFSET_v;
+ guint8 GPRS_RESELECT_OFFSET_v;
- guint8 Exist_HCS;
- HCS_t HCS;
+ guint8 Exist_HCS;
+ HCS_t HCS;
- guint8 Exist_SI13_PBCCH_Location;
- SI13_PBCCH_Location_t SI13_PBCCH_Location;
+ guint8 Exist_SI13_PBCCH_Location;
+ SI13_PBCCH_Location_t SI13_PBCCH_Location;
} Cell_Selection_2_t;
typedef struct
@@ -2737,8 +2737,8 @@ typedef struct
guint8 NR_OF_FREQUENCIES_v;
guint8 FREQ_DIFF_LENGTH_v;
-
-
+
+
CellSelectionParamsWithFreqDiff_t CellSelectionParamsWithFreqDiff[32];
} Add_Frequency_list_t;
@@ -2826,7 +2826,7 @@ typedef struct
guint8 NUMBER_OF_NC_MEASUREMENTS_v;
NC_Measurements_t NC_Measurements[6]; /* NC_Measurements * (val(NUMBER_OF_NC_MEASUREMENTS_v))
- Max 7 NC Measurements in one PACKET MEASUREMENT REPORT,
+ Max 7 NC Measurements in one PACKET MEASUREMENT REPORT,
but only 6 cells are updated in PACKET IDLE. */
} NC_Measurement_Report_t;
@@ -2907,7 +2907,7 @@ typedef struct
BA_USED_t BA_USED;
guint8 PSI3_CHANGE_MARK_v;
} u;
-
+
guint8 PMO_USED_v;
guint8 BSIC_Seen;
guint8 SCALE_v;
@@ -2920,7 +2920,7 @@ typedef struct
guint8 Exist_ReportBitmap;
guint8 Count_REPORTING_QUANTITY_Instances;
- REPORTING_QUANTITY_Instance_t REPORTING_QUANTITY_Instances[REPORT_QUANTITY_LIST_LEN];
+ REPORTING_QUANTITY_Instance_t REPORTING_QUANTITY_Instances[REPORT_QUANTITY_LIST_LEN];
} ENH_NC_Measurement_Report_t;
@@ -2942,14 +2942,14 @@ typedef struct
guint8 NUMBER_OF_NC_MEASUREMENTS_v;
NC_Measurements_t NC_Measurements[6]; /* NC_Measurements * (val(NUMBER_OF_NC_MEASUREMENTS_v))
- Max 7 NC Measurements in one PACKET MEASUREMENT REPORT,
+ Max 7 NC Measurements in one PACKET MEASUREMENT REPORT,
but only 6 cells are updated in PACKET IDLE. */
} CCN_Measurement_Report_t;
typedef struct
{
guint16 ARFCN_v;
- guint8 BSIC_v;
+ guint8 BSIC_v;
} Target_Cell_GSM_Notif_t;
typedef struct
@@ -2997,9 +2997,9 @@ typedef struct
guint8 R;
Global_TFI_t Global_TFI;
-
+
Target_Cell_t Target_Cell;
-
+
guint8 UnionType;
union
{
@@ -3009,7 +3009,7 @@ typedef struct
guint8 PMO_USED_v;
guint8 PCCN_SENDING;
CCN_Measurement_Report_t CCN_Measurement_Report;
-
+
gboolean Exist_AdditionsR6;
PCCN_AdditionsR6_t AdditionsR6;
} Packet_Cell_Change_Notification_t;
@@ -3092,7 +3092,7 @@ typedef struct
guint8 MULTI_BAND_REPORTING_v;
guint8 Exist_SERVING_BAND_REPORTING;
- guint8 SERVING_BAND_REPORTING_v;
+ guint8 SERVING_BAND_REPORTING_v;
/* Warning:
*
@@ -3120,7 +3120,7 @@ typedef struct
guint8 Exist_OffsetThreshold850;
OffsetThreshold_t OffsetThreshold850;
-
+
} MeasurementParams_t;
typedef MeasurementParams_t GPRSMeasurementParams_PMO_PCCO_t;
@@ -3168,7 +3168,7 @@ typedef struct
typedef struct
{
- guint8 Qsearch_p;
+ guint8 Qsearch_p;
guint8 SearchPrio3G;
guint8 existRepParamsFDD;
@@ -3176,7 +3176,7 @@ typedef struct
guint8 MultiratReportingFDD;
guint8 existReportingParamsFDD;
- guint8 ReportingOffsetFDD;
+ guint8 ReportingOffsetFDD;
guint8 ReportingThresholdFDD;
guint8 existMultiratReportingTDD;
@@ -3199,7 +3199,7 @@ typedef struct
guint8 N2_Count;
N2_t N2s[32];
} N1_t;
-
+
typedef struct
{
guint8 N1_Count;
@@ -3223,7 +3223,7 @@ typedef struct {
typedef struct {
gboolean existBandwidth;
guint8 Bandwidth;
- guint8 NrOfFrequencies;
+ guint8 NrOfFrequencies;
UTRAN_FDD_NeighbourCells_t CellParams[8];
} UTRAN_FDD_Description_t;
@@ -3250,9 +3250,9 @@ typedef struct
guint8 Exist_Absolute_Index_Start_EMR_v;
guint8 Absolute_Index_Start_EMR_v;
guint8 Exist_UTRAN_FDD_Description;
- UTRAN_FDD_Description_t UTRAN_FDD_Description;
+ UTRAN_FDD_Description_t UTRAN_FDD_Description;
guint8 Exist_UTRAN_TDD_Description;
- UTRAN_TDD_Description_t UTRAN_TDD_Description;
+ UTRAN_TDD_Description_t UTRAN_TDD_Description;
guint8 Exist_CDMA2000_Description;
CDMA2000_Description_t CDMA2000_Description;
guint8 Exist_Removed3GCellDescription;
@@ -3266,9 +3266,9 @@ typedef struct
guint8 Exist_Absolute_Index_Start_EMR_v;
guint8 Absolute_Index_Start_EMR_v;
guint8 Exist_UTRAN_FDD_Description;
- UTRAN_FDD_Description_t UTRAN_FDD_Description;
+ UTRAN_FDD_Description_t UTRAN_FDD_Description;
guint8 Exist_UTRAN_TDD_Description;
- UTRAN_TDD_Description_t UTRAN_TDD_Description;
+ UTRAN_TDD_Description_t UTRAN_TDD_Description;
guint8 Exist_Removed3GCellDescription;
Removed3GCellDescription_t Removed3GCellDescription;
} NeighbourCellDescription3G_PCCO_t;
@@ -3281,16 +3281,16 @@ typedef struct
BA_IND_t BA_IND;
guint8 PSI3_CHANGE_MARK_v;
} u;
-
+
guint8 PMO_IND_v;
-
+
guint8 REPORT_TYPE_v;
guint8 REPORTING_RATE_v;
guint8 INVALID_BSIC_REPORTING_v;
-
+
gboolean Exist_NeighbourCellDescription3G;
NeighbourCellDescription3G_PMO_t NeighbourCellDescription3G;
-
+
gboolean Exist_GPRSReportPriority;
GPRSReportPriority_t GPRSReportPriority;
@@ -3308,16 +3308,16 @@ typedef struct
BA_IND_t BA_IND;
guint8 PSI3_CHANGE_MARK_v;
} u;
-
+
guint8 PMO_IND_v;
-
+
guint8 REPORT_TYPE_v;
guint8 REPORTING_RATE_v;
guint8 INVALID_BSIC_REPORTING_v;
-
+
gboolean Exist_NeighbourCellDescription3G;
NeighbourCellDescription3G_PCCO_t NeighbourCellDescription3G;
-
+
gboolean Exist_GPRSReportPriority;
GPRSReportPriority_t GPRSReportPriority;
@@ -3427,14 +3427,14 @@ typedef struct
guint8 NumberOfFrequencyIndexes;
guint8 UTRAN_FREQUENCY_INDEX_a[18];
- gboolean existUTRAN_PRIORITY;
+ gboolean existUTRAN_PRIORITY;
guint8 UTRAN_PRIORITY;
-
+
guint8 THRESH_UTRAN_high;
-
+
gboolean existTHRESH_UTRAN_low;
guint8 THRESH_UTRAN_low;
-
+
gboolean existUTRAN_QRXLEVMIN;
guint8 UTRAN_QRXLEVMIN;
} RepeatedUTRAN_PriorityParameters_t;
@@ -3714,7 +3714,7 @@ typedef struct
{
guint8 Exist_LSA_Parameters;
LSA_Parameters_t LSA_Parameters;
-
+
guint8 Exist_AdditionsR99;
PMO_AdditionsR99_t AdditionsR99;
} PMO_AdditionsR98_t;
@@ -3723,7 +3723,7 @@ typedef struct
{
guint8 Exist_LSA_Parameters;
LSA_Parameters_t LSA_Parameters;
-
+
guint8 Exist_AdditionsR99;
PCCO_AdditionsR99_t AdditionsR99;
} PCCO_AdditionsR98_t;
@@ -3734,7 +3734,7 @@ typedef struct
guint16 ARFCN_v;
guint8 BSIC_v;
NC_Measurement_Parameters_with_Frequency_List_t NC_Measurement_Parameters;
-
+
guint8 Exist_AdditionsR98;
PCCO_AdditionsR98_t AdditionsR98;
} Target_Cell_GSM_t;
@@ -3765,7 +3765,7 @@ typedef struct
Target_Cell_GSM_t Target_Cell_GSM;
Target_Cell_3G_t Target_Cell_3G;
} u;
-
+
} Packet_Cell_Change_Order_t;
/* < Packet Cell Change Continue message contents > */
@@ -3889,17 +3889,17 @@ typedef struct
typedef struct
{
- guint8 NC_MODE;
+ guint8 NC_MODE;
guint8 UnionType;
union
{
- BA_USED_t BA_USED;
- guint8 PSI3_CHANGE_MARK;
+ BA_USED_t BA_USED;
+ guint8 PSI3_CHANGE_MARK;
} u;
guint8 PMO_USED;
guint8 SCALE;
guint8 Exist_ServingCellData;
- ServingCellData_t ServingCellData;
+ ServingCellData_t ServingCellData;
guint8 Count_Repeated_Invalid_BSIC_Info;
Repeated_Invalid_BSIC_Info_t Repeated_Invalid_BSIC_Info[32];
@@ -3924,7 +3924,7 @@ typedef struct
{
guint8 TimeslotAllocation;
guint8 PFI;
- guint8 RLC_Mode;
+ guint8 RLC_Mode;
guint8 TFI_Assignment;
guint8 ControlACK;
guint8 Exist_EGPRS_WindowSize;
@@ -3954,8 +3954,8 @@ typedef struct
guint8 Exist_EGPRS_ChannelCodingCommand;
guint8 EGPRS_ChannelCodingCommand;
guint8 Exist_EGPRS_WindowSize;
- guint8 EGPRS_WindowSize;
- guint8 USF_Granularity;
+ guint8 EGPRS_WindowSize;
+ guint8 USF_Granularity;
guint8 Exist_TBF_TimeslotAllocation;
guint8 TBF_TimeslotAllocation;
guint8 UnionType;
@@ -4020,19 +4020,19 @@ typedef struct
Global_Packet_Timing_Advance_t GlobalPacketTimingAdvance;
guint8 Exist_PacketExtendedTimingAdvance;
guint8 PacketExtendedTimingAdvance;
-} PHO_TimingAdvance_t;
+} PHO_TimingAdvance_t;
typedef struct
{
guint8 NAS_ContainerLength;
guint8 NAS_Container[MAX_NAS_CONTAINER_LENGTH];
-} NAS_Container_t;
+} NAS_Container_t;
typedef struct
{
guint8 RRC_ContainerLength;
guint8 RRC_Container[MAX_RRC_CONTAINER_LENGTH];
-} PS_HandoverTo_UTRAN_Payload_t;
+} PS_HandoverTo_UTRAN_Payload_t;
typedef struct
@@ -4074,7 +4074,7 @@ typedef struct
guint8 Exist_NAS_Container;
NAS_Container_t NAS_Container;
} PS_HandoverTo_A_GB_ModePayload_t;
-
+
typedef struct
{
guint8 MessageType;
@@ -4228,7 +4228,7 @@ typedef struct
* 2. after successful unpacking it will hold the number of bits unpacked from a message.
* This will be needed for some EGPRS messages to compute the length of included variable bitmap
*/
- gint16 NrOfBits;
+ gint16 NrOfBits;
} RlcMacDownlink_t;
typedef gint16 MSGGPRS_Status_t;
@@ -4288,7 +4288,7 @@ typedef struct
guint8 Exist_WHERE_v;
guint8 WHERE_v;
-
+
guint8 Exist_GPRS_Indicator;
guint8 RA_COLOUR_v;
guint8 SI13_POSITION_v;
@@ -4339,7 +4339,7 @@ typedef struct
* FALSE => DTM is not supported in the serving cell, RAC and MAX_LAPDm are absent in bitstream
* TRUE => DTM is supported in the serving cell, RAC and MAX_LAPDm are present in bitstream
*/
- gboolean Exist_DTM_Support;
+ gboolean Exist_DTM_Support;
guint8 RAC_v;
guint8 MAX_LAPDm_v;
@@ -4350,14 +4350,14 @@ typedef struct
* Enhanced Measurement Report. TS 04.18 9.1.55. *
*************************************************/
-typedef struct
+typedef struct
{
- guint8 DTX_USED;
- guint8 RXLEV_VAL;
- guint8 RX_QUAL_FULL;
- guint8 MEAN_BEP;
- guint8 CV_BEP;
- guint8 NBR_RCVD_BLOCKS;
+ guint8 DTX_USED;
+ guint8 RXLEV_VAL;
+ guint8 RX_QUAL_FULL;
+ guint8 MEAN_BEP;
+ guint8 CV_BEP;
+ guint8 NBR_RCVD_BLOCKS;
} EMR_ServingCell_t;
typedef struct
@@ -4379,8 +4379,8 @@ typedef struct
guint8 Exist_ReportBitmap;
guint8 Count_REPORTING_QUANTITY_Instances; /* Number of instances */
- REPORTING_QUANTITY_Instance_t REPORTING_QUANTITY_Instances[REPORT_QUANTITY_LIST_LEN];
-
+ REPORTING_QUANTITY_Instance_t REPORTING_QUANTITY_Instances[REPORT_QUANTITY_LIST_LEN];
+
} EnhancedMeasurementReport_t;
#endif /* __PACKET_GSM_RLCMAC_H__ */