• Home
Name Date Size #Lines LOC

..--

wpa_supplicant-2.9/12-May-2024-540,775402,186

wpa_supplicant-2.9_standard/12-May-2024-594,738442,025

.gitattributesD12-May-2024631 1615

CONTRIBUTIONSD12-May-20247.5 KiB172129

COPYINGD12-May-2024965 2317

OAT.xmlD12-May-20244 KiB6114

README.OpenSourceD12-May-20241.2 KiB2220

README_zh.mdD12-May-20242.3 KiB3833

bundle.jsonD12-May-20243.5 KiB8382

README.OpenSource

1[
2    {
3    "Name": "WPA Supplicant",
4    "License": "BSD 3-Clause License",
5    "License File": "wpa_supplicant-2.9_standard/COPYING",
6    "Version Number": "2.10",
7    "Owner": "maoyufeng3@huawei.com",
8    "Upstream URL": "https://w1.fi/releases/wpa_supplicant-2.10.tar.gz",
9    "Description": "wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver."
10    },
11    {
12    "Name": "hostapd",
13    "License": "BSD 3-Clause License",
14    "License File": "wpa_supplicant-2.9_standard/COPYING",
15    "Version Number": "2.10",
16    "Owner": "maoyufeng3@huawei.com",
17    "Upstream URL": "http://w1.fi/releases/hostapd-2.10.tar.gz",
18    "Description": "hostapd is a user space daemon for access point and authentication servers. It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and RADIUS authentication server."
19    }
20]
21
22

README_zh.md

1# Wpa Supplicant
2# 简介
3[wpa_supplicant](https://w1.fi/wpa_supplicant/)是跨平台的开源软件,支持WPA、WPA2、WPA3(IEEE 802.11i)等Wlan接入技术,可用于台式机、笔记本电脑、手机和其他嵌入式系统。
4在OpenHarmony中,wpa_supplicant用来提供Wi-Fi接入和Wi-Fi热点开启的协议栈。
5
6# OpenHarmony中wpa_supplicant架构介绍
7wpa_supplicant的软件上下文如图所示。
8![wpa_supplicant软件上下文](https://foruda.gitee.com/images/1663914145839018363/98121b90_7809085.png "wpa_supplicant软件上下文")
9 **接口层** :提供wpa_supplicant与Wi-Fi服务通信的接口。
10 **wpa协议栈** :提供Wi-Fi接入与热点功能,其中wpa_supplicant负责Wi-Fi接入,hostapd负责热点功能。
11 **HAL**: wpa_supplicant支持多种驱动形式,当前OpenHarmony支持HDF驱动和NL80211驱动。
12
13> 说明:系统开发者可以通过在产品的配置文件中对使用何驱动进行配置。
14例如[RK3568使用NL80211驱动](https://gitee.com/openharmony/vendor_hihope/pulls/375)15
16# 目录结构
17``` shell
18/third_party/wpa_supplicant
19|-- CONTRIBUTIONS                       # 贡献说明
20|-- COPYING                             # 版权说明
21|-- wpa_supplicant-2.9                  # 轻量级系统的wpa_supplicant
22|   |-- hostapd                         # Wi-Fi热点相关功能(Access Point)
23|   |-- hs20                            # 热点2.0(Hotspot2.0)相关功能
24|   |-- src                             # Wi-Fi热点与Wi-Fi接入点共用的代码
25|   |-- wpa_supplicant                  # Wi-Fi接入相关功能(Station)
26|   `-- wpa_supplicant_lib              # OpenHarmony对Wi-Fi新开发的业务代码
27`-- wpa_supplicant-2.9_standard         # 标准系统的wpa_supplicant
28|   |-- hostapd                         # Wi-Fi热点相关功能(Access Point)
29|   |-- hs20                            # 热点2.0(Hotspot2.0)相关功能
30|   |-- src                             # Wi-Fi热点与Wi-Fi接入点共用的代码
31|   |-- wpa_supplicant                  # Wi-Fi接入相关功能(Station)
32|   `-- wpa_supplicant_lib              # OpenHarmony对Wi-Fi新开发的业务代码
33
34```
35> 说明:由于轻量级系统与标准系统采用的编译链不同,当前暂时按不同的目录隔离。
36
37# 约束
38- 开发语言:C