From df4733dff9bd2c21e08c2ca4510cab505eee88db Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 24 Nov 2014 10:58:33 +0200 Subject: [PATCH] tests: WNM BSS TM Req with non-global operating class table Signed-off-by: Jouni Malinen --- tests/hwsim/test_wnm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: