From a81ac2d6d78d34b585802661ce77f5068f9044ff Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 30 Dec 2016 00:45:04 +0200 Subject: [PATCH] tests: AP with wowlan_triggers Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_params.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hwsim/test_ap_params.py b/tests/hwsim/test_ap_params.py index 3dc331959..dc0a44a18 100644 --- a/tests/hwsim/test_ap_params.py +++ b/tests/hwsim/test_ap_params.py @@ -674,3 +674,13 @@ def test_ap_wmm_uapsd(dev, apdev): dev[0].scan_for_bss(bssid, freq="2412") dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412") hwsim_utils.test_connectivity(dev[0], hapd) + +def test_ap_wowlan_triggers(dev, apdev): + """AP with wowlan_triggers""" + ssid = "wowlan" + params = { 'ssid': ssid, 'wowlan_triggers': "any" } + hapd = hostapd.add_ap(apdev[0], params) + bssid = hapd.own_addr() + dev[0].scan_for_bss(bssid, freq="2412") + dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412") + hwsim_utils.test_connectivity(dev[0], hapd)