Section: 6.4.1.5 Handling the maximum number of established PDU sessions
Content: The maximum number of PDU sessions which a UE can establish in a PLMN or SNPN is limited by whichever is the lowest of: the maximum number of PDU session IDs allowed by the protocol (as specified in 3GPP TS 24.007[ Mobile radio interface signalling layer 3; General Aspects ]  [11] subclause 11.2.3.1b), the PLMN's or SNPN's maximum number of PDU sessions and the UE's implementation-specific maximum number of PDU sessions. If during a UE-requested PDU session establishment procedure the 5GSM sublayer in the UE receives an indication that the 5GSM message was not forwarded because: a) the PLMN's maximum number of PDU sessions has been reached, then the UE determines the PLMN's maximum number of PDU sessions as the number of active PDU sessions it has; or b) the SNPN's maximum number of PDU sessions has been reached, then the UE determines the SNPN's maximum number of PDU sessions as the number of active PDU sessions it has and associates the determined maximum number of PDU sessions with: 1) the entry in the "list of subscriber data" for the current SNPN if the UE does not support access to an SNPN using credentials from a credentials holder and equivalent SNPNs; or 2) the selected entry of the "list of subscriber data" or the selected PLMN subscription if the UE supports access to an SNPN using credentials from a credentials holder, equivalent SNPNs or both. NOTE 1: In some situations, when attempting to establish multiple PDU sessions, the number of active PDU sessions that the UE has when 5GMM cause #65 is received is not equal to the maximum number of PDU sessions reached in the network. NOTE 2: When the network supports emergency services, it is not expected that 5GMM cause #65 is returned by the network when the UE requests an emergency PDU session. NOTE 3: The network maintains only one maximum number of PDU sessions for a PLMN regardless of which access the PDU session exists in. NOTE 3a: When the UE is registered on the same PLMN for both 3GPP access and non-3GPP access, the UE maintains single maximum number of PDU sessions for respective PLMN. When the UE is registered on two different PLMNs over 3GPP access and non-3GPP access, the UE maintains maximum number of PDU sessions for a PLMN separately for each PLMN. NOTE 4: An MA PDU session which (only) has a PDN connection established as a user-plane resource is counted as an active PDU session when determining the PLMN's maximum number of PDU sessions. The PLMN's maximum number of PDU sessions applies to the PLMN in which the 5GMM cause #65 "maximum number of PDU sessions reached" is received. When the UE is switched off or when the USIM is removed, the UE shall clear all previous determinations representing PLMN's maximum number of PDU sessions. The SNPN's maximum number of PDU sessions applies to the SNPN in which the 5GMM cause #65 "maximum number of PDU sessions reached" is received. When the UE is switched off, the UE shall clear all previous determinations representing SNPN's maximum number of PDU sessions. In addition: a) if the UE does not support access to an SNPN using credentials from a credentials holder and equivalent SNPNs, and the entry in the "list of subscriber data" for the current SNPN is updated, then the UE shall clear all previous determinations representing SNPN's maximum number of PDU sessions associated with the entry in the "list of subscriber data" for the current SNPN; and b) if the UE supports access to an SNPN using credentials from a credentials holder, equivalent SNPNs or both, and: 1) the selected entry of the "list of subscriber data" is updated, then UE shall clear all previous determinations representing SNPN's maximum number of PDU sessions associated with the selected entry in the "list of subscriber data"; or 2) the USIM associated with the selected PLMN subscription is removed, then UE shall clear all previous determinations representing SNPN's maximum number of PDU sessions associated with the selected PLMN subscription. Upon successful registration with a new PLMN or SNPN, the UE may clear previous determinations representing any PLMN's or SNPN's maximum number(s) of PDU sessions, if the previous PLMN or SNPN is not registered over both 3GPP access and non-3GPP access. If the maximum number of established PDU sessions is reached at the UE and the upper layers of the UE request connectivity to a DNN the UE shall not send a PDU SESSION ESTABLISHMENT REQUEST message unless an established PDU session is released. If the UE needs to release an established PDU session, choosing which PDU session to release is implementation specific, however the UE shall not release the emergency PDU session. If the UE needs to release a PDU session in order to request an emergency PDU session, it shall either perform a local release of a PDU session or release a PDU session via explicit signalling. If the UE performs a local release, the UE shall: a) if the PDU session is an MA PDU session: 1) perform a registration procedure for mobility and periodic registration update to indicate PDU session status to the network over each access that user plane resources have been established; and 2) perform a normal and periodic tracking area updating to indicate EPS bearer context status to the network as specified in subclause 5.5.3.2.2 of 3GPP TS 24.301[ Non-Access-Stratum (NAS) protocol for Evolved Packet System (EPS); Stage 3 ]  [15] when a PDN connection has been established as a user plance resource; or b) if the PDU session is a single access PDU session, perform a registration procedure for mobility and periodic registration update to indicate PDU session status to the network over the access the PDU session is associated with.