Section: 5.8.5.3 Transmission of SLSS
Content: The UE shall select the SLSSID and the slot in which to transmit SLSS as follows: 1> if triggered by NR sidelink communication/discovery/positioning and in coverage on the frequency used for NR sidelink communication/discovery/positioning, as defined in TS 38.304[ NR; User Equipment (UE) procedures in Idle mode and in RRC Inactive state ]  [20]; or 1> if triggered by NR sidelink communication/discovery/positioning, and out of coverage on the frequency used for NR sidelink communication/discovery/positioning, and the concerned frequency is included in sl-FreqInfoToAddModList/sl-FreqInfoToAddModListExt in sl-ConfigDedicatedNR within RRCReconfiguration message or included in sl-FreqInfoList/sl-FreqInfoToAddModListExt within SIB12 or SIB23 for NR sidelink positioning: 2> if the UE has selected GNSS as synchronization reference in accordance with 5.8.6.2: 3> select SLSSID 0; 3> use sl-SSB-TimeAllocation1 included in the entry of configured sl-SyncConfigList corresponding to the concerned frequency, that includes txParameters and gnss-Sync; 3> select the slot(s) indicated by sl-SSB-TimeAllocation1; 2> if the UE has selected a cell as synchronization reference in accordance with 5.8.6.2: 3> select the SLSSID included in the entry of configured sl-SyncConfigList corresponding to the concerned frequency, that includes txParameters and does not include gnss-Sync; 3> select the slot(s) indicated by sl-SSB-TimeAllocation1; 1> else if triggered by NR sidelink communication/discovery and the UE has GNSS as the synchronization reference: 2> select SLSSID 0; 2> if sl-SSB-TimeAllocation3 is configured for the frequency used in SidelinkPreconfigNR: 3> select the slot(s) indicated by sl-SSB-TimeAllocation3; 2> else: 3> select the slot(s) indicated by sl-SSB-TimeAllocation1; 1> else: 2> select the synchronisation reference UE (i.e. SyncRef UE) as defined in 5.8.6; 2> if the UE has a selected SyncRef UE and inCoverage in the MasterInformationBlockSidelink message received from this UE is set to true; or 2> if the UE has a selected SyncRef UE and inCoverage in the MasterInformationBlockSidelink message received from this UE is set to false while the SLSS from this UE is part of the set defined for out of coverage, see TS 38.211[ NR; Physical channels and modulation ]  [16]: 3> select the same SLSSID as the SLSSID of the selected SyncRef UE; 3> select the slot in which to transmit the SLSS according to the sl-SSB-TimeAllocation1 or sl-SSB-TimeAllocation2 included in the preconfigured sidelink parameters corresponding to the concerned frequency, such that the timing is different from the SLSS of the selected SyncRef UE; 2> else if the UE has a selected SyncRef UE and the SLSS from this UE was transmitted on the slot(s) indicated sl-SSB-TimeAllocation3, which is configured for the frequency used in SidelinkPreconfigNR: 3> select SLSSID 337; 3> select the slot(s) indicated by sl-SSB-TimeAllocation2; 2> else if the UE has a selected SyncRef UE: 3> select the SLSSID from the set defined for out of coverage having an index that is 336 more than the index of the SLSSID of the selected SyncRef UE, see TS 38.211[ NR; Physical channels and modulation ]  [16]; 3> select the slot in which to transmit the SLSS according to sl-SSB-TimeAllocation1 or sl-SSB-TimeAllocation2 included in the preconfigured sidelink parameters corresponding to the concerned frequency, such that the timing is different from the SLSS of the selected SyncRef UE; 2> else (i.e. no SyncRef UE selected): 3> if the UE has not randomly selected an SLSSID: 4> randomly select, using a uniform distribution, an SLSSID from the set of sequences defined for out of coverage except SLSSID 336 and 337, see TS 38.211[ NR; Physical channels and modulation ]  [16]; 4> select the slot in which to transmit the SLSS according to the sl-SSB-TimeAllocation1 or sl-SSB-TimeAllocation2 (arbitrary selection between these) included in the preconfigured sidelink parameters in SidelinkPreconfigNR corresponding to the concerned frequency;