public RegisteredMME Decode(BitArrayInputStream input) { RegisteredMME dmme = new RegisteredMME(); dmme.InitDefaults(); bool flag = false; BitMaskStream stream = flag ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); if (stream.Read()) { dmme.plmn_Identity = PLMN_Identity.PerDecoder.Instance.Decode(input); } dmme.mmegi = input.ReadBitString(0x10); dmme.mmec = input.ReadBitString(8); return(dmme); }
public UL_HighInterferenceIndicationInfo_Item Decode(BitArrayInputStream input) { UL_HighInterferenceIndicationInfo_Item item = new UL_HighInterferenceIndicationInfo_Item(); item.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); item.target_Cell_ID = ECGI.PerDecoder.Instance.Decode(input); input.ReadBit(); int num = input.ReadBits(7); input.skipUnreadedBits(); item.ul_interferenceindication = input.ReadBitString(num + 1); if (stream.Read()) { input.skipUnreadedBits(); item.iE_Extensions = new List <ProtocolExtensionField>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input); item.iE_Extensions.Add(field); } } return(item); }
public LoggedMeasurementConfiguration_r10_IEs Decode(BitArrayInputStream input) { LoggedMeasurementConfiguration_r10_IEs es = new LoggedMeasurementConfiguration_r10_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); es.traceReference_r10 = TraceReference_r10.PerDecoder.Instance.Decode(input); es.traceRecordingSessionRef_r10 = input.readOctetString(2); es.tce_Id_r10 = input.readOctetString(1); es.absoluteTimeInfo_r10 = input.ReadBitString(0x30); if (stream.Read()) { es.areaConfiguration_r10 = AreaConfiguration_r10.PerDecoder.Instance.Decode(input); } int nBits = 3; es.loggingDuration_r10 = (LoggingDuration_r10)input.ReadBits(nBits); nBits = 3; es.loggingInterval_r10 = (LoggingInterval_r10)input.ReadBits(nBits); if (stream.Read()) { es.nonCriticalExtension = LoggedMeasurementConfiguration_v1080_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public X2TNLConfigurationInfo Decode(BitArrayInputStream input) { X2TNLConfigurationInfo info = new X2TNLConfigurationInfo(); info.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); info.eNBX2TransportLayerAddresses = new List <string>(); int nBits = 1; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { input.ReadBit(); int num = input.ReadBits(8); input.skipUnreadedBits(); string item = input.ReadBitString(num + 1); info.eNBX2TransportLayerAddresses.Add(item); } if (stream.Read()) { input.skipUnreadedBits(); info.iE_Extensions = new List <ProtocolExtensionField>(); nBits = 0x10; int num7 = input.ReadBits(nBits) + 1; for (int j = 0; j < num7; j++) { ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input); info.iE_Extensions.Add(field); } } return(info); }
public UE_EUTRA_Capability_v9a0_IEs Decode(BitArrayInputStream input) { UE_EUTRA_Capability_v9a0_IEs es = new UE_EUTRA_Capability_v9a0_IEs(); es.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 4); if (stream.Read()) { es.featureGroupIndRel9Add_r9 = input.ReadBitString(0x20); } if (stream.Read()) { es.fdd_Add_UE_EUTRA_Capabilities_r9 = UE_EUTRA_CapabilityAddXDD_Mode_r9.PerDecoder.Instance.Decode(input); } if (stream.Read()) { es.tdd_Add_UE_EUTRA_Capabilities_r9 = UE_EUTRA_CapabilityAddXDD_Mode_r9.PerDecoder.Instance.Decode(input); } if (stream.Read()) { es.nonCriticalExtension = UE_EUTRA_Capability_v9c0_IEs.PerDecoder.Instance.Decode(input); } return(es); }
public string Decode(BitArrayInputStream input) { input.ReadBit(); int num = input.ReadBits(8); return(input.ReadBitString(num + 1)); }
public UE_EUTRA_CapabilityAddXDD_Mode_v1060 Decode(BitArrayInputStream input) { UE_EUTRA_CapabilityAddXDD_Mode_v1060 _v = new UE_EUTRA_CapabilityAddXDD_Mode_v1060(); _v.InitDefaults(); bool flag = input.ReadBit() != 0; BitMaskStream stream = new BitMaskStream(input, 4); if (stream.Read()) { _v.phyLayerParameters_v1060 = PhyLayerParameters_v1020.PerDecoder.Instance.Decode(input); } if (stream.Read()) { _v.featureGroupIndRel10_v1060 = input.ReadBitString(0x20); } if (stream.Read()) { _v.interRAT_ParametersCDMA2000_v1060 = IRAT_ParametersCDMA2000_1XRTT_v1020.PerDecoder.Instance.Decode(input); } if (stream.Read()) { _v.interRAT_ParametersUTRA_TDD_v1060 = IRAT_ParametersUTRA_TDD_v1020.PerDecoder.Instance.Decode(input); } if (flag) { BitMaskStream stream2 = new BitMaskStream(input, 1); if (stream2.Read()) { _v.otdoa_PositioningCapabilities_r10 = OTDOA_PositioningCapabilities_r10.PerDecoder.Instance.Decode(input); } } return(_v); }
public Bearers_SubjectToStatusTransfer_Item Decode(BitArrayInputStream input) { Bearers_SubjectToStatusTransfer_Item item = new Bearers_SubjectToStatusTransfer_Item(); item.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2); input.ReadBit(); item.e_RAB_ID = input.ReadBits(4); item.uL_COUNTvalue = COUNTvalue.PerDecoder.Instance.Decode(input); item.dL_COUNTvalue = COUNTvalue.PerDecoder.Instance.Decode(input); if (stream.Read()) { input.skipUnreadedBits(); item.receiveStatusofULPDCPSDUs = input.ReadBitString(0x1000); } if (stream.Read()) { input.skipUnreadedBits(); item.iE_Extensions = new List <ProtocolExtensionField>(); int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input); item.iE_Extensions.Add(field); } } return(item); }
public LogMeasReport_r10 Decode(BitArrayInputStream input) { LogMeasReport_r10 _r = new LogMeasReport_r10(); _r.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); _r.absoluteTimeStamp_r10 = input.ReadBitString(0x30); _r.traceReference_r10 = TraceReference_r10.PerDecoder.Instance.Decode(input); _r.traceRecordingSessionRef_r10 = input.readOctetString(2); _r.tce_Id_r10 = input.readOctetString(1); _r.logMeasInfoList_r10 = new List <LogMeasInfo_r10>(); int nBits = 10; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { LogMeasInfo_r10 item = LogMeasInfo_r10.PerDecoder.Instance.Decode(input); _r.logMeasInfoList_r10.Add(item); } if (stream.Read()) { nBits = 1; _r.logMeasAvailable_r10 = (logMeasAvailable_r10_Enum)input.ReadBits(nBits); } return(_r); }
protected override void ProcessConfig(AreaConfiguration_r10 config, BitArrayInputStream input) { switch (input.ReadBits(1)) { case 0: { config.cellGlobalIdList_r10 = new List <CellGlobalIdEUTRA>(); var num4 = input.ReadBits(5) + 1; for (var i = 0; i < num4; i++) { var item = CellGlobalIdEUTRA.PerDecoder.Instance.Decode(input); config.cellGlobalIdList_r10.Add(item); } return; } case 1: { config.trackingAreaCodeList_r10 = new List <string>(); var num6 = input.ReadBits(3) + 1; for (var j = 0; j < num6; j++) { var str = input.ReadBitString(0x10); config.trackingAreaCodeList_r10.Add(str); } return; } } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public E_RABToBeSetupItemHOReq Decode(BitArrayInputStream input) { E_RABToBeSetupItemHOReq req = new E_RABToBeSetupItemHOReq(); req.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); req.e_RAB_ID = input.ReadBits(4); input.ReadBit(); int num = input.ReadBits(8); input.skipUnreadedBits(); req.transportLayerAddress = input.ReadBitString(num + 1); input.skipUnreadedBits(); req.gTP_TEID = input.readOctetString(4); req.e_RABlevelQosParameters = E_RABLevelQoSParameters.PerDecoder.Instance.Decode(input); if (stream.Read()) { input.skipUnreadedBits(); req.iE_Extensions = new List <ProtocolExtensionField>(); int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField item = ProtocolExtensionField.PerDecoder.Instance.Decode(input); req.iE_Extensions.Add(item); } } return(req); }
public E_RABSetupItemBearerSURes Decode(BitArrayInputStream input) { E_RABSetupItemBearerSURes res = new E_RABSetupItemBearerSURes(); res.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); res.e_RAB_ID = input.ReadBits(4); input.ReadBit(); int num = input.ReadBits(8); input.skipUnreadedBits(); res.transportLayerAddress = input.ReadBitString(num + 1); input.skipUnreadedBits(); res.gTP_TEID = input.readOctetString(4); if (stream.Read()) { input.skipUnreadedBits(); res.iE_Extensions = new List <ProtocolExtensionField>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField item = ProtocolExtensionField.PerDecoder.Instance.Decode(input); res.iE_Extensions.Add(item); } } return(res); }
public RelativeNarrowbandTxPower Decode(BitArrayInputStream input) { RelativeNarrowbandTxPower power = new RelativeNarrowbandTxPower(); power.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); int num = input.ReadBits(7); input.skipUnreadedBits(); power.rNTP_PerPRB = input.ReadBitString(num + 6); int nBits = (input.ReadBit() == 0) ? 4 : 4; power.rNTP_Threshold = (RNTP_Threshold)input.ReadBits(nBits); nBits = (input.ReadBit() == 0) ? 2 : 2; power.numberOfCellSpecificAntennaPorts = (numberOfCellSpecificAntennaPorts_Enum)input.ReadBits(nBits); power.p_B = input.ReadBits(2); power.pDCCH_InterferenceImpact = input.ReadBits(3); if (stream.Read()) { input.skipUnreadedBits(); power.iE_Extensions = new List <ProtocolExtensionField>(); nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField item = ProtocolExtensionField.PerDecoder.Instance.Decode(input); power.iE_Extensions.Add(item); } } return(power); }
public GTPtunnelEndpoint Decode(BitArrayInputStream input) { GTPtunnelEndpoint endpoint = new GTPtunnelEndpoint(); endpoint.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); int num = input.ReadBits(8); input.skipUnreadedBits(); endpoint.transportLayerAddress = input.ReadBitString(num + 1); input.skipUnreadedBits(); endpoint.gTP_TEID = input.readOctetString(4); if (stream.Read()) { input.skipUnreadedBits(); endpoint.iE_Extensions = new List <ProtocolExtensionField>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField item = ProtocolExtensionField.PerDecoder.Instance.Decode(input); endpoint.iE_Extensions.Add(item); } } return(endpoint); }
public UE_EUTRA_Capability Decode(BitArrayInputStream input) { UE_EUTRA_Capability capability = new UE_EUTRA_Capability(); capability.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); int nBits = (input.ReadBit() == 0) ? 3 : 3; capability.accessStratumRelease = (AccessStratumRelease)input.ReadBits(nBits); capability.ue_Category = input.ReadBits(3) + 1; capability.pdcp_Parameters = PDCP_Parameters.PerDecoder.Instance.Decode(input); capability.phyLayerParameters = PhyLayerParameters.PerDecoder.Instance.Decode(input); capability.rf_Parameters = RF_Parameters.PerDecoder.Instance.Decode(input); capability.measParameters = MeasParameters.PerDecoder.Instance.Decode(input); if (stream.Read()) { capability.featureGroupIndicators = input.ReadBitString(0x20); } capability.interRAT_Parameters = interRAT_Parameters_Type.PerDecoder.Instance.Decode(input); if (stream.Read()) { capability.nonCriticalExtension = UE_EUTRA_Capability_v920_IEs.PerDecoder.Instance.Decode(input); } return(capability); }
public intraFreqCellReselectionInfo_Type Decode(BitArrayInputStream input) { var type = new intraFreqCellReselectionInfo_Type(); type.InitDefaults(); var stream = new BitMaskStream(input, 4); type.q_RxLevMin = input.ReadBits(6) + -70; if (stream.Read()) { type.p_Max = input.ReadBits(6) + -30; } if (stream.Read()) { type.s_IntraSearch = input.ReadBits(5); } if (stream.Read()) { var nBits = 3; type.allowedMeasBandwidth = (AllowedMeasBandwidth)input.ReadBits(nBits); } type.presenceAntennaPort1 = input.ReadBit() == 1; type.neighCellConfig = input.ReadBitString(2); type.t_ReselectionEUTRA = input.ReadBits(3); if (stream.Read()) { type.t_ReselectionEUTRA_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input); } return(type); }
public E_RABToBeSwitchedULItem Decode(BitArrayInputStream input) { E_RABToBeSwitchedULItem item = new E_RABToBeSwitchedULItem(); item.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); item.e_RAB_ID = input.ReadBits(4); input.ReadBit(); int num = input.ReadBits(8); input.skipUnreadedBits(); item.transportLayerAddress = input.ReadBitString(num + 1); input.skipUnreadedBits(); item.gTP_TEID = input.readOctetString(4); if (stream.Read()) { input.skipUnreadedBits(); item.iE_Extensions = new List <ProtocolExtensionField>(); int nBits = 0x10; int num5 = input.ReadBits(nBits) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input); item.iE_Extensions.Add(field); } } return(item); }
public setup_Type Decode(BitArrayInputStream input) { setup_Type type = new setup_Type(); type.InitDefaults(); type.tpc_RNTI = input.ReadBitString(0x10); type.tpc_Index = TPC_Index.PerDecoder.Instance.Decode(input); return type; }
public subframeAllocation_Type Decode(BitArrayInputStream input) { subframeAllocation_Type type = new subframeAllocation_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: type.oneFrame = input.ReadBitString(6); return(type); case 1: type.fourFrames = input.ReadBitString(0x18); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public cdma_SystemTime_Type Decode(BitArrayInputStream input) { var type = new cdma_SystemTime_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: type.synchronousSystemTime = input.ReadBitString(0x27); return(type); case 1: type.asynchronousSystemTime = input.ReadBitString(0x31); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public E_RABToBeSetupItemBearerSUReq Decode(BitArrayInputStream input) { E_RABToBeSetupItemBearerSUReq req = new E_RABToBeSetupItemBearerSUReq(); req.InitDefaults(); BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); input.ReadBit(); req.e_RAB_ID = input.ReadBits(4); req.e_RABlevelQoSParameters = E_RABLevelQoSParameters.PerDecoder.Instance.Decode(input); input.ReadBit(); int nBits = input.ReadBits(8); input.skipUnreadedBits(); req.transportLayerAddress = input.ReadBitString(nBits + 1); input.skipUnreadedBits(); req.gTP_TEID = input.readOctetString(4); input.skipUnreadedBits(); nBits = 0; while (true) { switch (input.ReadBit()) { case 0: nBits += input.ReadBits(7); goto Label_0130; case 1: switch (input.ReadBit()) { case 0: nBits += input.ReadBits(14); goto Label_0130; case 1: input.ReadBits(2); nBits += input.ReadBits(4) * 0x400; break; } break; } } Label_0130: req.nAS_PDU = input.readOctetString(nBits); if (stream.Read()) { input.skipUnreadedBits(); req.iE_Extensions = new List <ProtocolExtensionField>(); int num4 = 0x10; int num5 = input.ReadBits(num4) + 1; for (int i = 0; i < num5; i++) { ProtocolExtensionField item = ProtocolExtensionField.PerDecoder.Instance.Decode(input); req.iE_Extensions.Add(item); } } return(req); }
public setup_Type Decode(BitArrayInputStream input) { setup_Type type = new setup_Type(); type.InitDefaults(); type.zeroTxPowerResourceConfigList_r10 = input.ReadBitString(0x10); type.zeroTxPowerSubframeConfig_r10 = input.ReadBits(8); return(type); }
public MeasResultForECID_r9 Decode(BitArrayInputStream input) { MeasResultForECID_r9 _r = new MeasResultForECID_r9(); _r.InitDefaults(); _r.ue_RxTxTimeDiffResult_r9 = input.ReadBits(12); _r.currentSFN_r9 = input.ReadBitString(10); return(_r); }
public SubframeAllocation Decode(BitArrayInputStream input) { SubframeAllocation allocation = new SubframeAllocation(); allocation.InitDefaults(); input.ReadBit(); switch (input.ReadBits(1)) { case 0: allocation.oneframe = input.ReadBitString(6); return(allocation); case 1: input.skipUnreadedBits(); allocation.fourframes = input.ReadBitString(0x18); return(allocation); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
protected override void ProcessConfig(BandCombinationParametersExt_r10 config, BitArrayInputStream input) { BitMaskStream stream = new BitMaskStream(input, 1); if (stream.Read()) { int num = input.ReadBits(5); config.supportedBandwidthCombinationSet_r10 = input.ReadBitString(num + 1); } }
public CSI_RS_ConfigZP_r11 Decode(BitArrayInputStream input) { CSI_RS_ConfigZP_r11 _r = new CSI_RS_ConfigZP_r11(); _r.InitDefaults(); input.ReadBit(); _r.csi_RS_ConfigZPId_r11 = input.ReadBits(2) + 1; _r.resourceConfigList_r11 = input.ReadBitString(0x10); _r.subframeConfig_r11 = input.ReadBits(8); return(_r); }
public P_C_AndCBSR_r11 Decode(BitArrayInputStream input) { P_C_AndCBSR_r11 _r = new P_C_AndCBSR_r11(); _r.InitDefaults(); _r.p_C_r11 = input.ReadBits(5) + -8; int nBits = input.ReadBits(8); _r.codebookSubsetRestriction_r11 = input.ReadBitString(nBits); return(_r); }
public EAB_Config_r11 Decode(BitArrayInputStream input) { EAB_Config_r11 _r = new EAB_Config_r11(); _r.InitDefaults(); int nBits = 2; _r.eab_Category_r11 = (eab_Category_r11_Enum)input.ReadBits(nBits); _r.eab_BarringBitmap_r11 = input.ReadBitString(10); return(_r); }
public subframePatternTDD_r11_Type Decode(BitArrayInputStream input) { subframePatternTDD_r11_Type type = new subframePatternTDD_r11_Type(); type.InitDefaults(); switch (input.ReadBits(2)) { case 0: type.subframeConfig0_r11 = input.ReadBitString(70); return(type); case 1: type.subframeConfig1_5_r11 = input.ReadBitString(10); return(type); case 2: type.subframeConfig6_r11 = input.ReadBitString(60); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
protected override void ProcessConfig(AntennaInfoDedicated_r10 config, BitArrayInputStream input) { var stream = new BitMaskStream(input, 1); config.transmissionMode_r10 = (transmissionMode_r10_Enum)input.ReadBits(4); if (stream.Read()) { var nBits = input.ReadBits(8); config.codebookSubsetRestriction_r10 = input.ReadBitString(nBits); } config.ue_TransmitAntennaSelection = ue_TransmitAntennaSelection_Type.PerDecoder.Instance.Decode(input); }