zero SRS guard time since we use static SRS periodicity now

This commit is contained in:
Nicola Baldo
2012-12-17 20:03:07 +01:00
parent 1b02f7a968
commit 0629f3dce2
3 changed files with 6 additions and 8 deletions

View File

@@ -897,7 +897,8 @@ 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 (20);
// if we use a static SRS configuration index, we can have a 0ms guard time
m_srsStartTime = Simulator::Now () + MilliSeconds (m_macChTtiDelay) + MilliSeconds (0);
}
NS_LOG_DEBUG (this << " ENB SRS P " << m_srsPeriodicity << " RNTI " << rnti << " offset " << GetSrsSubframeOffset (srcCi) << " CI " << srcCi);

View File

@@ -925,11 +925,9 @@ LteUePhy::DoSetSrsConfigurationIndex (uint16_t srcCi)
m_srsSubframeOffset = GetSrsSubframeOffset (srcCi);
m_srsConfigured = true;
// Need a guard time for the case where the SRS periodicity is changed
// 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 (20);
// a guard time is needed for the case where the SRS periodicity is changed dynamically at run time
// if we use a static one, we can have a 0ms guard time
m_srsStartTime = Simulator::Now () + MilliSeconds (0);
NS_LOG_DEBUG (this << " UE SRS P " << m_srsPeriodicity << " RNTI " << m_rnti << " offset " << m_srsSubframeOffset << " cellId " << m_cellId << " CI " << srcCi);
}

View File

@@ -58,8 +58,7 @@ LenaTestRrFfMacSchedulerSuite::LenaTestRrFfMacSchedulerSuite ()
{
NS_LOG_INFO ("creating LenaRrFfMacSchedulerTestCase");
AddTestCase (new LenaRrFfMacSchedulerTestCase (9,0,15000,22000,15000));
AddTestCase (new LenaRrFfMacSchedulerTestCase (15,0,15000,17600,7000));
// DOWNLINK- DISTANCE 0 -> MCS 28 -> Itbs 26 (from table 7.1.7.2.1-1 of 36.213)
// 1 user -> 24 PRB at Itbs 26 -> 2196 -> 2196000 bytes/sec