Section: 5.5.2.1.1 Reference signal sequence
Content: The PUSCH demodulation reference signal sequence associated with layer is defined by where and if - the higher-layer parameter ul-DMRS-IFDMA is set and the most recent uplink-related DCI contains the Cyclic Shift Field mapping table for DMRS bit field which is set to 1 to indicate the use of Table 5.5.2.1.1-3, or, - the Cyclic Shift Field mapping table for DMRS bit field is set to 1 in the most recent uplink-related DCI format 7 which indicates the use of Table 5.5.2.1.1-4, or, - subslot-PUSCH/slot-PUSCH for the transport block is semi-persistently scheduled (i.e. higher layer parameter sps-ConfigUL-STTI is configured, see TS 36.331[ Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification ]  [9]), and ifdma-Config-SPS is set. In all other cases, . Clause 5.5.1 defines the sequence where, for PUSCH demodulation reference signal sequence, when - the higher-layer parameter ul-DMRS-IFDMA is set and the most recent uplink-related DCI contains the Cyclic Shift Field mapping table for DMRS bit field which is set to 1 to indicate the use of Table 5.5.2.1.1-3, or, - the Cyclic Shift Field mapping table for DMRS bit field is set to 1 in the most recent uplink-related DCI format 7 which indicates the use of Table 5.5.2.1.1-4, or, - subslot-PUSCH/slot-PUSCH for the transport block is semi-persistently scheduled (i.e. higher layer parameter sps-ConfigUL-STTI is configured, see TS 36.331[ Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification ]  [9]), and ifdma-Config-SPS is set. In all other cases, . The orthogonal sequence is given by for subslot-PUSCH/slot-PUSCH. In all other cases, it is given by for DCI format 0 if the higher-layer parameter Activate-DMRS-with OCC is not set or if the temporary C-RNTI was used to transmit the most recent uplink-related DCI for the transport block associated with the corresponding PUSCH transmission. Otherwise, - if higher-layer parameter ul-DMRS-IFDMA is not set, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI [3], - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is not present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI, - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI when the Cyclic Shift Field mapping table for DMRS bit field is set to 0, and - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-3 using the cyclic shift field in the most recent uplink-related DCI when the Cyclic Shift Field mapping table for DMRS bit field is set to 1. The cyclic shift in a slot is given as if the ul-V-SPS-RNTI-r14 was used to transmit the most recent uplink-related DCI for the transport block associated with the corresponding PUSCH transmission. For PUSCH transmissions not using sub-PRB allocations, if pusch-CyclicShift in higher layer parameter PUR-PUSCH-Config is configured, then for PUSCH (re)transmission corresponding to preconfigured uplink resource it provides the value of and the cyclic shift in a slot is given as . Otherwise, the cyclic shift in a slot is given as with where the value of is given by Table 5.5.2.1.1-2 according to the parameter cyclicShift provided by higher layers. For non-BL/CE UEs is given using the most recent uplink-related DCI TS 36.212[ Evolved Universal Terrestrial Radio Access (E-UTRA); Multiplexing and channel coding ]  [3] for the transport block associated with the corresponding PUSCH transmission, except for subslot-PUSCH/slot-PUSCH, as follows: - if the higher-layer parameter ul-DMRS-IFDMA is not set, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI, - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is not present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI, - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-1 using the cyclic shift field in the most recent uplink-related DCI when the Cyclic Shift Field mapping table for DMRS bit field is set to 0, and - if higher-layer parameter ul-DMRS-IFDMA is set and the Cyclic Shift Field mapping table for DMRS bit field is present in the most recent uplink-related DCI, is given by Table 5.5.2.1.1-3 using the cyclic shift field in the most recent uplink-related DCI when the Cyclic Shift Field mapping table for DMRS bit field is set to 1. For subslot-PUSCH/slot-PUSCH for non-BL/CE UEs, is given by Table 5.5.2.1.1-4, using the cyclic shift field in the most recent uplink-related DCI. If the Cyclic Shift Field mapping table for DMRS bit field is set to 0, in Table 5.5.2.1.1-4 is ignored. If the Cyclic Shift Field mapping table for DMRS bit field is set to 1, both and are given by Table 5.5.2.1.1-4. For BL/CE UEs, a cyclic shift field of '000' shall be assumed when determining from Table 5.5.2.1.1-1. For subframe-based PUSCH transmission, the first row of Table 5.5.2.1.1-1 shall be used to obtain and if there is no uplink-related DCI for the same transport block associated with the corresponding PUSCH transmission, and - if the initial PUSCH for the same transport block is semi-persistently scheduled and cyclicShiftSPS is not configured, or - if the initial PUSCH for the same transport block is scheduled by the random-access response grant. An exception applies if subframe-based PUSCH for the transport block is semi-persistently scheduled and the higher-layer parameter cyclicShiftSPS is configured. In this case, the value of is given by Table 5.5.2.1.1-1 according to the higher-layer parameter cyclicShiftSPS. An exception applies if subslot-PUSCH/slot-PUSCH for the transport block is semi-persistently scheduled (see TS 36.331[ Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification ] , sps-ConfigUL-sTTI). In this case: - is given by Table 5.5.2.1.1-1 according to the higher-layer parameter cyclicShiftSPS-STTI if the higher layer parameter ifdma-Config-SPS is not set, and, - and are given by Table 5.5.2.1.1-3 according to the higher-layer parameter cyclicShiftSPS-STTI if the higher layer parameter ifdma-Config-SPS is set. The quantity is given by where the pseudo-random sequence is defined by clause 7.2. The application of is cell-specific. The pseudo-random sequence generator shall be initialized with at the beginning of each radio frame. The quantity is given by if no value for is configured by higher layers for PUSCH/(S)PUCCH format 4/PUCCH format 5 or the PUSCH transmission corresponds to a Random Access Response Grant or a retransmission of the same transport block as part of the contention based random access procedure, otherwise it is given by . The vector of reference signals shall be precoded according to where is the number of antenna ports used for PUSCH transmission. For PUSCH transmission using a single antenna port, , and . For spatial multiplexing, or and the precoding matrix shall be identical to the precoding matrix used in clause 5.3.3A.2 for precoding of the PUSCH in the same subframe. Table 5.5.2.1.1-1: Mapping of Cyclic Shift Field in uplink-related DCI format to and Table 5.5.2.1.1-2: Mapping of cyclicShift to values Table 5.5.2.1.1-3: Mapping of Cyclic Shift Field in uplink-related DCI format to , , and Table 5.5.2.1.1-4: for subslot-PUSCH/slot-PUSCH