LOG_E(PHY,"ERROR: Format 2_2A: harq_pid=%d >= 8\n",harq_pid);
return(-1);
}
dlsch0_harq->mcs=mcs1;
dlsch1_harq->mcs=mcs2;
dlsch0_harq->rvidx=rv1;
dlsch1_harq->rvidx=rv2;
/*
If both transport blocks are enabled, the number of layers equals two; transport block 1 is mapped to codeword 0; and transport block 2 is mapped to codeword 1. Antenna ports 7 and 8 are used for spatial multiplexing.
In case one of the transport blocks is disabled, the number of layers equals one; the active transport block is mapped to codeword 0; and the antenna port for single-antenna port transmission is according to the ndi of the disabled TB (0 -> 7, 1 -> 8)
*/
TB0_active=1;
TB1_active=1;
// check if either TB is disabled (see 36-213 V8.6 p. 26)