Lines Matching refs:apdev
80 def test_ap_cipher_tkip(dev, apdev): argument
84 check_cipher(dev[0], apdev[0], "TKIP")
87 def test_ap_cipher_tkip_countermeasures_ap(dev, apdev): argument
100 hapd = hostapd.add_ap(apdev[0], params)
109 dev[0].cmd_execute(["echo", "-n", apdev[0]['bssid'], ">", testfile],
126 def test_ap_cipher_tkip_countermeasures_ap_mixed_mode(dev, apdev): argument
140 hapd = hostapd.add_ap(apdev[0], params)
148 dev[0].cmd_execute(["echo", "-n", apdev[0]['bssid'], ">", testfile],
175 def test_ap_cipher_tkip_countermeasures_sta(dev, apdev): argument
184 hapd = hostapd.add_ap(apdev[0], params)
186 …ee80211/%s/netdev:%s/tkip_mic_test" % (hapd.get_driver_status_field("phyname"), apdev[0]['ifname'])
211 def test_ap_cipher_tkip_countermeasures_sta2(dev, apdev): argument
220 hapd = hostapd.add_ap(apdev[0], params)
222 …ee80211/%s/netdev:%s/tkip_mic_test" % (hapd.get_driver_status_field("phyname"), apdev[0]['ifname'])
284 def test_ap_cipher_ccmp(dev, apdev): argument
286 check_cipher(dev[0], apdev[0], "CCMP")
288 def test_ap_cipher_gcmp(dev, apdev): argument
290 check_cipher(dev[0], apdev[0], "GCMP")
292 def test_ap_cipher_ccmp_256(dev, apdev): argument
294 check_cipher(dev[0], apdev[0], "CCMP-256")
296 def test_ap_cipher_gcmp_256(dev, apdev): argument
298 check_cipher(dev[0], apdev[0], "GCMP-256")
300 def test_ap_cipher_gcmp_256_group_gcmp_256(dev, apdev): argument
302 check_cipher(dev[0], apdev[0], "GCMP-256", "GCMP-256")
304 def test_ap_cipher_gcmp_256_group_gcmp(dev, apdev): argument
306 check_cipher(dev[0], apdev[0], "GCMP-256", "GCMP")
308 def test_ap_cipher_gcmp_256_group_ccmp_256(dev, apdev): argument
310 check_cipher(dev[0], apdev[0], "GCMP-256", "CCMP-256")
312 def test_ap_cipher_gcmp_256_group_ccmp(dev, apdev): argument
314 check_cipher(dev[0], apdev[0], "GCMP-256", "CCMP")
316 def test_ap_cipher_gcmp_ccmp(dev, apdev, params): argument
331 hapd = hostapd.add_ap(apdev[0], params)
375 def test_ap_cipher_mixed_wpa_wpa2(dev, apdev): argument
387 hapd = hostapd.add_ap(apdev[0], params)
398 bss = dev[0].get_bss(apdev[0]['bssid'])
422 def test_ap_cipher_wpa_sae(dev, apdev): argument
436 hapd = hostapd.add_ap(apdev[0], params)
452 def test_ap_cipher_bip(dev, apdev): argument
454 check_group_mgmt_cipher(dev[0], apdev[0], "AES-128-CMAC")
456 def test_ap_cipher_bip_req(dev, apdev): argument
458 check_group_mgmt_cipher(dev[0], apdev[0], "AES-128-CMAC", "AES-128-CMAC")
460 def test_ap_cipher_bip_req2(dev, apdev): argument
462 check_group_mgmt_cipher(dev[0], apdev[0], "AES-128-CMAC",
465 def test_ap_cipher_bip_gmac_128(dev, apdev): argument
467 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-GMAC-128")
469 def test_ap_cipher_bip_gmac_128_req(dev, apdev): argument
471 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-GMAC-128", "BIP-GMAC-128")
473 def test_ap_cipher_bip_gmac_256(dev, apdev): argument
475 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-GMAC-256")
477 def test_ap_cipher_bip_gmac_256_req(dev, apdev): argument
479 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-GMAC-256", "BIP-GMAC-256")
481 def test_ap_cipher_bip_cmac_256(dev, apdev): argument
483 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-CMAC-256")
485 def test_ap_cipher_bip_cmac_256_req(dev, apdev): argument
487 check_group_mgmt_cipher(dev[0], apdev[0], "BIP-CMAC-256", "BIP-CMAC-256")
489 def test_ap_cipher_bip_req_mismatch(dev, apdev): argument
503 hapd = hostapd.add_ap(apdev[0], params)
570 def test_ap_cipher_replay_protection_ap_ccmp(dev, apdev): argument
572 run_ap_cipher_replay_protection_ap(dev, apdev, "CCMP")
574 def test_ap_cipher_replay_protection_ap_tkip(dev, apdev): argument
577 run_ap_cipher_replay_protection_ap(dev, apdev, "TKIP")
579 def test_ap_cipher_replay_protection_ap_gcmp(dev, apdev): argument
583 run_ap_cipher_replay_protection_ap(dev, apdev, "GCMP")
585 def run_ap_cipher_replay_protection_ap(dev, apdev, cipher): argument
591 hapd = hostapd.add_ap(apdev[0], params)
627 def test_ap_cipher_replay_protection_sta_ccmp(dev, apdev): argument
629 run_ap_cipher_replay_protection_sta(dev, apdev, "CCMP")
631 def test_ap_cipher_replay_protection_sta_tkip(dev, apdev): argument
634 run_ap_cipher_replay_protection_sta(dev, apdev, "TKIP")
636 def test_ap_cipher_replay_protection_sta_gcmp(dev, apdev): argument
640 run_ap_cipher_replay_protection_sta(dev, apdev, "GCMP")
642 def test_ap_cipher_replay_protection_sta_gtk_ccmp(dev, apdev): argument
644 run_ap_cipher_replay_protection_sta(dev, apdev, "CCMP", keytype=KT_GTK)
646 def test_ap_cipher_replay_protection_sta_gtk_tkip(dev, apdev): argument
649 run_ap_cipher_replay_protection_sta(dev, apdev, "TKIP", keytype=KT_GTK)
651 def test_ap_cipher_replay_protection_sta_gtk_gcmp(dev, apdev): argument
655 run_ap_cipher_replay_protection_sta(dev, apdev, "GCMP", keytype=KT_GTK)
657 def test_ap_cipher_replay_protection_sta_igtk(dev, apdev): argument
659 run_ap_cipher_replay_protection_sta(dev, apdev, "CCMP", keytype=KT_IGTK)
661 def test_ap_cipher_replay_protection_sta_bigtk(dev, apdev): argument
663 run_ap_cipher_replay_protection_sta(dev, apdev, "CCMP", keytype=KT_BIGTK)
665 def run_ap_cipher_replay_protection_sta(dev, apdev, cipher, keytype=KT_PTK): argument
675 hapd = hostapd.add_ap(apdev[0], params)
734 def test_ap_wpa2_delayed_m3_retransmission(dev, apdev): argument
737 hapd = hostapd.add_ap(apdev[0], params)
782 def test_ap_wpa2_delayed_m1_m3_retransmission(dev, apdev): argument
784 run_ap_wpa2_delayed_m1_m3_retransmission(dev, apdev, False)
787 def test_ap_wpa2_delayed_m1_m3_retransmission2(dev, apdev): argument
789 run_ap_wpa2_delayed_m1_m3_retransmission(dev, apdev, True)
791 def run_ap_wpa2_delayed_m1_m3_retransmission(dev, apdev, argument
794 hapd = hostapd.add_ap(apdev[0], params)
844 def test_ap_wpa2_delayed_group_m1_retransmission(dev, apdev): argument
847 hapd = hostapd.add_ap(apdev[0], params)
884 def test_ap_wpa2_delayed_group_m1_retransmission_igtk(dev, apdev): argument
888 hapd = hostapd.add_ap(apdev[0], params)
931 def test_ap_wpa2_delayed_m1_m3_zero_tk(dev, apdev): argument
934 hapd = hostapd.add_ap(apdev[0], params)
966 def test_ap_wpa2_plaintext_m1_m3(dev, apdev): argument
969 hapd = hostapd.add_ap(apdev[0], params)
987 def test_ap_wpa2_plaintext_m1_m3_pmf(dev, apdev): argument
991 hapd = hostapd.add_ap(apdev[0], params)
1010 def test_ap_wpa2_plaintext_m3(dev, apdev): argument
1013 hapd = hostapd.add_ap(apdev[0], params)
1031 def test_ap_wpa2_plaintext_group_m1(dev, apdev): argument
1034 hapd = hostapd.add_ap(apdev[0], params)
1052 def test_ap_wpa2_plaintext_group_m1_pmf(dev, apdev): argument
1056 hapd = hostapd.add_ap(apdev[0], params)
1075 def test_ap_wpa2_test_command_failures(dev, apdev): argument
1078 hapd = hostapd.add_ap(apdev[0], params)
1104 def test_ap_wpa2_gtk_initial_rsc_tkip(dev, apdev): argument
1107 run_ap_wpa2_gtk_initial_rsc(dev, apdev, "TKIP")
1109 def test_ap_wpa2_gtk_initial_rsc_ccmp(dev, apdev): argument
1111 run_ap_wpa2_gtk_initial_rsc(dev, apdev, "CCMP")
1113 def test_ap_wpa2_gtk_initial_rsc_ccmp_256(dev, apdev): argument
1115 run_ap_wpa2_gtk_initial_rsc(dev, apdev, "CCMP-256")
1117 def test_ap_wpa2_gtk_initial_rsc_gcmp(dev, apdev): argument
1119 run_ap_wpa2_gtk_initial_rsc(dev, apdev, "GCMP")
1121 def test_ap_wpa2_gtk_initial_rsc_gcmp_256(dev, apdev): argument
1123 run_ap_wpa2_gtk_initial_rsc(dev, apdev, "GCMP-256")
1125 def run_ap_wpa2_gtk_initial_rsc(dev, apdev, cipher): argument
1134 hapd = hostapd.add_ap(apdev[0], params)
1149 def test_ap_wpa2_igtk_initial_rsc_aes_128_cmac(dev, apdev): argument
1151 run_ap_wpa2_igtk_initial_rsc(dev, apdev, "AES-128-CMAC")
1153 def test_ap_wpa2_igtk_initial_rsc_bip_gmac_128(dev, apdev): argument
1155 run_ap_wpa2_igtk_initial_rsc(dev, apdev, "BIP-GMAC-128")
1157 def test_ap_wpa2_igtk_initial_rsc_bip_gmac_256(dev, apdev): argument
1159 run_ap_wpa2_igtk_initial_rsc(dev, apdev, "BIP-GMAC-256")
1161 def test_ap_wpa2_igtk_initial_rsc_bip_cmac_256(dev, apdev): argument
1163 run_ap_wpa2_igtk_initial_rsc(dev, apdev, "BIP-CMAC-256")
1165 def run_ap_wpa2_igtk_initial_rsc(dev, apdev, cipher): argument
1175 hapd = hostapd.add_ap(apdev[0], params)