From 55139acbe31676a21051f5831951a8084a0f3dcf Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 29 Dec 2016 01:15:11 +0200 Subject: [PATCH] tests: WPA2-PSK-FT AP over DS disabled Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_ft.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 664d16818..43621aa09 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -244,6 +244,21 @@ def test_ap_ft_over_ds(dev, apdev): check_mib(dev[0], [ ("dot11RSNAAuthenticationSuiteRequested", "00-0f-ac-4"), ("dot11RSNAAuthenticationSuiteSelected", "00-0f-ac-4") ]) +def test_ap_ft_over_ds_disabled(dev, apdev): + """WPA2-PSK-FT AP over DS disabled""" + ssid = "test-ft" + passphrase="12345678" + + params = ft_params1(ssid=ssid, passphrase=passphrase) + params['ft_over_ds'] = '0' + hapd0 = hostapd.add_ap(apdev[0], params) + params = ft_params2(ssid=ssid, passphrase=passphrase) + params['ft_over_ds'] = '0' + hapd1 = hostapd.add_ap(apdev[1], params) + + run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, over_ds=True, + fail_test=True) + def test_ap_ft_over_ds_many(dev, apdev): """WPA2-PSK-FT AP over DS multiple times""" ssid = "test-ft"