tests: Multi-AP and WPS parameter update
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
838a5aa95a
commit
f9ca4e3107
1 changed files with 11 additions and 1 deletions
|
@ -225,6 +225,8 @@ def run_multi_ap_wps(dev, apdev, params, params_backhaul=None, add_apdev=False,
|
|||
dev[0].cmd_execute(['iw', wpas_apdev['ifname'], 'del'])
|
||||
raise
|
||||
|
||||
return hapd
|
||||
|
||||
def test_multi_ap_wps_shared(dev, apdev):
|
||||
"""WPS on shared fronthaul/backhaul AP"""
|
||||
ssid = "multi-ap-wps"
|
||||
|
@ -233,7 +235,15 @@ def test_multi_ap_wps_shared(dev, apdev):
|
|||
params.update({"multi_ap": "3",
|
||||
"multi_ap_backhaul_ssid": '"%s"' % ssid,
|
||||
"multi_ap_backhaul_wpa_passphrase": passphrase})
|
||||
run_multi_ap_wps(dev, apdev, params)
|
||||
hapd = run_multi_ap_wps(dev, apdev, params)
|
||||
# Verify WPS parameter update with Multi-AP
|
||||
if "OK" not in hapd.request("RELOAD"):
|
||||
raise Exception("hostapd RELOAD failed")
|
||||
dev[0].wait_disconnected()
|
||||
dev[0].request("REMOVE_NETWORK all")
|
||||
hapd.request("WPS_PBC")
|
||||
dev[0].request("WPS_PBC multi_ap=1")
|
||||
dev[0].wait_connected(timeout=20)
|
||||
|
||||
def test_multi_ap_wps_shared_csa(dev, apdev):
|
||||
"""WPS on shared fronthaul/backhaul AP, run CSA"""
|
||||
|
|
Loading…
Reference in a new issue