Lines Matching refs:hapd

67     hapd = hostapd.add_ap(apdev[0]['ifname'], params)
71 res = hapd.request("SHOW_NEIGHBOR")
86 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:gg ssid=\"test1\" nr=" + nr):
90 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=test1 nr=" + nr):
94 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1 nr=" + nr):
98 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 nr=" + nr):
102 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\""):
106 if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr[:-1]):
110 …if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=1"):
114 …if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " civic=1…
118 if "FAIL" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\""):
122 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=" + l…
125 res = hapd.request("SHOW_NEIGHBOR")
134 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:56 ssid=\"test1\" nr=" + nr + " lci=" + l…
137 res = hapd.request("SHOW_NEIGHBOR")
148 if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr):
152 if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=7465737431 nr=" + nr):
156 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " civic=" +…
160 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=" + l…
164 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test2\" nr=" + nr + " lci=" + l…
167 if "OK" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\""):
170 if "OK" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:56 ssid=\"test1\""):
173 if "OK" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test2\""):
177 if "FAIL" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\""):
181 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test3\" nr=" + nr + " lci=" + l…
184 res = hapd.request("SHOW_NEIGHBOR")
190 if "OK" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test3\""):
194 if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=7465737431 nr=" + nr):
198 if "FAIL" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:5 ssid=\"test1\""):
202 if "FAIL" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1"):
206 if "OK" not in hapd.request("REMOVE_NEIGHBOR 00:11:22:33:44:55"):
209 res = hapd.request("SHOW_NEIGHBOR")
218 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
225 with alloc_fail(hapd, count, func):
226 if "FAIL" not in hapd.request(cmd):
232 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
233 if "FAIL" not in hapd.request("SHOW_NEIGHBOR"):
247 hapd = hostapd.add_ap(apdev[1]['ifname'], params)
280 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test3\" nr=" + nr1 + " lci=" + …
282 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:56 ssid=\"test3\" nr=" + nr2 + " lci=" + …
284 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:56 ssid=\"test4\" nr=" + nr2 + " lci=" + …
286 …if "OK" not in hapd.request("SET_NEIGHBOR dd:11:22:33:44:55 ssid=\"test5\" nr=" + nr3 + " lci=" + …
340 if "OK" not in hapd.request("UPDATE_BEACON"):
354 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
358 with alloc_fail(hapd, 1, "hostapd_send_nei_report_resp"):
370 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
373 if "FAIL" not in hapd.request("REQ_LCI "):
377 if "FAIL" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
384 if "FAIL" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
395 if "OK" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
403 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
409 hapd.set("ext_mgmt_frame_handling", "1")
410 if "OK" not in hapd.request("REQ_LCI " + addr):
412 ev = hapd.wait_event(["MGMT-RX"], timeout=5)
418 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=%s" % ev.sp…
421 if "OK" not in hapd.request("REQ_LCI " + addr):
424 hapd.dump_monitor()
425 hapd.set("ext_mgmt_frame_handling", "0")
434 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
440 if "OK" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
448 if "OK" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
457 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
462 with alloc_fail(hapd, 1, "wpabuf_alloc;hostapd_send_lci_req"):
463 if "FAIL" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
466 with fail_test(hapd, 1, "nl80211_send_frame_cmd;hostapd_send_lci_req"):
467 if "FAIL" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
475 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
481 if "OK" not in hapd.request("REQ_LCI " + dev[0].own_addr()):
491 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
507 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
511 hapd.set("ext_mgmt_frame_handling", "1")
515 msg = hapd.mgmt_rx()
526 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
551 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
558 hapd.set("ext_mgmt_frame_handling", "1")
562 msg = hapd.mgmt_rx()
573 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
586 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
590 hapd.set("ext_mgmt_frame_handling", "1")
594 msg = hapd.mgmt_rx()
611 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
612 bssid = hapd.own_addr()
615 if "FAIL" not in hapd.request("REQ_RANGE "):
619 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr()):
623 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 10"):
627 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 10 00:11:22:33:44:"):
631 …if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 10 00:11:22:33:44:55 00:11:2…
635 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 300 00:11:22:33:44:55"):
639 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " -1 10 00:11:22:33:44:55"):
641 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 65536 10 00:11:22:33:44:55"):
645 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10"):
649 …if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 10" + 20*" 00:11:22:33:44:55…
652 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 10 00:11:22:33:44:55"):
661 if "FAIL" not in hapd.request("REQ_RANGE 11:22:33:44:55:66 10 1 00:11:22:33:44:55"):
667 if "FAIL" not in hapd.request("REQ_RANGE " + dev[0].own_addr() + " 10 1 00:11:22:33:44:55"):
671 if "FAIL" not in hapd.request("REQ_RANGE " + dev[1].own_addr() + " 10 1 00:11:22:33:44:55"):
675 if "OK" not in hapd.request("REQ_RANGE " + dev[1].own_addr() + " 10 1 " + bssid):
679 if "FAIL" not in hapd.request("REQ_RANGE " + dev[1].own_addr() + " 10 1" + 16*(" " + bssid)):
697 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
698 bssid = hapd.own_addr()
705 hapd.set("ext_mgmt_frame_handling", "1")
706 if "OK" not in hapd.request("REQ_RANGE " + addr + " 10 1 " + bssid):
708 ev = hapd.wait_event(["MGMT-RX"], timeout=5)
714 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=%s" % ev.sp…
718 if "OK" not in hapd.request("REQ_RANGE " + addr + " 10 1 " + bssid):
721 hapd.dump_monitor()
723 hapd.set("ext_mgmt_frame_handling", "0")
737 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
738 bssid = hapd.own_addr()
744 with alloc_fail(hapd, 1, "wpabuf_alloc;hostapd_send_range_req"):
745 if "FAIL" not in hapd.request("REQ_RANGE " + dev[1].own_addr() + " 10 1 " + bssid):
748 with fail_test(hapd, 1, "nl80211_send_frame_cmd;hostapd_send_range_req"):
749 if "FAIL" not in hapd.request("REQ_RANGE " + dev[1].own_addr() + " 10 1 " + bssid):
767 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
823 def run_req_beacon(hapd, addr, request): argument
824 token = hapd.request("REQ_BEACON " + addr + " " + request)
830 ev = hapd.wait_event(["BEACON-REQ-TX-STATUS",
852 hapd = hostapd.add_ap(apdev[0], params)
864 if "FAIL" not in hapd.request(t):
870 hapd.wait_sta()
873 token, resp = run_req_beacon(hapd, addr, req)
879 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
903 hapd = hostapd.add_ap(apdev[0], params)
904 hapd.set('vendor_elements', ("dd051122330203dd0400137400dd04001374ffdd0511"
914 hapd.wait_sta()
917 token, resp = run_req_beacon(hapd, addr, req)
924 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
955 hapd = hostapd.add_ap(apdev[0], params)
960 hapd.wait_sta()
964 token, resp = run_req_beacon(hapd, addr, req + "a40101")
970 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
993 token, resp = run_req_beacon(hapd, addr, req)
999 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1020 hapd = hostapd.add_ap(apdev[0], params)
1025 hapd.wait_sta()
1029 token, resp = run_req_beacon(hapd, addr, req + "020100")
1033 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1041 hapd.dump_monitor()
1044 token, resp = run_req_beacon(hapd, addr, req + "020101")
1048 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1058 hapd.dump_monitor()
1061 token, resp = run_req_beacon(hapd, addr, req + "020102")
1065 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1075 hapd.dump_monitor()
1078 token, resp = run_req_beacon(hapd, addr, req + "020103")
1082 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1085 hapd.dump_monitor()
1088 token, resp = run_req_beacon(hapd, addr, req + "0200")
1092 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1095 hapd.dump_monitor()
1101 hapd = hostapd.add_ap(apdev[0], params)
1106 hapd.wait_sta()
1109 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a03000106")
1113 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1123 hapd.dump_monitor()
1126 token, resp = run_req_beacon(hapd, addr, req + "020102" + "0a03000106")
1130 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1133 hapd.dump_monitor()
1136 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a00")
1140 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1143 hapd.dump_monitor()
1146 token, resp = run_req_beacon(hapd, addr,
1151 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1154 hapd.dump_monitor()
1160 hapd = hostapd.add_ap(apdev[0], params)
1164 hapd.wait_sta()
1169 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a03000106")
1174 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
1180 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a03000106")
1185 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
1191 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a03000106")
1196 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
1202 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a03000106")
1206 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1217 hapd = hostapd.add_ap(apdev[0], params)
1222 hapd.wait_sta()
1226 token, resp = run_req_beacon(hapd, addr, req)
1230 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1241 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
1249 hapd = hostapd.add_ap(apdev[0], params)
1254 hapd.wait_sta()
1258 token, resp = run_req_beacon(hapd, addr, req + "0007" + binascii.hexlify(b"another").decode())
1262 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1273 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
1276 hapd.dump_monitor()
1279 token, resp = run_req_beacon(hapd, addr, req + "0000")
1284 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1290 hapd.dump_monitor()
1293 token, resp = run_req_beacon(hapd, addr, req + "0021" + 33*"00")
1297 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1300 hapd.dump_monitor()
1306 hapd = hostapd.add_ap(apdev[0], params)
1310 hapd.wait_sta()
1314 token, resp = run_req_beacon(hapd, addr, req + "01020100")
1318 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1325 hapd.dump_monitor()
1328 token, resp = run_req_beacon(hapd, addr, req + "010100")
1332 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1335 hapd.dump_monitor()
1341 hapd = hostapd.add_ap(apdev[0], params)
1345 hapd.wait_sta()
1348 token, resp = run_req_beacon(hapd, addr, req + "330101" + "fe00")
1352 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1363 hapd = hostapd.add_ap(apdev[0], params)
1367 hapd.wait_sta()
1370 token, resp = run_req_beacon(hapd, addr, req + "0001")
1374 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1377 hapd.dump_monitor()
1384 hapd = hostapd.add_ap(apdev[0], params)
1388 hapd.wait_sta()
1391 token, resp = run_req_beacon(hapd, addr, req + "020101" + "0a0130")
1395 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1412 hapd = None
1423 hapd = hostapd.add_ap(apdev[0], params)
1442 hapd.wait_sta()
1445 token, resp = run_req_beacon(hapd, addr, req)
1450 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1469 disable_hapd(hapd)
1477 hapd = hostapd.add_ap(apdev[0], params)
1482 hapd.wait_sta()
1485 token, resp = run_req_beacon(hapd, addr, req)
1491 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1512 hapd = hostapd.add_ap(apdev[0], params)
1516 hapd.wait_sta()
1519 token, resp = run_req_beacon(hapd, addr, req)
1524 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1536 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1567 hapd = hostapd.add_ap(apdev[1]['ifname'], params)
1571 hapd.wait_sta()
1576 token, resp = run_req_beacon(hapd, addr, req)
1582 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1599 hapd = hostapd.add_ap(apdev[0], params)
1604 hapd.wait_sta()
1607 token, resp = run_req_beacon(hapd, addr,
1614 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1631 hapd = hostapd.add_ap(apdev[0], params)
1635 hapd.wait_sta()
1638 token, resp = run_req_beacon(hapd, addr, req)
1642 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1658 hapd = hostapd.add_ap(apdev[0], params)
1663 hapd.wait_sta()
1666 token, resp = run_req_beacon(hapd, addr,
1673 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1690 hapd = hostapd.add_ap(apdev[0], params)
1695 hapd.wait_sta()
1698 token, resp = run_req_beacon(hapd, addr, req)
1703 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1714 hapd = hostapd.add_ap(apdev[0], params)
1719 hapd.wait_sta()
1722 token, resp = run_req_beacon(hapd, addr, req + "3303ff010b")
1727 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1739 hapd = hostapd.add_ap(apdev[0], params)
1744 hapd.wait_sta()
1748 token, resp = run_req_beacon(hapd, addr, req + "330351010b")
1753 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1764 hapd = hostapd.add_ap(apdev[0], params)
1768 hapd.wait_sta()
1773 token, resp = run_req_beacon(hapd, addr, req + "330351010b")
1778 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1789 hapd = hostapd.add_ap(apdev[0], params)
1794 hapd.wait_sta()
1797 token, resp = run_req_beacon(hapd, addr, req)
1801 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1809 hapd = hostapd.add_ap(apdev[0], params)
1812 hapd.wait_sta()
1816 token, resp = run_req_beacon(hapd, addr, req)
1820 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1831 hapd = hostapd.add_ap(apdev[0], params)
1836 hapd.wait_sta()
1839 token, resp = run_req_beacon(hapd, addr, req)
1845 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1862 hapd = hostapd.add_ap(apdev[0], params)
1866 hapd.wait_sta()
1869 token, resp = run_req_beacon(hapd, addr, req)
1873 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1884 hapd = hostapd.add_ap(apdev[0], params)
1888 hapd.wait_sta()
1892 token, resp = run_req_beacon(hapd, addr, req)
1897 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.2)
1902 token, resp = run_req_beacon(hapd, addr, req)
1906 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1917 hapd = hostapd.add_ap(apdev[0], params)
1921 hapd.wait_sta()
1924 token, resp = run_req_beacon(hapd, addr, "req_mode=10 " + req)
1928 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1949 hapd = None
1961 hapd = hostapd.add_ap(apdev[0], params)
1967 hapd.wait_sta()
1970 token, resp = run_req_beacon(hapd, addr, req)
1974 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
1984 token, resp = run_req_beacon(hapd, addr, req)
1988 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
2002 clear_regdom(hapd, dev)
2008 hapd = None
2021 hapd = hostapd.add_ap(apdev[0], params)
2030 hapd.wait_sta()
2033 token, resp = run_req_beacon(hapd, addr, req)
2037 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
2050 clear_regdom(hapd, dev)
2061 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2062 bssid = hapd.own_addr()
2072 if "FAIL" not in hapd.request("REQ_BEACON " + addr + " 11"):
2077 if "FAIL" not in hapd.request("REQ_BEACON " + addr1 + " " + req):
2081 if "FAIL" not in hapd.request("REQ_BEACON " + addr1 + " 51000000640001ffffffffffff"):
2085 if "FAIL" not in hapd.request("REQ_BEACON " + addr1 + " 510b0000640000ffffffffffff"):
2089 if "FAIL" not in hapd.request("REQ_BEACON " + addr1 + " 510b0000640003ffffffffffff"):
2093 if "FAIL" in hapd.request("REQ_BEACON " + addr + " 510b0000640000ffffffffffff"):
2096 hapd.dump_monitor()
2098 with alloc_fail(hapd, 1, "wpabuf_alloc;hostapd_send_beacon_req"):
2099 if "FAIL" not in hapd.request("REQ_BEACON " + addr + " 510b0000640000ffffffffffff"):
2102 with fail_test(hapd, 1, "nl80211_send_frame_cmd;hostapd_send_beacon_req"):
2103 if "FAIL" not in hapd.request("REQ_BEACON " + addr + " 510b0000640000ffffffffffff"):
2109 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2110 bssid = hapd.own_addr()
2117 hapd.set("ext_mgmt_frame_handling", "1")
2125 ev = hapd.wait_event(["MGMT-RX"], timeout=0.2)
2132 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2133 bssid = hapd.own_addr()
2140 hapd.set("ext_mgmt_frame_handling", "1")
2147 ev = hapd.wait_event(["MGMT-RX"], timeout=0.2)
2162 hapd = hostapd.add_ap(apdev[0], params)
2163 bssid = hapd.own_addr()
2171 hapd.set("ext_mgmt_frame_handling", "1")
2207 ev = hapd.wait_event(["MGMT-RX"], timeout=0.2)
2223 ev = hapd.wait_event(["MGMT-RX"], timeout=5)
2226 hapd.dump_monitor()
2235 ev = hapd.wait_event(["MGMT-RX"], timeout=0.2)
2247 ev = hapd.wait_event(["MGMT-RX"], timeout=5)
2250 hapd.dump_monitor()
2258 ev = hapd.wait_event(["MGMT-RX"], timeout=0.1)
2261 hapd.dump_monitor()
2263 hapd.set("ext_mgmt_frame_handling", "0")
2271 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2272 bssid = hapd.own_addr()
2279 hapd.set("ext_mgmt_frame_handling", "1")
2284 ev = hapd.wait_event(["MGMT-RX"], timeout=5)
2292 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2293 bssid = hapd.own_addr()
2300 hapd.set("ext_mgmt_frame_handling", "1")
2313 ev = hapd.wait_event(["MGMT-RX"], timeout=0.1)
2322 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2323 bssid = hapd.own_addr()
2330 hapd.set("ext_mgmt_frame_handling", "1")
2344 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + t…
2347 …if "OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"rrm\" nr=" + nr + " lci=" + lci…
2349 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "…
2357 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2358 bssid = hapd.own_addr()
2364 hapd.set("ext_mgmt_frame_handling", "1")
2368 …if "OK" not in hapd.request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + t…
2371 def check_beacon_req(hapd, addr, idx): argument
2374 token = hapd.request("REQ_BEACON " + addr + " " + request)
2377 ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)
2384 hapd = hostapd.add_ap(apdev[0]['ifname'], params)
2385 bssid = hapd.own_addr()
2390 hapd.wait_sta()
2391 check_beacon_req(hapd, addr, 1)
2395 hapd.wait_sta()
2396 check_beacon_req(hapd, addr, 1)
2407 hapd.wait_sta()
2408 check_beacon_req(hapd, addr, 3)