tests: hostapd dump_msk_file

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-11-10 13:22:39 +02:00 committed by Jouni Malinen
parent 309765eb66
commit f1f796a39f

View file

@ -127,10 +127,10 @@ def start_erp_as(erp_domain="example.com", msk_dump=None, tls13=False,
apdev = {'ifname': 'as-erp'}
return hostapd.add_ap(apdev, params, driver="none")
def test_erp_radius(dev, apdev):
def test_erp_radius(dev, apdev, params):
"""ERP enabled on RADIUS server and peer"""
check_erp_capa(dev[0])
start_erp_as()
start_erp_as(msk_dump=params['prefix'] + ".msk")
params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
params['auth_server_port'] = "18128"
params['erp_send_reauth_start'] = '1'