--- a/src/lte/examples/lena-dual-stripe.cc Mon Dec 17 20:03:07 2012 +0100
+++ b/src/lte/examples/lena-dual-stripe.cc Tue Dec 18 10:31:08 2012 +0100
@@ -331,6 +331,10 @@
ns3::UintegerValue (1),
ns3::MakeUintegerChecker<uint16_t> ());
+static ns3::GlobalValue g_srsPeriodicity ("srsPeriodicity",
+ "SRS Periodicity (has to be at least greater than the number of UEs per eNB)",
+ ns3::UintegerValue (80),
+ ns3::MakeUintegerChecker<uint16_t> ());
int
main (int argc, char *argv[])
@@ -403,6 +407,10 @@
std::string fadingTrace = stringValue.Get ();
GlobalValue::GetValueByName ("numBearersPerUe", uintegerValue);
uint16_t numBearersPerUe = uintegerValue.Get ();
+ GlobalValue::GetValueByName ("srsPeriodicity", uintegerValue);
+ uint16_t srsPeriodicity = uintegerValue.Get ();
+
+ Config::SetDefault ("ns3::LteEnbRrc::SrsPeriodicity", UintegerValue(srsPeriodicity));
Box macroUeBox;