Android WiFi system

Source: Internet
Author: User

1. What is wpa_supplicant?

Wpa_supplicant is the source code of an open-source project. It was modified by Google and added to the Android mobile platform. It is mainly used to support WEP, WPA/wpa2 and WAPI wireless protocols and encryption authentication, the actual work is to report data to the user through the socket (whether wpa_supplicant communicates with the upper layer or wpa_supplicant communicates with the driver) and the driver, you can use a socket to send a command to wpa_supplicant to mobilize the driver to operate the WiFi chip.
To put it simply, wpa_supplicant is a Wi-Fi driver and user Transfer Station plus support for protocol and encryption authentication.

Shows the architecture of the android WiFi system:

The entry function implemented by the wpa_supplicant process is: external/wpa_supplicant_8/wpa_supplicant/main. main function in C. This program runs in hardware/libhardware_legacy/WiFi/wifi. in C, wifi_start_supplicant_common is started (property_set ("CTL. start ",
Daemon_cmd )).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.