tests: Disable PFS in dpp_akm_sha*

These test cases are using externally generated PMKSA cache entry which
does not support use of PFS. This will start failing if the station
claims to support PFS in such cases, so explicitly disable PFS
functionality in these test cases for now.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-05-01 20:51:49 +03:00 committed by Jouni Malinen
parent 61e22e45c8
commit f114156804

View file

@ -1420,7 +1420,7 @@ def run_dpp_akm(dev, apdev, pmk_len):
raise HwsimSkip("DPP not supported")
id = dev[0].connect("dpp", key_mgmt="DPP", ieee80211w="2", scan_freq="2412",
wait_connect=False)
dpp_pfs="2", wait_connect=False)
ev = dev[0].wait_event(["CTRL-EVENT-NETWORK-NOT-FOUND"], timeout=2)
if not ev:
raise Exception("Network mismatch not reported")