Lines Matching refs:request

29     if "FAIL" not in dev[0].request("SET_NETWORK " + str(id)):
31 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + " name"):
33 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id + 1) + " proto OPEN"):
35 if "FAIL" not in dev[0].request("GET_NETWORK " + str(id)):
37 if "FAIL" not in dev[0].request("GET_NETWORK " + str(id + 1) + " proto"):
40 if "OK" not in dev[0].request("SET_NETWORK " + str(id) + " proto \t WPA2 "):
42 res = dev[0].request("GET_NETWORK " + str(id) + " proto")
46 if "OK" not in dev[0].request("SET_NETWORK " + str(id) + " key_mgmt \t WPA-PSK "):
48 res = dev[0].request("GET_NETWORK " + str(id) + " key_mgmt")
52 if "OK" not in dev[0].request("SET_NETWORK " + str(id) + " auth_alg \t OPEN "):
54 res = dev[0].request("GET_NETWORK " + str(id) + " auth_alg")
58 if "OK" not in dev[0].request("SET_NETWORK " + str(id) + " eap \t TLS "):
60 res = dev[0].request("GET_NETWORK " + str(id) + " eap")
66 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + " " + t):
130 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + " password hash:12"):
132 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + " password hash:123456789012345678x0123…
143 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' identity P"foo'):
146 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' identity 12x3'):
151 … if "FAIL" in dev[0].request("SET_NETWORK " + str(id) + ' wep_key' + str(i) + ' aabbccddee'):
156 …if "FAIL" in dev[0].request("SET_NETWORK " + str(id) + ' psk_list P2P-00:11:22:33:44:55-0123456789…
159 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' psk_list 00:11:x2:33:44:55-0123456789…
162 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' psk_list P2P-00:11:x2:33:44:55-012345…
165 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' psk_list P2P-00:11:22:33:44:55+012345…
168 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' psk_list P2P-00:11:22:33:44:55-012345…
171 …if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' psk_list P2P-00:11:22:33:44:55-012345…
183 …if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' ssid "0123456789abcdef0123456789abcde…
185 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' scan_ssid qwerty'):
187 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' scan_ssid 2'):
189 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' psk 12345678'):
191 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' psk "1234567"'):
193 …if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' psk "12345678901234567890123456789012…
200 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' eap UNKNOWN'):
203 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' password "foo'):
206 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' wep_key0 "foo'):
208 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' wep_key0 "12345678901234567"'):
220 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' go_p2p_dev_addr 00:11:22:33:44'):
222 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' p2p_client_list 00:11:22:33:44'):
224 … if "FAIL" in dev[0].request('SET_NETWORK ' + str(id) + ' p2p_client_list 00:11:22:33:44:55 00:1'):
229 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' auth_alg '):
231 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' auth_alg FOO'):
234 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' proto '):
236 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' proto FOO'):
239 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' pairwise '):
241 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' pairwise FOO'):
243 if "FAIL" not in dev[0].request('SET_NETWORK ' + str(id) + ' pairwise WEP40'):
246 if "OK" not in dev[0].request('BSSID ' + str(id) + ' 00:11:22:33:44:55'):
248 if dev[0].request("GET_NETWORK 0 bssid") != '00:11:22:33:44:55':
250 if "OK" not in dev[0].request('BSSID ' + str(id) + ' 00:00:00:00:00:00'):
252 if "FAIL" not in dev[0].request("GET_NETWORK 0 bssid"):
254 if "FAIL" not in dev[0].request('BSSID 123 00:11:22:33:44:55'):
256 if "FAIL" not in dev[0].request('BSSID ' + str(id) + ' 00:11:22:33:44'):
258 if "FAIL" not in dev[0].request('BSSID ' + str(id)):
284 if "FAIL" not in dev[0].request("SET_NETWORK %d bssid_ignore %s" % (id, val)):
298 if "FAIL" not in dev[0].request("SET_NETWORK " + str(id) + ' ssid ' + val):
315 res = dev[0].request("LIST_NETWORKS")
318 res = dev[0].request("LIST_NETWORKS LAST_ID=%d" % (id - 2))
324 dev[0].request("REMOVE_NETWORK all", timeout=60)
358 res = dev[0].request("DUP_NETWORK {} {} {}".format(src, id, f))
363 if "FAIL" not in dev[0].request("DUP_NETWORK "):
365 if "FAIL" not in dev[0].request("DUP_NETWORK %d " % id):
367 if "FAIL" not in dev[0].request("DUP_NETWORK %d %d" % (id, id)):
369 if "FAIL" not in dev[0].request("DUP_NETWORK 123456 1234567 "):
371 if "FAIL" not in dev[0].request("DUP_NETWORK %d 123456 " % id):
373 if "FAIL" not in dev[0].request("DUP_NETWORK %d %d foo" % (id, id)):
375 dev[0].request("DISCONNECT")
376 if "OK" not in dev[0].request("DUP_NETWORK %d %d ssid" % (id, id)):
407 dev[0].request("DISCONNECT")
452 if "FAIL" not in dev[0].request("SET_CRED " + str(id1 + 1) + " temporary 1"):
454 if "FAIL" not in dev[0].request("SET_CRED " + str(id1)):
456 if "FAIL" not in dev[0].request("SET_CRED " + str(id1) + " temporary"):
458 if "FAIL" not in dev[0].request("GET_CRED " + str(id1 + 1) + " temporary"):
460 if "FAIL" not in dev[0].request("GET_CRED " + str(id1)):
462 if "FAIL" not in dev[0].request("GET_CRED " + str(id1) + " foo"):
475 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " eap FOO"):
478 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " username 12xa"):
482 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " roaming_consortium " + i):
484 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " home_ois " + '"' + i + '"'):
486 … if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " required_home_ois " + '"' + i + '"'):
488 …if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " home_ois " + '"112233' + 36*",112233" + …
490 …if "FAIL" in dev[0].request("SET_CRED " + str(id) + " home_ois " + '"112233' + 35*",112233" + '"'):
494 …if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " excluded_ssid 00112233445566778899aabbcc…
497 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " foo 4142"):
507 if "FAIL" not in dev[0].request("SET_CRED " + str(id) + " " + t):
512 if len(dev[0].request("LIST_CREDS").splitlines()) != 6:
520 if "FAIL" not in dev[0].request("REMOVE_CRED 1"):
522 if len(dev[0].request("LIST_CREDS").splitlines()) != 1:
575 creds = dev[0].request("LIST_CREDS").splitlines()
581 if len(dev[0].request("LIST_CREDS").splitlines()) != 1:
590 if "OK" not in dev[0].request("REMOVE_CRED sp_fqdn=foo.example.com"):
592 creds = dev[0].request("LIST_CREDS")
597 dev[0].request("REMOVE_CRED all")
608 if "OK" not in dev[0].request("REMOVE_CRED provisioning_sp=sp.foo.example.com"):
610 creds = dev[0].request("LIST_CREDS")
615 dev[0].request("REMOVE_CRED all")
623 creds = dev[0].request("LIST_CREDS")
636 if "FAIL" not in dev[0].request("SET pno 1"):
641 dev[0].request("ENABLE_NETWORK " + str(id) + " no-connect")
643 if "FAIL" not in dev[0].request("SET pno 1"):
645 if "FAIL" not in dev[0].request("SET pno 1 freq=2000-3000,5180"):
647 if "FAIL" not in dev[0].request("SET pno 1 freq=0-6000"):
649 if "FAIL" in dev[0].request("SET pno 0"):
655 if "FAIL" in dev[0].request("GET version"):
657 if "FAIL" in dev[0].request("GET wifi_display"):
659 if "FAIL" not in dev[0].request("GET foo"):
663 if dev[0].request("GET wifi_display") != '0':
666 if dev[0].request("GET wifi_display") != '1':
668 dev[0].request("P2P_SET disabled 1")
669 if dev[0].request("GET wifi_display") != '0':
671 dev[0].request("P2P_SET disabled 0")
672 if dev[0].request("GET wifi_display") != '1':
675 if dev[0].request("GET wifi_display") != '0':
681 if "FAIL" not in dev[0].request("PREAUTH "):
683 if "FAIL" in dev[0].request("PREAUTH 00:11:22:33:44:55"):
689 if "FAIL" not in dev[0].request("TDLS_DISCOVER "):
691 if "FAIL" not in dev[0].request("TDLS_DISCOVER 00:11:22:33:44:55"):
698 if "FAIL" not in dev[0].request("TDLS_CANCEL_CHAN_SWITCH " + args):
704 if "FAIL" not in dev[0].request("TDLS_CHAN_SWITCH " + args):
710 if "FAIL" not in dev[0].request("TDLS_SETUP "):
712 if "FAIL" not in dev[0].request("TDLS_TEARDOWN "):
714 if "FAIL" not in dev[0].request("FT_DS "):
716 if "FAIL" not in dev[0].request("WPS_PBC 00:11:22:33:44"):
718 if "FAIL" not in dev[0].request("WPS_PIN 00:11:22:33:44"):
720 if "FAIL" not in dev[0].request("WPS_NFC 00:11:22:33:44"):
722 if "FAIL" not in dev[0].request("WPS_REG 00:11:22:33:44 12345670"):
724 if "FAIL" not in dev[0].request("IBSS_RSN 00:11:22:33:44"):
726 if "FAIL" not in dev[0].request("BSSID_IGNORE 00:11:22:33:44"):
732 if "FAIL" not in dev[0].request("WPS_REG 00:11:22:33:44:55"):
734 if "FAIL" not in dev[0].request("WPS_REG 00:11:22:33:44:55 12345670 2233"):
736 if "FAIL" not in dev[0].request("WPS_REG 00:11:22:33:44:55 12345670 2233 OPEN"):
738 if "FAIL" not in dev[0].request("WPS_REG 00:11:22:33:44:55 12345670 2233 OPEN NONE"):
741 if "FAIL" not in dev[0].request("WPS_AP_PIN random"):
744 if "FAIL" not in dev[0].request("WPS_ER_PIN any"):
747 if "FAIL" not in dev[0].request("WPS_ER_LEARN 00:11:22:33:44:55"):
750 if "FAIL" not in dev[0].request("WPS_ER_SET_CONFIG 00:11:22:33:44:55"):
753 if "FAIL" not in dev[0].request("WPS_ER_CONFIG 00:11:22:33:44:55"):
755 if "FAIL" not in dev[0].request("WPS_ER_CONFIG 00:11:22:33:44:55 12345670"):
757 if "FAIL" not in dev[0].request("WPS_ER_CONFIG 00:11:22:33:44:55 12345670 2233"):
759 if "FAIL" not in dev[0].request("WPS_ER_CONFIG 00:11:22:33:44:55 12345670 2233 OPEN"):
761 if "FAIL" not in dev[0].request("WPS_ER_CONFIG 00:11:22:33:44:55 12345670 2233 OPEN NONE"):
764 if "FAIL" not in dev[0].request("WPS_ER_NFC_CONFIG_TOKEN WPS"):
766 if "FAIL" not in dev[0].request("WPS_ER_NFC_CONFIG_TOKEN FOO 00:11:22:33:44:55"):
768 if "FAIL" not in dev[0].request("WPS_ER_NFC_CONFIG_TOKEN NDEF 00:11:22:33:44:55"):
771 if "FAIL" not in dev[0].request("WPS_NFC_CONFIG_TOKEN FOO"):
773 if "FAIL" not in dev[0].request("WPS_NFC_CONFIG_TOKEN WPS FOO"):
775 if "FAIL" not in dev[0].request("WPS_NFC_TOKEN FOO"):
781 if "FAIL" not in dev[0].request("SET pbc_in_m1 qwerty"):
783 if "FAIL" not in dev[0].request("SET eapol_version 0"):
785 if "FAIL" not in dev[0].request("SET eapol_version 10"):
788 if "FAIL" not in dev[0].request("SET serial_number 0123456789abcdef0123456789abcdef0"):
805 dev[2].request("SET config_methods ")
813 if "OK" not in dev[2].request("SET " + t):
826 if "FAIL" not in dev[2].request("SET " + t):
832 if "FAIL" not in dev[2].request("LEVEL 3"):
834 if "OK" not in dev[2].mon.request("LEVEL 2"):
836 dev[2].request("SCAN freq=2412")
842 dev[2].mon.request("LEVEL 3")
848 if "OK" not in dev[2].request("SET bssid_filter " + apdev[0]['bssid']):
861 dev[2].request("SET bssid_filter " + apdev[0]['bssid'] + " " + \
870 res = dev[2].request("SCAN_RESULTS").splitlines()
878 if "FAIL" not in dev[2].request("SET bssid_filter 00:11:22:33:44:55 00:11:22:33:44"):
881 dev[2].request("SET bssid_filter ")
889 if "FAIL" not in dev[0].request("SET disallow_aps bssid "):
891 if "FAIL" not in dev[0].request("SET disallow_aps bssid 00:11:22:33:44"):
893 if "FAIL" not in dev[0].request("SET disallow_aps ssid 0"):
895 if "FAIL" not in dev[0].request("SET disallow_aps ssid 4q"):
897 … if "FAIL" not in dev[0].request("SET disallow_aps bssid 00:11:22:33:44:55 ssid 112233 ssid 123"):
899 …if "FAIL" not in dev[0].request("SET disallow_aps ssid 000102030405060708090a0b0c0d0e0f00010203040…
901 if "FAIL" not in dev[0].request("SET disallow_aps foo 112233445566"):
908 … if "OK" not in dev[0].request("SET disallow_aps bssid 00:11:22:33:44:55 bssid 00:22:33:44:55:66"):
910 if "OK" not in dev[0].request("SET disallow_aps bssid " + apdev[0]['bssid']):
917 if "OK" not in dev[0].request("SET disallow_aps ssid " + binascii.hexlify(b"test").decode()):
924 dev[0].request("DISCONNECT")
926 if "OK" not in dev[0].request("SET disallow_aps "):
932 if "FAIL" not in dev[0].request("SET blob foo"):
934 if "FAIL" not in dev[0].request("SET blob foo 0"):
936 if "FAIL" not in dev[0].request("SET blob foo 0q"):
938 if "OK" not in dev[0].request("SET blob foo 00"):
940 if "OK" not in dev[0].request("SET blob foo 0011"):
946 if "FAIL" not in dev[0].request("SET uapsd foo"):
948 if "FAIL" not in dev[0].request("SET uapsd 0,0,0"):
950 if "FAIL" not in dev[0].request("SET uapsd 0,0"):
952 if "FAIL" not in dev[0].request("SET uapsd 0"):
954 if "OK" not in dev[0].request("SET uapsd 1,1,1,1;1"):
956 if "OK" not in dev[0].request("SET uapsd 0,0,0,0;0"):
958 if "OK" not in dev[0].request("SET uapsd disable"):
975 if "FAIL" not in dev[0].request("SET " + val):
980 dev[0].request("SET " + val)
993 if "OK" not in dev[0].request("SET " + val):
999 dev[0].request("SET load_dynamic_eap /tmp/hwsim-eap-not-found.so")
1004 …if "FAIL" not in dev[0].request("GET_CAPABILITY 12345678901234567890123456789012345678901234567890…
1006 if "FAIL" not in dev[0].request("GET_CAPABILITY eap foo"):
1008 if "AP" not in dev[0].request("GET_CAPABILITY modes strict"):
1080 if "FAIL" not in dev[0].request("NFC_REPORT_HANDOVER " + v):
1089 if "FAIL" not in dev[0].request("WPS_NFC_TAG_READ " + v):
1097 if "FAIL" not in dev[0].request("NFC_GET_HANDOVER_REQ " + v):
1102 if "FAIL" in dev[0].request("NFC_GET_HANDOVER_REQ " + v):
1108 if "FAIL" not in dev[0].request("NFC_GET_HANDOVER_SEL " + v):
1114 if "FAIL" in dev[0].request("NFC_GET_HANDOVER_SEL " + v):
1118 return dev.request("BSSID_IGNORE").splitlines()
1123 if "OK" not in dev[0].request("BSSID_IGNORE clear"):
1128 if "OK" not in dev[0].request("BSSID_IGNORE 00:11:22:33:44:55"):
1133 if "OK" not in dev[0].request("BSSID_IGNORE 00:11:22:33:44:56"):
1138 if "OK" not in dev[0].request("BSSID_IGNORE 00:11:22:33:44:56"):
1144 if "OK" not in dev[0].request("BSSID_IGNORE clear"):
1146 if dev[0].request("BSSID_IGNORE") != "":
1153 if "FAIL" not in dev[0].request("BSSID_IGNORE aa:bb:cc:dd:ee:ff"):
1158 level = dev[2].request("LOG_LEVEL")
1164 if "OK" not in dev[2].request("LOG_LEVEL MSGDUMP 0"):
1166 level = dev[2].request("LOG_LEVEL")
1172 if "OK" not in dev[2].request("LOG_LEVEL MSGDUMP 1"):
1174 level = dev[2].request("LOG_LEVEL")
1180 if "FAIL" not in dev[2].request("LOG_LEVEL FOO"):
1184 if "OK" not in dev[2].request("LOG_LEVEL " + lev):
1186 level = dev[2].request("LOG_LEVEL")
1190 if "OK" not in dev[2].request("LOG_LEVEL MSGDUMP 1"):
1192 level = dev[2].request("LOG_LEVEL")
1206 if "OK" not in dev[0].request("DISABLE_NETWORK " + str(id)):
1208 if "OK" not in dev[0].request("ENABLE_NETWORK " + str(id) + " no-connect"):
1210 if "OK" not in dev[0].request("DISABLE_NETWORK all"):
1212 if "OK" not in dev[0].request("ENABLE_NETWORK " + str(id)):
1215 if "OK" not in dev[0].request("DISABLE_NETWORK " + str(id)):
1220 if "OK" not in dev[0].request("ENABLE_NETWORK all"):
1223 if "OK" not in dev[0].request("DISABLE_NETWORK all"):
1235 if "OK" not in dev[0].request("SET country FI"):
1237 if dev[0].request("GET country") != "FI":
1244 dev[0].request("SET country 00")
1245 if dev[0].request("GET country") != "00":
1266 if "OK" not in wpas.request("SUSPEND"):
1268 if "OK" not in wpas.request("RESUME"):
1339 if "FAIL" not in dev[0].request("ROAM 00:11:22:33:44"):
1341 if "FAIL" not in dev[0].request("ROAM 00:11:22:33:44:55"):
1346 if "FAIL" not in dev[0].request("ROAM 00:11:22:33:44:55"):
1365 if "FAIL" not in dev[0].request("CTRL-RSP-"):
1367 if "FAIL" not in dev[0].request("CTRL-RSP-foo-"):
1369 if "FAIL" not in dev[0].request("CTRL-RSP-foo-1234567"):
1371 if "FAIL" not in dev[0].request("CTRL-RSP-foo-1234567:"):
1374 if "FAIL" not in dev[0].request("CTRL-RSP-foo-%d:" % id):
1378 if "OK" not in dev[0].request("CTRL-RSP-%s-%d:" % (req, id)):
1380 if "OK" not in dev[0].request("CTRL-RSP-%s-%d:" % (req, id)):
1391 res = dev[0].request(cmd)
1398 res = dev[0].request(cmd + " nested=1")
1405 res = dev[0].request(cmd + " nested=0")
1418 if "FAIL" not in dev[0].request("VENDOR " + cmd):
1430 if "FAIL" not in dev[0].request("MGMT_TX " + cmd):
1433 if "OK" not in dev[0].request("MGMT_TX_DONE"):
1439 if "FAIL" not in dev[0].request("DRIVER_EVENT foo"):
1441 …if "OK" not in dev[0].request("DRIVER_EVENT ASSOC reassoc=1 req_ies=0000 resp_ies=0000 resp_frame=…
1451 if "FAIL" not in dev[0].request("EAPOL_RX " + cmd):
1457 dev[0].request("DATA_TEST_CONFIG 0")
1458 if "FAIL" not in dev[0].request("DATA_TEST_TX 00:11:22:33:44:55 00:11:22:33:44:55 0"):
1462 if "OK" not in dev[0].request("DATA_TEST_CONFIG 1"):
1464 if "OK" not in dev[0].request("DATA_TEST_CONFIG 1"):
1471 if "FAIL" not in dev[0].request("DATA_TEST_TX " + cmd):
1473 if "OK" not in dev[0].request("DATA_TEST_TX 00:11:22:33:44:55 00:11:22:33:44:55 0"):
1476 dev[0].request("DATA_TEST_CONFIG 0")
1483 if "FAIL" not in dev[0].request("DATA_TEST_FRAME " + cmd):
1486 if "OK" not in dev[0].request("DATA_TEST_FRAME 00112233445566778899aabbccddee"):
1492 if "OK" not in dev[0].request("VENDOR_ELEM_ADD 1 "):
1500 if "FAIL" not in dev[0].request("VENDOR_ELEM_ADD " + cmd):
1506 if "FAIL" not in dev[0].request("VENDOR_ELEM_GET " + cmd):
1509 dev[0].request("VENDOR_ELEM_REMOVE 1 *")
1519 if "FAIL" not in dev[0].request("VENDOR_ELEM_REMOVE " + cmd):
1522 dev[0].request("VENDOR_ELEM_ADD 1 000100")
1523 if "OK" not in dev[0].request("VENDOR_ELEM_REMOVE 1 "):
1533 if "FAIL" not in dev[0].request("VENDOR_ELEM_REMOVE " + cmd):
1535 if "OK" not in dev[0].request("VENDOR_ELEM_REMOVE 1 000100"):
1540 if "OK" not in dev[0].request("RELOG"):
1542 if dev[0].request("IFNAME") != dev[0].ifname:
1544 if "FAIL" not in dev[0].request("REATTACH"):
1546 if "OK" not in dev[2].request("RECONFIGURE"):
1548 if "FAIL" in dev[0].request("INTERFACE_LIST"):
1550 if "UNKNOWN COMMAND" not in dev[0].request("FOO"):
1564 res = dev[0].request("GET " + field)
1595 wpas.request("DISCONNECT")
1624 dev[1].request("DISCONNECT")
1625 dev[2].request("DISCONNECT")
1712 if "PONG" not in wpas.request("PING"):
1716 if "OK" not in wpas.request("TERMINATE"):
1734 dev[0].request("VENDOR_ELEM_REMOVE 1 *")
1735 dev[0].request("VENDOR_ELEM_REMOVE 2 *")
1736 dev[0].request("SET bssid_filter ")
1739 dev[0].request('VENDOR_ELEM_ADD 2 000100')
1856 tls = dev[0].request("GET tls_library")
1862 res = dev[0].request(cmd)
1887 res = dev[0].request(cmd)
1978 if "OK" not in dev[0].request("EVENT_TEST 1000"):
2003 dev[0].request("SET sched_scan_plans foo")
2004 dev[0].request("SET sched_scan_plans 10:100 20:200 30")
2005 dev[0].request("SET sched_scan_plans 4294967295:0")
2006 dev[0].request("SET sched_scan_plans 1 1")
2007 dev[0].request("SET sched_scan_plans ")
2010 dev[0].request("SET sched_scan_plans 10:100")
2012 dev[0].request("SET sched_scan_plans ")
2024 if "FAIL" in dev[2].request("SIGNAL_MONITOR THRESHOLD=-1 HYSTERESIS=5"):
2027 if "OK" not in dev[0].request("SIGNAL_MONITOR" + t):
2029 if "FAIL" not in dev[1].request("SIGNAL_MONITOR THRESHOLD=-44 HYSTERESIS=5"):
2037 dev[0].request("SIGNAL_MONITOR")
2038 dev[1].request("SIGNAL_MONITOR")
2039 dev[2].request("SIGNAL_MONITOR")
2041 dev[0].request("REMOVE_NETWORK all")
2042 dev[1].request("REMOVE_NETWORK all")
2047 dev[0].request("P2P_LO_STOP")
2048 dev[0].request("P2P_LO_START ")
2049 dev[0].request("P2P_LO_START 2412")
2050 dev[0].request("P2P_LO_START 2412 100 200 3")
2051 dev[0].request("P2P_LO_STOP")
2057 hapd_flags = hapd.request("DRIVER_FLAGS")
2058 wpas_flags = dev[0].request("DRIVER_FLAGS")
2072 res = dev[0].request("BSS CURRENT")
2076 res = dev[0].request("BSS CURRENT")
2082 if "FAIL" not in dev[0].request("SET lci q"):
2086 if "FAIL" not in dev[0].request("SET lci 00"):
2093 dev[0].request("SET radio_disabled 1")
2094 dev[0].request("SET radio_disabled 0")
2100 dev[0].request("SET tdls_trigger_control 1")
2101 dev[0].request("SET tdls_trigger_control 0")
2112 if "FAIL" not in dev[0].request("SET " + t):
2125 if "OK" not in dev[0].request("SET " + t):
2130 if dev[0].request("GET_PREF_FREQ_LIST ").strip() != "FAIL":
2134 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2139 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2144 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2149 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2154 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2159 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2164 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()
2167 res = dev[0].request("GET_PREF_FREQ_LIST AP").strip()
2170 res = dev[0].request("GET_PREF_FREQ_LIST P2P_GO").strip()
2173 res = dev[0].request("GET_PREF_FREQ_LIST P2P_CLIENT").strip()
2176 res = dev[0].request("GET_PREF_FREQ_LIST IBSS").strip()
2179 res = dev[0].request("GET_PREF_FREQ_LIST TDLS").strip()
2184 res = dev[0].request("GET_PREF_FREQ_LIST STATION").strip()