public HandoverCommand_r8_IEs Decode(BitArrayInputStream input) { HandoverCommand_r8_IEs es = new HandoverCommand_r8_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); int nBits = input.readBits(8); es.handoverCommandMessage = input.readOctetString(nBits); if (stream.Read()) { es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input); } return(es); }
public SystemInformationBlockType5_v9e0_IEs Decode(BitArrayInputStream input) { var es = new SystemInformationBlockType5_v9e0_IEs(); es.InitDefaults(); var stream = new BitMaskStream(input, 2); if (stream.Read()) { es.interFreqCarrierFreqList_v9e0 = new List <InterFreqCarrierFreqInfo_v9e0>(); var nBits = 3; var num3 = input.ReadBits(nBits) + 1; for (var i = 0; i < num3; i++) { var item = InterFreqCarrierFreqInfo_v9e0.PerDecoder.Instance.Decode(input); es.interFreqCarrierFreqList_v9e0.Add(item); } } if (stream.Read()) { es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input); } return(es); }
public measResultLastServCell_r9_Type Decode(BitArrayInputStream input) { measResultLastServCell_r9_Type type = new measResultLastServCell_r9_Type(); type.InitDefaults(); bool flag = false; BitMaskStream stream = flag ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); type.rsrpResult_r9 = input.ReadBits(7); if (stream.Read()) { type.rsrqResult_r9 = input.ReadBits(6); } return(type); }
public cellReselectionInfoCommon_Type Decode(BitArrayInputStream input) { var type = new cellReselectionInfoCommon_Type(); type.InitDefaults(); var stream = new BitMaskStream(input, 1); const int nBits = 4; type.q_Hyst = (q_Hyst_Enum)input.ReadBits(nBits); if (stream.Read()) { type.speedStateReselectionPars = speedStateReselectionPars_Type.PerDecoder.Instance.Decode(input); } return(type); }
public MBMS_SessionInfo_r9 Decode(BitArrayInputStream input) { MBMS_SessionInfo_r9 _r = new MBMS_SessionInfo_r9(); _r.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); _r.tmgi_r9 = TMGI_r9.PerDecoder.Instance.Decode(input); if (stream.Read()) { _r.sessionId_r9 = input.readOctetString(1); } _r.logicalChannelIdentity_r9 = input.ReadBits(5); return(_r); }
public SystemInformationBlockType1 Decode(BitArrayInputStream input) { var type = new SystemInformationBlockType1(); type.InitDefaults(); var stream = new BitMaskStream(input, 3); type.cellAccessRelatedInfo = cellAccessRelatedInfo_Type.PerDecoder.Instance.Decode(input); type.cellSelectionInfo = cellSelectionInfo_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.p_Max = input.readBits(6) + -30; } type.freqBandIndicator = input.readBits(6) + 1; type.schedulingInfoList = new List <SchedulingInfo>(); var nBits = 5; var num3 = input.readBits(nBits) + 1; for (var i = 0; i < num3; i++) { var item = SchedulingInfo.PerDecoder.Instance.Decode(input); type.schedulingInfoList.Add(item); } if (stream.Read()) { type.tdd_Config = TDD_Config.PerDecoder.Instance.Decode(input); } nBits = 3; type.si_WindowLength = (si_WindowLength_Enum)input.readBits(nBits); type.systemInfoValueTag = input.readBits(5); if (stream.Read()) { type.nonCriticalExtension = SystemInformationBlockType1_v890_IEs.PerDecoder.Instance.Decode(input); } return(type); }
public UEInformationResponse_v12xy_IEs Decode(BitArrayInputStream input) { UEInformationResponse_v12xy_IEs es = new UEInformationResponse_v12xy_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); if (stream.Read()) { es.mobilityHistoryReport_r12 = new List <VisitedCellInfo_r12>(); const int nBits = 4; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { VisitedCellInfo_r12 item = VisitedCellInfo_r12.PerDecoder.Instance.Decode(input); es.mobilityHistoryReport_r12.Add(item); } } if (stream.Read()) { es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input); } return(es); }
public PhyLayerParameters_v1020 Decode(BitArrayInputStream input) { int num2; PhyLayerParameters_v1020 _v = new PhyLayerParameters_v1020(); _v.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 7); if (stream.Read()) { num2 = 1; _v.twoAntennaPortsForPUCCH_r10 = (twoAntennaPortsForPUCCH_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; _v.tm9_With_8Tx_FDD_r10 = (tm9_With_8Tx_FDD_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; _v.pmi_Disabling_r10 = (pmi_Disabling_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; _v.crossCarrierScheduling_r10 = (crossCarrierScheduling_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; _v.simultaneousPUCCH_PUSCH_r10 = (simultaneousPUCCH_PUSCH_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; _v.multiClusterPUSCH_WithinCC_r10 = (multiClusterPUSCH_WithinCC_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { _v.nonContiguousUL_RA_WithinCC_List_r10 = new List <NonContiguousUL_RA_WithinCC_r10>(); num2 = 6; int num3 = input.ReadBits(num2) + 1; for (int i = 0; i < num3; i++) { NonContiguousUL_RA_WithinCC_r10 item = NonContiguousUL_RA_WithinCC_r10.PerDecoder.Instance.Decode(input); _v.nonContiguousUL_RA_WithinCC_List_r10.Add(item); } } return(_v); }
public PUCCH_ConfigDedicated Decode(BitArrayInputStream input) { PUCCH_ConfigDedicated dedicated = new PUCCH_ConfigDedicated(); dedicated.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); dedicated.ackNackRepetition = ackNackRepetition_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { int nBits = 1; dedicated.tdd_AckNackFeedbackMode = (tdd_AckNackFeedbackMode_Enum)input.ReadBits(nBits); } return(dedicated); }
public PDCP_Parameters Decode(BitArrayInputStream input) { PDCP_Parameters parameters = new PDCP_Parameters(); parameters.InitDefaults(); BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); parameters.supportedROHC_Profiles = supportedROHC_Profiles_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { int nBits = 4; parameters.maxNumberROHC_ContextSessions = (maxNumberROHC_ContextSessions_Enum)input.readBits(nBits); } return(parameters); }
public DRX_Config_v1130 Decode(BitArrayInputStream input) { int num2; DRX_Config_v1130 _v = new DRX_Config_v1130(); _v.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); if (stream.Read()) { num2 = 1; _v.drx_RetransmissionTimer_v1130 = (drx_RetransmissionTimer_v1130_Enum)input.ReadBits(num2); } if (stream.Read()) { _v.longDRX_CycleStartOffset_v1130 = longDRX_CycleStartOffset_v1130_Type.PerDecoder.Instance.Decode(input); } if (stream.Read()) { num2 = 1; _v.shortDRX_Cycle_v1130 = (shortDRX_Cycle_v1130_Enum)input.ReadBits(num2); } return(_v); }
public RRCConnectionSetupComplete_v12xy_IEs Decode(BitArrayInputStream input) { int num2; RRCConnectionSetupComplete_v12xy_IEs es = new RRCConnectionSetupComplete_v12xy_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); if (stream.Read()) { num2 = 2; es.mobilityState_r12 = (mobilityState_r12_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; es.mobilityHistoryAvail_r12 = (mobilityHistoryAvail_r12_Enum)input.ReadBits(num2); } if (stream.Read()) { es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input); } return(es); }
public InterFreqCarrierFreqInfo_v9e0 Decode(BitArrayInputStream input) { InterFreqCarrierFreqInfo_v9e0 _ve = new InterFreqCarrierFreqInfo_v9e0(); _ve.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); if (stream.Read()) { _ve.dl_CarrierFreq_v9e0 = input.ReadBits(0x12) + 0x10000; } if (stream.Read()) { _ve.multiBandInfoList_v9e0 = new List <MultiBandInfo_v9e0>(); int nBits = 3; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { MultiBandInfo_v9e0 item = MultiBandInfo_v9e0.PerDecoder.Instance.Decode(input); _ve.multiBandInfoList_v9e0.Add(item); } } return(_ve); }
public HandoverFromEUTRAPreparationRequest_r8_IEs Decode(BitArrayInputStream input) { HandoverFromEUTRAPreparationRequest_r8_IEs es = new HandoverFromEUTRAPreparationRequest_r8_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); const int num2 = 1; es.cdma2000_Type = (CDMA2000_Type)input.readBits(num2); if (stream.Read()) { es.rand = input.readBitString(0x20); } if (stream.Read()) { int nBits = input.readBits(8); es.mobilityParameters = input.readOctetString(nBits); } if (stream.Read()) { es.nonCriticalExtension = HandoverFromEUTRAPreparationRequest_v890_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public ul_Configuration_r10_Type Decode(BitArrayInputStream input) { ul_Configuration_r10_Type type = new ul_Configuration_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); type.ul_FreqInfo_r10 = ul_FreqInfo_r10_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.p_Max_r10 = input.readBits(6) + -30; } type.uplinkPowerControlCommonSCell_r10 = UplinkPowerControlCommonSCell_r10.PerDecoder.Instance.Decode(input); type.soundingRS_UL_ConfigCommon_r10 = SoundingRS_UL_ConfigCommon.PerDecoder.Instance.Decode(input); int nBits = 1; type.ul_CyclicPrefixLength_r10 = (UL_CyclicPrefixLength)input.readBits(nBits); if (stream.Read()) { type.prach_ConfigSCell_r10 = PRACH_ConfigSCell_r10.PerDecoder.Instance.Decode(input); } type.pusch_ConfigCommon_r10 = PUSCH_ConfigCommon.PerDecoder.Instance.Decode(input); return(type); }
public format3_r10_Type Decode(BitArrayInputStream input) { format3_r10_Type type = new format3_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); if (stream.Read()) { type.n3PUCCH_AN_List_r10 = new List <long>(); int nBits = 2; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { long item = input.ReadBits(10); type.n3PUCCH_AN_List_r10.Add(item); } } if (stream.Read()) { type.twoAntennaPortActivatedPUCCH_Format3_r10 = twoAntennaPortActivatedPUCCH_Format3_r10_Type.PerDecoder.Instance.Decode(input); } return(type); }
public SystemInformationBlockType1_v8h0_IEs Decode(BitArrayInputStream input) { var es = new SystemInformationBlockType1_v8h0_IEs(); es.InitDefaults(); var stream = new BitMaskStream(input, 2); if (stream.Read()) { es.multiBandInfoList = new List <long>(); const int nBits = 3; var num3 = input.readBits(nBits) + 1; for (var i = 0; i < num3; i++) { long item = input.readBits(6) + 1; es.multiBandInfoList.Add(item); } } if (stream.Read()) { es.nonCriticalExtension = SystemInformationBlockType1_v9e0_IEs.PerDecoder.Instance.Decode(input); } return(es); }
protected override void ProcessConfig(CandidateCellInfo_r10 config, BitArrayInputStream input) { bool flag = input.ReadBit() != 0; BitMaskStream stream = new BitMaskStream(input, 2); config.physCellId_r10 = input.ReadBits(9); config.dl_CarrierFreq_r10 = input.ReadBits(0x10); if (stream.Read()) { config.rsrpResult_r10 = input.ReadBits(7); } if (stream.Read()) { config.rsrqResult_r10 = input.ReadBits(6); } if (flag) { BitMaskStream stream2 = new BitMaskStream(input, 1); if (stream2.Read()) { config.dl_CarrierFreq_v1090 = input.ReadBits(0x12) + 0x10000; } } }
public UEInformationRequest_r9_IEs Decode(BitArrayInputStream input) { UEInformationRequest_r9_IEs es = new UEInformationRequest_r9_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); es.rach_ReportReq_r9 = input.ReadBit() == 1; es.rlf_ReportReq_r9 = input.ReadBit() == 1; if (stream.Read()) { es.nonCriticalExtension = UEInformationRequest_v930_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public preambleInfo_Type Decode(BitArrayInputStream input) { preambleInfo_Type type = new preambleInfo_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); const int nBits = 4; type.numberOfRA_Preambles = (numberOfRA_Preambles_Enum)input.ReadBits(nBits); if (stream.Read()) { type.preamblesGroupAConfig = preamblesGroupAConfig_Type.PerDecoder.Instance.Decode(input); } return(type); }
public cellReselectionServingFreqInfo_Type Decode(BitArrayInputStream input) { var type = new cellReselectionServingFreqInfo_Type(); type.InitDefaults(); var stream = new BitMaskStream(input, 1); if (stream.Read()) { type.s_NonIntraSearch = input.ReadBits(5); } type.threshServingLow = input.ReadBits(5); type.cellReselectionPriority = input.ReadBits(3); return(type); }
public MeasObjectGERAN Decode(BitArrayInputStream input) { MeasObjectGERAN tgeran = new MeasObjectGERAN(); tgeran.InitDefaults(); input.ReadBit(); BitMaskStream stream = new BitMaskStream(input, 2); BitMaskStream stream2 = new BitMaskStream(input, 1); tgeran.carrierFreqs = CarrierFreqsGERAN.PerDecoder.Instance.Decode(input); if (stream.Read()) { tgeran.offsetFreq = input.ReadBits(5) + -15; } if (stream.Read()) { tgeran.ncc_Permitted = input.ReadBitString(8); } if (stream2.Read()) { tgeran.cellForWhichToReportCGI = PhysCellIdGERAN.PerDecoder.Instance.Decode(input); } return(tgeran); }
public intraLTE_Type Decode(BitArrayInputStream input) { intraLTE_Type type = new intraLTE_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); if (stream.Read()) { type.securityAlgorithmConfig = SecurityAlgorithmConfig.PerDecoder.Instance.Decode(input); } type.keyChangeIndicator = input.ReadBit() == 1; type.nextHopChainingCount = input.ReadBits(3); return(type); }
public MobilityFromEUTRACommand_r9_IEs Decode(BitArrayInputStream input) { MobilityFromEUTRACommand_r9_IEs es = new MobilityFromEUTRACommand_r9_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); es.cs_FallbackIndicator = input.ReadBit() == 1; es.purpose = purpose_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { es.nonCriticalExtension = MobilityFromEUTRACommand_v930_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public PUSCH_ConfigDedicated_v1020 Decode(BitArrayInputStream input) { int num2; PUSCH_ConfigDedicated_v1020 _v = new PUSCH_ConfigDedicated_v1020(); _v.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); if (stream.Read()) { _v.betaOffsetMC_r10 = betaOffsetMC_r10_Type.PerDecoder.Instance.Decode(input); } if (stream.Read()) { num2 = 1; _v.groupHoppingDisabled_r10 = (groupHoppingDisabled_r10_Enum)input.readBits(num2); } if (stream.Read()) { num2 = 1; _v.dmrs_WithOCC_Activated_r10 = (dmrs_WithOCC_Activated_r10_Enum)input.readBits(num2); } return(_v); }
public RRCConnectionReconfiguration_v1020_IEs Decode(BitArrayInputStream input) { int num2; RRCConnectionReconfiguration_v1020_IEs es = new RRCConnectionReconfiguration_v1020_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); if (stream.Read()) { es.sCellToReleaseList_r10 = new List <long>(); num2 = 2; int num3 = input.readBits(num2) + 1; for (int i = 0; i < num3; i++) { long item = input.readBits(3) + 1; es.sCellToReleaseList_r10.Add(item); } } if (stream.Read()) { es.sCellToAddModList_r10 = new List <SCellToAddMod_r10>(); num2 = 2; int num6 = input.readBits(num2) + 1; for (int j = 0; j < num6; j++) { SCellToAddMod_r10 _r = SCellToAddMod_r10.PerDecoder.Instance.Decode(input); es.sCellToAddModList_r10.Add(_r); } } if (stream.Read()) { es.nonCriticalExtension = RRCConnectionReconfiguration_v1130_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public setup_Type Decode(BitArrayInputStream input) { setup_Type type = new setup_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); const int nBits = 3; type.cqi_ReportModeAperiodic_r10 = (CQI_ReportModeAperiodic)input.readBits(nBits); if (stream.Read()) { type.aperiodicCSI_Trigger_r10 = aperiodicCSI_Trigger_r10_Type.PerDecoder.Instance.Decode(input); } return(type); }
public RRCConnectionReestablishment_r8_IEs Decode(BitArrayInputStream input) { RRCConnectionReestablishment_r8_IEs es = new RRCConnectionReestablishment_r8_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); es.radioResourceConfigDedicated = RadioResourceConfigDedicated.PerDecoder.Instance.Decode(input); es.nextHopChainingCount = input.readBits(3); if (stream.Read()) { es.nonCriticalExtension = RRCConnectionReestablishment_v8a0_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public previousUTRA_CellId_r11_Type Decode(BitArrayInputStream input) { previousUTRA_CellId_r11_Type type = new previousUTRA_CellId_r11_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); type.carrierFreq_r11 = input.ReadBits(14); type.physCellId_r11 = physCellId_r11_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.cellGlobalId_r11 = CellGlobalIdUTRA.PerDecoder.Instance.Decode(input); } return(type); }
public RRCConnectionReconfigurationComplete_v1020_IEs Decode(BitArrayInputStream input) { int num2; RRCConnectionReconfigurationComplete_v1020_IEs es = new RRCConnectionReconfigurationComplete_v1020_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); if (stream.Read()) { num2 = 1; es.rlf_InfoAvailable_r10 = (rlf_InfoAvailable_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { num2 = 1; es.logMeasAvailable_r10 = (logMeasAvailable_r10_Enum)input.ReadBits(num2); } if (stream.Read()) { es.nonCriticalExtension = RRCConnectionReconfigurationComplete_v1130_IEs.PerDecoder.Instance.Decode(input); } return(es); }