A Discrete-Event Network Simulator
API
Public Types | Public Member Functions | Public Attributes | List of all members
ns3::EpsBearer Struct Reference

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

#include "eps-bearer.h"

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 ()
 Default 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
 allocation retention priority More...
 
GbrQosInformation gbrQosInfo
 GBR QOS information. More...
 
enum ns3::EpsBearer::Qci qci
 Qos class indicator. More...
 

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

◆ Qci

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

◆ EpsBearer() [1/3]

ns3::EpsBearer::EpsBearer ( )

Default constructor.

QCI will be initialized to NGBR_VIDEO_TCP_DEFAULT

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

◆ EpsBearer() [2/3]

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

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

◆ EpsBearer() [3/3]

ns3::EpsBearer::EpsBearer ( Qci  x,
GbrQosInformation  y 
)
Parameters
xthe QoS Class Indicator
ythe GbrQosInformation

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

Member Function Documentation

◆ GetPacketDelayBudgetMs()

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.

◆ GetPacketErrorLossRate()

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().

◆ GetPriority()

uint8_t ns3::EpsBearer::GetPriority ( void  ) 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.

◆ IsGbr()

bool ns3::EpsBearer::IsGbr ( ) const

Member Data Documentation

◆ arp

AllocationRetentionPriority ns3::EpsBearer::arp

allocation retention priority

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

Referenced by ns3::EpcX2HandoverRequestHeader::Deserialize(), and ns3::LenaDeactivateBearerTestCase::DoRun().

◆ gbrQosInfo

GbrQosInformation ns3::EpsBearer::gbrQosInfo

◆ qci

enum ns3::EpsBearer::Qci ns3::EpsBearer::qci

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