Esempio n. 1
0
            protected override void ProcessConfig(BandParameters_r10 config, BitArrayInputStream input)
            {
                BitMaskStream stream = new BitMaskStream(input, 2);

                config.bandEUTRA_r10 = input.ReadBits(6) + 1;
                if (stream.Read())
                {
                    config.bandParametersUL_r10 = new List <CA_MIMO_ParametersUL_r10>();
                    int num3 = input.ReadBits(4) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        CA_MIMO_ParametersUL_r10 item = CA_MIMO_ParametersUL_r10.PerDecoder.Instance.Decode(input);
                        config.bandParametersUL_r10.Add(item);
                    }
                }
                if (stream.Read())
                {
                    config.bandParametersDL_r10 = new List <CA_MIMO_ParametersDL_r10>();
                    int num5 = input.ReadBits(4) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        CA_MIMO_ParametersDL_r10 _r3 = CA_MIMO_ParametersDL_r10.PerDecoder.Instance.Decode(input);
                        config.bandParametersDL_r10.Add(_r3);
                    }
                }
            }
Esempio n. 2
0
            public BandParameters_r10 Decode(BitArrayInputStream input)
            {
                int num2;
                BandParameters_r10 _r = new BandParameters_r10();

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

                _r.bandEUTRA_r10 = input.readBits(6) + 1;
                if (stream.Read())
                {
                    _r.bandParametersUL_r10 = new List <CA_MIMO_ParametersUL_r10>();
                    num2 = 4;
                    int num3 = input.readBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        CA_MIMO_ParametersUL_r10 item = CA_MIMO_ParametersUL_r10.PerDecoder.Instance.Decode(input);
                        _r.bandParametersUL_r10.Add(item);
                    }
                }
                if (stream.Read())
                {
                    _r.bandParametersDL_r10 = new List <CA_MIMO_ParametersDL_r10>();
                    num2 = 4;
                    int num5 = input.readBits(num2) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        CA_MIMO_ParametersDL_r10 _r3 = CA_MIMO_ParametersDL_r10.PerDecoder.Instance.Decode(input);
                        _r.bandParametersDL_r10.Add(_r3);
                    }
                }
                return(_r);
            }
Esempio n. 3
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;
 }
Esempio n. 4
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);
            }