I have studied source code and so far the qoS enforcement seems to be not in place.
What is the free5gc proposed architecture to implement QoS? Should be done in the GTP tunnel?
The QoS model of the 5G system architecture ETSI TS 123 501 sect. 5.7.1 does not clearly define in which component the QoS is enforced. I find statements:
The QoS profile and the QFI of a QoS Flow shall be provided to the ®AN
Does this mean that the RAN, i.e. the gNB must enforce the rules and there are already RAN implementations in place where nothing in addition needs to be done?
For UL:
UPF and UE perform Session-AMBR enforcement and the UPF performs counting of packets for charging.
Now the UPF and the UE is in duty? How could an UE be trusted to enforce it?
AMBR/MFBR enforcement and rate limitation:
The RAN shall enforce UE-AMBR (see clause 5.7.2.6) in UL and DL per UE for Non-GBR QoS Flows
For 5QI I cannot find where it should be enforced.
Also in the GTP message protocol ETSI TS 129 281 I find not reference of QER, where is the inclusion of it defined by the specifications? Is this a custom approach of free5gc?