5.9 NR Sidelink Packet Counter reporting procedure

38.5093GPP5GSRelease 17Special conformance testing functions for User Equipment (UE)TS

5.9.1 Request NR Sidelink Packet Counter value

Figure 5.9.1-1: NR Sidelink Packet Counter reporting procedure based on TC protocol messages

Figure 5.9.1-2: NR Sidelink Packet Counter reporting procedure based on AT Commands

5.9.1.1 General

The SS uses the NR Sidelink Packet Counter reporting procedure to request reporting of current NR sidelink related state variables. For mode E the state variables STCH_PACKET_COUNTER, PSCCH_PACKET_COUNTER and PSSCH_PACKET_COUNTER of NR sidelink are reported.

5.9.1.2 Initiation

The SS requests the UE to report its current value of STCH_PACKET_COUNTER, PSCCH_PACKET_COUNTER and PSSCH_PACKET_COUNTER of NR sidelink for test loop mode E by transmitting an UE TEST LOOP NR SIDELINK PACKET COUNTER REQUEST message or by transmitting an AT Command +CUSPCREQ.

5.9.1.3 Reception of UE TEST LOOP NR SIDELINK COUNTER REQUEST by the UE

Upon receiving the UE TEST LOOP NR SIDELINK PACKET COUNTER REQUEST message the UE shall:

1> if TEST_LOOP_MODE_E_ACTIVE is TRUE:

2> set the IE NR Sidelink PSCCH Packet Counter(s) Value in the UE TEST LOOP PROSE COUNTER RESPONSE message to the value of the state variable(s) PSCCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> set the IE NR Sidelink STCH Packet Counter(s) Value in the UE TEST LOOP PROSE COUNTER RESPONSE message to the value of the state variable STCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> set the IE NR Sidelink PSSCH Packet Counter(s) Value in the UE TEST LOOP PROSE COUNTER RESPONSE message to the value of the state variable(s) PSSCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> send the UE TEST LOOP NR SIDELINK COUNTER RESPONSE message.

  1. else:

2> the UE behaviour is unspecified.

5.9.1.4 Reception of AT Command +CUSPCREQ by the UE

Upon receiving the AT Command +CUSPCREQ the UE shall:

1> if TEST_LOOP_MODE_E_ACTIVE is TRUE:

2> in the response message of command +CUSPCREQ, set the parameter <type1> to 2; set the parameter <format> to 1; set the parameter <length1> to 4*(PROSE_COMMUNICATION_MONITOR_N+1); set the parameter <counter1> to the value of the state variable(s) PSCCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> in the response message of command +CUSPCREQ, set the parameter <type2> to 2; set the parameter <format> to 1; set the parameter <length2> to 4*(PROSE_COMMUNICATION_MONITOR_N+1); set the parameter <counter2> to the value of the state variable STCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> in the response message of command +CUSPCREQ, set the parameter <type3> to 2; set the parameter <format> to 1; set the parameter <length3> to 4*PROSE_COMMUNICATION_MONITOR_N+1; set the parameter <counter3> to the value of the state variable(s) PSSCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N;

2> send the response message +CUSPCREQ: [<type1>,<format>,<length1>,<counter1>], [<type2>,<format>,<length2>,<counter2>], [<type3>,<format>,<length3>,<counter3>].

1> else:

2> the UE behaviour is unspecified.