Patent ID: 8570931

Claim:
A repeater connected to a network and relaying a communication of a wireless communication device, the repeater comprising: a packet reception unit that receives a packet transmitted from a sender wireless communication device to a recipient wireless communication device from the network or the sender wireless communication device; a transmission unit that transmits the packet received by the packet reception unit to the recipient wireless communication device which is a transmission destination; a packet storing unit that stores, as a first packet, all of or a predetermined part of the packet transmitted to the recipient wireless communication device; and a packet selection unit that compares all of or a predetermined part of the first packet stored by the packet storing unit with all of or a predetermined part of a second packet, other than the first packet received by the packet reception unit, and discards the second packet when the first and second packets match under a predetermined condition; wherein when the packet reception unit receives a second packet which has the same sender as the first packet and which does not match the first packet under a predetermined condition, the packet selection unit excludes all of or a predetermined part of the stored first packet from a comparison target with all of or a predetermined part of the second packet, and wherein when the packet reception unit receives a second packet matching the first packet under a predetermined condition prior to transmitting the first packet, the packet selection unit compares an error rate of the first packet with an error rate of the second packet, and replaces the first packet stored in the packet storing unit with the second packet when the second packet has a smaller error rate than the error rate of the first packet.