From cca38b6b1874abf8dc445eb61846a366e88cc522 Mon Sep 17 00:00:00 2001 From: Nicola Baldo Date: Thu, 13 Dec 2012 14:31:36 +0100 Subject: [PATCH] increased SRS start time to 20ms to cope with RRC message delays --- src/lte/model/lte-enb-phy.cc | 2 +- src/lte/model/lte-ue-phy.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lte/model/lte-enb-phy.cc b/src/lte/model/lte-enb-phy.cc index 53c48cc7a..8d66883ee 100644 --- a/src/lte/model/lte-enb-phy.cc +++ b/src/lte/model/lte-enb-phy.cc @@ -894,7 +894,7 @@ LteEnbPhy::DoSetSrsConfigurationIndex (uint16_t rnti, uint16_t srcCi) // inhibit SRS until RRC Connection Reconfiguration propagates // to UEs, otherwise we might be wrong in determining the UE who // actually sent the SRS (if the UE was using a stale SRS config) - m_srsStartTime = Simulator::Now () + MilliSeconds (m_macChTtiDelay) + MilliSeconds (3); + m_srsStartTime = Simulator::Now () + MilliSeconds (m_macChTtiDelay) + MilliSeconds (20); } NS_LOG_DEBUG (this << " ENB SRS P " << m_srsPeriodicity << " RNTI " << rnti << " offset " << GetSrsSubframeOffset (srcCi) << " CI " << srcCi); diff --git a/src/lte/model/lte-ue-phy.cc b/src/lte/model/lte-ue-phy.cc index 4778eca02..be8ad7d8d 100644 --- a/src/lte/model/lte-ue-phy.cc +++ b/src/lte/model/lte-ue-phy.cc @@ -899,7 +899,7 @@ LteUePhy::DoSetSrsConfigurationIndex (uint16_t srcCi) // to make sure no UE sends SRSs before all UEs received the new SRS configuration. // Note that the eNB will send the new SRS config to all UEs at the same time, // but with the real RRC model the time it takes to reach each UE might vary. - m_srsStartTime = Simulator::Now () + MilliSeconds (3); + m_srsStartTime = Simulator::Now () + MilliSeconds (20); NS_LOG_DEBUG (this << " UE SRS P " << m_srsPeriodicity << " RNTI " << m_rnti << " offset " << m_srsSubframeOffset << " cellId " << m_cellId << " CI " << srcCi); }