Exemplo n.º 1
0
            public AntennaInfoDedicated Decode(BitArrayInputStream input)
            {
                AntennaInfoDedicated dedicated = new AntennaInfoDedicated();

                dedicated.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);
                const int     nBits  = 3;

                dedicated.transmissionMode = (transmissionMode_Enum)input.readBits(nBits);
                if (stream.Read())
                {
                    dedicated.codebookSubsetRestriction = codebookSubsetRestriction_Type.PerDecoder.Instance.Decode(input);
                }
                dedicated.ue_TransmitAntennaSelection = ue_TransmitAntennaSelection_Type.PerDecoder.Instance.Decode(input);
                return(dedicated);
            }
Exemplo n.º 2
0
 public AntennaInfoDedicated Decode(BitArrayInputStream input)
 {
     AntennaInfoDedicated dedicated = new AntennaInfoDedicated();
     dedicated.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     const int nBits = 3;
     dedicated.transmissionMode = (transmissionMode_Enum)input.readBits(nBits);
     if (stream.Read())
     {
         dedicated.codebookSubsetRestriction = codebookSubsetRestriction_Type.PerDecoder.Instance.Decode(input);
     }
     dedicated.ue_TransmitAntennaSelection = ue_TransmitAntennaSelection_Type.PerDecoder.Instance.Decode(input);
     return dedicated;
 }