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

                _r.InitDefaults();
                BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);

                _r.pdsch_RE_MappingQCL_ConfigId_r11 = input.ReadBits(2) + 1;
                if (stream.Read())
                {
                    _r.optionalSetOfFields_r11 = optionalSetOfFields_r11_Type.PerDecoder.Instance.Decode(input);
                }
                _r.csi_RS_ConfigZPId_r11 = input.ReadBits(2) + 1;
                if (stream.Read())
                {
                    _r.qcl_CSI_RS_ConfigNZPId_r11 = input.ReadBits(2) + 1;
                }
                return(_r);
            }
Exemple #2
0
            public PDSCH_ConfigDedicated_v1130 Decode(BitArrayInputStream input)
            {
                int num2;
                PDSCH_ConfigDedicated_v1130 _v = new PDSCH_ConfigDedicated_v1130();

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

                if (stream.Read())
                {
                    _v.dmrs_ConfigPDSCH_r11 = DMRS_Config_r11.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    num2             = 1;
                    _v.qcl_Operation = (qcl_Operation_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    _v.re_MappingQCLConfigToReleaseList_r11 = new List <long>();
                    num2 = 2;
                    int num3 = input.ReadBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        long item = input.ReadBits(2) + 1;
                        _v.re_MappingQCLConfigToReleaseList_r11.Add(item);
                    }
                }
                if (stream.Read())
                {
                    _v.re_MappingQCLConfigToAddModList_r11 = new List <PDSCH_RE_MappingQCL_Config_r11>();
                    num2 = 2;
                    int num6 = input.ReadBits(num2) + 1;
                    for (int j = 0; j < num6; j++)
                    {
                        PDSCH_RE_MappingQCL_Config_r11 _r = PDSCH_RE_MappingQCL_Config_r11.PerDecoder.Instance.Decode(input);
                        _v.re_MappingQCLConfigToAddModList_r11.Add(_r);
                    }
                }
                return(_v);
            }
Exemple #3
0
 public PDSCH_RE_MappingQCL_Config_r11 Decode(BitArrayInputStream input)
 {
     PDSCH_RE_MappingQCL_Config_r11 _r = new PDSCH_RE_MappingQCL_Config_r11();
     _r.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);
     _r.pdsch_RE_MappingQCL_ConfigId_r11 = input.readBits(2) + 1;
     if (stream.Read())
     {
         _r.optionalSetOfFields_r11 = optionalSetOfFields_r11_Type.PerDecoder.Instance.Decode(input);
     }
     _r.csi_RS_ConfigZPId_r11 = input.readBits(2) + 1;
     if (stream.Read())
     {
         _r.qcl_CSI_RS_ConfigNZPId_r11 = input.readBits(2) + 1;
     }
     return _r;
 }