From: Jouni Malinen Date: Mon, 24 Nov 2014 08:58:33 +0000 (+0200) Subject: tests: WNM BSS TM Req with non-global operating class table X-Git-Tag: hostap_2_4~1035 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df4733dff9bd2c21e08c2ca4510cab505eee88db;p=thirdparty%2Fhostap.git tests: WNM BSS TM Req with non-global operating class table Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index e29d0184d..f1c68039e 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -369,6 +369,7 @@ def test_wnm_bss_tm(dev, apdev): try: params = { "ssid": "test-wnm", "country_code": "FI", + "ieee80211d": "1", "hw_mode": "g", "channel": "1", "bss_transition": "1" } @@ -379,6 +380,7 @@ def test_wnm_bss_tm(dev, apdev): params = { "ssid": "test-wnm", "country_code": "FI", + "ieee80211d": "1", "hw_mode": "a", "channel": "36", "bss_transition": "1" } @@ -410,7 +412,7 @@ def test_wnm_bss_tm(dev, apdev): dev[0].dump_monitor() logger.info("Preferred Candidate List (no matching neighbor) without Disassociation Imminent") - if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 neighbor=11:22:33:44:55:66,0x0000,81,3,7,0301ff neighbor=22:33:44:55:66:77,0x0000,81,8,7 neighbor=00:11:22:33:44:55,0x0000,81,4,7,03010a"): + if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 neighbor=11:22:33:44:55:66,0x0000,81,3,7,0301ff neighbor=22:33:44:55:66:77,0x0000,1,36,7 neighbor=00:11:22:33:44:55,0x0000,81,4,7,03010a"): raise Exception("BSS_TM_REQ command failed") ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10) if ev is None: