Patent ID: 8149835

Claim:
A transmitting apparatus in a communication system, comprising: a first generator for generating a payload of a protocol data unit (PDU); a second generator for selecting a length of an error check code according to a length of the generated payload, generating an error check code according to the selected length, and suffixing the error check code to the payload; a third generator for generating a header for the generated payload and prefixing the header to the payload; an encoder for encoding according to physical layer requirements, the PDU including the payload, the header prefixed to the payload, and the error check code suffixed to the payload; and a radio-frequency (RF) transmitter for converting data received from the encoder into an RF signal and transmitting the RF signal, wherein the second generator includes a lookup table for storing a mapping relationship between payload length and error check code length, and wherein, in the lookup table, an error check code length corresponding a payload length N is greater than or equal to an error check code length corresponding a payload length M, where N is greater than M.