xref: /OK3568_Linux_fs/buildroot/package/hostapd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD
2*4882a593Smuzhiyun	bool "hostapd"
3*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
4*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
5*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  User space daemon for wireless access points.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun	  It implements IEEE 802.11 access point management,
10*4882a593Smuzhiyun	  IEEE 802.1X/WPA/WPA2/EAP authenticators, RADIUS client,
11*4882a593Smuzhiyun	  EAP server and RADIUS authentication server.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	  http://w1.fi/hostapd/
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunif BR2_PACKAGE_HOSTAPD
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP
18*4882a593Smuzhiyun	bool "Enable hostap driver"
19*4882a593Smuzhiyun	default y
20*4882a593Smuzhiyun	select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Enable support for Host AP driver.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_DRIVER_NL80211
25*4882a593Smuzhiyun	bool "Enable nl80211 driver"
26*4882a593Smuzhiyun	default y
27*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
28*4882a593Smuzhiyun	select BR2_PACKAGE_LIBNL
29*4882a593Smuzhiyun	select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  Enable support for drivers using the nl80211 kernel interface.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncomment "nl80211 driver needs a toolchain w/ threads"
34*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_DRIVER_WIRED
37*4882a593Smuzhiyun	bool "Enable wired driver"
38*4882a593Smuzhiyun	help
39*4882a593Smuzhiyun	  Enable support for wired authenticator.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_DRIVER_NONE
42*4882a593Smuzhiyun	bool
43*4882a593Smuzhiyun	default y
44*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP
45*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211
46*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HOSTAPD_DRIVER_WIRED
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS
49*4882a593Smuzhiyun	bool
50*4882a593Smuzhiyun
51*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_ACS
52*4882a593Smuzhiyun	bool "Enable ACS"
53*4882a593Smuzhiyun	default y
54*4882a593Smuzhiyun	depends on BR2_PACKAGE_HOSTAPD_DRIVER_NL80211
55*4882a593Smuzhiyun	help
56*4882a593Smuzhiyun	  Enable support for standard ACS (Automatic Channel Selection).
57*4882a593Smuzhiyun	  Some propietary drivers use a custom algorithm which requires
58*4882a593Smuzhiyun	  channel to be set to '0' (which enables ACS in the config),
59*4882a593Smuzhiyun	  causing hostapd to use the standard one which doesn't work
60*4882a593Smuzhiyun	  for those cases.
61*4882a593Smuzhiyun
62*4882a593Smuzhiyuncomment "ACS is currently only supported through the nl80211 driver"
63*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_EAP
66*4882a593Smuzhiyun	bool "Enable EAP"
67*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
68*4882a593Smuzhiyun	help
69*4882a593Smuzhiyun	  Enable support for EAP and RADIUS.
70*4882a593Smuzhiyun
71*4882a593Smuzhiyuncomment "hostapd EAP needs a toolchain w/ dynamic library"
72*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
73*4882a593Smuzhiyun
74*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_WPS
75*4882a593Smuzhiyun	bool "Enable WPS"
76*4882a593Smuzhiyun	help
77*4882a593Smuzhiyun	  Enable support for Wi-Fi Protected Setup.
78*4882a593Smuzhiyun
79*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_WPA3
80*4882a593Smuzhiyun	bool "Enable WPA3 support"
81*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL
82*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
83*4882a593Smuzhiyun	help
84*4882a593Smuzhiyun	  Enable WPA3 support including OWE, SAE, DPP
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_VLAN
87*4882a593Smuzhiyun	bool "Enable VLAN support"
88*4882a593Smuzhiyun	default y
89*4882a593Smuzhiyun	help
90*4882a593Smuzhiyun	  Enable support for VLANs.
91*4882a593Smuzhiyun
92*4882a593Smuzhiyunif BR2_PACKAGE_HOSTAPD_VLAN
93*4882a593Smuzhiyun
94*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC
95*4882a593Smuzhiyun	bool "Enable dynamic VLAN support"
96*4882a593Smuzhiyun	default y
97*4882a593Smuzhiyun	help
98*4882a593Smuzhiyun	  Enable support for fully dynamic VLANs.
99*4882a593Smuzhiyun	  This enables hostapd to automatically create
100*4882a593Smuzhiyun	  bridge and VLAN interfaces if necessary.
101*4882a593Smuzhiyun
102*4882a593Smuzhiyunconfig BR2_PACKAGE_HOSTAPD_VLAN_NETLINK
103*4882a593Smuzhiyun	bool "Use netlink-based API for VLAN operations"
104*4882a593Smuzhiyun	default y
105*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
106*4882a593Smuzhiyun	select BR2_PACKAGE_LIBNL
107*4882a593Smuzhiyun	help
108*4882a593Smuzhiyun	  Use netlink-based kernel API for VLAN operations
109*4882a593Smuzhiyun	  instead of ioctl().
110*4882a593Smuzhiyun
111*4882a593Smuzhiyuncomment "netlink-based VLAN support needs a toolchain w/ threads"
112*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS
113*4882a593Smuzhiyun
114*4882a593Smuzhiyunendif # BR2_PACKAGE_HOSTAPD_VLAN
115*4882a593Smuzhiyun
116*4882a593Smuzhiyunendif
117