Method and apparatus for wi-fi connection using wi-fi protected setup in portable terminal
First Claim
1. A method for connecting to a Wireless-Fidelity (Wi-Fi) network in an electronic device, the method comprising:
- entering a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if a Wi-Fi connection is requested;
discovering, in the group owner mode, an external device whose group owner mode is enabled;
determining a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device; and
connecting to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner,wherein the Wi-Fi connection is requested by an enabling of a Wi-Fi Protected Setup (WPS).
0 Assignments
0 Petitions
Accused Products
Abstract
A method and an apparatus for Wi-Fi connection based on Wi-Fi Protected Setup (WPS) in a portable terminal are provided. The method includes entering a group owner mode of Wi-Fi Direct when enabling of WPS is requested, after entering the group owner mode, entering a WPS session mode where the portable terminal is operable in a WPS registrar mode, determining whether an Access Point (AP) whose WPS session of the WPS registrar mode is enabled or a device whose group owner mode is enabled, exists nearby, and when an AP whose WPS registrar mode is enabled is discovered, disabling the WPS registrar mode and the group owner mode, enabling a WPS session where the portable terminal is to operate in a WPS enrollee mode, and accessing the discovered AP.
-
Citations
13 Claims
-
1. A method for connecting to a Wireless-Fidelity (Wi-Fi) network in an electronic device, the method comprising:
-
entering a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if a Wi-Fi connection is requested; discovering, in the group owner mode, an external device whose group owner mode is enabled; determining a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device; and connecting to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner, wherein the Wi-Fi connection is requested by an enabling of a Wi-Fi Protected Setup (WPS). - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for connecting to a Wireless-Fidelity (Wi-Fi) network in an electronic device, the apparatus comprising:
-
a communication device; and a processor operatively coupled with the communication device, the processor configured to; enter a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if a Wi-Fi connection is requested, discover, in the group owner mode, an external device whose group owner mode is enabled, determine a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device, and connect to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner, wherein the Wi-Fi connection is requested by an enabling of a Wi-Fi Protected Setup (WPS). - View Dependent Claims (7, 8, 9, 10)
-
-
11. At least one non-transitory computer readable storage medium for storing a computer program of instructions configured to be readable by at least one processor for instructing the at least one processor to execute a computer process for performing a method for connecting to a Wireless-Fidelity (Wi-Fi) network in an electronic device, the method comprising:
-
entering a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if a Wi-Fi connection is requested; discovering, in the group owner mode, an external device whose group owner mode is enabled; determining a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device; and connecting to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner, wherein the Wi-Fi connection is requested by an enabling of a Wi-Fi Protected Setup (WPS).
-
-
12. A method for connecting to a wireless communication network in an electronic device, the method comprising:
-
in response to a user input related to a Wi-Fi connection request associated with enabling of a Wi-Fi Protected Setup (WPS), entering, by the electronic device, a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device; discovering, in the group owner mode, an external device; determining whether the external device to be added for a Wi-Fi P2P communication is in the group owner mode; according to the determining of the external device is in the group owner mode, disabling the group owner mode of the electronic device; activating a WPS enrollee mode; and connecting, via the Wi-Fi P2P communication, to the discovered external device.
-
-
13. An electronic device for connecting to a wireless communication network, the electronic device comprising:
-
at least one processor; and at least one memory storing one or more computer programs, which when executed by the at least one processor, cause the electronic device to; in response to a user input related to a Wi-Fi connection request associated with enabling of a Wi-Fi Protected Setup (WPS), entering, by the electronic device, a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device; discovering, in the group owner mode, an external device; determining whether the external device to be added for a Wi-Fi P2P communication is in the group owner mode; according to the determining of the external device is in the group owner mode, disabling the group owner mode of the electronic device; activating a WPS enrollee mode; and connecting, via the Wi-Fi P2P communication, to the discovered external device.
-
Specification