Lines Matching refs:hapd
21 def clear_regdom_state(dev, hapd, hapd2): argument
26 if hapd:
27 hapd.request("DISABLE")
101 hapd = hostapd.add_ap(apdev, params)
107 Wlantest.setup(hapd)
111 return hapd
122 hapd = start_wnm_ap(apdev[0])
124 with alloc_fail(hapd, 1, "ieee802_11_send_bss_trans_mgmt_request"):
126 wait_fail_trigger(hapd, "GET_ALLOC_FAIL")
131 hapd = start_wnm_ap(apdev[0], time_adv=True, wnm_sleep_mode=True)
134 hapd.request("DISASSOC_IMMINENT " + addr + " 10")
146 hapd = start_wnm_ap(apdev[0], time_adv=True, wnm_sleep_mode=True)
148 dev[0].connect("test-wnm", key_mgmt="NONE", bssid=hapd.own_addr(),
152 if "OK" not in hapd.request(cmd):
161 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
176 hapd = start_wnm_ap(apdev[0])
179 with fail_test(hapd, 1, "wnm_send_disassoc_imminent"):
180 if "FAIL" not in hapd.request("DISASSOC_IMMINENT " + addr + " 10"):
186 hapd = start_wnm_ap(apdev[0], time_adv=True, wnm_sleep_mode=True)
189 hapd.request("ESS_DISASSOC " + addr + " 10 http://example.com/session-info")
201 hapd = start_wnm_ap(apdev[0])
204 if "FAIL" not in hapd.request("ESS_DISASSOC " + addr + " 10 http://" + 256*'a'):
206 with fail_test(hapd, 1, "wnm_send_ess_disassoc_imminent"):
207 … if "FAIL" not in hapd.request("ESS_DISASSOC " + addr + " 10 http://example.com/session-info"):
212 hapd = start_wnm_ap(apdev[0])
218 hapd.request("ESS_DISASSOC " + addr + " 1 http://example.com/session-info")
219 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=10)
230 hapd = start_wnm_ap(apdev[0], rsn=True)
234 hapd.wait_sta(wait_4way_hs=True)
235 hapd.request("ESS_DISASSOC " + addr + " 10 http://example.com/session-info")
245 def check_wnm_sleep_mode_enter_exit(hapd, dev, interval=None, tfs_req=None, argument
248 sta = hapd.get_sta(addr)
263 sta = hapd.get_sta(addr)
272 if "OK" not in hapd.request("REKEY_GTK"):
283 sta = hapd.get_sta(addr)
292 if "OK" not in hapd.request("REKEY_GTK"):
301 hapd = start_wnm_ap(apdev[0], time_adv=True, wnm_sleep_mode=True)
303 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
306 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
307 check_wnm_sleep_mode_enter_exit(hapd, dev[0], interval=100)
308 …check_wnm_sleep_mode_enter_exit(hapd, dev[0], tfs_req="5b17010001130e11000007112233445566112233445…
319 hapd = start_wnm_ap(apdev[0], wnm_sleep_mode=True)
321 with fail_test(hapd, 1, "nl80211_send_frame_cmd;ieee802_11_send_wnmsleep_resp"):
323 wait_fail_trigger(hapd, "GET_FAIL")
327 hapd = start_wnm_ap(apdev[0], wnm_sleep_mode=False)
336 hapd = start_wnm_ap(apdev[0], time_adv=True, wnm_sleep_mode=True, rsn=True,
339 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
342 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
347 hapd = start_wnm_ap(apdev[0], bss_transition=False, wnm_sleep_mode=True)
349 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
352 with alloc_fail(hapd, 1, "ieee802_11_send_wnmsleep_resp"):
354 wait_fail_trigger(hapd, "GET_ALLOC_FAIL")
355 with alloc_fail(hapd, 2, "ieee802_11_send_wnmsleep_resp"):
357 wait_fail_trigger(hapd, "GET_ALLOC_FAIL")
362 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True, time_adv=True)
365 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
368 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
372 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True, time_adv=True,
377 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
380 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
381 check_wnm_sleep_mode_enter_exit(hapd, dev[0], rekey=True)
386 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True,
391 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
394 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
405 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True, ocv=True)
424 ev = hapd.wait_event(["OCV failed"], timeout=5)
439 ev = hapd.wait_event(["OCV failed"], timeout=5)
447 hapd.set("ext_mgmt_frame_handling", "1")
457 hapd.mgmt_tx(msg)
458 expect_ack(hapd)
473 hapd.mgmt_tx(msg)
474 expect_ack(hapd)
481 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True,
486 hapd.wait_sta()
488 with alloc_fail(hapd, 2, "ieee802_11_send_wnmsleep_resp"):
491 wait_fail_trigger(hapd, "GET_ALLOC_FAIL")
495 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True,
500 ev = hapd.wait_event(["AP-STA-CONNECTED"], timeout=5)
503 check_wnm_sleep_mode_enter_exit(hapd, dev[0])
507 hapd = start_wnm_ap(apdev[0], wnm_sleep_mode=True, bss_transition=False)
508 bssid = hapd.own_addr()
513 hapd.set("ext_mgmt_frame_handling", "1")
522 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + t…
525 hapd.set("ext_mgmt_frame_handling", "0")
568 def rx_bss_tm_resp(hapd, expect_dialog=None, expect_status=None): argument
570 resp = hapd.mgmt_rx()
599 def expect_ack(hapd): argument
600 ev = hapd.wait_event(["MGMT-TX-STATUS"], timeout=5)
618 hapd = start_wnm_ap(apdev[0])
622 hapd.set("ext_mgmt_frame_handling", "1")
630 hapd.mgmt_tx(req)
631 expect_ack(hapd)
637 hapd.mgmt_tx(req)
638 resp = rx_bss_tm_resp(hapd, expect_dialog=2, expect_status=1)
644 hapd.mgmt_tx(req)
645 expect_ack(hapd)
652 hapd.mgmt_tx(req)
653 resp = rx_bss_tm_resp(hapd, expect_dialog=3, expect_status=1)
659 hapd.mgmt_tx(req)
660 expect_ack(hapd)
664 hapd.mgmt_tx(req)
665 expect_ack(hapd)
672 hapd.mgmt_tx(req)
673 resp = rx_bss_tm_resp(hapd, expect_dialog=4, expect_status=0)
679 hapd.mgmt_tx(req)
680 resp = rx_bss_tm_resp(hapd, expect_dialog=5, expect_status=7)
687 hapd.mgmt_tx(req)
688 expect_ack(hapd)
695 hapd.mgmt_tx(req)
696 resp = rx_bss_tm_resp(hapd, expect_dialog=6, expect_status=7)
705 hapd.mgmt_tx(req)
706 resp = rx_bss_tm_resp(hapd, expect_dialog=6, expect_status=7)
716 hapd.mgmt_tx(req)
717 resp = rx_bss_tm_resp(hapd, expect_dialog=7, expect_status=7)
734 hapd.mgmt_tx(req)
735 resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7)
760 hapd.mgmt_tx(req)
761 resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7)
773 hapd.mgmt_tx(req)
774 resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7)
785 hapd.mgmt_tx(req)
786 resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7)
800 hapd = start_wnm_ap(apdev[0], bss_transition=False, ap_max_inactivity=1,
805 start = hapd.get_sta(addr)
809 end = hapd.get_sta(addr)
817 sta = hapd.get_sta(addr)
831 hapd = start_wnm_ap(apdev[0], bss_transition=False, ap_max_inactivity=10,
841 ap_val = hapd.get_sta(addr)['max_idle_period']
849 sta = hapd.get_sta(addr1)
859 hapd = start_wnm_ap(apdev[0], bss_transition=False, ap_max_inactivity=100,
864 start = hapd.get_sta(addr)
872 hapd.set("ext_eapol_frame_io", "1")
881 hapd = start_wnm_ap(apdev[0], bss_transition=False, ap_max_inactivity=100,
887 start = hapd.get_sta(addr)
895 hapd.set("ext_eapol_frame_io", "1")
905 hapd = None
907 hapd = start_wnm_ap(apdev[0], country_code="FI")
919 if "OK" not in hapd.request("BSS_TM_REQ " + addr):
921 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
931 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " dialog_token=123 neighbor=11:22:33:44:55:66,0…
933 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
941 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 neighbor=11:22:33:44:55:66,0x0000,81,3…
943 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
954 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
956 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1005 clear_regdom_state(dev, hapd, hapd2)
1009 hapd = start_wnm_ap(apdev[0])
1016 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1018 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=5)
1037 hapd = start_wnm_ap(apdev[0])
1059 if "FAIL" not in hapd.request(t):
1062 with alloc_fail(hapd, 1, "=hostapd_ctrl_iface_bss_tm_req"):
1063 if "FAIL" not in hapd.request("BSS_TM_REQ %s url=http://foo" % addr):
1066 with alloc_fail(hapd, 1, "=wnm_send_bss_tm_req"):
1067 if "FAIL" not in hapd.request("BSS_TM_REQ %s url=http://foo" % addr):
1070 with fail_test(hapd, 1, "wnm_send_bss_tm_req"):
1071 if "FAIL" not in hapd.request("BSS_TM_REQ %s url=http://foo" % addr):
1076 hapd = start_wnm_ap(apdev[0])
1080 if "OK" not in hapd.request("BSS_TM_REQ %s bss_term=0,1" % addr):
1082 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
1086 if "OK" not in hapd.request("BSS_TM_REQ %s url=http://example.com/" % addr):
1088 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
1118 hapd = None
1120 hapd = start_wnm_ap(apdev[0], country_code="FI", hw_mode="g",
1135 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1137 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1152 clear_regdom_state(dev, hapd, hapd2)
1157 hapd = None
1159 hapd = start_wnm_ap(apdev[0], country_code="FI", hw_mode="g",
1178 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1180 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1195 clear_regdom_state(dev, hapd, hapd2)
1200 hapd = None
1202 hapd = start_wnm_ap(apdev[0], country_code="FI", country3="0x04",
1216 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1218 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=4)
1234 clear_regdom_state(dev, hapd, hapd2)
1237 hapd = start_wnm_ap(ap, country_code=country, country3=country3)
1242 return hapd, id
1244 def stop_wnm_tm(hapd, dev): argument
1245 if hapd:
1246 hapd.request("DISABLE")
1258 def wnm_bss_tm_check(hapd, dev, data): argument
1260 if "OK" not in hapd.request("BSS_TM_REQ " + addr + " " + data):
1269 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1278 hapd = None
1279 hapd, id = start_wnm_tm(apdev[0], "US", dev[0])
1282 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,12,3,7,0301ff neighbor=00…
1287 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,12,0,7,0301ff neighbor=22…
1290 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:59,0x0000,3,148,7 neighbor=00:11:22…
1292 stop_wnm_tm(hapd, dev)
1298 hapd = None
1299 hapd, id = start_wnm_tm(apdev[0], "FI", dev[0])
1302 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,4,3,7,0301ff neighbor=00:…
1307 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:00,0x0000,4,0,7 neighbor=00:11:22:3…
1310 wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:00,0x0000,0,0,7")
1312 stop_wnm_tm(hapd, dev)
1318 hapd = None
1319 hapd, id = start_wnm_tm(apdev[0], "JP", dev[0])
1322 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,30,3,7,0301ff neighbor=00…
1327 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,30,0,7,0301ff neighbor=22…
1329 stop_wnm_tm(hapd, dev)
1335 hapd = None
1336 hapd, id = start_wnm_tm(apdev[0], "CN", dev[0])
1339 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,7,3,7,0301ff neighbor=00:…
1344 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,7,0,7,0301ff neighbor=22:…
1346 stop_wnm_tm(hapd, dev)
1359 hapd = None
1360 hapd, id = start_wnm_tm(apdev[0], country, dev[0], country3=country3)
1363 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=11:22:33:44:55:66,0x0000,81,3,7,0301ff neighbor=00…
1368 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:00,0x0000,81,0,7 neighbor=00:11:22:…
1371 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:00,0x0000,124,162,7 neighbor=00:11:…
1373 stop_wnm_tm(hapd, dev)
1378 hapd = None
1379 hapd, id = start_wnm_tm(apdev[0], "US", dev[0])
1382 …wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:59,0x0000,0,149,7 neighbor=00:11:22…
1384 stop_wnm_tm(hapd, dev)
1390 hapd = None
1392 hapd = start_wnm_ap(apdev[0], country_code="FI", hw_mode="g",
1410 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1412 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1423 clear_regdom_state(dev, hapd, hapd2)
1427 hapd = start_wnm_ap(apdev[0], bss_transition=False, wnm_sleep_mode=True)
1432 hapd.set("ext_mgmt_frame_handling", "1")
1449 hapd.mgmt_tx(msg)
1450 expect_ack(hapd)
1456 hapd.mgmt_tx(msg)
1457 expect_ack(hapd)
1463 hapd.mgmt_tx(msg)
1464 expect_ack(hapd)
1470 hapd.mgmt_tx(msg)
1471 expect_ack(hapd)
1477 hapd.mgmt_tx(msg)
1478 expect_ack(hapd)
1485 hapd.mgmt_tx(msg)
1486 expect_ack(hapd)
1493 hapd.mgmt_tx(msg)
1494 expect_ack(hapd)
1501 hapd.mgmt_tx(msg)
1502 expect_ack(hapd)
1509 hapd.mgmt_tx(msg)
1510 expect_ack(hapd)
1517 hapd.mgmt_tx(msg)
1518 expect_ack(hapd)
1524 hapd.mgmt_tx(msg)
1525 expect_ack(hapd)
1531 hapd.mgmt_tx(msg)
1532 expect_ack(hapd)
1537 hapd.mgmt_tx(msg)
1538 expect_ack(hapd)
1543 hapd.mgmt_tx(msg)
1544 expect_ack(hapd)
1550 hapd.mgmt_tx(msg)
1551 expect_ack(hapd)
1557 hapd.mgmt_tx(msg)
1558 expect_ack(hapd)
1564 hapd.mgmt_tx(msg)
1565 expect_ack(hapd)
1571 hapd.mgmt_tx(msg)
1572 expect_ack(hapd)
1578 hapd.mgmt_tx(msg)
1579 expect_ack(hapd)
1585 hapd.mgmt_tx(msg)
1586 expect_ack(hapd)
1592 hapd.mgmt_tx(msg)
1593 expect_ack(hapd)
1601 hapd.mgmt_tx(msg)
1602 expect_ack(hapd)
1610 hapd.mgmt_tx(msg)
1611 expect_ack(hapd)
1619 hapd.mgmt_tx(msg)
1620 expect_ack(hapd)
1626 hapd = start_wnm_ap(apdev[0], rsn=True, wnm_sleep_mode=True, ssid=ssid)
1632 hapd.set("ext_mgmt_frame_handling", "1")
1650 hapd.mgmt_tx(msg)
1651 expect_ack(hapd)
1663 hapd.mgmt_tx(msg)
1664 expect_ack(hapd)
1677 hapd.mgmt_tx(msg)
1678 expect_ack(hapd)
1691 hapd.mgmt_tx(msg)
1692 expect_ack(hapd)
1707 hapd.mgmt_tx(msg)
1708 expect_ack(hapd)
1720 hapd.mgmt_tx(msg)
1721 expect_ack(hapd)
1727 hapd = start_wnm_ap(apdev[0], rsn=True, pmf=False, bss_transition=False,
1734 hapd.set("ext_mgmt_frame_handling", "1")
1735 hapd.dump_monitor()
1737 ev = hapd.wait_event(['MGMT-RX'], timeout=5)
1762 hapd.mgmt_tx(msg)
1763 expect_ack(hapd)
1772 hapd = start_wnm_ap(apdev[0], rsn=True, pmf=False, ssid=ssid)
1781 if 'FAIL' not in hapd.request("BSS_TM_REQ " + dev[0].own_addr() + " mbo=3:2:1"):
1785 if 'FAIL' not in hapd.request("BSS_TM_REQ " + dev[0].own_addr() + " mbo=10:2:1"):
1789 …if 'OK' not in hapd.request("BSS_TM_REQ " + dev[0].own_addr() + " disassoc_imminent=1 disassoc_tim…
1802 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1832 hapd = start_wnm_ap(apdev[0])
1847 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
1853 hapd = start_wnm_ap(apdev[0], bss_transition=False)
1857 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=0.1)
1863 hapd = start_wnm_ap(apdev[0], bss_transition=False, mbo=True)
1866 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
1873 hapd = start_wnm_ap(apdev[0], hw_mode="g", channel="1", ssid="test-wnm",
1887 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1889 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1897 hapd = start_wnm_ap(apdev[0], hw_mode="g", channel="1")
1914 …if "OK" not in hapd.request("BSS_TM_REQ " + addr + " pref=1 abridged=1 valid_int=255 neighbor=" + …
1916 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1935 hapd = None
1936 hapd = start_wnm_ap(apdev[0], country_code="FI", hw_mode="g",
1945 if "OK" not in hapd.request("BSS_TM_REQ " + addr + " disassoc_timer=1"):
1947 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=10)
1957 if hapd:
1958 hapd.request("DISABLE")
1966 hapd = start_wnm_ap(apdev[0])
1967 bssid = hapd.own_addr()
1972 hapd.set("ext_mgmt_frame_handling", "1")
1992 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + t…
1995 hapd.set("ext_mgmt_frame_handling", "0")
1999 hapd = start_wnm_ap(apdev[0])
2010 ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
2024 hapd = start_wnm_ap(apdev[0], bss_transition=False,
2033 if "OK" not in hapd.request("COLOC_INTF_REQ %s 1 5" % addr):
2042 ev = hapd.wait_event(["COLOC-INTF-REPORT"], timeout=1)
2048 if "OK" not in hapd.request("COLOC_INTF_REQ %s 0 0" % addr):
2060 ev = hapd.wait_event(["COLOC-INTF-REPORT"], timeout=1)
2066 if "FAIL" not in hapd.request("COLOC_INTF_REQ foo 1 5"):
2068 if "FAIL" not in hapd.request("COLOC_INTF_REQ 02:ff:ff:ff:ff:ff 1 5"):
2070 if "FAIL" not in hapd.request("COLOC_INTF_REQ %s 1" % addr):
2072 if "FAIL" not in hapd.request("COLOC_INTF_REQ %s" % addr):
2080 hapd = start_wnm_ap(apdev[0], bss_transition=False,
2082 bssid = hapd.own_addr()
2086 if "FAIL" not in hapd.request("COLOC_INTF_REQ %s 4 5" % addr):
2089 hapd.set("ext_mgmt_frame_handling", "1")
2092 with alloc_fail(hapd, 1, "ieee802_11_rx_wnm_coloc_intf_report"):
2094 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + t…
2097 hapd.set("ext_mgmt_frame_handling", "0")
2101 hapd = start_wnm_ap(apdev[0])
2106 hapd.request("BSS_TM_REQ " + addr)
2107 ev = hapd.wait_event(['BSS-TM-RESP'], timeout=0.5)
2115 hapd = start_wnm_ap(apdev[0], time_adv=True)
2116 hapd.disable()
2117 hapd.enable()
2123 hapd = start_wnm_ap(apdev[0], rsn=True, he=True)
2127 hapd.wait_sta()
2137 hapd.note("Event Type %d" % i)
2143 hapd.note("Too short Event Report element")
2149 hapd.note("Truncated Event Report element")
2155 hapd.note("Request failed")
2161 hapd.note("Unexpected element ID")
2167 hapd.note("Too short BSS color collision report")
2173 hapd.note("Too short BSS color collision report")
2180 hapd.note("BSS color collision report")
2187 hapd.note("Too short BSS color in use report")
2193 hapd.note("Too short BSS color in use report")
2199 hapd.note("BSS color in use report for color 1")
2205 hapd.note("BSS color in use report for canceling")
2211 hapd.note("BSS color in use report for invalid color")
2218 hapd.note("BSS color collision report for more colors")
2226 hapd.note("BSS color collision report")
2234 hapd.note("BSS color collision report for all colors")