Exemple #1
0
            public MBSFNAreaConfiguration_r9 Decode(BitArrayInputStream input)
            {
                MBSFNAreaConfiguration_r9 _r = new MBSFNAreaConfiguration_r9();

                _r.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);

                _r.commonSF_Alloc_r9 = new List <MBSFN_SubframeConfig>();
                int nBits = 3;
                int num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input);
                    _r.commonSF_Alloc_r9.Add(item);
                }
                nBits = 3;
                _r.commonSF_AllocPeriod_r9 = (commonSF_AllocPeriod_r9_Enum)input.ReadBits(nBits);
                _r.pmch_InfoList_r9        = new List <PMCH_Info_r9>();
                nBits = 4;
                int num5 = input.ReadBits(nBits);

                for (int j = 0; j < num5; j++)
                {
                    PMCH_Info_r9 _r2 = PMCH_Info_r9.PerDecoder.Instance.Decode(input);
                    _r.pmch_InfoList_r9.Add(_r2);
                }
                if (stream.Read())
                {
                    _r.nonCriticalExtension = MBSFNAreaConfiguration_v930_IEs.PerDecoder.Instance.Decode(input);
                }
                return(_r);
            }
Exemple #2
0
                public nonUL_Configuration_r10_Type Decode(BitArrayInputStream input)
                {
                    nonUL_Configuration_r10_Type type = new nonUL_Configuration_r10_Type();

                    type.InitDefaults();
                    BitMaskStream stream = new BitMaskStream(input, 2);
                    int           nBits  = 3;

                    type.dl_Bandwidth_r10      = (dl_Bandwidth_r10_Enum)input.readBits(nBits);
                    type.antennaInfoCommon_r10 = AntennaInfoCommon.PerDecoder.Instance.Decode(input);
                    if (stream.Read())
                    {
                        type.mbsfn_SubframeConfigList_r10 = new List <MBSFN_SubframeConfig>();
                        nBits = 3;
                        int num3 = input.readBits(nBits) + 1;
                        for (int i = 0; i < num3; i++)
                        {
                            MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input);
                            type.mbsfn_SubframeConfigList_r10.Add(item);
                        }
                    }
                    type.phich_Config_r10       = PHICH_Config.PerDecoder.Instance.Decode(input);
                    type.pdsch_ConfigCommon_r10 = PDSCH_ConfigCommon.PerDecoder.Instance.Decode(input);
                    if (stream.Read())
                    {
                        type.tdd_Config_r10 = TDD_Config.PerDecoder.Instance.Decode(input);
                    }
                    return(type);
                }
Exemple #3
0
            public MBSFN_SubframeConfig Decode(BitArrayInputStream input)
            {
                MBSFN_SubframeConfig config = new MBSFN_SubframeConfig();

                config.InitDefaults();
                int nBits = 3;

                config.radioframeAllocationPeriod = (radioframeAllocationPeriod_Enum)input.ReadBits(nBits);
                config.radioframeAllocationOffset = input.ReadBits(3);
                config.subframeAllocation         = subframeAllocation_Type.PerDecoder.Instance.Decode(input);
                return(config);
            }
Exemple #4
0
                        public setup_Type Decode(BitArrayInputStream input)
                        {
                            setup_Type type = new setup_Type();

                            type.InitDefaults();
                            type.subframeConfigList = new List <MBSFN_SubframeConfig>();
                            int nBits = 3;
                            int num3  = input.ReadBits(nBits) + 1;

                            for (int i = 0; i < num3; i++)
                            {
                                MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input);
                                type.subframeConfigList.Add(item);
                            }
                            return(type);
                        }
Exemple #5
0
            public CRS_AssistanceInfo_r11 Decode(BitArrayInputStream input)
            {
                CRS_AssistanceInfo_r11 _r = new CRS_AssistanceInfo_r11();

                _r.InitDefaults();
                input.ReadBit();
                _r.physCellId_r11 = input.ReadBits(9);
                int nBits = 2;

                _r.antennaPortsCount_r11        = (antennaPortsCount_r11_Enum)input.ReadBits(nBits);
                _r.mbsfn_SubframeConfigList_r11 = new List <MBSFN_SubframeConfig>();
                nBits = 3;
                int num3 = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input);
                    _r.mbsfn_SubframeConfigList_r11.Add(item);
                }
                return(_r);
            }