Ejemplo n.º 1
0
                public ul_Configuration_r10_Type Decode(BitArrayInputStream input)
                {
                    ul_Configuration_r10_Type type = new ul_Configuration_r10_Type();

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

                    if (stream.Read())
                    {
                        type.antennaInfoUL_r10 = AntennaInfoUL_r10.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.pusch_ConfigDedicatedSCell_r10 = PUSCH_ConfigDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.uplinkPowerControlDedicatedSCell_r10 = UplinkPowerControlDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.cqi_ReportConfigSCell_r10 = CQI_ReportConfigSCell_r10.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.soundingRS_UL_ConfigDedicated_r10 = SoundingRS_UL_ConfigDedicated.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.soundingRS_UL_ConfigDedicated_v1020 = SoundingRS_UL_ConfigDedicated_v1020.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.soundingRS_UL_ConfigDedicatedAperiodic_r10 = SoundingRS_UL_ConfigDedicatedAperiodic_r10.PerDecoder.Instance.Decode(input);
                    }
                    return(type);
                }
Ejemplo n.º 2
0
                public ul_Configuration_r10_Type Decode(BitArrayInputStream input)
                {
                    ul_Configuration_r10_Type type = new ul_Configuration_r10_Type();

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

                    type.ul_FreqInfo_r10 = ul_FreqInfo_r10_Type.PerDecoder.Instance.Decode(input);
                    if (stream.Read())
                    {
                        type.p_Max_r10 = input.readBits(6) + -30;
                    }
                    type.uplinkPowerControlCommonSCell_r10 = UplinkPowerControlCommonSCell_r10.PerDecoder.Instance.Decode(input);
                    type.soundingRS_UL_ConfigCommon_r10    = SoundingRS_UL_ConfigCommon.PerDecoder.Instance.Decode(input);
                    int nBits = 1;

                    type.ul_CyclicPrefixLength_r10 = (UL_CyclicPrefixLength)input.readBits(nBits);
                    if (stream.Read())
                    {
                        type.prach_ConfigSCell_r10 = PRACH_ConfigSCell_r10.PerDecoder.Instance.Decode(input);
                    }
                    type.pusch_ConfigCommon_r10 = PUSCH_ConfigCommon.PerDecoder.Instance.Decode(input);
                    return(type);
                }
Ejemplo n.º 3
0
 public ul_Configuration_r10_Type Decode(BitArrayInputStream input)
 {
     ul_Configuration_r10_Type type = new ul_Configuration_r10_Type();
     type.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 7);
     if (stream.Read())
     {
         type.antennaInfoUL_r10 = AntennaInfoUL_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.pusch_ConfigDedicatedSCell_r10 = PUSCH_ConfigDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.uplinkPowerControlDedicatedSCell_r10 = UplinkPowerControlDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.cqi_ReportConfigSCell_r10 = CQI_ReportConfigSCell_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.soundingRS_UL_ConfigDedicated_r10 = SoundingRS_UL_ConfigDedicated.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.soundingRS_UL_ConfigDedicated_v1020 = SoundingRS_UL_ConfigDedicated_v1020.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         type.soundingRS_UL_ConfigDedicatedAperiodic_r10 = SoundingRS_UL_ConfigDedicatedAperiodic_r10.PerDecoder.Instance.Decode(input);
     }
     return type;
 }
Ejemplo n.º 4
0
 public ul_Configuration_r10_Type Decode(BitArrayInputStream input)
 {
     ul_Configuration_r10_Type type = new ul_Configuration_r10_Type();
     type.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     type.ul_FreqInfo_r10 = ul_FreqInfo_r10_Type.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         type.p_Max_r10 = input.ReadBits(6) + -30;
     }
     type.uplinkPowerControlCommonSCell_r10 = UplinkPowerControlCommonSCell_r10.PerDecoder.Instance.Decode(input);
     type.soundingRS_UL_ConfigCommon_r10 = SoundingRS_UL_ConfigCommon.PerDecoder.Instance.Decode(input);
     int nBits = 1;
     type.ul_CyclicPrefixLength_r10 = (UL_CyclicPrefixLength)input.ReadBits(nBits);
     if (stream.Read())
     {
         type.prach_ConfigSCell_r10 = PRACH_ConfigSCell_r10.PerDecoder.Instance.Decode(input);
     }
     type.pusch_ConfigCommon_r10 = PUSCH_ConfigCommon.PerDecoder.Instance.Decode(input);
     return type;
 }