Section: 5.10.2 Uplink
Content: After a Semi-Persistent Scheduling uplink grant is configured, the MAC entity shall: - if twoIntervalsConfig is enabled by upper layer: - set the Subframe_Offset according to Table 7.4-1. - else: - set Subframe_Offset to 0. - consider sequentially that the Nth grant occurs in the TTI for which: - subframe SPS is used: - (10 * SFN + subframe) = [(10 * SFNstart time + subframestart time) + N * semiPersistSchedIntervalUL + Subframe_Offset * (N modulo 2)] modulo 10240. - slot or subslot SPS is used: - (10 * SFN * sTTI_Number_Per_Subframe + subframe * sTTI_Number_Per_Subframe + sTTI_number) = [(10 * SFNstart time * sTTI_Number_Per_Subframe + subframestart time * sTTI_Number_Per_Subframe + sTTIStartTimeUl) + N * semiPersistSchedIntervalUL-sTTI+ Subframe_Offset * (N modulo 2) * sTTI_Number_Per_Subframe] modulo (10240 * sTTI_Number_Per_Subframe). Where SFNstart time, subframestart time and sTTIStartTimeUl are the SFN, subframe and sTTI_number, respectively, at the time the configured uplink grant were (re-)initialised. The sTTI_Number_Per_Subframe is 6 when subslot TTI is configued and 2 when slot TTI is configured for short TTI operation. sTTI_number refers to the index of the short TTI, i.e., index of subslot or slot within the subframe. Except for NB-IoT, for TDD, the MAC entity is configured with semiPersistSchedIntervalUL shorter than 10 subframes, the Nth grant shall be ignored if it occurs in a downlink subframe or a special subframe. Except for NB-IoT, if the MAC entity is not configured with skipUplinkTxSPS, the MAC entity shall clear the configured uplink grant immediately after implicitReleaseAfter, as specified in TS 36.331[ Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification ]  [8], number of consecutive new MAC PDUs each containing zero MAC SDUs have been provided by the Multiplexing and Assembly entity, on the Semi-Persistent Scheduling resource. If SPS confirmation has been triggered and not cancelled: - if the MAC entity has UL resources allocated for new transmission for this TTI: - instruct the Multiplexing and Assembly procedure to generate an SPS confirmation MAC Control Element as defined in clause 6.1.3.11; - cancel the triggered SPS confirmation. The MAC entity shall clear the configured uplink grant immediately after first transmission of SPS confirmation MAC Control Element triggered by the SPS release. NOTE: Retransmissions for Semi-Persistent Scheduling can continue after clearing the configured uplink grant. For NB-IoT UEs, BL UEs or UEs in enhanced coverage SFNstart time and subframestart time refer to SFN and subframe of the first transmission of PUSCH where configured uplink grant was (re-)initialized. In the event of a resource conflict between multiple UL SPS configurations configured with Uplink Semi-Persistent Scheduling V-RNTI, the UE behaviour is undefined. In the event of a resource conflict in the same serving cell between the initial transmision within a configured grant bundle from multiple different UL SPS configurations configured with Uplink Semi-Persistent Scheduling C-RNTI, the UE behaviour is undefined. For NB-IoT UEs, a configured uplink grant shall be used only for BSR or SPS confirmation transmission, and skipUplinkTxSPS is implicitly configured.