Patent ID: 8275904

Claim:
A wireless communication device, comprising: a reception unit configured to receive data transmitted from a first communication apparatus; a storage unit configured to store the data which is received by the reception unit from the first communication apparatus; a relay unit configured to, in a case that said storage unit stores a predetermined amount of the data, transmit the predetermined amount of the data stored in said storage unit to a second communication apparatus; a second reception unit configured to receive a response to the data transmitted by the relay unit from the second communication apparatus; a determination unit configured to determine an amount of data stored in a buffer of the second communication apparatus based on buffer information of the second communication apparatus included in the response received by the second reception unit; and a changing unit configured to change, based on the amount of data stored in the buffer of the second communication apparatus determined by the determination unit, the predetermined amount of the data to be received from the first communication apparatus and stored in said storage unit, wherein said changing unit increases the predetermined amount of the data to be received from the first communication apparatus and to be stored in said storage unit in a case that the buffer information indicates that the buffer of the second communication apparatus is empty, and decreases the predetermined amount of the data to be received from the first communication apparatus and to be stored in said storage unit in a case that the buffer information indicates that the buffer of the second communication apparatus is full.