Policy and Charging Enforcement Function (PCEF)
Policy and Charging Enforcement Function (PCEF) is the network function that actually enforces the policy and charging decisions made by the PCRF. In EPS, it's implemented within the PGW (Packet Data Network Gateway). Its main responsibilities include:
- Policy enforcement: Applies the PCC rules received from the PCRF over the Gx interface — this includes QoS enforcement (e.g., setting bearer QoS parameters like GBR, MBR, QCI), gating (allowing or blocking specific traffic flows), and redirection.
- Bearer binding: Maps service data flows (SDFs) to the appropriate EPS bearer based on their QoS requirements (as instructed by the PCC rules).
- AMBR enforcement: Enforces the APN-AMBR limit — capping the aggregate non-GBR traffic for a given APN
- Charging: Performs both online charging (via OCS, using the Gy interface) and offline charging (via OFCS, using the Gz interface) — measuring and reporting usage for billing purposes.
- Traffic detection: Identifies and classifies traffic into service data flows, often with support of deep packet inspection (DPI) or filters specified in the PCC rules, so the correct policy and charging treatment can be applied to each flow.
- Usage monitoring: Tracks usage against defined thresholds (e.g., data volume caps) and reports back to the PCRF when limits are reached, enabling dynamic policy changes (like throttling once a quota is hit).