主权项 |
1. A method for parsing data in a data unit into a number of spatial streams, the method comprising:
selecting a modulation and coding scheme (MCS) from a plurality of MCSs; encoding information bits to generate coded bits using a plurality of encoders, wherein
a number of encoders in the plurality of encoders corresponds to the selected MCS,each encoder generates a number of consecutive blocks of s bits,s is an integer the value of which depends on a constellation size corresponding to the selected MCS, anda parsing constraint corresponds to the number of consecutive blocks of s bits being an integer multiple of the number of encoders; parsing the coded bits into the number of spatial streams according to a first set of parsing rules if the coded bits satisfy the parsing constraint; and parsing the coded bits into the number of spatial streams according to a second set of parsing rules if the coded bits do not satisfy the parsing constraint, wherein parsing the coded bits according to the second set of parsing rules comprises
assigning consecutive blocks of s bits from each encoder in a round robin fashion to the spatial streams, wherein a consecutive block of s bits from one encoder is assigned to each of the spatial streams in a cycle until M×s residue bits remain at the output of each encoder at a completion of a cycle, wherein M is an integer less than the number of spatial streams,assigning the M×s residue bits from a first encoder to a first set of M spatial streams, wherein a consecutive block of s bits from the first encoder is assigned to each spatial stream in the first set of M spatial streams, andassigning the M×s residue bits from a second encoder to a second set of M spatial streams, wherein a consecutive block of s bits from the second encoder is assigned to each spatial stream in the second set of M spatial streams. |