Example #1
0
            public PhyLayerParameters_v1020 Decode(BitArrayInputStream input)
            {
                int num2;
                PhyLayerParameters_v1020 _v = new PhyLayerParameters_v1020();

                _v.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 7);

                if (stream.Read())
                {
                    num2 = 1;
                    _v.twoAntennaPortsForPUCCH_r10 = (twoAntennaPortsForPUCCH_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.tm9_With_8Tx_FDD_r10 = (tm9_With_8Tx_FDD_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.pmi_Disabling_r10 = (pmi_Disabling_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.crossCarrierScheduling_r10 = (crossCarrierScheduling_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.simultaneousPUCCH_PUSCH_r10 = (simultaneousPUCCH_PUSCH_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.multiClusterPUSCH_WithinCC_r10 = (multiClusterPUSCH_WithinCC_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    _v.nonContiguousUL_RA_WithinCC_List_r10 = new List <NonContiguousUL_RA_WithinCC_r10>();
                    num2 = 6;
                    int num3 = input.ReadBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        NonContiguousUL_RA_WithinCC_r10 item = NonContiguousUL_RA_WithinCC_r10.PerDecoder.Instance.Decode(input);
                        _v.nonContiguousUL_RA_WithinCC_List_r10.Add(item);
                    }
                }
                return(_v);
            }
Example #2
0
 public PhyLayerParameters_v1020 Decode(BitArrayInputStream input)
 {
     int num2;
     PhyLayerParameters_v1020 _v = new PhyLayerParameters_v1020();
     _v.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 7);
     if (stream.Read())
     {
         num2 = 1;
         _v.twoAntennaPortsForPUCCH_r10 = (twoAntennaPortsForPUCCH_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.tm9_With_8Tx_FDD_r10 = (tm9_With_8Tx_FDD_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.pmi_Disabling_r10 = (pmi_Disabling_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.crossCarrierScheduling_r10 = (crossCarrierScheduling_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.simultaneousPUCCH_PUSCH_r10 = (simultaneousPUCCH_PUSCH_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.multiClusterPUSCH_WithinCC_r10 = (multiClusterPUSCH_WithinCC_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         _v.nonContiguousUL_RA_WithinCC_List_r10 = new List<NonContiguousUL_RA_WithinCC_r10>();
         num2 = 6;
         int num3 = input.ReadBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             NonContiguousUL_RA_WithinCC_r10 item = NonContiguousUL_RA_WithinCC_r10.PerDecoder.Instance.Decode(input);
             _v.nonContiguousUL_RA_WithinCC_List_r10.Add(item);
         }
     }
     return _v;
 }