mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Use PMF in DPP with legacy PSK/SAE cases
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
79ce2d519b
commit
2fec710ac5
@ -1664,8 +1664,11 @@ def run_dpp_auto_connect_legacy(dev, apdev, conf='sta-psk',
|
|||||||
passphrase="secret passphrase")
|
passphrase="secret passphrase")
|
||||||
if sae_only:
|
if sae_only:
|
||||||
params['wpa_key_mgmt'] = 'SAE'
|
params['wpa_key_mgmt'] = 'SAE'
|
||||||
|
params['ieee80211w'] = '2'
|
||||||
elif psk_sae:
|
elif psk_sae:
|
||||||
params['wpa_key_mgmt'] = 'WPA-PSK SAE'
|
params['wpa_key_mgmt'] = 'WPA-PSK SAE'
|
||||||
|
params['ieee80211w'] = '1'
|
||||||
|
params['sae_require_mfp'] = '1'
|
||||||
|
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user