SCI indicates if there is a transmission on SL-SCH and provide the relevant HARQ information. SCI can also indicate if there is a SL-PRS transmission. An SCI for SL-SCH transmission with or without corresponding SL-PRS on Shared SL-PRS resource pool consists of two parts: the 1st stage SCI on PSCCH and the 2nd stage SCI on PSSCH as specified in clause 8.1 of TS 38.214. An SCI for SL-PRS transmission on Dedicated SL-PRS resource pool consists of a single part on PSCCH as specified in TS 38.212.
The MAC entity shall:
1 >
for each PSCCH duration during which the MAC entity monitors PSCCH:
2 >
if a 1st stage SCI has been received on the PSCCH:
3 >
determine the set of PSSCH durations in which reception of a 2nd stage SCI and the transport block occur using the received part of the SCI;
3 >
if the 2nd stage SCI for this PSSCH duration has been received on the PSSCH:
4 >
store the SCI as a valid SCI for the PSSCH durations corresponding to transmission(s) of the transport block and SL-PRS, if available and the associated HARQ information and QoS information;
2 >
else if an SCI has been received on the PSCCH reception on SL-PRS Dedicated resource pool for SL-PRS transmission:
3 >
determine the SL-PRS transmission occasion corresponding to the SCI;
3 >
store the SCI as a valid SCI for the SL-PRS transmission and the corresponding SL-PRS transmission information on SL-PRS Dedicated resource pool.
1 >
for each PSSCH duration for which the MAC entity has a valid SCI:
2 >
deliver the SCI and the associated Sidelink transmission information to the Sidelink HARQ Entity.
1 >
for each SL-PRS transmission occasion for which MAC entity has a valid SCI:
2 >
perform SL-PRS reception according to the SL-PRS transmission information within the SCI as in clause 5.22.2.2.2 for SL-PRS received on Shared SL-PRS resource pool and as in clause 5.22.2.4 for SL-PRS received on Dedicated SL-PRS resource pool.
There is at most one Sidelink HARQ Entity at the MAC entity for reception of the SL-SCH, which maintains a number of parallel Sidelink processes.
Each Sidelink process is associated with SCI in which the MAC entity is interested. This interest is determined by the Sidelink identification information of the SCI. The Sidelink HARQ Entity directs Sidelink transmission information and associated TBs received on the SL-SCH to the corresponding Sidelink processes.
The number of Receiving Sidelink processes associated with the Sidelink HARQ Entity is defined in TS 38.306.
For each PSSCH duration, the Sidelink HARQ Entity shall:
1 >
for each SCI valid for this PSSCH duration:
2 >
if the NDI has been toggled compared to the value of the previous received transmission corresponding to the Sidelink identification information and the Sidelink process ID of the SCI or this is the very first received transmission for the pair of the Sidelink identification information and the Sidelink process ID of the SCI:
3 >
if there is a Sidelink process associated with the Sidelink identification information and the Sidelink process ID of the SCI:
4 >
consider the Sidelink process as unoccupied;
4 >
flush the soft buffer for the Sidelink process.
3 >
allocate the TB received from the physical layer and the associated Sidelink identification information and Sidelink process ID to an unoccupied Sidelink process;
3 >
associate the Sidelink process with the Sidelink identification information and the Sidelink process ID of this SCI and consider this transmission to be a new transmission.
1 >
for each Sidelink process:
2 >
if the NDI has not been toggled compared to the value of the previous received transmission corresponding to the Sidelink identification information and the Sidelink process ID of the SCI for the Sidelink process according to its associated SCI:
3 >
allocate the TB received from the physical layer to the Sidelink process and consider this transmission to be a retransmission.
For each PSSCH duration where a transmission takes place for the Sidelink process, one TB and the associated HARQ information is received from the Sidelink HARQ Entity.
For each received TB and SL-PRS, if available and associated Sidelink transmission information, the Sidelink process shall:
1 >
if this is a new transmission:
2 >
attempt to decode the received data.
1 >
else if this is a retransmission:
2 >
if the data for this TB has not yet been successfully decoded:
3 >
instruct the physical layer to combine the received data with the data currently in the soft buffer for this TB and attempt to decode the combined data.
1 >
if the sidelink transmission information in the SCI indicates SL-PRS transmission:
2 >
if the SL-PRS transmission is associated to unicast:
3 >
if the DST field of the decoded MAC PDU subheader is equal to the 8 MSB of any of the Source Layer-2 ID(s) of the UE for which the 16 LSB are equal to the Destination ID in the corresponding SCI; and
3 >
if the SRC field of the decoded MAC PDU subheader is equal to the 16 MSB of any of the Destination Layer-2 ID(s) of the UE for which the 8 LSB are equal to the Source ID in the corresponding SCI:
4 >
instruct the physical layer to perform SL-PRS reception.
2 >
else if the SL-PRS tnramission is associated with groupcast or broadcast:
3 >
if the DST field of the decoded MAC PDU subheader is equal to the 8 MSB of any of the Destination Layer-2 ID(s) of the UE for which the 16 LSB are equal to the Destination ID in the corresponding SCI:
4 >
instruct the physical layer to perform SL-PRS reception.
1 >
if the data which the MAC entity attempted to decode was successfully decoded for this TB; or
1 >
if the data for this TB was successfully decoded before:
2 >
if this is the first successful decoding of the data for this TB:
3 >
if this TB is associated to unicast and the DST field of the decoded MAC PDU subheader is equal to the 8 MSB of any of the Source Layer-2 ID(s) of the UE for which the 16 LSB are equal to the Destination ID in the corresponding SCI:
4 >
if the SRC field of the decoded MAC PDU subheader is equal to the 16 MSB of any of the Destination Layer-2 ID(s) of the UE for which the 8 LSB are equal to the Source ID in the corresponding SCI; or
4 >
if this TB is corresponding to the logical channel with LCID equal to 0 or 1 and determined to be the first TB:
5 >
deliver the decoded MAC PDU to the disassembly and demultiplexing entity.
3 >
if this TB is associated to groupcast or broadcast:
4 >
if the DST field of the decoded MAC PDU subheader is equal to the 8 MSB of any of the Destination Layer-2 ID(s) of the UE for which the 16 LSB are equal to the Destination ID in the corresponding SCI; or
4 >
if this TB is corresponding to the logical channel with LCID equal to 58, and the DST field of the decoded MAC PDU subheader is equal to the 8 MSB of any of the Source Layer-2 ID(s) of the UE for which the 16 LSB are equal to the Destination ID in the corresponding SCI:
5 >
deliver the decoded MAC PDU to the disassembly and demultiplexing entity.
2 >
consider the Sidelink process as unoccupied.
1 >
else:
2 >
instruct the physical layer to replace the data in the soft buffer for this TB with the data which the MAC entity attempted to decode.
if UE's location information is available and distance beteween UE's location and the central location of the nearest zone that is calculated based on the Zone_id in the SCI and the value of sl-ZoneLength corresponding to the communication range requirement in the SCI as specified in TS 38.331 is smaller or equal to the communication range requirement in the SCI; or
3 >
if none of Zone_id and communication range requirement is indicated by the SCI; or
3 >
if UE's location information is not available:
4 >
if the data which the MAC entity attempted to decode was not successfully decoded for this TB and the data for this TB was not successfully decoded before:
5 >
instruct the physical layer to generate a negative acknowledgement of the data in this TB.
2 >
if negative-positive acknowledgement or unicast is indicated by the SCI according to clause 8.4.1 of TS 38.212:
3 >
if the data which the MAC entity attempted to decode was successfully decoded for this TB or the data for this TB was successfully decoded before:
4 >
instruct the physical layer to generate a positive acknowledgement of the data in this TB.
3 >
else:
4 >
instruct the physical layer to generate a negative acknowledgement of the data in this TB.
For each SL-PRS transmission occasion on SL-PRS Dedicated resource pool, the MAC entity shall:
1 >
if this SL-PRS transmission is associated to unicast:
2 >
if the destination ID in the corresponding SCI is equal to the UE's source ID; and if the field sl-SRC-ID-LenDedicatedSL-PRS-RP is configured with the value of 12bit:
3 >
if source ID in the corresponding SCI is equal to the 12 LSB of the UE's destination layer-2 ID:
4 >
instruct the physical layer to perform SL-PRS reception on the SL-PRS transmission occasion.
2 >
else if the destination ID in the corresponding SCI is equal to the UE's source ID, and if the field sl-SRC-ID-LenDedicatedSL-PRS-RP is configured with the value of 24bit:
3 >
if source ID in the corresponding SCI is equal to the UE's destination layer-2 ID:
4 >
instruct the physical layer to perform SL-PRS reception on the SL-PRS transmission occasion.
1 >
else if this SL-PRS transmission is associated to broadcast or groupcast:
2 >
if the destination ID in the corresponding SCI is equal to the UE's destination layer-2 ID
3 >
instruct the physical layer to perform SL-PRS reception on the SL-PRS transmission occasion.