mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: DPP PFS and cfg80211 connect command
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
6c67ad0a52
commit
61e22e45c8
@ -5243,6 +5243,16 @@ def test_dpp_pfs_ap_2(dev, apdev):
|
|||||||
run_dpp_pfs_sta(dev[0], 1, fail=True)
|
run_dpp_pfs_sta(dev[0], 1, fail=True)
|
||||||
run_dpp_pfs_sta(dev[0], 2, pfs_expected=False)
|
run_dpp_pfs_sta(dev[0], 2, pfs_expected=False)
|
||||||
|
|
||||||
|
def test_dpp_pfs_connect_cmd(dev, apdev):
|
||||||
|
"""DPP PFS and cfg80211 connect command"""
|
||||||
|
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
||||||
|
wpas.interface_add("wlan5", drv_params="force_connect_cmd=1")
|
||||||
|
check_dpp_capab(wpas)
|
||||||
|
hapd = start_dpp_pfs_ap(apdev[0], 0)
|
||||||
|
run_dpp_pfs_sta(wpas, 0, pfs_expected=True)
|
||||||
|
run_dpp_pfs_sta(wpas, 1, pfs_expected=True)
|
||||||
|
run_dpp_pfs_sta(wpas, 2, pfs_expected=False)
|
||||||
|
|
||||||
def test_dpp_reconfig_connector(dev, apdev):
|
def test_dpp_reconfig_connector(dev, apdev):
|
||||||
"""DPP reconfiguration connector"""
|
"""DPP reconfiguration connector"""
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user