minor fixes on Rsrp and interference traces
This commit is contained in:
@@ -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 ();
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user