7.2.8 PC5 QoS flow match over 5G ProSe direct link
24.5543GPPProximity-services (ProSe) in 5G System (5GS) protocol aspectsRelease 17Stage 3TS
When service data or request from the upper layers is received, the UE determines if there is any existing PC5 QoS flow(s) matching the service data or request, i.e., based on the PC5 QoS rules for the existing PC5 QoS flow(s).
If there is no PC5 QoS rules for the existing PC5 QoS flow(s) matching the service data or request, the UE shall derive the PC5 QoS parameters based on the ProSe application requirements provided by the upper layers (if available) and the ProSe identifier(s) according to the PC5 QoS mapping rules defined in clause 5.2.4 and shall perform the following:
a) if there is no existing PC5 QoS flow that fulfils the derived PC5 QoS parameters, then the UE shall create a new PC5 QoS flow as specified in clause 7.2.7;
b) if there is an existing PC5 QoS flow that fulfils the derived PC5 QoS parameters, then the UE shall update the PC5 packet filter set in the PC5 QoS rule of this PC5 QoS flow, e.g., add the new packet filter in the PC5 QoS rule of this existing PC5 QoS flow; and
c) the UE shall use the new PC5 QoS flow created as described in bullet a) or the existing PC5 QoS flow with the updated PC5 QoS rules as described in bullet b) to perform the transmission of ProSe direct communication over PC5 as specified in clause 7.2.9.
If there is a PC5 QoS rule for the existing PC5 QoS flow matching the service data or request, the UE shall use this existing PC5 QoS flow to perform transmission of ProSe direct communication over PC5 as specified in clause 7.2.9.