5.3.2 Close UE test loop
38.5093GPP5GSRelease 17Special conformance testing functions for User Equipment (UE)TS
5.3.2.0 General
Same as TS 36.509 [6], subclause 5.4.2 with the following exceptions:
– where E-UTRA is mentioned the same applies for NR;
– where V2X is mentioned the same applies for NR sidelink;
– the NB-IoT mode is out of the scope of the present specification
– where different UE test loop modes are mentioned only those applicable to 5GS should be taken into account (see subclause 5.3.4 for the applicable 5GS UE test loop modes).
– where EPS bearers are mentioned the same applies for 5GS QoS flows;
– where MTCH data radio bearer is replaced by MBS radio bearer;
– UE supported minimum buffer size for MR-DC and NR shall match the required total layer 2 buffer size as specified in TS 38.306 [20], clause 4.1.4.
– Subclause 5.4.2.3 in TS 36.509 [6] is replaced by 5.3.2.1 in current specification; and
– Subclause 5.4.2.4in TS 36.509 [6] is replaced by 5.3.2.2 in current specification.
5.3.2.1 Reception of CLOSE UE TEST LOOP message by the UE
Same as TS 36.509 [6], subclause 5.4.2.3 with the following exceptions:
…
1> else if UE test loop mode C has been selected;
2> if no MBS radio bearer is established or if the UE test mode is not active; or
2> if UE test loop mode A or UE test loop mode B operation is already closed on one or more data radio bearers; or
2> if TEST_LOOP_MODE_C_ACTIVE = TRUE or TEST_LOOP_MODE_D_ACTIVE = TRUE or TEST_LOOP_MODE_E_ACTIVE = TRUE or TEST_LOOP_MODE_F_ACTIVE = TRUE or TEST_LOOP_MODE_G_ACTIVE = TRUE or TEST_LOOP_MODE_H_ACTIVE = TRUE or TEST_LOOP_MODE_I_ACTIVE = TRUE:
3> the UE behaviour is unspecified.
2> otherwise:
3> set TEST_LOOP_MODE_C_ACTIVE to TRUE
3> set state variable MBS_PACKET_COUNTER to zero;
3> perform the UE actions for UE Test Loop Mode C operation as specified in subclause 5.3.4.2A and
3> send CLOSE UE TEST LOOP COMPLETE message (the loopback shall be operational prior to the sending of the acknowledgement).
1> else if UE test loop mode E has been selected;
2> if UE test loop mode A or UE test loop mode B operation is already closed on one or more data radio bearers; or
2> if TEST_LOOP_MODE_C_ACTIVE = TRUE or TEST_LOOP_MODE_D_ACTIVE = TRUE or TEST_LOOP_MODE_E_ACTIVE = TRUE or TEST_LOOP_MODE_F_ACTIVE = TRUE or TEST_LOOP_MODE_G_ACTIVE = TRUE or TEST_LOOP_MODE_H_ACTIVE = TRUE or TEST_LOOP_MODE_I_ACTIVE = TRUE; or
2> if the UE is unable to read the pre-configured parameters for NR sidelink Communication from the USIM; or
2> when test loop mode E is utilised in NR sidelink out-of-coverage scenarios:
3> the UE behaviour is unspecified.
2> otherwise:
3> set TEST_LOOP_MODE_E_ACTIVE to TRUE
3> if the E0 bit in Communication Transmit or Receive parameter in UE test loop mode E setup IE is set as zero;
4> set TEST_LOOP_MODE_E_TRIGGER to RECEIVE
4> set state variable PROSE_COMMUNICATION_MONITOR_N to the number of entities in the list of Group Destination IDs to individually monitor included in the UE test loop mode E setup IE;
4> if PROSE_COMMUNICATION_MONITOR_N is greater than MAX_ModeE_Monitor_Entities:
5> the UE behaviour is unspecified.
4> for SL_ID = 0…(PROSE_COMMUNICATION_MONITOR_N-1):
5> set state variable PROSE_COMMUNICATION_DEST_ID(SL_ID) to the parameter Group Destination ID #(SL_ID) to monitor of the UE test loop mode E setup IE;
5> set state variable STCH_PACKET_COUNTER(SL_ID) to zero;
5> set state variable PSCCH_PACKET_COUNTER(SL_ID) to zero;
5> set state variable PSSCH_PACKET_COUNTER(SL_ID) to zero;
4> set state variable STCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
4> set state variable PSCCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
4> set state variable PSSCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
4> perform the UE actions for UE Test Loop Mode E operation as specified in subclause 5.3.4.3.1;
3> if the E0 bit in Communication Transmit or Receive parameter in UE test loop mode E setup IE is set as one;
4> if the E1 bit in Communication Transmit or Receive parameter in UE test loop mode E setup IE is set as zero;
5> set TEST_LOOP_MODE_E_TRIGGER to TRANSMIT;
4> else
5> set TEST_LOOP_MODE_E_TRIGGER to TRANSMIT_SL_MIMO;
4> perform the UE actions for UE Test Loop Mode E operation as specified in subclause 5.3.4.3.1;
3> send CLOSE UE TEST LOOP COMPLETE message (the loopback shall be operational prior to the sending of the acknowledgement).
5.3.2.2 Reception of AT Command +CCUTLE by the UE
Upon receiving the AT Command +CCUTLE=<status=0>[,<direction>[,<format>,<length>,<monitor_list>,<sl_mimo>]] the UE shall:
1> if UE test loop mode E has been selected;
2> if TEST_LOOP_MODE_E_ACTIVE = TRUE; or
2> if the UE is unable to read the pre-configured parameters for NR sidelink Communication from the USIM:
3> the UE behaviour is unspecified.
2> otherwise:
3> set TEST_LOOP_MODE_E_ACTIVE to TRUE
3> if the <direction> parameter in +CCUTLE set command is set as zero;
4> set TEST_LOOP_MODE_E_TRIGGER to RECEIVE
4> if the <format> parameter in +CCUTLE set command is set as 1
5> set state variable PROSE_COMMUNICATION_MONITOR_N to the number of entities in the list of Destination Layer-2 IDs to individually monitor included in the <monitor_list> parameter of +CCUTLE set command;
5> if PROSE_COMMUNICATION_MONITOR_N is greater than MAX_ModeE_Monitor_Entities:
6> the UE behaviour is unspecified.
5> for SL_ID = 0…(PROSE_COMMUNICATION_MONITOR_N-1):
6> set state variable PROSE_COMMUNICATION_DEST_ID(SL_ID) to the parameter Destination Layer-2 ID #(SL_ID) to monitor in the +CCUTLE set command;
6> set state variable STCH_PACKET_COUNTER(SL_ID) to zero;
6> set state variable PSCCH_PACKET_COUNTER(SL_ID) to zero;
6> set state variable PSSCH_PACKET_COUNTER(SL_ID) to zero;
5> set state variable STCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
5> set state variable PSCCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
5> set state variable PSSCH_PACKET_COUNTER(PROSE_COMMUNICATION_MONITOR_N) to zero;
5> perform the UE actions for UE Test Loop Mode E operation as specified in subclause 5.3.4.3.1;
4> else
5> the UE behaviour is unspecified.
3> if the <direction> parameter in +CCUTLE set command is set as one;
4> if the <sl_mimo> parameter in UE test loop mode E setup IE is set as zero
5> set TEST_LOOP_MODE_E_TRIGGER to TRANSMIT
4> else
5> set TEST_LOOP_MODE_E_TRIGGER to TRANSMIT_SL_MIMO;
4> perform the UE actions for UE Test Loop Mode E operation as specified in subclause 5.3.4.3.1;
1> else;
2> the UE behaviour is unspecified.