22.214.171.124 QoS Flow
The 5G QoS model is based on QoS Flows. The 5G QoS model supports both QoS Flows that require guaranteed flow bit rate (GBR QoS Flows) and QoS Flows that do not require guaranteed flow bit rate (Non-GBR QoS Flows). The 5G QoS model also supports Reflective QoS (see clause 5.7.5
The QoS Flow is the finest granularity of QoS differentiation in the PDU Session. A QoS Flow ID (QFI) is used to identify a QoS Flow in the 5G System. User Plane traffic with the same QFI within a PDU Session receives the same traffic forwarding treatment (e.g. scheduling, admission threshold). The QFI is carried in an encapsulation header on N3 (and N9) i.e. without any changes to the e2e packet header. QFI shall be used for all PDU Session Types. The QFI shall be unique within a PDU Session. The QFI may be dynamically assigned or may be equal to the 5QI (see clause 126.96.36.199
Within the 5GS, a QoS Flow is controlled by the SMF and may be preconfigured, or established via the PDU Session Establishment procedure (see TS 23.502, clause 4.3.2
), or the PDU Session Modification procedure (see TS 23.502, clause 4.3.3
Any QoS Flow is characterised by:
A QoS profile provided by the SMF to the AN via the AMF over the N2 reference point or preconfigured in the AN;
One or more QoS rule(s) and optionally QoS Flow level QoS parameters (as specified in TS 24.501) associated with these QoS rule(s) which can be provided by the SMF to the UE via the AMF over the N1 reference point and/or derived by the UE by applying Reflective QoS control; and
One or more UL and DL PDR(s) provided by the SMF to the UPF.
Within the 5GS, a QoS Flow associated with the default QoS rule is required to be established for a PDU Session and remains established throughout the lifetime of the PDU Session. This QoS Flow should be a Non-GBR QoS Flow (further details are described in clause 188.8.131.52
A QoS Flow is associated with QoS requirements as specified by QoS parameters and QoS characteristics.
The above QoS Flow provides the UE with connectivity throughout the lifetime of the PDU Session. Possible interworking with EPS motivates the recommendation for this QoS Flow to be of type Non-GBR.
184.108.40.206 QoS Profile Word-p. 131
A QoS Flow may either be 'GBR' or 'Non-GBR' depending on its QoS profile. The QoS profile of a QoS Flow is sent to the (R)AN and it contains QoS parameters as described below (details of QoS parameters are described in clause 5.7.2
For each QoS Flow, the QoS profile shall include the QoS parameters:
5G QoS Identifier (5QI); and
Allocation and Retention Priority (ARP).
For each Non-GBR QoS Flow only, the QoS profile may also include the QoS parameter:
Reflective QoS Attribute (RQA).
For each GBR QoS Flow only, the QoS profile shall also include the QoS parameters:
Guaranteed Flow Bit Rate (GFBR) - UL and DL; and
Maximum Flow Bit Rate (MFBR) - UL and DL; and
In the case of a GBR QoS Flow only, the QoS profile may also include one or more of the QoS parameters:
Maximum Packet Loss Rate - UL and DL.
In this Release of the specification, the Maximum Packet Loss Rate (UL, DL) is only provided for a GBR QoS flow belonging to voice media.
Each QoS profile has one corresponding QoS Flow identifier (QFI) which is not included in the QoS profile itself.
The usage of a dynamically assigned 5QI for a QoS Flow requires in addition the signalling of the complete 5G QoS characteristics (described in clause 5.7.3
) as part of the QoS profile.
When a standardized or pre-configured 5QI is used for a QoS Flow, some of the 5G QoS characteristics may be signalled as part of the QoS profile (as described in clause 5.7.3
220.127.116.11a Alternative QoS Profile [R16]
The Alternative QoS Profile(s) can be optionally provided for a GBR QoS Flow with Notification control enabled. If the corresponding PCC rule contains the related information (as described in TS 23.503
), the SMF shall provide, in addition to the QoS profile, a prioritized list of Alternative QoS Profile(s) to the NG-RAN. If the SMF provides a new prioritized list of Alternative QoS Profile(s) to the NG-RAN (if the corresponding PCC rule information changes), the NG-RAN shall replace any previously stored list with it.
An Alternative QoS Profile represents a combination of QoS parameters to which the application traffic is able to adapt and has the same format as the QoS profile for that QoS Flow.
When the NG-RAN sends a notification to the SMF that the QoS profile is not fulfilled, the NG-RAN shall, if the currently fulfilled values match an Alternative QoS Profile, include also the reference to the Alternative QoS Profile to indicate the QoS that the NG-RAN currently fulfils (see clause 18.104.22.168
22.214.171.124 Control of QoS Flows
The following options are supported to control QoS Flows:
For Non-GBR QoS Flows, and when standardized 5QIs or pre-configured 5QIs are used and when the 5QI is within the range of the QFI (i.e. a value less than 64), the 5QI value may be used as the QFI of the QoS Flow.
A default ARP shall be pre-configured in the AN; or
The ARP and the QFI shall be sent to RAN over N2 at PDU Session Establishment or at PDU Session Modification and when NG-RAN is used every time the User Plane of the PDU Session is activated; and
For all other cases (including GBR and Non-GBR QoS Flows), a dynamically assigned QFI shall be used. The 5QI value may be a standardized, pre-configured or dynamically assigned. The QoS profile and the QFI of a QoS Flow shall be provided to the (R)AN over N2 at PDU Session Establishment/Modification and when NG-RAN is used every time the User Plane of the PDU Session is activated.
Only options 1b and 2 may apply to 3GPP ANs. Options 1a, 1b and 2 may apply to Non-3GPP access.
Pre-configured 5QI values cannot be used when the UE is roaming.
126.96.36.199 QoS Rules Word-p. 132
The UE performs the classification and marking of UL User plane traffic, i.e. the association of UL traffic to QoS Flows, based on QoS rules. These QoS rules may be explicitly provided to the UE (i.e. explicitly signalled QoS rules using the PDU Session Establishment/Modification procedure), pre-configured in the UE or implicitly derived by the UE by applying Reflective QoS (see clause 5.7.5
). A QoS rule contains the QFI of the associated QoS Flow, a Packet Filter Set (see clause 5.7.6
) and a precedence value (see clause 188.8.131.52
). An explicitly signalled QoS rule contains a QoS rule identifier which is unique within the PDU Session and is generated by SMF.
There can be more than one QoS rule associated with the same QoS Flow (i.e. with the same QFI).
When the UE informs the network about the number of supported Packet Filters for signalled QoS rules for the PDU Session (during the PDU Session Establishment procedure or using the PDU Session Modification procedure as described in clause 184.108.40.206.2
after the first inter-system change from EPS to 5GS for a PDU Session established in EPS and transferred from EPS with N26 interface), the SMF shall ensure that the sum of the Packet Filters used by all signalled QoS rules for a PDU Session does not exceed the number indicated by the UE.
A default QoS rule is required to be sent to the UE for every PDU Session establishment and it is associated with a QoS Flow. For IP type PDU Session or Ethernet type PDU Session, the default QoS rule is the only QoS rule of a PDU Session which may contain a Packet Filter Set that allows all UL packets, and in this case, the highest precedence value shall be used for the QoS rule.
How the UE evaluates UL packets against the Packet Filter Set in a QoS rule is described in clause 220.127.116.11
The QoS rule pre-configured in the UE is only used together with option 1a for control QoS Flows as described in clause 18.104.22.168
. How to keep the consistency of QFI and Packet Filter Set between UE and network is out of scope in this release of the specification.
For Unstructured type PDU Session, the default QoS rule does not contain a Packet Filter Set, and in this case the default QoS rule defines the treatment of all packets in the PDU Session.
As long as the default QoS rule does not contain a Packet Filter Set or contains a Packet Filter Set that allows all UL packets, Reflective QoS should not be applied for the QoS Flow which the default QoS rule is associated with and the RQA should not be sent for this QoS Flow.
22.214.171.124 QoS Flow mapping
The SMF performs the binding of SDFs to QoS Flows based on the QoS and service requirements (as defined in TS 23.503
). The SMF assigns the QFI for a new QoS Flow and derives its QoS profile, corresponding UPF instructions and QoS Rule(s) from the PCC rules and other information provided by the PCF.
When applicable, the SMF provides the following information to the (R)AN:
The SMF provides the following information to the UPF enabling classification, bandwidth enforcement and marking of User Plane traffic (the details are described in clause 5.8
a DL PDR containing the DL part of the SDF template and an UL PDR containing the UL part of the SDF template;
the PDR precedence value (see clause 126.96.36.199) for both PDRs is set to the precedence value of the PCC rule;
QoS related information (e.g. MBR for an SDF, GFBR and MFBR for a GBR QoS Flow) as described in clause 5.8.2;
the corresponding packet marking information (e.g. the QFI, the transport level packet marking value (e.g. the DSCP value of the outer IP header);
for the DL PDR, optionally, the Reflective QoS Indication.
For each SDF, when applicable, the SMF generates an explicitly signalled QoS rule (see clause 188.8.131.52
) according to the following principles and provides it to the UE together with an add operation:
A unique (for the PDU Session) QoS rule identifier is assigned;
The QFI in the QoS rule is set to the QFI of the QoS Flow to which the PCC rule is bound;
The Packet Filter Set of the QoS rule is generated from the UL SDF filters and optionally the DL SDF filters of the PCC rule (but only from those SDF filters that have an indication for being signalled to the UE, as defined in TS 23.503);
The QoS rule precedence value is set to the precedence value of the PCC rule for which the QoS rule is generated;
for a dynamically assigned QFI, the QoS Flow level QoS parameters (e.g. 5QI, GFBR, MFBR, Averaging Window, see TS 24.501) are signalled to UE in addition to the QoS rule(s) associated to the QoS Flow. The QoS Flow level QoS parameters (i.e. GFBR and MFBR) of an existing QoS Flow may be updated based on the MBR and GBR information received in the PCC rule (MBR and GBR per SDF are not provided to UE over N1) or, if the PCF has not indicated differently, when Notification control or handover related signalling indicates that the QoS parameter the NG-RAN is currently fulfilling for the QoS Flow have changed (see clause 184.108.40.206).
Changes in the binding of SDFs to QoS Flows as well as changes in the PCC rules or other information provided by the PCF can require QoS Flow changes which the SMF has to provide to (R)AN, UPF and/or UE. In the case of changes in the explicitly signalled QoS rules associated to a QoS Flow, the SMF provides the explicitly signalled QoS rules and their operation (i.e. add/modify/delete) to the UE.
The SMF cannot provide, update or remove pre-configured QoS rules or UE derived QoS rules.
The principle for classification and marking of User Plane traffic and mapping of QoS Flows to AN resources is illustrated in Figure 220.127.116.11-1
18.104.22.168 DL traffic Word-p. 134
In DL, incoming data packets are classified by the UPF based on the Packet Filter Sets of the DL PDRs in the order of their precedence (without initiating additional N4 signalling). The UPF conveys the classification of the User Plane traffic belonging to a QoS Flow through an N3 (and N9) User Plane marking using a QFI. The AN binds QoS Flows to AN resources (i.e. Data Radio Bearers of in the case of 3GPP RAN). There is no strict 1:1 relation between QoS Flows and AN resources. It is up to the AN to establish the necessary AN resources that QoS Flows can be mapped to, and to release them. The AN shall indicate to the SMF when the AN resources onto which a QoS Flow is mapped are released.
If no matching DL PDR is found, the UPF shall discard the DL data packet.
22.214.171.124 UL Traffic
The following characteristics apply for processing of DL traffic:
Following characteristics apply for processing of UL traffic:
UE uses the stored QoS rules to determine mapping between UL User Plane traffic and QoS Flows. UE marks the UL PDU with the QFI of the QoS rule containing the matching Packet Filter and transmits the UL PDUs using the corresponding access specific resource for the QoS Flow based on the mapping provided by (R)AN. For NG-RAN, the UL behaviour is specified in TS 38.300, clause 10.5.2.
(R)AN transmits the PDUs over N3 tunnel towards UPF. When passing an UL packet from (R)AN to CN, the (R)AN includes the QFI value, in the encapsulation header of the UL PDU, and selects the N3 tunnel.
(R)AN performs transport level packet marking in the UL on a per QoS Flow basis with a transport level packet marking value that is determined based on the 5QI, the Priority Level (if explicitly signalled) and the ARP priority level of the associated QoS Flow.
UPF verifies whether QFIs in the UL PDUs are aligned with the QoS Rules provided to the UE or implicitly derived by the UE in the case of Reflective QoS).
UPF and UE perform Session-AMBR enforcement as specified in clause 126.96.36.199 and the UPF performs counting of packets for charging.
188.8.131.52 AMBR/MFBR enforcement and rate limitation Word-p. 135
UL and DL Session-AMBR (see clause 184.108.40.206
) shall be enforced by the UPF, if the UPF receives the Session-AMBR values from the SMF as described in clause 220.127.116.11
and clause 18.104.22.168.4
For UL Classifier PDU Sessions, UL and DL Session-AMBR (see clause 22.214.171.124
) shall be enforced in the SMF selected UPF that supports the UL Classifier functionality. In addition, the DL Session-AMBR shall be enforced separately in every UPF that terminates the N6 interface (i.e. without requiring interaction between the UPFs) (see clause 5.6.4
For multi-homed PDU Sessions, UL and DL Session-AMBR shall be enforced in the UPF that supports the Branching Point functionality. In addition, the DL Session-AMBR shall be enforced separately in every UPF that terminates the N6 interface (i.e. without requiring interaction between the UPFs) (see clause 5.6.4
The DL Session-AMBR is enforced in every UPF terminating the N6 interface to reduce unnecessary transport of traffic which may be discarded by the UPF performing the UL Classifier/Branching Point functionality due to the amount of the DL traffic for the PDU Session exceeding the DL Session-AMBR. Discarding DL packets in the UL Classifier/Branching Point could cause erroneous PDU counting for support of charging
The (R)AN shall enforce UE-AMBR (see clause 126.96.36.199
) in UL and DL per UE for Non-GBR QoS Flows.
The UE shall perform UL rate limitation on PDU Session basis for Non-GBR traffic using Session-AMBR, if the UE receives a Session-AMBR.
MBR per SDF is mandatory for GBR QoS Flows but optional for Non-GBR QoS Flows. The MBR is enforced in the UPF.
The MFBR is enforced in the UPF in the Downlink for GBR QoS Flows. The MFBR is enforced in the (R)AN in the Downlink and Uplink for GBR QoS Flows. For non-3GPP access, the UE should enforce MFBR in the Uplink for GBR QoS Flows.
The QoS control for Unstructured PDUs is performed at the PDU Session level and in this Release of the specification there is only support for maximum of one 5G QoS Flow per PDU Session of Type Unstructured.
When a PDU Session is set up for transferring unstructured PDUs, SMF provides the QFI which will be applied to any packet of the PDU Session to the UPF and UE.
188.8.131.52 Precedence Value
The QoS rule precedence value and the PDR precedence value determine the order in which a QoS rule or a PDR, respectively, shall be evaluated. The evaluation of the QoS rules or PDRs is performed in increasing order of their precedence value.