wpa_supplicant / hostapd
来源:互联网 发布:z舰队的覆灭 知乎 编辑:程序博客网 时间:2024/05/19 17:50
http://hostap.epitest.fi/wpa_supplicant/devel/
Developers' documentation for wpa_supplicant and hostapd
The goal of this documentation and comments in the source code is to give enough information for other developers to understand how wpa_supplicant and hostapd have been implemented, how they can be modified, how new drivers can be supported, and how the source code can be ported to other operating systems. If any information is missing, feel free to contact Jouni Malinen <j@w1.fi> for more information. Contributions as patch files are also very welcome at the same address. Please note that this software is licensed under the BSD license (the one with advertisement clause removed). All contributions to wpa_supplicant and hostapd are expected to use compatible licensing terms.
The source code and read-only access to the combined wpa_supplicant and hostapd Git repository is available from the project home page athttp://w1.fi/wpa_supplicant/. This developers' documentation is also available as a PDF file fromhttp://w1.fi/wpa_supplicant/wpa_supplicant-devel.pdf .
%wpa_supplicant
wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). 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 can optionally control roaming and IEEE 802.11 authentication/association of the wlan driver.
The design goal for wpa_supplicant was to use hardware, driver, and OS independent, portable C code for all WPA functionality. The source code is divided into separate C files as shown on thecode structure page. All hardware/driver specific functionality is in separate files that implement awell-defined driver API. Information about porting to different target boards and operating systems is available on theporting page.
EAPOL (IEEE 802.1X) state machines are implemented as a separate module that interacts withEAP peer implementation. In addition to programs aimed at normal production use, wpa_supplicant source tree includes number oftesting and development tools that make it easier to test the programs without having to setup a full test setup with wireless cards. These tools can also be used to implement automatic test suites.
wpa_supplicant implements a control interface that can be used by external programs to control the operations of the wpa_supplicant daemon and to get status information and event notifications. There is a small C library that provides helper functions to facilitate the use of the control interface. This library can also be used with C++.
wpa_supplicant modules
hostapd
hostapd includes IEEE 802.11 access point management (authentication / association), IEEE 802.1X/WPA/WPA2 Authenticator, EAP server, and RADIUS authentication server functionality. It can be build with various configuration option, e.g., a standalone AP management solution or a RADIUS authentication server with support for number of EAP methods.
The design goal for hostapd was to use hardware, driver, and OS independent, portable C code for all WPA functionality. The source code is divided into separate C files as shown on thecode structure page. All hardware/driver specific functionality is in separate files that implement awell-defined driver API. Information about porting to different target boards and operating systems is available on theporting page.
EAPOL (IEEE 802.1X) state machines are implemented as a separate module that interacts withEAP server implementation. Similarly, RADIUS authentication server is in its own separate module. Both IEEE 802.1X and RADIUS authentication server can use EAP server functionality.
hostapd implements a control interface that can be used by external programs to control the operations of the hostapdt daemon and to get status information and event notifications. There is a small C library that provides helper functions to facilitate the use of the control interface. This library can also be used with C++.
hostapd modules
- wpa_supplicant / hostapd
- wpa_supplicant / hostapd
- hostapd & wpa_supplicant & iwconfig & iw
- wpa_supplicant and hostapd 简介
- hostapd 与 wpa_supplicant详解
- hostapd和wpa_supplicant工具移植到ARM Linux
- hostapd wpa_supplicant madwifi详细分析(一)——hostapd是干嘛的
- hostapd wpa_supplicant madwifi详细分析(七)——hostapd整体梳理
- hostapd wpa_supplicant madwifi详细分析(一)——hostapd是干嘛的
- hostapd wpa_supplicant madwifi详细分析(一)——hostapd是干嘛的
- hostapd wpa_supplicant madwifi详细分析(八)——wpa_supplicant的配置文件
- hostapd
- hostapd
- hostapd
- hostapd
- hostapd
- hostapd
- Hostapd
- Objective-C语法之第一个iPhone应用程序的那些事儿(十)
- 黑马程序员--可变参数、自动拆装箱和枚举
- 理解
- 基于python/Django的开源项目汇总
- HTTP Header 详解
- wpa_supplicant / hostapd
- 纷纷细雨,琐思清明
- 第十七周实验报告
- 关于服务器时间对微博,新闻系统的影响
- 各种字符串之间的转换
- SQL SERVER 2005中的Schema详解
- 不要吝惜你的眼泪
- NSNotificationCenter
- Activity intent常用FLAG