Lines Matching refs:apdev

21 def test_ap_fragmentation_rts_set_high(dev, apdev):  argument
28 hapd = hostapd.add_ap(apdev[0], params)
38 def test_ap_fragmentation_open(dev, apdev): argument
44 hapd = hostapd.add_ap(apdev[0], params)
53 def test_ap_fragmentation_wpa2(dev, apdev): argument
59 hapd = hostapd.add_ap(apdev[0], params)
67 def test_ap_vendor_elements(dev, apdev): argument
69 bssid = apdev[0]['bssid']
75 hapd = hostapd.add_ap(apdev[0], params)
84 dev[1].scan_for_bss(apdev[0]['bssid'], freq="2412")
91 def test_ap_element_parse(dev, apdev): argument
93 bssid = apdev[0]['bssid']
97 hapd = hostapd.add_ap(apdev[0], params)
98 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
104 def test_ap_element_parse_oom(dev, apdev): argument
106 bssid = apdev[0]['bssid']
110 hapd = hostapd.add_ap(apdev[0], params)
111 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
116 def test_ap_country(dev, apdev): argument
120 bssid = apdev[0]['bssid']
128 hapd = hostapd.add_ap(apdev[0], params)
140 hostapd.cmd_execute(apdev[0], ['iw', 'reg', 'set', '00'])
144 def test_ap_acl_accept(dev, apdev): argument
148 filename = hostapd.acl_file(dev, apdev, 'hostapd.macaddr')
149 hostapd.send_file(apdev[0], filename, filename)
152 hapd = hostapd.add_ap(apdev[0], params)
153 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
155 dev[1].scan_for_bss(apdev[0]['bssid'], freq="2412")
169 def test_ap_acl_deny(dev, apdev): argument
173 filename = hostapd.acl_file(dev, apdev, 'hostapd.macaddr')
174 hostapd.send_file(apdev[0], filename, filename)
177 hapd = hostapd.add_ap(apdev[0], params)
178 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412", passive=True)
180 dev[1].scan_for_bss(apdev[0]['bssid'], freq="2412")
188 def test_ap_acl_mgmt(dev, apdev): argument
192 filename = hostapd.acl_file(dev, apdev, 'hostapd.macaddr')
193 hostapd.send_file(apdev[0], filename, filename)
196 hapd = hostapd.add_ap(apdev[0], params)
259 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
268 def test_ap_acl_accept_changes(dev, apdev): argument
274 hapd = hostapd.add_ap(apdev[0], params)
277 dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
279 dev[1].scan_for_bss(apdev[0]['bssid'], freq="2412")
292 def test_ap_wds_sta(dev, apdev): argument
299 hapd = hostapd.add_ap(apdev[0], params)
337 def test_ap_wds_sta_eap(dev, apdev): argument
343 hapd = hostapd.add_ap(apdev[0], params)
374 def test_ap_wds_sta_open(dev, apdev): argument
381 hapd = hostapd.add_ap(apdev[0], params)
406 def test_ap_wds_sta_wep(dev, apdev): argument
416 hapd = hostapd.add_ap(apdev[0], params)
443 def test_ap_inactivity_poll(dev, apdev): argument
449 hapd = hostapd.add_ap(apdev[0], params)
462 def test_ap_inactivity_disconnect(dev, apdev): argument
469 hapd = hostapd.add_ap(apdev[0], params)
482 def test_ap_basic_rates(dev, apdev): argument
488 hostapd.add_ap(apdev[0], params)
492 def test_ap_short_preamble(dev, apdev): argument
498 hostapd.add_ap(apdev[0], params)
501 def test_ap_spectrum_management_required(dev, apdev): argument
514 hapd = hostapd.add_ap(apdev[0], params)
521 hostapd.cmd_execute(apdev[0], ['iw', 'reg', 'set', '00'])
526 def test_ap_max_listen_interval(dev, apdev): argument
532 hostapd.add_ap(apdev[0], params)
541 def test_ap_max_num_sta(dev, apdev): argument
547 hostapd.add_ap(apdev[0], params)
554 def test_ap_max_num_sta_no_probe_resp(dev, apdev, params): argument
564 hostapd.add_ap(apdev[0], params)
568 seen = dev[0].get_bss(apdev[0]['bssid']) != None
584 def test_ap_tx_queue_params(dev, apdev): argument
597 hapd = hostapd.add_ap(apdev[0], params)
601 def test_ap_tx_queue_params_invalid(dev, apdev): argument
616 hapd = hostapd.add_ap(apdev[0], params)
639 def test_ap_beacon_rate_legacy(dev, apdev): argument
641 hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})
651 def test_ap_beacon_rate_legacy2(dev, apdev): argument
653 run_ap_beacon_rate_legacy(dev, apdev, "120")
655 def test_ap_beacon_rate_legacy3(dev, apdev): argument
657 run_ap_beacon_rate_legacy(dev, apdev, "540")
659 def run_ap_beacon_rate_legacy(dev, apdev, rate): argument
660 hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})
686 def test_ap_beacon_rate_ht(dev, apdev): argument
688 hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})
698 def test_ap_beacon_rate_ht2(dev, apdev): argument
700 hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})
726 def test_ap_beacon_rate_vht(dev, apdev): argument
728 hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})
754 def test_ap_wep_to_wpa(dev, apdev): argument
757 hapd = hostapd.add_ap(apdev[0],
778 def test_ap_missing_psk(dev, apdev): argument
784 hostapd.add_ap(apdev[0], params)
792 def test_ap_eapol_version(dev, apdev): argument
796 hapd = hostapd.add_ap(apdev[0], params)
799 hapd2 = hostapd.add_ap(apdev[1], params)
827 def test_ap_dtim_period(dev, apdev): argument
831 hapd = hostapd.add_ap(apdev[0], params)
854 def test_ap_no_probe_resp(dev, apdev): argument
858 hapd = hostapd.add_ap(apdev[0], params)
868 def test_ap_long_preamble(dev, apdev): argument
874 hapd = hostapd.add_ap(apdev[0], params)
880 def test_ap_wmm_uapsd(dev, apdev): argument
884 hapd = hostapd.add_ap(apdev[0], params)
890 def test_ap_wowlan_triggers(dev, apdev): argument
894 hapd = hostapd.add_ap(apdev[0], params)
900 def test_ap_notify_mgmt_frames(dev, apdev): argument
904 hapd = hostapd.add_ap(apdev[0], params)
914 def test_ap_notify_mgmt_frames_disabled(dev, apdev): argument
918 hapd = hostapd.add_ap(apdev[0], params)
926 def test_ap_airtime_policy_static(dev, apdev): argument
934 hapd = hostapd.add_ap(apdev[0], params)
939 def test_ap_airtime_policy_per_bss_dynamic(dev, apdev): argument
947 hapd = hostapd.add_ap(apdev[0], params)
952 def test_ap_airtime_policy_per_bss_limit(dev, apdev): argument
961 hapd = hostapd.add_ap(apdev[0], params)
968 def test_ap_airtime_policy_per_bss_limit_invalid(dev, apdev): argument
977 hapd = hostapd.add_ap(apdev[0], params, no_enable=True)