24.5543GPPProximity-services (ProSe) in 5G System (5GS) protocol aspectsRelease 17Stage 3TS
In order to establish a PC5 QoS flow establishment over 5G ProSe direct link, 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. The UE shall create the PC5 QoS flow(s) based on the derived PC5 QoS parameters. For each PC5 QoS flow to be created, the UE shall perform the following operations:
a) self-assign a PQFI;
b) create a PC5 QoS flow context, which contains:
1) the PQFI;
2) the ProSe identifier(s); and
3) the derived PC5 QoS parameters;
c) create a new PC5 QoS rule which contains:
1) a PC5 QoS rule identifier;
2) the PQFI;
3) a set of packet filters; and
4) a precedence value; and
d) pass the following parameters to the lower layers:
1) the PQFI;
2) the PC5 QoS parameters;
3) the PC5 link identifier; and
4) optionally, the source and destination layer-2 IDs.
Three types of packet filters are supported for unicast mode 5G ProSe direct communication over PC5, i.e., the ProSe IP packet filter set, the ProSe packet filter set and the ProSe Ethernet packet filter set. A PC5 QoS Rule contains one of the following:
a) the ProSe IP packet filter set;
b) the ProSe packet filter set; or
c) the ProSe Ethernet packet filter set.
The ProSe IP packet filter set is defined as content of the packet filter contents field specified in 3GPP TS 24.501  figure 184.108.40.206.4 and table 220.127.116.11.1.
The ProSe packet filter set shall support packet filters based on at least any combination of:
a) ProSe identifier;
b) the source layer-2 ID and the destination layer-2 ID; and
c) application layer ID (e.g., Station ID).
The ProSe Ethernet packet filter set is defined as content of the Ethernet packet filter set as specified in 3GPP TS 24.501  figure 18.104.22.168.4 and table 22.214.171.124.1.
Each PC5 QoS rule additionally contains the ProSe identifier(s) when the ProSe identifier is not included in the PC5 packet filter set.
The UE shall also pass the one or more ProSe NR frequencies associated with the ProSe identifier of the ProSe application and the communication mode which is set to unicast mode for the ProSe identifier to the lower layers, if:
a) the UE is configured with ProSe identifier to ProSe NR frequency mapping rules for 5G ProSe communication over PC5 as specified in clause 5.2.4; and
b) there is one or more ProSe NR frequency associated with the ProSe identifier of the ProSe application in the current geographical area.
If the 5G ProSe direct link is for direct communication between the 5G ProSe remote UE and the 5G ProSe UE-to-network relay UE, PC5 QoS flow establishment over the 5G ProSe direct link is performed as specified in clause 8.2.6.