xref: /OK3568_Linux_fs/buildroot/package/wpa_supplicant/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1menuconfig BR2_PACKAGE_WPA_SUPPLICANT
2	bool "wpa_supplicant"
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	  WPA supplicant for secure wireless networks
8
9	  http://w1.fi/wpa_supplicant/
10
11if BR2_PACKAGE_WPA_SUPPLICANT
12
13config BR2_PACKAGE_WPA_SUPPLICANT_NL80211
14	bool "Enable nl80211 support"
15	default y
16	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
17	select BR2_PACKAGE_LIBNL
18	help
19	  Enable support for nl80211.  This is the current wireless
20	  API for Linux, supported by all wireless drivers in vanilla
21	  Linux, but may not be supported by some out-of-tree Linux
22	  wireless drivers.  wpa_supplicant will still fall back to
23	  using the Wireless Extensions (wext) API with these drivers.
24
25	  If this option is disabled, then only the deprecated wext
26	  API will be supported, with far less features.  Linux may
27	  supports using wext with modern drivers using a
28	  compatibility layer, but it must be enabled in the kernel
29	  configuration.
30
31comment "nl80211 support needs a toolchain w/ threads"
32	depends on !BR2_TOOLCHAIN_HAS_THREADS
33
34config BR2_PACKAGE_WPA_SUPPLICANT_WEXT
35	bool "Enable wext (deprecated)"
36	default y if !BR2_TOOLCHAIN_HAS_THREADS
37	help
38	  Enable support for wext.  This is the historic wireless API
39	  for Linux, which is now deprecated and in maintenance-only in
40	  the kernel.  It may still be required by out-of-tree drivers.
41
42config BR2_PACKAGE_WPA_SUPPLICANT_WIRED
43	bool "Enable wired support"
44	select BR2_PACKAGE_WPA_SUPPLICANT_EAP
45	help
46	  Include the "wired" driver, so the internal IEEE 802.1x
47	  supplicant can be used with Ethernet.  This also enables
48	  support for MACSEC.
49
50comment "wpa_supplicant will be useless without at least one driver"
51	depends on !BR2_PACKAGE_WPA_SUPPLICANT_NL80211 && \
52		!BR2_PACKAGE_WPA_SUPPLICANT_WEXT && \
53		!BR2_PACKAGE_WPA_SUPPLICANT_WIRED
54
55config BR2_PACKAGE_WPA_SUPPLICANT_IBSS_RSN
56	bool "Enable IBSS RSN"
57	depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211
58	help
59	  Enable support for RSN/WPA2 in Ad-Hoc mode.
60
61config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
62	bool "Enable AP mode"
63	depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211
64	help
65	  With this option enabled, wpa_supplicant can act as an
66	  access point much like hostapd does with a limited feature
67	  set.  This links in parts of hostapd functionality into
68	  wpa_supplicant, making it bigger but dispensing the need for
69	  a separate hostapd binary in some applications hence being
70	  smaller overall.  It also enables support for Wi-Fi Direct.
71
72config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
73	bool "Enable Wi-Fi Display"
74	depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
75	help
76	  Enable support for Wi-Fi Display
77
78config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING
79	bool "Enable mesh networking"
80	depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
81	select BR2_PACKAGE_OPENSSL
82	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
83	help
84	  Enable support for open and secured mesh networking
85	  (IEEE 802.11s)
86
87config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
88	bool "Enable autoscan"
89	help
90	  Enable support for the autoscan feature (allow periodic scan)
91
92config BR2_PACKAGE_WPA_SUPPLICANT_EAP
93	bool "Enable EAP"
94	help
95	  Enable support for EAP, 802.1x/WPA-Enterprise and FILS.
96
97config BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT
98	bool "Enable HS20"
99	select BR2_PACKAGE_WPA_SUPPLICANT_EAP
100	help
101	  Enable Hotspot 2.0 and IEEE 802.11u interworking
102	  functionality.
103
104config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG
105	bool "Enable syslog support"
106	help
107	  Enable support for sending debug messages to syslog.
108
109config BR2_PACKAGE_WPA_SUPPLICANT_WPS
110	bool "Enable WPS"
111	help
112	  Enable support for Wi-Fi Protected Setup (WPS).
113
114config BR2_PACKAGE_WPA_SUPPLICANT_WPA3
115	bool "Enable WPA3 support"
116	select BR2_PACKAGE_OPENSSL
117	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
118	help
119	  Enable WPA3 support including OWE, SAE, DPP
120
121config BR2_PACKAGE_WPA_SUPPLICANT_CLI
122	bool "Install wpa_cli binary"
123	select BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE
124	help
125	  Install wpa_cli command line utility
126
127config BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO
128	bool "Install wpa_client shared library"
129	depends on !BR2_STATIC_LIBS
130	help
131	  Install libwpa_client.so.
132
133comment "wpa_client library needs a toolchain w/ dynamic library"
134	depends on BR2_STATIC_LIBS
135
136config BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE
137	bool "Install wpa_passphrase binary"
138	help
139	  Install wpa_passphrase command line utility.
140
141config BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE
142	bool "Enable the Unix-socket control interface"
143	help
144	  Enable support for the Unix-socket-based API.
145
146config BR2_PACKAGE_WPA_SUPPLICANT_DBUS
147	bool "Enable support for the DBus control interface"
148	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
149	select BR2_PACKAGE_DBUS
150	help
151	  Enable support for the DBus control interface.
152
153comment "dbus support needs a toolchain w/ threads"
154	depends on !BR2_TOOLCHAIN_HAS_THREADS
155
156config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION
157	bool "Introspection support"
158	depends on BR2_PACKAGE_WPA_SUPPLICANT_DBUS
159	help
160	  Add introspection support for the DBus control interface.
161
162endif
163