A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::EpsBearer Struct Reference

This class contains the specification of EPS Bearers. More...

#include <eps-bearer.h>

+ Collaboration diagram for ns3::EpsBearer:

Public Types

enum  Qci {
  GBR_CONV_VOICE = 1, GBR_CONV_VIDEO = 2, GBR_GAMING = 3, GBR_NON_CONV_VIDEO = 4,
  NGBR_IMS = 5, NGBR_VIDEO_TCP_OPERATOR = 6, NGBR_VOICE_VIDEO_GAMING = 7, NGBR_VIDEO_TCP_PREMIUM = 8,
  NGBR_VIDEO_TCP_DEFAULT = 9
}
 QoS Class Indicator. More...
 

Public Member Functions

 EpsBearer ()
 Deault constructor. More...
 
 EpsBearer (Qci x)
 
 EpsBearer (Qci x, GbrQosInformation y)
 
uint16_t GetPacketDelayBudgetMs () const
 
double GetPacketErrorLossRate () const
 
uint8_t GetPriority () const
 
bool IsGbr () const
 

Public Attributes

AllocationRetentionPriority arp
 
GbrQosInformation gbrQosInfo
 
enum ns3::EpsBearer::Qci qci
 

Detailed Description

This class contains the specification of EPS Bearers.

See the following references: 3GPP TS 23.203, Section 4.7.2 The EPS bearer 3GPP TS 23.203, Section 4.7.3 Bearer level QoS parameters 3GPP TS 36.413 Section 9.2.1.15 E-RAB Level QoS Parameters

Definition at line 71 of file eps-bearer.h.

Member Enumeration Documentation

QoS Class Indicator.

See 3GPP 23.203 Section 6.1.7.2 for standard values.

Enumerator
GBR_CONV_VOICE 
GBR_CONV_VIDEO 
GBR_GAMING 
GBR_NON_CONV_VIDEO 
NGBR_IMS 
NGBR_VIDEO_TCP_OPERATOR 
NGBR_VOICE_VIDEO_GAMING 
NGBR_VIDEO_TCP_PREMIUM 
NGBR_VIDEO_TCP_DEFAULT 

Definition at line 77 of file eps-bearer.h.

Constructor & Destructor Documentation

ns3::EpsBearer::EpsBearer ( )

Deault constructor.

QCI will be initialized to NGBR_VIDEO_TCP_DEFAULT

Definition at line 45 of file eps-bearer.cc.

ns3::EpsBearer::EpsBearer ( Qci  x)
Parameters
xthe QoS Class Indicator

Definition at line 50 of file eps-bearer.cc.

ns3::EpsBearer::EpsBearer ( Qci  x,
GbrQosInformation  y 
)

Definition at line 55 of file eps-bearer.cc.

Member Function Documentation

uint16_t ns3::EpsBearer::GetPacketDelayBudgetMs ( ) const
Returns
the packet delay budget associated with the QCI of this bearer as per 3GPP 23.203 Section 6.1.7.2

Definition at line 114 of file eps-bearer.cc.

References GBR_CONV_VIDEO, GBR_CONV_VOICE, GBR_GAMING, GBR_NON_CONV_VIDEO, NGBR_IMS, NGBR_VIDEO_TCP_DEFAULT, NGBR_VIDEO_TCP_OPERATOR, NGBR_VIDEO_TCP_PREMIUM, NGBR_VOICE_VIDEO_GAMING, NS_FATAL_ERROR, and qci.

double ns3::EpsBearer::GetPacketErrorLossRate ( ) const
Returns
the packet error loss rate associated with the QCI of this bearer as per 3GPP 23.203 Section 6.1.7.2

Definition at line 144 of file eps-bearer.cc.

References GBR_CONV_VIDEO, GBR_CONV_VOICE, GBR_GAMING, GBR_NON_CONV_VIDEO, NGBR_IMS, NGBR_VIDEO_TCP_DEFAULT, NGBR_VIDEO_TCP_OPERATOR, NGBR_VIDEO_TCP_PREMIUM, NGBR_VOICE_VIDEO_GAMING, NS_FATAL_ERROR, and qci.

Referenced by ns3::LteEnbRrc::GetRlcType().

+ Here is the caller graph for this function:

uint8_t ns3::EpsBearer::GetPriority ( ) const
Returns
the priority associated with the QCI of this bearer as per 3GPP 23.203 Section 6.1.7.2

Definition at line 84 of file eps-bearer.cc.

References GBR_CONV_VIDEO, GBR_CONV_VOICE, GBR_GAMING, GBR_NON_CONV_VIDEO, NGBR_IMS, NGBR_VIDEO_TCP_DEFAULT, NGBR_VIDEO_TCP_OPERATOR, NGBR_VIDEO_TCP_PREMIUM, NGBR_VOICE_VIDEO_GAMING, NS_FATAL_ERROR, and qci.

bool ns3::EpsBearer::IsGbr ( ) const
Returns
true if the EPS Bearer is a Guaranteed Bit Rate bearer, false otherwise

Definition at line 61 of file eps-bearer.cc.

References GBR_CONV_VIDEO, GBR_CONV_VOICE, GBR_GAMING, GBR_NON_CONV_VIDEO, NGBR_IMS, NGBR_VIDEO_TCP_DEFAULT, NGBR_VIDEO_TCP_OPERATOR, NGBR_VIDEO_TCP_PREMIUM, NGBR_VOICE_VIDEO_GAMING, NS_FATAL_ERROR, and qci.

Referenced by ns3::LteEnbRrc::GetLogicalChannelGroup(), and ns3::UeManager::SetupDataRadioBearer().

+ Here is the caller graph for this function:

Member Data Documentation

AllocationRetentionPriority ns3::EpsBearer::arp

Definition at line 91 of file eps-bearer.h.

Referenced by ns3::EpcX2HandoverRequestHeader::Deserialize().

GbrQosInformation ns3::EpsBearer::gbrQosInfo

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