![]() |
5G-LENA nr-v3.3-120-gdac69c56
The 5G/NR module for the ns-3 simulator
|
Interface for a Bwp selection algorithm based on the bearer. More...
#include "bwp-manager-algorithm.h"
Public Member Functions | |
BwpManagerAlgorithm ()=default | |
constructor | |
~BwpManagerAlgorithm () override=default | |
virtual uint8_t | GetBwpForEpsBearer (const NrEpsBearer::Qci &v) const =0 |
Get the bandwidth part id for the Qci specified. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
GetTypeId. | |
Interface for a Bwp selection algorithm based on the bearer.
At the moment, we provide only a static algorithm that has to be configured before the simulation starts (BwpManagerAlgorithmStatic).
The algorithm can be set, before the scenario creation, through the helper method NrHelper::SetGnbBwpManagerAlgorithmTypeId(). It is also possible to set attributes, through NrHelper::SetGnbBwpManagerAlgorithmAttribute().
For the UE, the methods to use are, respectively, NrHelper::SetUeBwpManagerAlgorithmTypeId() and NrHelper::SetUeBwpManagerAlgorithmAttribute().
ns3::BwpManagerAlgorithm is accessible through the following paths with Config::Set and Config::Connect:
/NodeList/[i]/DeviceList/[i]/$ns3::NrGnbNetDevice/NrGnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrGnbNetDevice/NrGnbComponentCarrierManager/$ns3::NrNoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrGnbNetDevice/NrGnbComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrGnbNetDevice/NrGnbComponentCarrierManager/$ns3::NrNoOpComponentCarrierManager/$ns3::BwpManagerGnb/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::NrSimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
/NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::NrSimpleUeComponentCarrierManager/$ns3::BwpManagerUe/BwpManagerAlgorithm
No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 56 bytes (on a 64-bit architecture).
Definition at line 37 of file bwp-manager-algorithm.h.
|
overridedefault |
~BwpManagerAlgorithm
|
pure virtual |
Get the bandwidth part id for the Qci specified.
v | the qci |
Implemented in ns3::BwpManagerAlgorithmStatic.
|
static |