mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-30 06:39:46 +01:00
2e3ad0f6b3
test-runner now supports interface name replacement inside hostapd config files. Since a given test configuration doesn't know what interface names there will be $ifaceN can be specified instead e.g. rsn_preauth_interfaces=$iface0 $iface1 The $ifaceN values will be replace with actual interface names when the test is started. This patch also removes ctrl_interface inside the hostapd config files as this is no longer required.
36 lines
839 B
Plaintext
36 lines
839 B
Plaintext
hw_mode=g
|
|
channel=1
|
|
ssid=TestPreauth
|
|
utf8_ssid=1
|
|
|
|
wpa=2
|
|
wpa_key_mgmt=WPA-EAP
|
|
wpa_pairwise=CCMP
|
|
ieee8021x=1
|
|
wpa_ptk_rekey=30
|
|
wpa_group_rekey=80
|
|
ieee80211w=1
|
|
|
|
# Run the RADIUS server in the BSS 0 hostapd only, listen for BSS 1 connections
|
|
eap_server=1
|
|
eap_user_file=/tmp/certs/eap-user-tls.text
|
|
ca_cert=/tmp/certs/cert-ca.pem
|
|
server_cert=/tmp/certs/cert-server.pem
|
|
private_key=/tmp/certs/cert-server-key.pem
|
|
server_id=testeap
|
|
radius_server_clients=/tmp/certs/radius-clients.text
|
|
radius_server_auth_port=1812
|
|
nas_identifier=testeap1
|
|
|
|
rsn_preauth=1
|
|
rsn_preauth_interfaces=$iface0 $iface1
|
|
disable_pmksa_caching=0
|
|
|
|
# Allow PMK cache to be shared opportunistically among configured interfaces
|
|
# and BSSes (i.e., all configurations within a single hostapd process).
|
|
okc=1
|
|
|
|
ap_table_expiration_time=36000
|
|
ap_table_max_size=10
|
|
rrm_neighbor_report=1
|