public CQI_ReportConfig_r10 Decode(BitArrayInputStream input)
            {
                CQI_ReportConfig_r10 _r = new CQI_ReportConfig_r10();

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

                if (stream.Read())
                {
                    _r.cqi_ReportAperiodic_r10 = CQI_ReportAperiodic_r10.PerDecoder.Instance.Decode(input);
                }
                _r.nomPDSCH_RS_EPRE_Offset = input.readBits(3) + -1;
                if (stream.Read())
                {
                    _r.cqi_ReportPeriodic_r10 = CQI_ReportPeriodic_r10.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    const int nBits = 1;
                    _r.pmi_RI_Report_r9 = (pmi_RI_Report_r9_Enum)input.readBits(nBits);
                }
                if (stream.Read())
                {
                    _r.csi_SubframePatternConfig_r10 = csi_SubframePatternConfig_r10_Type.PerDecoder.Instance.Decode(input);
                }
                return(_r);
            }
Exemple #2
0
 public CQI_ReportConfig_r10 Decode(BitArrayInputStream input)
 {
     CQI_ReportConfig_r10 _r = new CQI_ReportConfig_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         _r.cqi_ReportAperiodic_r10 = CQI_ReportAperiodic_r10.PerDecoder.Instance.Decode(input);
     }
     _r.nomPDSCH_RS_EPRE_Offset = input.readBits(3) + -1;
     if (stream.Read())
     {
         _r.cqi_ReportPeriodic_r10 = CQI_ReportPeriodic_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         const int nBits = 1;
         _r.pmi_RI_Report_r9 = (pmi_RI_Report_r9_Enum)input.readBits(nBits);
     }
     if (stream.Read())
     {
         _r.csi_SubframePatternConfig_r10 = csi_SubframePatternConfig_r10_Type.PerDecoder.Instance.Decode(input);
     }
     return _r;
 }