7#include "nr-eps-bearer.h"
9#include "ns3/attribute-construction-list.h"
10#include "ns3/fatal-error.h"
15NS_OBJECT_ENSURE_REGISTERED(NrEpsBearer);
27 preemptionCapability(false),
28 preemptionVulnerability(false)
36 TypeId(
"ns3::NrEpsBearer")
37 .SetParent<ObjectBase>()
42 "Change from 11 to 18 if you need bearer definition as per newer Releases."
43 " Reference document: TS 23.203. The change does not impact other LTE code than "
44 " bearers definition.",
47 MakeUintegerChecker<uint32_t>());
52NrEpsBearer::GetInstanceTypeId()
const
59 qci(NGBR_VIDEO_TCP_DEFAULT)
61 ObjectBase::ConstructSelf(AttributeConstructionList());
68 ObjectBase::ConstructSelf(AttributeConstructionList());
76 ObjectBase::ConstructSelf(AttributeConstructionList());
84 ObjectBase::ConstructSelf(AttributeConstructionList());
96 m_requirements = GetRequirementsRel11();
99 m_requirements = GetRequirementsRel15();
102 m_requirements = GetRequirementsRel18();
105 NS_FATAL_ERROR(
"Not recognized release " <<
static_cast<uint32_t
>(release)
106 <<
" please choose a value between"
107 " 8 and 11, or 15 or 18");
136const NrEpsBearer::BearerRequirementsMap&
137NrEpsBearer::GetRequirementsRel11()
150 static NrEpsBearer::BearerRequirementsMap ret{
153 {
GBR_GAMING, std::make_tuple(1, 3, 50, 1.0e-3, 0, 0)},
155 {
NGBR_IMS, std::make_tuple(0, 1, 100, 1.0e-6, 0, 0)},
164const NrEpsBearer::BearerRequirementsMap&
165NrEpsBearer::GetRequirementsRel15()
168 static NrEpsBearer::BearerRequirementsMap ret{
171 {
GBR_GAMING, std::make_tuple(1, 30, 50, 1.0e-3, 0, 2000)},
175 {
GBR_MC_VIDEO, std::make_tuple(1, 15, 100, 1.0e-3, 0, 2000)},
176 {
GBR_V2X, std::make_tuple(1, 25, 50, 1.0e-2, 0, 2000)},
177 {
NGBR_IMS, std::make_tuple(0, 10, 100, 1.0e-6, 0, 0)},
183 {
NGBR_MC_DATA, std::make_tuple(0, 55, 200, 1.0e-6, 0, 0)},
184 {
NGBR_V2X, std::make_tuple(0, 65, 5, 1.0e-2, 0, 0)},
188 {
DGBR_ITS, std::make_tuple(2, 24, 30, 1.0e-5, 1354, 2000)},
194const NrEpsBearer::BearerRequirementsMap&
195NrEpsBearer::GetRequirementsRel18()
198 static NrEpsBearer::BearerRequirementsMap ret{
201 {
GBR_GAMING, std::make_tuple(1, 30, 50, 1.0e-3, 0, 2000)},
205 {
GBR_MC_VIDEO, std::make_tuple(1, 15, 100, 1.0e-3, 0, 2000)},
206 {
GBR_V2X, std::make_tuple(1, 25, 50, 1.0e-2, 0, 2000)},
207 {
NGBR_IMS, std::make_tuple(0, 10, 100, 1.0e-6, 0, 0)},
213 {
NGBR_MC_DATA, std::make_tuple(0, 55, 200, 1.0e-6, 0, 0)},
214 {
NGBR_V2X, std::make_tuple(0, 65, 5, 1.0e-2, 0, 0)},
223 {
DGBR_ITS, std::make_tuple(2, 24, 30, 1.0e-5, 1354, 2000)},
225 {
DGBR_V2X, std::make_tuple(2, 18, 5, 1.0e-4, 1354, 2000)},
This class contains the specification of EPS Bearers.
uint16_t GetPacketDelayBudgetMs() const
uint8_t GetRelease() const
GetRelease.
Qci qci
Qos class indicator.
NrGbrQosInformation gbrQosInfo
GBR QOS information.
void SetRelease(uint8_t release)
SetRelease.
uint8_t GetPriority() const
uint8_t GetResourceType() const
double GetPacketErrorLossRate() const
@ NGBR_LOW_LAT_EMBB
Non-GBR Low Latency eMBB applications.
@ DGBR_VISUAL_CONTENT_89
Delay-Critical GBR Visual Content for cloud/edge/split rendering (TS 23.501)
@ GBR_V2X
GBR V2X Messages.
@ NGBR_V2X
Non-GBR V2X Messages.
@ GBR_NMC_PUSH_TO_TALK
GBR Non-Mission-Critical User Plane Push To Talk voice.
@ GBR_LIVE_UL_71
GBR Live UL streaming.
@ NGBR_MC_DELAY_SIGNAL
Non-GBR Mission Critical Delay Sensitive Signalling (e.g., MC-PTT)
@ DGBR_DISCRETE_AUT_SMALL
Delay-Critical GBR Discrete Automation Small Packets (TS 22.261)
@ GBR_CONV_VOICE
GBR Conversational Voice.
@ NGBR_VOICE_VIDEO_GAMING
Non-GBR Voice, Video, Interactive Streaming.
@ GBR_LIVE_UL_76
GBR Live UL streaming.
@ NGBR_VIDEO_TCP_OPERATOR
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ GBR_GAMING
GBR Real Time Gaming.
@ GBR_CONV_VIDEO
GBR Conversational Video (Live streaming)
@ GBR_LIVE_UL_72
GBR Live UL streaming.
@ DGBR_INTER_SERV_88
Delay-Critical GBR Interactive Service - Motion tracking data (TS 23.501)
@ DGBR_V2X
Delay-Critical GBR V2X Messages (TS 23.501)
@ NGBR_VIDEO_TCP_DEFAULT
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ DGBR_VISUAL_CONTENT_90
Delay-Critical GBR Visual Content for cloud/edge/split rendering (TS 23.501)
@ DGBR_ITS
Delay-Critical GBR Intelligent Transport Systems (TS 22.261)
@ NGBR_IMS
Non-GBR IMS Signalling.
@ NGBR_MC_DATA
Non-GBR Mission Critical Data.
@ GBR_MC_VIDEO
GBR Mission Critical Video User Plane.
@ DGBR_INTER_SERV_87
Delay-Critical GBR Interactive Service - Motion tracking data (TS 23.501)
@ NGBR_VIDEO_TCP_PREMIUM
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ GBR_LIVE_UL_74
GBR Live UL streaming.
@ GBR_LIVE_UL_73
GBR Live UL streaming.
@ DGBR_ELECTRICITY
Delay-Critical GBR Electricity Distribution High Voltage (TS 22.261)
@ DGBR_DISCRETE_AUT_LARGE
Delay-Critical GBR Discrete Automation Large Packets (TS 22.261)
@ GBR_MC_PUSH_TO_TALK
GBR Mission Critical User Plane Push To Talk voice.
@ GBR_NON_CONV_VIDEO
GBR Non-Conversational Video (Buffered Streaming)
static TypeId GetTypeId()
Get the type ID.
NrAllocationRetentionPriority()