lte: Set cell id to 0 in UE RRC and PHY upon RLF

This commit is contained in:
ZorazeAli
2019-04-16 16:32:27 +02:00
parent f7dff4d870
commit fc8dfc0e44
2 changed files with 2 additions and 0 deletions

View File

@@ -1287,6 +1287,7 @@ LteUePhy::DoReset ()
NS_LOG_FUNCTION (this);
m_rnti = 0;
m_cellId = 0;
m_isConnected = false;
m_transmissionMode = 0;
m_srsPeriodicity = 0;

View File

@@ -3088,6 +3088,7 @@ LteUeRrc::LeaveConnectedMode ()
DoStartCellSelection (m_dlEarfcn);
//Save the cell id UE was attached to
StorePreviousCellId (m_cellId);
m_cellId = 0;
DoSetTemporaryCellRnti (0); // discard temporary cell RNTI
}