lte: Use Cell ID from RRC messages in LteUeRrc

This commit is contained in:
Alexander Krotov
2017-06-22 11:02:42 +03:00
parent 69d75e13f2
commit 7960f278cc

View File

@@ -1237,6 +1237,7 @@ LteUeRrc::ApplyRadioResourceConfigDedicatedSecondaryCarrier (LteRrcSap::NonCriti
uint8_t ccId = scell.sCellIndex;
uint16_t physCellId = scell.cellIdentification.physCellId;
uint8_t ulBand = scell.radioResourceConfigCommonSCell.ulConfiguration.ulFreqInfo.ulBandwidth;
uint32_t ulEarfcn = scell.radioResourceConfigCommonSCell.ulConfiguration.ulFreqInfo.ulCarrierFreq;
uint8_t dlBand = scell.radioResourceConfigCommonSCell.nonUlConfiguration.dlBandwidth;
@@ -1244,7 +1245,7 @@ LteUeRrc::ApplyRadioResourceConfigDedicatedSecondaryCarrier (LteRrcSap::NonCriti
uint8_t txMode = scell.radioResourceConfigDedicateSCell.physicalConfigDedicatedSCell.antennaInfo.transmissionMode;
uint8_t srsIndex = scell.radioResourceConfigDedicateSCell.physicalConfigDedicatedSCell.soundingRsUlConfigDedicated.srsConfigIndex;
m_cphySapProvider.at (ccId)->SynchronizeWithEnb (m_cellId, dlEarfcn);
m_cphySapProvider.at (ccId)->SynchronizeWithEnb (physCellId, dlEarfcn);
m_cphySapProvider.at (ccId)->SetDlBandwidth (dlBand);
m_cphySapProvider.at (ccId)->ConfigureUplink (ulEarfcn, ulBand);
m_cphySapProvider.at (ccId)->ConfigureReferenceSignalPower (scell.radioResourceConfigCommonSCell.nonUlConfiguration.pdschConfigCommon.referenceSignalPower);