tests: Do not use SAE group 26

This group should not be used with SAE and as such, it could cause
confusing test errors here. Use an acceptable group instead.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-01-11 14:09:43 +02:00 committed by Jouni Malinen
parent 682fce579f
commit 500813f9f3
2 changed files with 5 additions and 5 deletions

View file

@ -234,7 +234,7 @@ def test_sae_group_nego(dev, apdev):
params['sae_groups'] = '19' params['sae_groups'] = '19'
hostapd.add_ap(apdev[0], params) hostapd.add_ap(apdev[0], params)
dev[0].request("SET sae_groups 25 26 20 19") dev[0].request("SET sae_groups 25 20 19")
dev[0].connect("test-sae-group-nego", psk="12345678", key_mgmt="SAE", dev[0].connect("test-sae-group-nego", psk="12345678", key_mgmt="SAE",
scan_freq="2412") scan_freq="2412")
if dev[0].get_status_field('sae_group') != '19': if dev[0].get_status_field('sae_group') != '19':

View file

@ -613,7 +613,7 @@ def test_wpas_mesh_secure_sae_group_mismatch(dev, apdev):
id = add_mesh_secure_net(dev[1]) id = add_mesh_secure_net(dev[1])
dev[1].mesh_group_add(id) dev[1].mesh_group_add(id)
dev[2].request("SET sae_groups 26") dev[2].request("SET sae_groups 20")
id = add_mesh_secure_net(dev[2]) id = add_mesh_secure_net(dev[2])
dev[2].mesh_group_add(id) dev[2].mesh_group_add(id)
@ -656,11 +656,11 @@ def test_wpas_mesh_secure_sae_group_negotiation(dev, apdev):
addr1 = dev[1].own_addr() addr1 = dev[1].own_addr()
#dev[0].request("SET sae_groups 21 20 25 26") #dev[0].request("SET sae_groups 21 20 25 26")
dev[0].request("SET sae_groups 26") dev[0].request("SET sae_groups 25")
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)
dev[1].request("SET sae_groups 19 26") dev[1].request("SET sae_groups 19 25")
id = add_mesh_secure_net(dev[1]) id = add_mesh_secure_net(dev[1])
dev[1].mesh_group_add(id) dev[1].mesh_group_add(id)
@ -1827,7 +1827,7 @@ def test_mesh_sae_groups_invalid(dev, apdev):
"""Mesh with invalid SAE group configuration""" """Mesh with invalid SAE group configuration"""
check_mesh_support(dev[0], secure=True) check_mesh_support(dev[0], secure=True)
dev[0].request("SET sae_groups 26") dev[0].request("SET sae_groups 25")
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)