Lines Matching refs:request
60 if "OK" not in hapd.request("DEAUTHENTICATE " + addr + " p2p=2"):
65 if "OK" not in hapd.request("DISASSOCIATE " + addr + " p2p=2"):
76 dev[0].request("VENDOR_ELEM_REMOVE 13 *")
84 dev[0].request("VENDOR_ELEM_ADD 13 2102ff02")
97 if "FAIL" in hapd.request("STA " + addr):
99 if "FAIL" not in hapd.request("STA " + addr + " eapol"):
101 if "FAIL" not in hapd.request("STA " + addr + " foo"):
103 if "FAIL" not in hapd.request("STA 00:11:22:33:44"):
105 if "FAIL" not in hapd.request("STA 00:11:22:33:44:55"):
108 if len(hapd.request("STA-NEXT " + addr).splitlines()) > 0:
110 if "FAIL" not in hapd.request("STA-NEXT 00:11:22:33:44"):
138 if "FAIL" not in hapd.request("DEAUTHENTICATE 00:11:22:33:44"):
141 if "OK" not in hapd.request("DEAUTHENTICATE ff:ff:ff:ff:ff:ff"):
146 if "FAIL" not in hapd.request("DISASSOCIATE 00:11:22:33:44"):
149 if "OK" not in hapd.request("DISASSOCIATE ff:ff:ff:ff:ff:ff"):
160 if "FAIL" not in hapd.request("CHAN_SWITCH "):
162 if "FAIL" not in hapd.request("CHAN_SWITCH qwerty 2422"):
164 if "FAIL" not in hapd.request("CHAN_SWITCH 5 qwerty"):
166 …if "FAIL" not in hapd.request("CHAN_SWITCH 0 2432 center_freq1=123 center_freq2=234 bandwidth=1000…
175 if "FAIL" not in hapd.request("LEVEL 0"):
184 if "FAIL" not in hapd.request("NEW_STA 00:11:22:33:44"):
186 if "OK" not in hapd.request("NEW_STA 00:11:22:33:44:55"):
188 if "AUTHORIZED" not in hapd.request("STA 00:11:22:33:44:55"):
190 if "OK" not in hapd.request("NEW_STA 00:11:22:33:44:55"):
193 if "FAIL" not in hapd.request("NEW_STA 00:11:22:33:44:66"):
202 if "FAIL" not in hapd.request("GET foo"):
204 if "FAIL" in hapd.request("GET version"):
213 if "UNKNOWN COMMAND" not in hapd.request("FOO"):
222 if "FAIL" not in hapd.request("HS20_WNM_NOTIF 00:11:22:33:44 http://example.com/"):
224 if "FAIL" not in hapd.request("HS20_WNM_NOTIF 00:11:22:33:44:55http://example.com/"):
233 if "FAIL" not in hapd.request("HS20_DEAUTH_REQ 00:11:22:33:44 1 120 http://example.com/"):
235 if "FAIL" not in hapd.request("HS20_DEAUTH_REQ 00:11:22:33:44:55"):
237 if "FAIL" not in hapd.request("HS20_DEAUTH_REQ 00:11:22:33:44:55 1"):
246 if "FAIL" not in hapd.request("DISASSOC_IMMINENT 00:11:22:33:44"):
248 if "FAIL" not in hapd.request("DISASSOC_IMMINENT 00:11:22:33:44:55"):
250 if "FAIL" not in hapd.request("DISASSOC_IMMINENT 00:11:22:33:44:55 2"):
254 if "OK" not in hapd.request("DISASSOC_IMMINENT " + addr + " 2"):
266 if "FAIL" not in hapd.request("ESS_DISASSOC 00:11:22:33:44"):
268 if "FAIL" not in hapd.request("ESS_DISASSOC 00:11:22:33:44:55"):
272 if "FAIL" not in hapd.request("ESS_DISASSOC " + addr):
274 if "FAIL" not in hapd.request("ESS_DISASSOC " + addr + " -1"):
276 if "FAIL" not in hapd.request("ESS_DISASSOC " + addr + " 1"):
278 if "OK" not in hapd.request("ESS_DISASSOC " + addr + " 20 http://example.com/"):
293 if "OK" not in hapd.request("SET deny_mac_file " + filename):
311 hapd.request("SET macaddr_acl 1")
312 if "OK" not in hapd.request("SET accept_mac_file " + filename):
330 hapd.request("SET macaddr_acl 1")
331 if "OK" not in hapd.request("SET accept_mac_file " + filename):
511 if "FAIL" not in hapd.request("SET " + e):
514 if "OK" not in hapd.request("SET osu_server_uri https://example.com/"):
516 if "OK" not in hapd.request("SET osu_friendly_name eng:Example"):
522 if "FAIL" not in hapd.request("SET " + e):
534 if "OK" not in hapd.request("SET " + e):
545 res = hapd_global.request("IFNAME=" + ifname + " PING")
548 res = hapd_global.request("IFNAME=" + ifname + " GET version")
551 res = hapd_global.request("IFNAME=no-such-ifname GET version")
554 res = hapd_global.request("INTERFACES")
559 res = hapd_global.request("INTERFACES ctrl")
565 if "FAIL" not in hapd_global.request("DETACH"):
569 res = hapd_global.request("DUP_NETWORK %s %s %s" % (src, dst, param))
598 if "FAIL" in dst_hapd.request("STA " + addr):
607 if "FAIL" not in hapd_global.request("DUP_NETWORK " + t):
610 if "FAIL" not in hapd_global.request("DUP_NETWORK %s %s wpa" % (src_ifname, dst_ifname)):
640 if "FAIL" in dst_hapd.request("STA " + addr):
647 level = hapd.request("LOG_LEVEL")
653 if "OK" not in hapd.request("LOG_LEVEL MSGDUMP 0"):
655 level = hapd.request("LOG_LEVEL")
661 if "OK" not in hapd.request("LOG_LEVEL MSGDUMP 1"):
663 level = hapd.request("LOG_LEVEL")
669 if "FAIL" not in hapd.request("LOG_LEVEL FOO"):
673 if "OK" not in hapd.request("LOG_LEVEL " + lev):
675 level = hapd.request("LOG_LEVEL")
679 if "OK" not in hapd.request("LOG_LEVEL MSGDUMP 1"):
681 level = hapd.request("LOG_LEVEL")
701 if "OK" not in hapd.request("DEAUTHENTICATE " + addr0 + " tx=0"):
704 dev[0].request("DATA_TEST_CONFIG 1")
705 dev[0].request("DATA_TEST_TX " + bssid + " " + addr0)
707 dev[0].request("DATA_TEST_CONFIG 0")
714 if "OK" not in hapd.request("DISASSOCIATE " + addr1 + " tx=0"):
717 dev[1].request("DATA_TEST_CONFIG 1")
718 dev[1].request("DATA_TEST_TX " + bssid + " " + addr1)
720 dev[1].request("DATA_TEST_CONFIG 0")
732 mib = hapd.request("MIB")
736 mib = hapd.request("MIB radius_server")
740 if "FAIL" not in hapd.request("MIB foo"):
745 mib = hapd.request("MIB")
749 mib = hapd.request("MIB radius_server")
753 if "FAIL" not in hapd.request("MIB foo"):
764 if "FAIL" in hapd.request("MIB"):
766 if len(hapd.request("MIB radius_server")) != 0:
768 if "state=UNINITIALIZED" not in hapd.request("STATUS"):
770 if "FAIL" not in hapd.request("STATUS-DRIVER"):
772 if len(hapd.request("STA-FIRST")) != 0:
774 if "FAIL" not in hapd.request("STA ff:ff:ff:ff:ff:ff"):
818 hapd.request(cmd)
830 if "FAIL" not in hapd.request("SET " + t):
841 if "FAIL" not in hapd.request("RADAR " + t):
849 hapd.request("RADAR " + t)
864 if "FAIL" not in hapd.request(t):
867 if "FAIL" not in hapd.request("MGMT_TX 12"):
870 if "FAIL" not in hapd.request("EAPOL_RX 00:11:22:33:44:55 11"):
882 if "FAIL" not in hapd.request(t):
885 if "FAIL" not in hapd.request("MGMT_RX_PROCESS freq=2412 frame=11"):
889 if "OK" not in hapd.request("DATA_TEST_CONFIG 1"):
891 if "OK" not in hapd.request("DATA_TEST_CONFIG 1"):
898 if "FAIL" not in hapd.request(t):
900 if "OK" not in hapd.request("DATA_TEST_CONFIG 0"):
908 if "FAIL" not in hapd.request(t):
911 if "FAIL" not in hapd.request("DATA_TEST_FRAME 112233445566778899aabbccddeeff"):
926 res = hapd.request(cmd)
933 res = hapd.request(cmd + " nested=1")
940 res = hapd.request(cmd + " nested=0")
955 if "FAIL" not in hapd.request("VENDOR " + t):
958 if "FAIL" not in hapd.request("VENDOR 10 10 10"):
961 if "FAIL" not in hapd.request("VENDOR 10 10"):
972 if "FAIL" not in hapd.request("EAPOL_REAUTH " + t):
980 if "OK" not in hapd.request("RELOG"):
991 if "FAIL" not in hapd.request("POLL_STA " + t):
999 if "OK" not in hapd.request("UPDATE_BEACON"):
1002 if "FAIL" not in hapd.request("UPDATE_BEACON"):
1005 dev[0].request("DISCONNECT")
1006 if "OK" not in hapd.request("UPDATE_BEACON"):
1009 if "FAIL" not in hapd.request("UPDATE_BEACON"):
1017 if "OK" not in hapd.request("TEST_ALLOC_FAIL 1:unknownfunc"):
1019 if "OK" not in hapd.request("TEST_ALLOC_FAIL "):
1021 if "OK" not in hapd.request("TEST_FAIL "):
1031 if "FAIL" not in hapd.request("SET setband foo"):
1035 if "OK" not in hapd.request("SET setband " + val):
1043 if "FAIL" not in hapd.request("GET_CAPABILITY "):
1045 res = hapd.request("GET_CAPABILITY dpp")
1064 if "FAIL" not in hapd.request("PMKSA_ADD " + t):
1073 if "FAIL" not in hapd.request("ATTACH foo"):
1076 if "FAIL" not in hglobal.request("ATTACH foo"):