5.7 ProSe Packet Counter reporting procedure

36.5093GPPEvolved Universal Terrestrial Radio Access (E-UTRA) and Evolved Packet Core (EPC)Release 17Special conformance testing functions for User Equipment (UE)TS

5.7.1 Request ProSe Packet Counter value

Figure 5.7.1-1: ProSe Packet Counter reporting procedure

Figure 5.7.1-2: ProSe Packet Counter reporting procedure based on AT Commands

5.7.1.1 General

The SS uses the ProSe Packet Counter reporting procedure to request reporting of current value ProSe or V2X related state variables depending on the currently active ProSe or V2X test mode. For mode D the state variable PSDCH_PACKET_COUNTER is reported. For mode E the state variables STCH_PACKET_COUNTER, PSCCH_PACKET_COUNTER and PSSCH_PACKET_COUNTER are reported.

NOTE 1: For backward compatibility, the messages will be maintained and used for V2X Communication.

NOTE 2: For V2X communication, PSCCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_COMMUNICATION_MONITOR_N-1 are zero.

5.7.1.2 Initiation

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

5.7.1.3 Reception of UE TEST LOOP PROSE COUNTER REQUEST by the UE

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

1> if TEST_LOOP_MODE_D_ACTIVE is TRUE:

2> set the IE ProSe Direct Discovery Packet Counter(s) Value in the UE TEST LOOP PROSE COUNTER RESPONSE message to the value of the state variable(s) PSDCH_PACKET_COUNTER(SL_ID) with SL_ID = 0…PROSE_DISCOVERY_MONITOR_N;

2> send the UE TEST LOOP PROSE COUNTER RESPONSE message.

1> else if TEST_LOOP_MODE_E_ACTIVE is TRUE:

2> set the IE ProSe Direct or V2X Communication 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 ProSe Direct or V2X Communication 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 ProSe Direct or V2X Communication 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 PROSE COUNTER RESPONSE message.

  1. else:

2> the UE behaviour is unspecified.

5.7.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 1; 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 1; 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 1; 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.