Patent ID: 8929549
Filing Date: 2015-01-06
Classification: H04W,Y04S

Abstract:
1. A method for setting up a wireless network connection comprising: sending, by a first device, a third probe message to a second device by using a first transmit power, wherein the third probe message is used to instruct the second device to send a third response message by using a second transmit power; receiving, by the first device, the third response message, wherein the third response message carries a first receive power when the second device receives the third probe message; obtaining, by the first device through detection, a second receive power when receiving the third response message; obtaining, by the first device, a first path loss according to the first transmit power and the first receiver power; obtaining, by the first device, a second path loss according to the second transmit power and the second receive power; and sending, by the first device, network configuration information needed for accessing a wireless network to the second device such that the second device sets up a connection with the wireless network according to the network configuration information when determining that a distance between the first device and the second device is within a preset distance range according to the first path loss or the second path loss, and when identifying the second device as a real device when a loss variation value between the first path loss and the second path loss is within a preset loss variation value range by comparing the second path loss with the first path loss.