Patent ID: 8681670

Claim:
A communication apparatus comprising: an acquisition unit that acquires a size of free space provided in each of a plurality of data transmission units that are to be simultaneously transmitted from a plurality of antennas; a first allocation unit that selects, in the free space whose size is acquired by the acquisition unit, a contiguous sequence of free space for a first piece of data whose priority is a first priority, the contiguous sequence of free space being equal in size to the first piece of data and provided in one of the data transmission units, and allocates the selected contiguous sequence of free space to the first piece of data; a second allocation unit that selects, in a remaining free space obtained by excluding the contiguous sequence of free space selected by the first allocation unit from the free space whose size is acquired by the acquisition unit, another contiguous sequence of free space for a second piece of data whose priority is lower than the first priority, the other contiguous sequence of free space being equal in size to the second piece of data and provided in one of the data transmission units, and allocates the other contiguous sequence of free space to the second piece of data; and a multiplexing unit that multiplexes the first piece of data and the second piece of data into the plurality of data transmission units according to the allocation of the free space by the first and second allocation units.