3GPP 24.501 v20.0.0 — the document's own text
6.2.5.1.3 UL user data packet matching
Taught in 4. Inside TS 24.501, the document at the centre (CT1 — the group that writes what your phone says, overview).
For PDU session of IPv4, IPv6, IPv4v6 or Ethernet PDU session type, upon receiving an UL user data packet from the upper layers for transmission via a PDU session, the UE shall attempt to associate the UL user data packet with:
- the QFI of a signalled QoS rule associated with the PDU session which has a set of packet filters containing a packet filter for UL direction matching the UL user data packet or containing a packet filter for both UL and DL directions matching the UL user data packet; or
- the QFI of a derived QoS rule associated with the PDU session which has the packet filter for UL direction matching the UL user data packet;
by evaluating the QoS rules in increasing order of their precedence values until the UL user data packet is associated with a QFI or all QoS rules are evaluated.
NOTE 1: In order to enable the QoS differentiation for media flows, the precedence value(s) of QoS rule(s) containing the (S)RTP multiplexed media identification information component are higher than the other QoS rules containing the same IP packet filter component value.
For PDU session of unstructured PDU session type, upon receiving an UL user data packet from the upper layers for transmission via a PDU session, the UE shall associate the UL user data packet with the QFI of the default QoS rule associated with the PDU session.
If the UL user data packet is associated with a QFI, the UE shall pass the QFI along the UL user data packet to the lower layers for transmission.
NOTE 2: Marking of the UL user data packet with the QFI is performed by the lower layers.
If all QoS rules are evaluated and the UL user data packet is not associated with a QFI, the UE shall discard the UL user data packet.