minor fixes on Rsrp and interference traces

This commit is contained in:
Nicola Baldo
2012-11-12 18:47:35 +01:00
parent 4a6e736f65
commit dd46aa3d5f
2 changed files with 5 additions and 4 deletions

View File

@@ -73,10 +73,11 @@ int main (int argc, char *argv[])
// Activate an EPS bearer
enum EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
EpsBearer bearer (q);
lteHelper->ActivateDataRadioBearer (ueDevs, bearer);
lteHelper->ActivateDataRadioBearer (ueDevs, bearer);
Simulator::Stop (Seconds (2));
lteHelper->EnablePhyTraces ();
lteHelper->EnableMacTraces ();
lteHelper->EnableRlcTraces ();

View File

@@ -49,17 +49,17 @@ PhyStatsCalculator::GetTypeId (void)
static TypeId tid = TypeId ("ns3::PhyStatsCalculator")
.SetParent<LteStatsCalculator> ()
.AddConstructor<PhyStatsCalculator> ()
.AddAttribute ("RsrpRsrqFilename",
.AddAttribute ("DlRsrpRsrqFilename",
"Name of the file where the RSRP/RSRQ statistics will be saved.",
StringValue ("DlRsrpRsrqStats.txt"),
MakeStringAccessor (&PhyStatsCalculator::SetCurrentCellRsrpRsrqFilename),
MakeStringChecker ())
.AddAttribute ("UeSinrFilename",
.AddAttribute ("UlSinrFilename",
"Name of the file where the UE SINR statistics will be saved.",
StringValue ("UlSinrStats.txt"),
MakeStringAccessor (&PhyStatsCalculator::SetUeSinrFilename),
MakeStringChecker ())
.AddAttribute ("InterferenceFilename",
.AddAttribute ("UlInterferenceFilename",
"Name of the file where the interference statistics will be saved.",
StringValue ("UlInterferenceStats.txt"),
MakeStringAccessor (&PhyStatsCalculator::SetInterferenceFilename),