mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
doc: host our own hostapd .config file
The test-runner hostapd section continues to grow with various options to enable. The wording for each of the options was such that it appeared optional (for test X uncomment Y). Since anyone running test-runner will likely want the ability to run all tests it made sense for us to just host our own hostapd config file that can be copied into the hostapd tree.
This commit is contained in:
parent
e3fe7ab18e
commit
f06fdde5b1
36
doc/hostapd.config
Normal file
36
doc/hostapd.config
Normal file
@ -0,0 +1,36 @@
|
||||
CONFIG_DRIVER_HOSTAP=y
|
||||
CONFIG_DRIVER_NL80211=y
|
||||
CONFIG_LIBNL32=y
|
||||
CONFIG_IAPP=y
|
||||
CONFIG_RSN_PREAUTH=y
|
||||
CONFIG_IEEE80211W=y
|
||||
CONFIG_EAP=y
|
||||
CONFIG_ERP=y
|
||||
CONFIG_EAP_MD5=y
|
||||
CONFIG_EAP_TLS=y
|
||||
CONFIG_EAP_MSCHAPV2=y
|
||||
CONFIG_EAP_PEAP=y
|
||||
CONFIG_EAP_GTC=y
|
||||
CONFIG_EAP_TTLS=y
|
||||
CONFIG_EAP_SIM=y
|
||||
CONFIG_EAP_AKA=y
|
||||
CONFIG_EAP_AKA_PRIME=y
|
||||
CONFIG_EAP_PWD=y
|
||||
CONFIG_WPS=y
|
||||
CONFIG_PKCS12=y
|
||||
CONFIG_RADIUS_SERVER=y
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_IEEE80211R=y
|
||||
CONFIG_IEEE80211N=y
|
||||
CONFIG_WNM=y
|
||||
CONFIG_IEEE80211AC=y
|
||||
CONFIG_IEEE80211AX=y
|
||||
CONFIG_NO_VLAN=y
|
||||
CONFIG_INTERWORKING=y
|
||||
CONFIG_HS20=y
|
||||
CONFIG_FILS=y
|
||||
CONFIG_FILS_SK_PFS=y
|
||||
CONFIG_OCV=y
|
||||
CONFIG_OWE=y
|
||||
CONFIG_DPP=y
|
||||
CONFIG_SAE=y
|
@ -268,63 +268,16 @@ follows:
|
||||
|
||||
$ cd hostap/hostapd
|
||||
|
||||
$ cp defconfig .config
|
||||
|
||||
$ vi .config
|
||||
|
||||
Find the following lines:
|
||||
|
||||
#CONFIG_DRIVER_NL80211=y
|
||||
#CONFIG_LIBNL32=y
|
||||
|
||||
and uncomment it by removing the '#' sign.
|
||||
|
||||
For WPS tests uncomment the following:
|
||||
|
||||
#CONFIG_WPS=y
|
||||
|
||||
For 802.11r (fast roaming) tests uncomment the following:
|
||||
|
||||
#CONFIG_IEEE80211R=y
|
||||
#CONFIG_WNM_AP=y
|
||||
#CONFIG_WNM=y
|
||||
|
||||
For EAP-SIM/AKA tests uncomment the following:
|
||||
|
||||
#CONFIG_EAP_SIM=y
|
||||
#CONDIG_EAP_AKA=y
|
||||
#CONFIG_EAP_AKA_PRIME=y
|
||||
|
||||
For EAP-PWD tests uncomment the following:
|
||||
|
||||
#CONFIG_EAP_PWD=y
|
||||
|
||||
For SAE tests add the following lines:
|
||||
|
||||
CONFIG_SAE=y
|
||||
CONFIG_OWE=y
|
||||
CONFIG_DPP=y
|
||||
|
||||
For pre-authentication tests add the following:
|
||||
|
||||
CONFIG_RADIUS_SERVER=y
|
||||
|
||||
For High Throughput tests add the following:
|
||||
|
||||
CONFIG_IEEE80211N=y
|
||||
CONFIG_IEEE80211AC=y
|
||||
|
||||
For FILS tests add the following:
|
||||
|
||||
CONFIG_FILS=y
|
||||
CONFIG_FILS_SK_PFS=y
|
||||
CONFIG_OCV=y
|
||||
$ cp <iwd>/doc/hostapd.config .config
|
||||
|
||||
Note: You may need to pre-install: 'gnutls-devel' and 'libgcrypt-devel'
|
||||
libraries.
|
||||
|
||||
$ make install
|
||||
|
||||
Note: All hostapd build options (CONFIG_*) are stored in doc/hostapd.config.
|
||||
Any new options which are required for a test should be added there.
|
||||
|
||||
Note: If 'make install' fails with the netlink warnings you may need to
|
||||
install libnl-1.0pre8 (or later).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user