tests: Configure wlantest for FT+PMF test cases
It is useful to get the encrypted frames decrypted in the sniffer capture for these test cases. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
4619dc0607
commit
dbddbf1647
1 changed files with 5 additions and 0 deletions
|
@ -460,6 +460,11 @@ def run_ap_ft_pmf(dev, apdev, ieee80211w, over_ds=False):
|
||||||
params["ieee80211w"] = "2"
|
params["ieee80211w"] = "2"
|
||||||
hapd1 = hostapd.add_ap(apdev[1], params)
|
hapd1 = hostapd.add_ap(apdev[1], params)
|
||||||
|
|
||||||
|
Wlantest.setup(hapd0)
|
||||||
|
wt = Wlantest()
|
||||||
|
wt.flush()
|
||||||
|
wt.add_passphrase(passphrase)
|
||||||
|
|
||||||
run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase,
|
run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase,
|
||||||
ieee80211w=ieee80211w, over_ds=over_ds)
|
ieee80211w=ieee80211w, over_ds=over_ds)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue