ns-3
ns3::AmcModule Class Reference

The AMC module attached to the LTE networ device AmcModule class implements the Adaptive Modulation And Coding Scheme as proposed in 3GPP TSG-RAN WG1 - R1-081483 http://www.3gpp.org/ftp/tsg_ran/WG1_RL1/TSGR1_52b/Docs/R1-081483.zip. More...

#include <amc-module.h>

Inheritance diagram for ns3::AmcModule:
Collaboration diagram for ns3::AmcModule:

List of all members.

Public Member Functions

void Initialize ()
 Initialize CQI, MCS, SpectralEfficiency e TBs values.
int GetMcsFromCqi (int cqi)
 Get the Modulation anc Coding Scheme for a CQI value.
int GetTbSizeFromMcs (int mcs)
 Get the Transport Block Size for a selected MCS.
double GetSpectralEfficiencyFromCqi (int cqi)
 Get the spectral efficiency value associated to the received CQI.
std::vector< int > CreateCqiFeedbacks (std::vector< double > sinr)
 Create a message with CQI feedbaks.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::AmcModule.

Detailed Description

The AMC module attached to the LTE networ device AmcModule class implements the Adaptive Modulation And Coding Scheme as proposed in 3GPP TSG-RAN WG1 - R1-081483 http://www.3gpp.org/ftp/tsg_ran/WG1_RL1/TSGR1_52b/Docs/R1-081483.zip.


Member Function Documentation

Get the Modulation anc Coding Scheme for a CQI value.

Parameters:
cqithe cqi value
Returns:
the MCS value

References NS_LOG_FUNCTION.

Get the spectral efficiency value associated to the received CQI.

Parameters:
cqithe cqi value
Returns:
the spectral efficiency value

References NS_LOG_FUNCTION.

Get the Transport Block Size for a selected MCS.

Parameters:
mcsthe mcs index
Returns:
the TBs value

References NS_LOG_FUNCTION.

TypeId ns3::AmcModule::GetTypeId ( void  ) [static]

This method returns the TypeId associated to ns3::AmcModule.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::AmcModule
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::AmcModule

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().


The documentation for this class was generated from the following files: