tests: FT with CUI
Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
This commit is contained in:
parent
069b4e3048
commit
d269740a3e
1 changed files with 9 additions and 2 deletions
|
@ -683,13 +683,16 @@ def test_ap_ft_sae_over_ds(dev, apdev):
|
||||||
run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, sae=True,
|
run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, sae=True,
|
||||||
over_ds=True)
|
over_ds=True)
|
||||||
|
|
||||||
def generic_ap_ft_eap(dev, apdev, vlan=False, over_ds=False, discovery=False,
|
def generic_ap_ft_eap(dev, apdev, vlan=False, cui=False, over_ds=False,
|
||||||
roams=1):
|
discovery=False, roams=1):
|
||||||
ssid = "test-ft"
|
ssid = "test-ft"
|
||||||
passphrase="12345678"
|
passphrase="12345678"
|
||||||
if vlan:
|
if vlan:
|
||||||
identity="gpsk-vlan1"
|
identity="gpsk-vlan1"
|
||||||
conndev="brvlan1"
|
conndev="brvlan1"
|
||||||
|
elif cui:
|
||||||
|
identity="gpsk-cui"
|
||||||
|
conndev=False
|
||||||
else:
|
else:
|
||||||
identity="gpsk user"
|
identity="gpsk user"
|
||||||
conndev=False
|
conndev=False
|
||||||
|
@ -743,6 +746,10 @@ def test_ap_ft_eap(dev, apdev):
|
||||||
"""WPA2-EAP-FT AP"""
|
"""WPA2-EAP-FT AP"""
|
||||||
generic_ap_ft_eap(dev, apdev)
|
generic_ap_ft_eap(dev, apdev)
|
||||||
|
|
||||||
|
def test_ap_ft_eap_cui(dev, apdev):
|
||||||
|
"""WPA2-EAP-FT AP with CUI"""
|
||||||
|
generic_ap_ft_eap(dev, apdev, vlan=False, cui=True)
|
||||||
|
|
||||||
def test_ap_ft_eap_vlan(dev, apdev):
|
def test_ap_ft_eap_vlan(dev, apdev):
|
||||||
"""WPA2-EAP-FT AP with VLAN"""
|
"""WPA2-EAP-FT AP with VLAN"""
|
||||||
generic_ap_ft_eap(dev, apdev, vlan=True)
|
generic_ap_ft_eap(dev, apdev, vlan=True)
|
||||||
|
|
Loading…
Reference in a new issue