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