tests: Mesh and failure to derive random nonce
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
044d739bdd
commit
98628b7f07
1 changed files with 10 additions and 0 deletions
|
@ -793,11 +793,21 @@ def test_mesh_wpa_init_fail(dev, apdev):
|
||||||
dev[0].mesh_group_add(id)
|
dev[0].mesh_group_add(id)
|
||||||
wait_fail_trigger(dev[0], "GET_FAIL")
|
wait_fail_trigger(dev[0], "GET_FAIL")
|
||||||
|
|
||||||
|
dev[0].dump_monitor()
|
||||||
with alloc_fail(dev[0], 1, "mesh_rsn_auth_init"):
|
with alloc_fail(dev[0], 1, "mesh_rsn_auth_init"):
|
||||||
id = add_mesh_secure_net(dev[0])
|
id = add_mesh_secure_net(dev[0])
|
||||||
dev[0].mesh_group_add(id)
|
dev[0].mesh_group_add(id)
|
||||||
wait_fail_trigger(dev[0], "GET_ALLOC_FAIL")
|
wait_fail_trigger(dev[0], "GET_ALLOC_FAIL")
|
||||||
|
|
||||||
|
dev[0].dump_monitor()
|
||||||
|
with fail_test(dev[0], 1, "os_get_random;mesh_rsn_init_ampe_sta"):
|
||||||
|
id = add_mesh_secure_net(dev[0])
|
||||||
|
dev[0].mesh_group_add(id)
|
||||||
|
dev[1].request("SET sae_groups ")
|
||||||
|
id = add_mesh_secure_net(dev[1])
|
||||||
|
dev[1].mesh_group_add(id)
|
||||||
|
wait_fail_trigger(dev[0], "GET_FAIL")
|
||||||
|
|
||||||
def test_wpas_mesh_reconnect(dev, apdev):
|
def test_wpas_mesh_reconnect(dev, apdev):
|
||||||
"""Secure mesh network plink counting during reconnection"""
|
"""Secure mesh network plink counting during reconnection"""
|
||||||
check_mesh_support(dev[0])
|
check_mesh_support(dev[0])
|
||||||
|
|
Loading…
Reference in a new issue