From: Jouni Malinen Date: Thu, 29 Dec 2016 10:50:50 +0000 (+0200) Subject: tests: AP with U-APSD advertisement X-Git-Tag: hostap_2_7~1872 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=678dcebedd46fe8dca0170dc6cf43a2defa8d87a;p=thirdparty%2Fhostap.git tests: AP with U-APSD advertisement Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_params.py b/tests/hwsim/test_ap_params.py index 03c29436d..3dc331959 100644 --- a/tests/hwsim/test_ap_params.py +++ b/tests/hwsim/test_ap_params.py @@ -664,3 +664,13 @@ def test_ap_long_preamble(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_wmm_uapsd(dev, apdev): + """AP with U-APSD advertisement""" + ssid = "uapsd" + params = { 'ssid': ssid, 'uapsd_advertisement_enabled': "1" } + 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)