Patent ID: 9369858
Filing Date: 2016-06-14
CPC Classification: H04W

Claim Text:
1. A terminal device comprising: a wireless fidelity (Wi-Fi) module; and a controller which, in response to a command for executing a Wi-Fi peer-to-peer (P2P) function being received, determines whether the Wi-Fi module is connected to an access point (AP), and in response to the Wi-Fi module not being connected to the AP, controls the Wi-Fi module to perform a scan operation, iterate a search operation to establish a Wi-Fi P2P connection with an external device, and in response to the Wi-Fi module being connected to the AP, interrupt the connection to the AP when the Wi-Fi P2P function is executed, and iterate an operation of resuming the connection to the AP after a search operation is performed through each channel while a plurality of channels are sequentially selected, wherein, when an external device which performs P2P communication is found in the search operation, the controller controls the Wi-Fi module to perform a listen operation of receiving a signal transmitted from the external device and transmitting a response, and wherein the controller controls the Wi-Fi module to perform only the search operation without the listen operation before P2P communication is found in the search operation.