Esempio n. 1
0
            public BandCombinationParameters_v1130 Decode(BitArrayInputStream input)
            {
                int num2;
                BandCombinationParameters_v1130 _v = new BandCombinationParameters_v1130();

                _v.InitDefaults();
                BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    num2 = 1;
                    _v.multipleTimingAdvance_r11 = (multipleTimingAdvance_r11_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.simultaneousRx_Tx_r11 = (simultaneousRx_Tx_r11_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    _v.bandParameterList_r11 = new List <BandParameters_v1130>();
                    num2 = 6;
                    int num3 = input.readBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        BandParameters_v1130 item = BandParameters_v1130.PerDecoder.Instance.Decode(input);
                        _v.bandParameterList_r11.Add(item);
                    }
                }
                return(_v);
            }
Esempio n. 2
0
            public BandParameters_v1130 Decode(BitArrayInputStream input)
            {
                BandParameters_v1130 _v = new BandParameters_v1130();

                _v.InitDefaults();
                int nBits = 2;

                _v.supportedCSI_Proc_r11 = (supportedCSI_Proc_r11_Enum)input.readBits(nBits);
                return(_v);
            }
Esempio n. 3
0
            protected override void ProcessConfig(BandCombinationParameters_v1130 config, BitArrayInputStream input)
            {
                BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    config.multipleTimingAdvance_r11 = (multipleTimingAdvance_r11_Enum)input.ReadBits(1);
                }
                if (stream.Read())
                {
                    config.simultaneousRx_Tx_r11 = (simultaneousRx_Tx_r11_Enum)input.ReadBits(1);
                }
                if (stream.Read())
                {
                    config.bandParameterList_r11 = new List <BandParameters_v1130>();
                    int num3 = input.ReadBits(6) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        BandParameters_v1130 item = BandParameters_v1130.PerDecoder.Instance.Decode(input);
                        config.bandParameterList_r11.Add(item);
                    }
                }
            }
Esempio n. 4
0
 public BandParameters_v1130 Decode(BitArrayInputStream input)
 {
     BandParameters_v1130 _v = new BandParameters_v1130();
     _v.InitDefaults();
     int nBits = 2;
     _v.supportedCSI_Proc_r11 = (supportedCSI_Proc_r11_Enum)input.readBits(nBits);
     return _v;
 }