Method and Apparatus for Wireless Fidelity Fast Connection
摘要:
A method and an apparatus for wireless fidelity (Wi-Fi) fast connection are provided. The method includes the following. After a terminal device detects Wi-Fi is turned on by a user, a Wi-Fi driver is loaded and wpa_supplicant is started as a support library of Wi-Fi protected access (WPA). After determining that the wpa_supplicant is started, the terminal device sends a scanning command and performs a scanning operation, and performs, in parallel with sending the scanning command and performing the scanning operation, operations of loading pre-stored access points, setting all the pre-stored access points to be connectable, updating a current connection state, turning on Wi-Fi peer-to-peer, and setting parameters of the Wi-Fi peer-to-peer. After setting the parameters of the Wi-Fi peer-to-peer, the terminal device connects to a first access point according to the scanning result of the scanning operation.
公开/授权文献
信息查询
0/0