Patent ID: 8682259

Claim:
A wireless communication apparatus that forms part of an ad-hoc wireless network, the wireless communication apparatus comprising: a receiving portion that receives a beacon frame from another wireless communication apparatus forming part of the ad-hoc wireless network, the beacon frame including country ID information indicating a country and time information related to received timing of the beacon frame; a recording portion that records the country ID information onto a storage medium, and further records time information onto the storage medium; an extracting portion that extracts country ID information from the storage medium considering the time information stored on the storage medium; and a channel setting portion that sets a wireless channel to a frequency channel that allows the wireless channel to be used in the country indicated by the country ID information extracted by the extracting portion, wherein when a country associated with the wireless communication apparatus differs from the country indicated by the country ID information of the other wireless communication apparatus, the channel setting portion sets the wireless channel to a frequency channel that can be used in both the country associated with the wireless communication apparatus and the country indicated by the country ID of the other wireless communication apparatus.