Lines Matching refs:wpas
209 wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
210 wpas.interface_add(iface)
212 if wpas.get_mcc() < 2:
219 wpas.connect("test-wpa2-psk", psk="12345678", scan_freq="2437")
224 check_pasn_akmp_cipher(wpas, hapd2, "PASN", "CCMP")
453 wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
454 wpas.interface_add(iface)
456 if wpas.get_mcc() < 2:
465 wpas.set("sae_pwe", "2")
466 wpas.connect("test-pasn-wpa2-psk", psk="12345678", scan_freq="2437")
475 wpas.connect("test-pasn-sae", psk="12345678", key_mgmt="SAE",
478 check_pasn_akmp_cipher(wpas, hapd, "SAE", "CCMP", nid="1")
480 wpas.set("sae_pwe", "0")
482 def pasn_fils_setup(wpas, apdev, params, key_mgmt): argument
483 check_fils_capa(wpas)
484 check_erp_capa(wpas)
486 wpas.flush_scan_cache()
499 id = wpas.connect("fils", key_mgmt=key_mgmt,
504 wpas.request("DISCONNECT")
505 wpas.wait_disconnected()
506 wpas.dump_monitor()
508 if "FAIL" in wpas.request("PMKSA_FLUSH"):
558 wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
559 wpas.interface_add(iface)
560 if wpas.get_mcc() < 2:
563 hapd = pasn_fils_setup(wpas, apdev, params, key_mgmt);
567 wpas.connect("open", key_mgmt="NONE", scan_freq="2437",
570 hwsim_utils.test_connectivity(wpas, hapd1)
573 check_pasn_akmp_cipher(wpas, hapd, key_mgmt, "CCMP", nid="0")