Beispiel #1
0
 public CandidateCellInfo_r10 Decode(BitArrayInputStream input)
 {
     CandidateCellInfo_r10 _r = new CandidateCellInfo_r10();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 2);
     _r.physCellId_r10 = input.readBits(9);
     _r.dl_CarrierFreq_r10 = input.readBits(0x10);
     if (stream.Read())
     {
         _r.rsrpResult_r10 = input.readBits(7);
     }
     if (stream.Read())
     {
         _r.rsrqResult_r10 = input.readBits(6);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             _r.dl_CarrierFreq_v1090 = input.readBits(0x12) + 0x10000;
         }
     }
     return _r;
 }
Beispiel #2
0
 public QuantityConfig Decode(BitArrayInputStream input)
 {
     QuantityConfig config = new QuantityConfig();
     config.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         config.quantityConfigEUTRA = QuantityConfigEUTRA.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigUTRA = QuantityConfigUTRA.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigGERAN = QuantityConfigGERAN.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigCDMA2000 = QuantityConfigCDMA2000.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             config.quantityConfigUTRA_v1020 = QuantityConfigUTRA_v1020.PerDecoder.Instance.Decode(input);
         }
     }
     return config;
 }
Beispiel #3
0
 public OtherConfig_r9 Decode(BitArrayInputStream input)
 {
     OtherConfig_r9 _r = new OtherConfig_r9();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.reportProximityConfig_r9 = ReportProximityConfig_r9.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 3);
         if (stream2.Read())
         {
             _r.idc_Config_r11 = IDC_Config_r11.PerDecoder.Instance.Decode(input);
         }
         if (stream2.Read())
         {
             _r.powerPrefIndicationConfig_r11 = PowerPrefIndicationConfig_r11.PerDecoder.Instance.Decode(input);
         }
         if (stream2.Read())
         {
             _r.obtainLocationConfig_r11 = ObtainLocationConfig_r11.PerDecoder.Instance.Decode(input);
         }
     }
     return _r;
 }
Beispiel #4
0
 public AdditionalSI_Info_r9 Decode(BitArrayInputStream input)
 {
     AdditionalSI_Info_r9 _r = new AdditionalSI_Info_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.csg_MemberStatus_r9 = (csg_MemberStatus_r9_Enum)input.readBits(nBits);
     }
     if (stream.Read())
     {
         _r.csg_Identity_r9 = input.readBitString(0x1b);
     }
     return _r;
 }
Beispiel #5
0
 public PLMN_Identity Decode(BitArrayInputStream input)
 {
     int num2;
     PLMN_Identity identity = new PLMN_Identity();
     identity.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         identity.mcc = new List<long>();
         num2 = 0;
         int num3 = input.readBits(num2) + 3;
         for (int j = 0; j < num3; j++)
         {
             long item = input.readBits(4);
             identity.mcc.Add(item);
         }
     }
     identity.mnc = new List<long>();
     num2 = 1;
     int num6 = input.readBits(num2) + 2;
     for (int i = 0; i < num6; i++)
     {
         long num8 = input.readBits(4);
         identity.mnc.Add(num8);
     }
     return identity;
 }
Beispiel #6
0
 public Paging Decode(BitArrayInputStream input)
 {
     int num2;
     Paging paging = new Paging();
     paging.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         paging.pagingRecordList = new List<PagingRecord>();
         num2 = 4;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             PagingRecord item = PagingRecord.PerDecoder.Instance.Decode(input);
             paging.pagingRecordList.Add(item);
         }
     }
     if (stream.Read())
     {
         num2 = 1;
         paging.systemInfoModification = (systemInfoModification_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         paging.etws_Indication = (etws_Indication_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         paging.nonCriticalExtension = Paging_v890_IEs.PerDecoder.Instance.Decode(input);
     }
     return paging;
 }
Beispiel #7
0
 public SPS_Config Decode(BitArrayInputStream input)
 {
     SPS_Config config = new SPS_Config();
     config.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         config.semiPersistSchedC_RNTI = input.readBitString(0x10);
     }
     if (stream.Read())
     {
         config.sps_ConfigDL = SPS_ConfigDL.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.sps_ConfigUL = SPS_ConfigUL.PerDecoder.Instance.Decode(input);
     }
     return config;
 }
Beispiel #8
0
 public Handover Decode(BitArrayInputStream input)
 {
     Handover handover = new Handover();
     handover.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     int num2 = (input.readBit() == 0) ? 3 : 3;
     handover.targetRAT_Type = (targetRAT_Type_Enum)input.readBits(num2);
     int nBits = input.readBits(8);
     handover.targetRAT_MessageContainer = input.readOctetString(nBits);
     if (stream.Read())
     {
         handover.nas_SecurityParamFromEUTRA = input.readOctetString(1);
     }
     if (stream.Read())
     {
         handover.systemInformation = SI_OrPSI_GERAN.PerDecoder.Instance.Decode(input);
     }
     return handover;
 }
Beispiel #9
0
 public EAB_ConfigPLMN_r11 Decode(BitArrayInputStream input)
 {
     EAB_ConfigPLMN_r11 _r = new EAB_ConfigPLMN_r11();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.eab_Config_r11 = EAB_Config_r11.PerDecoder.Instance.Decode(input);
     }
     return _r;
 }
Beispiel #10
0
 public MultiBandInfo_v9e0 Decode(BitArrayInputStream input)
 {
     MultiBandInfo_v9e0 _ve = new MultiBandInfo_v9e0();
     _ve.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _ve.freqBandIndicator_v9e0 = input.readBits(8) + 0x41;
     }
     return _ve;
 }
Beispiel #11
0
 public ObtainLocationConfig_r11 Decode(BitArrayInputStream input)
 {
     ObtainLocationConfig_r11 _r = new ObtainLocationConfig_r11();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.obtainLocation_r11 = (obtainLocation_r11_Enum)input.readBits(nBits);
     }
     return _r;
 }
Beispiel #12
0
 public PRACH_Config Decode(BitArrayInputStream input)
 {
     PRACH_Config config = new PRACH_Config();
     config.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     config.rootSequenceIndex = input.readBits(10);
     if (stream.Read())
     {
         config.prach_ConfigInfo = PRACH_ConfigInfo.PerDecoder.Instance.Decode(input);
     }
     return config;
 }
Beispiel #13
0
 public NonContiguousUL_RA_WithinCC_r10 Decode(BitArrayInputStream input)
 {
     NonContiguousUL_RA_WithinCC_r10 _r = new NonContiguousUL_RA_WithinCC_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.nonContiguousUL_RA_WithinCC_Info_r10 = (nonContiguousUL_RA_WithinCC_Info_r10_Enum)input.readBits(nBits);
     }
     return _r;
 }
Beispiel #14
0
 public BandCombinationParametersExt_r10 Decode(BitArrayInputStream input)
 {
     BandCombinationParametersExt_r10 _r = new BandCombinationParametersExt_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         int num = input.readBits(5);
         _r.supportedBandwidthCombinationSet_r10 = input.readBitString(num + 1);
     }
     return _r;
 }
Beispiel #15
0
 public SON_Parameters_r9 Decode(BitArrayInputStream input)
 {
     SON_Parameters_r9 _r = new SON_Parameters_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.rach_Report_r9 = (rach_Report_r9_Enum)input.readBits(nBits);
     }
     return _r;
 }
Beispiel #16
0
 public CA_MIMO_ParametersDL_r10 Decode(BitArrayInputStream input)
 {
     CA_MIMO_ParametersDL_r10 _r = new CA_MIMO_ParametersDL_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     int nBits = (input.readBit() == 0) ? 3 : 3;
     _r.ca_BandwidthClassDL_r10 = (CA_BandwidthClass_r10)input.readBits(nBits);
     if (stream.Read())
     {
         nBits = 2;
         _r.supportedMIMO_CapabilityDL_r10 = (MIMO_CapabilityDL_r10)input.readBits(nBits);
     }
     return _r;
 }
 public PreRegistrationInfoHRPD Decode(BitArrayInputStream input)
 {
     PreRegistrationInfoHRPD ohrpd = new PreRegistrationInfoHRPD();
     ohrpd.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     ohrpd.preRegistrationAllowed = input.readBit() == 1;
     if (stream.Read())
     {
         ohrpd.preRegistrationZoneId = input.readBits(8);
     }
     if (stream.Read())
     {
         ohrpd.secondaryPreRegistrationZoneIdList = new List<long>();
         const int nBits = 1;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.readBits(8);
             ohrpd.secondaryPreRegistrationZoneIdList.Add(item);
         }
     }
     return ohrpd;
 }
 public OTDOA_PositioningCapabilities_r10 Decode(BitArrayInputStream input)
 {
     OTDOA_PositioningCapabilities_r10 _r = new OTDOA_PositioningCapabilities_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     int nBits = 1;
     _r.otdoa_UE_Assisted_r10 = (otdoa_UE_Assisted_r10_Enum)input.readBits(nBits);
     if (stream.Read())
     {
         nBits = 1;
         _r.interFreqRSTD_Measurement_r10 = (interFreqRSTD_Measurement_r10_Enum)input.readBits(nBits);
     }
     return _r;
 }
Beispiel #19
0
 public MeasObjectCDMA2000 Decode(BitArrayInputStream input)
 {
     MeasObjectCDMA2000 tcdma = new MeasObjectCDMA2000();
     tcdma.InitDefaults();
     input.readBit();
     BitMaskStream stream = new BitMaskStream(input, 1);
     BitMaskStream stream2 = new BitMaskStream(input, 4);
     int nBits = 1;
     tcdma.cdma2000_Type = (CDMA2000_Type)input.readBits(nBits);
     tcdma.carrierFreq = CarrierFreqCDMA2000.PerDecoder.Instance.Decode(input);
     if (stream2.Read())
     {
         tcdma.searchWindowSize = input.readBits(4);
     }
     if (stream.Read())
     {
         tcdma.offsetFreq = input.readBits(5) + -15;
     }
     if (stream2.Read())
     {
         tcdma.cellsToRemoveList = new List<long>();
         nBits = 5;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.readBits(5) + 1;
             tcdma.cellsToRemoveList.Add(item);
         }
     }
     if (stream2.Read())
     {
         tcdma.cellsToAddModList = new List<CellsToAddModCDMA2000>();
         nBits = 5;
         int num6 = input.readBits(nBits) + 1;
         for (int j = 0; j < num6; j++)
         {
             CellsToAddModCDMA2000 dcdma = CellsToAddModCDMA2000.PerDecoder.Instance.Decode(input);
             tcdma.cellsToAddModList.Add(dcdma);
         }
     }
     if (stream2.Read())
     {
         tcdma.cellForWhichToReportCGI = input.readBits(9);
     }
     return tcdma;
 }
Beispiel #20
0
 public RSTD_InterFreqInfo_r10 Decode(BitArrayInputStream input)
 {
     RSTD_InterFreqInfo_r10 _r = new RSTD_InterFreqInfo_r10();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     _r.carrierFreq_r10 = input.readBits(0x10);
     _r.measPRS_Offset_r10 = input.readBits(6);
     if (flag)
     {
         BitMaskStream stream = new BitMaskStream(input, 1);
         if (stream.Read())
         {
             _r.carrierFreq_v1090 = input.readBits(0x12) + 0x10000;
         }
     }
     return _r;
 }
Beispiel #21
0
 public CSG_AllowedReportingCells_r9 Decode(BitArrayInputStream input)
 {
     CSG_AllowedReportingCells_r9 _r = new CSG_AllowedReportingCells_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.physCellIdRangeUTRA_FDDList_r9 = new List<PhysCellIdRangeUTRA_FDD_r9>();
         int nBits = 2;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             PhysCellIdRangeUTRA_FDD_r9 item = PhysCellIdRangeUTRA_FDD_r9.PerDecoder.Instance.Decode(input);
             _r.physCellIdRangeUTRA_FDDList_r9.Add(item);
         }
     }
     return _r;
 }
Beispiel #22
0
 public LogicalChannelConfig Decode(BitArrayInputStream input)
 {
     LogicalChannelConfig config = new LogicalChannelConfig();
     config.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         config.ul_SpecificParameters = ul_SpecificParameters_Type.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             const int nBits = 1;
             config.logicalChannelSR_Mask_r9 = (logicalChannelSR_Mask_r9_Enum)input.readBits(nBits);
         }
     }
     return config;
 }
 public RRCConnectionSetupComplete_v8a0_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionSetupComplete_v8a0_IEs es = new RRCConnectionSetupComplete_v8a0_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = RRCConnectionSetupComplete_v1020_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
 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 RRCConnectionSetupComplete_v1130_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionSetupComplete_v1130_IEs es = new RRCConnectionSetupComplete_v1130_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         const int nBits = 1;
         es.connEstFailInfoAvailable_r11 = (connEstFailInfoAvailable_r11_Enum)input.readBits(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = RRCConnectionSetupComplete_v12xy_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
 public RRCConnectionSetupComplete_v1020_IEs Decode(BitArrayInputStream input)
 {
     int num2;
     RRCConnectionSetupComplete_v1020_IEs es = new RRCConnectionSetupComplete_v1020_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 5);
     if (stream.Read())
     {
         num2 = 1;
         es.gummei_Type_r10 = (gummei_Type_r10_Enum)input.readBits(num2);
     }
     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())
     {
         num2 = 1;
         es.rn_SubframeConfigReq_r10 = (rn_SubframeConfigReq_r10_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = RRCConnectionSetupComplete_v1130_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
 public RRCConnectionSetupComplete_r8_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionSetupComplete_r8_IEs es = new RRCConnectionSetupComplete_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     es.selectedPLMN_Identity = input.readBits(3) + 1;
     if (stream.Read())
     {
         es.registeredMME = RegisteredMME.PerDecoder.Instance.Decode(input);
     }
     int nBits = input.readBits(8);
     es.dedicatedInfoNAS = input.readOctetString(nBits);
     if (stream.Read())
     {
         es.nonCriticalExtension = RRCConnectionSetupComplete_v8a0_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
Beispiel #28
0
 public UEInformationResponse_v1020_IEs Decode(BitArrayInputStream input)
 {
     UEInformationResponse_v1020_IEs es = new UEInformationResponse_v1020_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         es.logMeasReport_r10 = LogMeasReport_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = UEInformationResponse_v1130_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
Beispiel #29
0
 public UEInformationResponse_r9_IEs Decode(BitArrayInputStream input)
 {
     UEInformationResponse_r9_IEs es = new UEInformationResponse_r9_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         es.rach_Report_r9 = rach_Report_r9_Type.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.rlf_Report_r9 = RLF_Report_r9.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = UEInformationResponse_v930_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }
Beispiel #30
0
 public UEInformationRequest_v930_IEs Decode(BitArrayInputStream input)
 {
     UEInformationRequest_v930_IEs es = new UEInformationRequest_v930_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         int nBits = input.readBits(8);
         es.lateNonCriticalExtension = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = UEInformationRequest_v1020_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }