Remove LteAmc::Ber parameter from LteAmc::MiErrorModel for avoiding misunderstanding

This commit is contained in:
Marco Miozzo
2012-02-22 12:03:52 +01:00
parent 4fa8d24e43
commit 41e34fb6da
3 changed files with 5 additions and 6 deletions

View File

@@ -539,15 +539,14 @@ The simulator provides two possible schemes for what concerns the selection of t
Config::SetDefault ("ns3::LteAmc::AmcModel", EnumValue (LteAmc::PiroEW2010));
While, the solution based on the physical error model can be controlled with:
While, the solution based on the physical error model can be controlled with::
Config::SetDefault ("ns3::LteAmc::AmcModel", EnumValue (LteAmc::MiErrorModel));
Finally, the required BER can be setted for fine tuning of the AMC module thanks to the ``Ber`` attribute, for instance:
Finally, the required efficiency of the ``PiroEW2010`` AMC module can be tuned thanks to the ``Ber`` attribute (), for instance::
Config::SetDefault ("ns3::LteAmc::Ber", DoubleValue (0.00005));
We note that the model ``PiroEW2010`` is designed for working with a BER of 0.00005, while ``MiErrorModel`` with a BER of 0.1.

View File

@@ -224,7 +224,7 @@ LteAmc::GetTypeId (void)
.AddConstructor<LteAmc> ()
.AddAttribute ("Ber",
"The requested BER in assigning MCS (default is 0.00005).",
DoubleValue (0.1),
DoubleValue (0.00005),
MakeDoubleAccessor (&LteAmc::m_ber),
MakeDoubleChecker<double> ())
.AddAttribute ("AmcModel",
@@ -349,7 +349,7 @@ LteAmc::CreateCqiFeedbacks (const SpectrumValue& sinr, uint8_t rbgSize)
while (mcs < 28)
{
ber = LteMiErrorModel::GetTbError (sinr, rbgMap, (uint16_t)GetTbSizeFromMcs (mcs, rbgSize), mcs);
if (ber > m_ber)
if (ber > 0.1)
break;
mcs++;

View File

@@ -51,7 +51,7 @@ public:
enum AmcModel
{
PiroEW2010, // BER should be set at 0.00005
PiroEW2010,
// model based on Piro, G.; Grieco, L.A.; Boggia, G.; Camarda, P.;
//A two-level scheduling algorithm for QoS support in the downlink of
//LTE cellular networks European Wireless Conference (EW), 2010