In some aspects, an apparatus for wireless communication may include means for determining a service type to be used by the apparatus for one or more D2D communications on a sidelink interface; means for determining a slice identifier based at least in part on the service type, wherein the slice identifier corresponds to a resource allocation to be used for the one or more D2D communications; and means for transmitting an indication of the slice identifier.
In some aspects, a method of wireless communication, performed by a first UE, may include receiving an indication of a slice identifier that identifies a slice type to be used by a second UE, wherein the slice identifier corresponds to a service type and a resource allocation to be used for one or more D2D communications of the second UE on a sidelink interface; determining the resource allocation based at least in part on the slice identifier; and preventing the first UE from using resources indicated by the resource allocation for transmission of communications not associated with the service type.
In some aspects, a first UE for wireless communication may include memory and one or more processors operatively coupled to the memory. The memory and the one or more processors may be configured to receive an indication of a slice identifier that identifies a slice type to be used by a second UE, wherein the slice identifier corresponds to a service type and a resource allocation to be used for one or more D2D communications of the second UE on a sidelink interface; determine the resource allocation based at least in part on the slice identifier; and prevent the first UE from using resources indicated by the resource allocation for transmission of communications not associated with the service type.