Techniques to provide a cyclic redundancy check for low density parity check code codewords
Techniques are described for wireless communication. One method includes segmenting a payload into a plurality of code blocks; generating, for each code block, a cyclic redundancy check (CRC); encoding each code block and associated CRC in one or more codewords of a plurality of codewords; and transmitting the codewords. The encoding is based at least in part on a low density parity check code (LDPCC) encoding type. Another method includes receiving a plurality of codewords associated with a payload encoded using a LDPCC encoding type; decoding a set of the codewords associated with the first payload and a CRC; and transmitting one of an acknowledgement (ACK) or a non-acknowledgement (NAK) for the set of the codewords.
1. A method for wireless communication, comprising:
segmenting a payload to be encoded into a plurality of code blocks;
generating, for each code block, a cyclic redundancy check (CRC);
associating the CRC generated for each code block with each respective code block;
selecting low density parity check code (LDPCC) encoding based at least in part on at least one characteristic of the payload to be encoded;
performing LDPCC encoding of each code block and associated CRC to generate one or more codewords of a plurality of codewords; and
transmitting the one or more codewords generated by performing the LDPCC encoding.
2. The method of claim 1 , wherein the at least one characteristic comprises a transmission data rate of the payload.
3. The method of claim 1 , wherein the at least one characteristic comprises a transmission resource size for the payload.
4. The method of claim 1 , wherein the at least one characteristic comprises a size of the payload.
5. The method of claim 4 , further comprising:
selecting LDPCC encoding when the size of the payload is less than a threshold.
6. The method of claim 1 , wherein each codeword has an equal codeword length.
7. The method of claim 6 , further comprising:
selecting a code block length of each code block to be an integer multiple of the equal codeword length.
8. The method of claim 6 , further comprising:
combining filler bits with the payload to achieve the selected code block length.
9. The method of claim 1 , further comprising:
receiving a non-acknowledgement (NAK) of a code block of the plurality of code blocks associated with the payload.
10. The method of claim 9 , further comprising:
retransmitting a plurality of LDPCC codewords associated with the code block and the CRC associated with the code block based at least in part on the received NAK of the code block.
11. A device for wireless communication, comprising:
a processor;
memory coupled with the processor; and
instructions stored in the memory and executable by the processor to cause the device to:
segment a payload to be encoded into a plurality of code blocks;
generate, for each code block, a cyclic redundancy check (CRC);
associate the CRC generated for each code block with each respective code block;
select low density parity check code (LDPCC) encoding based at least in part on at least one characteristic of the payload to be encoded;
perform LDPCC encoding of each code block and associated CRC in one or more codewords of a plurality of codewords; and
transmit the one or more codewords generated by performing the LDPCC encoding.
12. The device of claim 11 , wherein the at least one characteristic comprises a transmission data rate of the payload.
13. The device of claim 11 , wherein the at least one characteristic comprises a transmission resource size for the payload.
14. The device of claim 11 , wherein the at least one characteristic comprises a size of the payload.
15. The device of claim 14 , wherein the instructions are executable by the processor to:
select LDPCC encoding when the size of the payload is less than a threshold.
16. The device of claim 11 , wherein each codeword has an equal codeword length.
17. The device of claim 16 , wherein the instructions are executable by the processor to cause the device to:
select a code block length of each code block to be an integer multiple of the equal codeword length.
18. The device of claim 16 , wherein the instructions are executable by the processor to cause the device to:
combine filler bits with the payload to achieve the selected code block length.
19. The device of claim 11 , wherein the instructions are executable by the processor to cause the device to:
receive a non-acknowledgement (NAK) of a code block of the plurality of code blocks associated with the payload.
20. The device of claim 19 , wherein the instructions are executable by the processor to cause the device to:
retransmit a plurality of LDPCC codewords associated with the code block and the CRC associated with the code block based at least in part on the received NAK of the code block.
21. A non-transitory computer readable medium storing code for wireless communication, the code comprising instructions that, when executed by a processor, cause a wireless communication device to:
segment a payload to be encoded into a plurality of code blocks;
generate, for each code block, a cyclic redundancy check (CRC);
associate the CRC generated for each code block with each respective code block;
select low density parity check code (LDPCC) encoding based at least in part on at least one characteristic of the payload to be encoded;
perform low density parity check code (LDPCC) encoding of each code block and associated CRC to generate one or more codewords of a plurality of codewords; and
transmit the one or more codewords generated by performing the LDPCC encoding.
22. The non-transitory computer readable medium of claim 21 , wherein the at least one characteristic comprises a transmission data rate of the payload.
23. The non-transitory computer readable medium of claim 21 , wherein the at least one characteristic comprises a transmission resource size for the payload.
24. The non-transitory computer readable medium of claim 21 , wherein the at least one characteristic comprises a size of the payload.
25. The non-transitory computer readable medium of claim 24 , wherein the code further comprises instructions that cause the wireless communication device to:
select LDPCC encoding when the size of the payload is less than a threshold.
26. The non-transitory computer readable medium of claim 21 , wherein each codeword has an equal codeword length.
27. The non-transitory computer readable medium of claim 26 , wherein the code further comprises instructions that cause the wireless communication device to:
select a code block length of each code block to be an integer multiple of the equal codeword length.
28. The non-transitory computer readable medium of claim 26 , wherein the code further comprises instructions that cause the wireless communication device to:
combine filler bits with the payload to achieve the selected code block length.
29. The non-transitory computer readable medium of claim 21 , wherein the code further comprises instructions that cause the wireless communication device to:
receive a non-acknowledgement (NAK) of a code block of the plurality of code blocks associated with the payload.
30. The non-transitory computer readable medium of claim 29 , wherein the code further comprises instructions that cause the wireless communication device to:
retransmit a plurality of LDPCC codewords associated with the code block and the CRC associated with the code block based at least in part on the received NAK of the code block.