Patent ID: 8249092

Claim:
A communication device comprising: a reception unit configured to receive a first plurality of subcarriers having different frequencies, where a plurality of said first plurality of subcarriers are allocated to each of a plurality of logic channels, from another communication device; a measurement unit configured to measure line states of said received first plurality of subcarriers; a communication signal allocation unit configured to allocate a plurality of said first plurality of subcarriers to each of said logic channels; a margin setting unit configured to set a margin value for each of said logic channels and to set a margin value for each of said first plurality of subcarriers as the margin value set for the logic channel to which it is assigned; a communication speed decision unit deciding the number of bits allocated to each of said first plurality of subcarriers such that an error rate of said logic channel on the subcarriers is less than a prescribed value in line states degraded by the margin value set for the subcarrier from the line state measured for the subcarrier; and a transmission unit configured to notify said another communication device by transmitting information regarding which of said logic channels is allocated to each of said first plurality of subcarriers and the decided number of bits allocated to each of said first plurality of subcarriers, wherein said communication signal allocation unit allocates a plurality of said first plurality of subcarriers to each of said logic channels based on said measured line states and said set margin value of said logic channels.