主权项 |
1. An image forming apparatus supporting Wi-Fi Direct, the image forming apparatus comprising:
a wireless interface unit to receive a request for a Wi-Fi Direct connection from an external wireless device; a memory unit to store device information about wireless devices that were previously Wi-Fi Direct connected to the image forming apparatus including MAC addresses and Dynamic Host Configuration Protocol, DHCP, client identifiers of the wireless devices that were previously Wi-Fi Direct connected to the image forming apparatus, the DHCP client identifiers being coded by the wireless devices and sent to the image forming apparatus in a DHCP request data packet; and a central processing unit to determine whether device information of the external wireless device that has requested the Wi-Fi Direct connection is stored in the memory unit, based on the stored device information, wherein when the external wireless device that has requested the Wi-Fi Direct connection is determined as corresponding to the stored device information, enabling, by the central processing unit, the Wi-Fi Direct connection between the image forming apparatus and the external wireless device via the wireless interface unit without a user input for Wi-Fi Protected Setup, WPS, via a user interface unit of the image forming apparatus. |