5.3 UE test mode procedures
36.5093GPPEvolved Universal Terrestrial Radio Access (E-UTRA) and Evolved Packet Core (EPC)Release 17Special conformance testing functions for User Equipment (UE)TS
5.3.1 General
The UE test mode procedures are intended for setting the UE into a test mode where the SS can set up data radio bearers (UE test loop mode A) or EPS bearers (UE test loop mode B) or MTCH data radio bearers (UE test loop mode C) or SL-DCH (UE test loop mode D) or STCH, PSCCH and PSSCH (UE test loop mode E) or SC-MTCH (UE test loop mode F) to be terminated in the UE test loop function; as well as, for making UE leave the test mode if it has previously been set into it and return to normal operation.
5.3.2 Activate UE test mode
Figure 5.3.2-1: Activate UE test mode procedure in all but V2X communication in out-of-coverage scenarios
Figure 5.3.2-2: Activate UE test mode procedure by AT Command for V2X communication in out-of-coverage scenarios
5.3.2.1 General
The SS uses the activate UE test mode procedure to get the UE into a test mode where the SS can set up one or more sets of data radio bearers with an associated EPS bearer context (UE test loop mode A) or EPS bearers (UE test loop mode B) or MTCH data radio bearers (UE test loop mode C) or SC-MTCH data radio bearers (UE test loop mode F) before commanding the UE to terminate them in the UE test loop function. The SS also uses the activate UE test mode procedure to get the UE into a test mode where SS can perform control plane data testing (UE test loop mode G and H). The activation of the UE test loop function in UE test loop mode A, UE test loop mode B, UE Test loop mode C, UE test loop mode D, or UE test loop mode E, or UE test loop mode F will control if the UE is terminating the data radio bearers, the EPS bearers or the MTCH data radio bearer or the SL-DCH or the STCH/PSCCH /PSSCHor the SC-MTCH in the UE test loop function. The activation of the UE test loop function in UE test loop mode G will control if the EMM entity of the UE is terminating User data container content received in ESM DATA TRANSPORT messages in the UE test loop function. The activation of the UE test loop function in UE test loop mode H will control if the SM-TL entity of the UE is terminating TP-User-Data fields received in TPDUs in the UE test loop function. The activation of the UE test loop function in UE test loop mode I will control if the ESM entity of the UE is terminating User data container content received in ESM DATA TRANSPORT messages in the UE test loop function.
5.3.2.2 Initiation
The SS can activate the UE test mode when UE is in E-UTRA or NB-IoT connected state or when UE capable of V2X communication is in out-of-coverage state.
NOTE: Refer to TS 36.508 [28] subclause 4.5.1 for more details on UE states.
The SS requests the UE to activate the UE test mode by transmitting an ACTIVATE TEST MODE message when UE is in connected state or by transmitting an AT Command +CATM=<status1> in the case of V2X UE in out-of-coverage state.
5.3.2.3 Reception of ACTIVATE TEST MODE message or AT Command +CATM by UE
Upon receiving the ACTIVATE TEST MODE message the UE shall:
1> if the UE test loop mode parameter in the ACTIVATE TEST MODE message is different from UE test loop mode G and different from UE test loop mode H and a default EPS bearer context is already activated:
2> the UE behaviour is unspecified.
1> if the UE is in out-of-coverage state during a V2X test scenario:
2> the UE behaviour is unspecified.
1> else:
2> activate the UE test mode;
2> send ACTIVATE TEST MODE COMPLETE message.
Upon receiving the AT Command +CATM=<status=1><test loop mode = 1> the UE shall:
1> if the UE is in in-coverage state during a V2X test scenario, or, this is not a V2X test scenario:
2> the UE behaviour is unspecified.
1> else:
2> activate the UE test mode.
When the UE test mode is active, the UE operates normally, except for the following:
1> the UE shall accept any request to establish a data radio bearer with an associated EPS bearer context, both included in the same RRC message, and within the radio access capabilities of the UE;
1> optionally, if the UE supports CSG Proximity Indication;
2> the UE shall ignore any non 3GPP radio signals which are normally used in determining proximity to a CSG (closed subscriber group) cell and delete any previously stored cell information for proximity detection.
NOTE 1: The UE may provide other means which would guarantee that the UE ignores any non 3GPP radio signals which are normally used in determining proximity to a CSG (closed subscriber group) cell and deletes any previously stored cell information for proximity detection. For such UEs the above mentioned CSG requirements in UE test mode may not apply.
1> if neither test loop mode A operation, test loop mode B operation, test loop mode C operation, test loop mode D operation, test loop mode E, test loop mode F, test loop mode G, test loop mode H operation, nor test loop mode I operation is ongoing:
2> if the UE is operating in E-UTRAN or NB-IoT mode, for each PDN connection requested by the UE:
3> if the UE has not received the ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST message in response to the PDN CONNECTIVITY REQUEST message; or
3> if the UE has received the response message with the PDN type IE set to ‘IPv4’ and an IPv4 address value different from ‘0.0.0.0’ and "IPv4 address allocation via DHCPv4" was not requested by the UE:
4> the UE shall not transmit any uplink PDCP SDU on any DRB associated with the requested PDN:
4> the UE may discard any received downlink PDCP SDU on any DRB associated with the requested PDN.
NOTE 2: If the UE has requested the use of DHCPv4 signalling for allocation of an IPv4 address, the UE may either accept the IPv4 address provided via NAS signalling and not transmit any uplink PDCP SDU on any DRB and may discard downlink PDCP SDUs on any DRB, or the UE may transmit and receive DHCPv4 messages to obtain an IPv4 address, according to the procedure described in TS 36.508 clause 4.5.2A.
3> if the UE has received the response message with the PDN type IE set to ‘IPv6’ or ‘IPv4v6’ or "IPv4 address allocation via DHCPv4" was requested by the UE , and the UE has not yet obtained its IP address(es);
4> the UE may transmit uplink PDCP SDUs on any DRB associated with the requested PDN, for the sole purpose of obtaining its IP address(es).
3> if the UE has obtained its IP address(es):
4> the UE shall not transmit any uplink PDCP SDU on any DRB associated with the requested PDN:
4> the UE may discard any received downlink PDCP SDU on any DRB associated with the requested PDN.
5.3.3 Deactivate UE test mode
Figure 5.3.3-1: Deactivate UE test mode procedure
Figure 5.3.3-2: Deactivate UE test mode procedure by AT Command V2X communication in out-of-coverage test scenarios
5.3.3.1 General
The purpose of this procedure is to deactivate the UE test mode and return UE to normal operation.
NOTE: Deactivation of the UE test loop mode may occur as well as a result of other events. For further details see e.g. 4.1, 5.4.2.1.
5.3.3.2 Initiation
The SS can deactivate the UE test mode when UE is in E-UTRA or NB-IoT connected state or when UE capable of V2X communication is in out-of-coverage state, and the UE test mode is active.
NOTE 1: Refer to TS 36.508 [28] subclause 4.5.1 for more details on UE states.
The SS requests the UE to deactivate the UE test mode by transmitting a DEACTIVATE TEST MODE message or by transmitting an AT Command +CATM=<status=0> in the case of V2X UE being in out-of-coverage state.
Deactivation in V2X test scenarios shall be requested using the method relevant to the UE V2X state at the time the deactivation command needs to be sent.
NOTE 2: Depending on the test scenario it is possible that a test is started with the UE being in V2X in-coverage state and in this state the test loop mode is activate using the ACTIVATE TEST MODE command and then the test transitions into the UE being in V2X out-of-coverage state where the test loop mode needs to be deactivated using the AT command.
5.3.3.3 Reception of DEACTIVATE TEST MODE message or AT Command +CATM by UE
Upon receiving the DEACTIVATE TEST MODE message the UE shall:
1> if the UE is in in-coverage state during a V2X test scenario or this is not a V2X test scenario, and, the test mode is active:
2> deactivate the UE test mode;
2> send a DEACTIVATE TEST MODE COMPLETE message.
1> else:
2> the UE behaviour is unspecified.
Upon receiving the AT Command +CATM=<status=0> message the UE shall:
1> if the UE is in out-of-coverage state during a V2X test scenario, and, the test mode is active:
2> deactivate the UE test mode;
1> else:
2> the UE behaviour is unspecified.