Lines Matching refs:apdev

40 def test_nfc_wps_password_token_sta(dev, apdev):  argument
44 hapd = hostapd.add_ap(apdev[0], params)
61 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
72 def test_nfc_wps_config_token(dev, apdev): argument
76 hapd = hostapd.add_ap(apdev[0], params)
88 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
105 def test_nfc_wps_config_token_init(dev, apdev): argument
109 hapd = hostapd.add_ap(apdev[0],
121 check_wpa2_connection(dev[0], apdev[0], hapd, ssid, mixed=True)
124 def test_nfc_wps_password_token_sta_init(dev, apdev): argument
128 hapd = hostapd.add_ap(apdev[0],
143 check_wpa2_connection(dev[0], apdev[0], hapd, ssid, mixed=True)
146 def test_nfc_wps_password_token_ap(dev, apdev): argument
149 hapd = hostapd.add_ap(apdev[0],
164 res = dev[0].request("WPS_REG " + apdev[0]['bssid'] + " nfc-pw " +
172 check_wpa2_connection(dev[0], apdev[0], hapd, new_ssid, mixed=True)
188 def test_nfc_wps_password_token_ap_preconf(dev, apdev): argument
197 hapd = hostapd.add_ap(apdev[0], params)
209 res = dev[0].request("WPS_REG " + apdev[0]['bssid'] + " nfc-pw " +
217 check_wpa2_connection(dev[0], apdev[0], hapd, new_ssid, mixed=True)
219 def test_nfc_wps_handover_init(dev, apdev): argument
224 hapd = hostapd.add_ap(apdev[0],
245 check_wpa2_connection(dev[0], apdev[0], hapd, ssid, mixed=True)
263 def test_nfc_wps_handover_errors(dev, apdev): argument
266 hapd = hostapd.add_ap(apdev[0],
297 def test_nfc_wps_handover(dev, apdev): argument
301 hapd = hostapd.add_ap(apdev[0], params)
318 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
320 def test_nfc_wps_handover_5ghz(dev, apdev): argument
329 hapd = hostapd.add_ap(apdev[0], params)
346 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
350 def test_nfc_wps_handover_chan14(dev, apdev): argument
359 hapd = hostapd.add_ap(apdev[0], params)
376 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
381 def test_nfc_wps_handover_with_pw_token_set(dev, apdev): argument
385 hapd = hostapd.add_ap(apdev[0], params)
409 check_wpa2_connection(dev[0], apdev[0], hapd, ssid)
411 def test_nfc_wps_handover_pk_hash_mismatch_sta(dev, apdev): argument
417 hapd = hostapd.add_ap(apdev[0], params)
438 def test_nfc_wps_handover_pk_hash_mismatch_ap(dev, apdev): argument
442 hapd = hostapd.add_ap(apdev[0], params)
499 def test_nfc_wps_er_pw_token(dev, apdev): argument
502 _test_nfc_wps_er_pw_token(dev, apdev)
506 def _test_nfc_wps_er_pw_token(dev, apdev): argument
508 hapd = start_ap_er(dev[0], apdev[0], ssid)
526 check_wpa2_connection(dev[1], apdev[0], hapd, ssid)
529 def test_nfc_wps_er_config_token(dev, apdev): argument
532 _test_nfc_wps_er_config_token(dev, apdev)
536 def _test_nfc_wps_er_config_token(dev, apdev): argument
538 hapd = start_ap_er(dev[0], apdev[0], ssid)
540 wps = dev[0].request("WPS_ER_NFC_CONFIG_TOKEN WPS " + apdev[0]['bssid']).rstrip()
543 conf = dev[0].request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + apdev[0]['bssid']).rstrip()
552 check_wpa2_connection(dev[1], apdev[0], hapd, ssid)
554 def test_nfc_wps_er_handover(dev, apdev): argument
557 _test_nfc_wps_er_handover(dev, apdev)
561 def _test_nfc_wps_er_handover(dev, apdev): argument
563 hapd = start_ap_er(dev[0], apdev[0], ssid)
568 sel = dev[0].request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + apdev[0]['bssid']).rstrip()
580 check_wpa2_connection(dev[1], apdev[0], hapd, ssid)
582 def test_nfc_wps_er_handover_pk_hash_mismatch_sta(dev, apdev): argument
585 _test_nfc_wps_er_handover_pk_hash_mismatch_sta(dev, apdev)
589 def _test_nfc_wps_er_handover_pk_hash_mismatch_sta(dev, apdev): argument
591 hapd = start_ap_er(dev[0], apdev[0], ssid)
599 sel = dev[0].request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + apdev[0]['bssid']).rstrip()
615 def test_nfc_wps_er_handover_pk_hash_mismatch_er(dev, apdev): argument
618 _test_nfc_wps_er_handover_pk_hash_mismatch_er(dev, apdev)
622 def _test_nfc_wps_er_handover_pk_hash_mismatch_er(dev, apdev): argument
624 hapd = start_ap_er(dev[0], apdev[0], ssid)
632 sel = dev[0].request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + apdev[0]['bssid']).rstrip()
649 def test_nfc_invalid_ndef_record(dev, apdev): argument
674 def test_nfc_wps_handover_failure(dev, apdev): argument
678 hapd = hostapd.add_ap(apdev[0], params)