hostapd and wpa_supplicant for AP

Huijun Gan ghjkevin at
Fri Feb 24 22:35:38 EST 2012

2012/2/25 Jouni Malinen <j at>:
> On Wed, Feb 22, 2012 at 12:15:48PM +0800, Huijun Gan wrote:
>> Up to now, from the point of my view, the main difference between
>> hostapd and wpa_supplicant when play AP role, is that hostapd support
>> 802.1X authenticator, while wpa_supplicant could only support PSK mode
>> as authenticator. Do I miss something on the difference? We'll decide
>> to select which one to control our AP based on your information.
> The main difference here is indeed in wpa_supplicant AP mode supporting
> only a subset of configuration parameters. It is mainly meant for "soft
> AP" style configurations with either open network or WPA/WPA2-Personal
> configuration with WPS.
>> Besides, after 0.8.x version the wpa_supplicant could play the role of
>> AP, so kindly to ask if there is some plan to combine hostapd and
>> wpa_suppliant into one excutable binary?
> Yes, this is the most likely direction for hostapd/wpa_supplicant. I
> would like to see a single build configuration that can be used to
> select whatever functionality you need for both AP and station side and
> then get a single binary that provides the selected functionality.
So, you mean deciding the functionality on build-time? Is it possible
to decide it run-time, or at least load-time by load-configuration?

> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at

Best Regards,

More information about the HostAP mailing list