3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-09 05:29:23 +01:00
Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Zaborowski
bb350a3b8e autotests: Avoid periodic polling in the wait methods
Modify AsyncOpAbstract._wait_for_async_op and
IWD.wait_for_object_condition to call context.iteration() in the
blocking mode instead of calling context.pending() every 0.01s.  This
gets rid of busy-waiting and also ensures that the condition is checked
after every single dbus (or other) event.  This way a condition that
potentially occurs for less than 0.01s can be reliably waited for.
2017-03-28 19:57:16 -05:00
Andrew Zaborowski
1df2e18f61 autotests: Add FT roaming test and utility functions
This tests the FT-PSK initial Mobility Domain authentication, neighbor
reports, scanning on a subset of frequencies and FT transition.
2017-03-28 15:38:38 -05:00
Andrew Zaborowski
5ea7cbe5e9 autotests: Add classes to access hwsim dbus interface
Create hwsim.py with some classes to access hwsim's dbus objects as
python objects similar to iwd objects in iwd.py
2017-03-28 15:38:32 -05:00
Andrew Zaborowski
ebc2092c42 autotests: Pass wiphy whitelist in iwd command line
Pass the -p parameter to the iwd process started by iwd.py (only used by
testKnownNetworks) same as when iwd is started by test-runner.c
2017-03-28 15:33:25 -05:00
Andrew Zaborowski
c72cd38e76 autotests: Support multiple hostapd instances in HostapdCLI
Make the HostapdCLI class non-static so that each objects corresponds
to a hostapd instance on one network interface (this is independent of
whether the AP instances use one or separate hostapd processes)
2017-03-28 15:33:03 -05:00
Andrew Zaborowski
76339a8184 autotests: Add utility script to parse interface configuration 2017-03-28 15:31:59 -05:00
Tim Kourt
46717cae08 auto-t: interoperability of IWD/AP with MFP options
This patch combines the work done by Rahul to test the
interoperability of permutations of MFP options in IWD/AP
into a single autotest.
2017-01-10 17:58:40 -06:00
Denis Kenzior
ed69774dbc autotests: Clean up iwd process
If the process is launched by the test, then clean it up when the test
is cleaned up
2016-12-20 12:44:52 -06:00
Rahul Rahul
1378830a2c autotests: EAP-TLS test with MFPC 2016-12-19 11:08:26 -06:00
Rahul Rahul
960fb0348e autotests: EAP-TLS test with MFPR and SHA256 2016-12-19 11:07:47 -06:00
Rahul Rahul
cf10ef0833 autotests: WPA2 test with SHA256 2016-12-19 11:06:00 -06:00
Markus Ongyerth
5af52f519b autotests: add autotest for eap-mschapv2 2016-12-14 23:01:00 -06:00
Rahul Rahul
0327be75c8 autotests: WPA2 test with MFP required 2016-12-14 14:53:28 -06:00
Tim Kourt
32d623a09e auto-t: Raname testWPS to testEAP-WPS 2016-11-30 10:07:15 -06:00
Tim Kourt
a7a3e7e7f7 auto-t: Add EAP TTLS fragmentation test 2016-11-03 22:21:31 -05:00
Tim Kourt
9a5c0eb151 auto-t: Add EAP TLS fragmentation test 2016-11-03 22:21:27 -05:00
Tim Kourt
aa3796af3b auto-t: Add EAP WPS fragmentation test 2016-11-03 22:21:23 -05:00
Tim Kourt
2352c3f819 auto-t: Rename abs_path_dir_list to tmpfs_extra_stuff 2016-11-03 13:30:06 -05:00
Tim Kourt
bc2396b4f7 auto-t: Add config file arg. to IWD start script 2016-11-02 17:42:36 -05:00
Tim Kourt
defc9600c6 auto-t: Add EAP-TTLS connection test 2016-10-12 10:28:45 -05:00
Tim Kourt
3ec245b988 auto-t: Add EAP-TLS connection test 2016-10-12 10:28:45 -05:00
Tim Kourt
e0e1091495 auto-t: Copy certs into common location 2016-10-12 10:28:45 -05:00
Tim Kourt
52f5d134de auto-t: Add disconnect by AP test 2016-10-12 10:14:28 -05:00
Tim Kourt
91059e68cd auto-t: Add functions to hostapd_cli 2016-10-12 10:14:28 -05:00
Tim Kourt
7c8c2dbb3b auto-t: Add WPS test 2016-10-05 18:08:43 -05:00
Tim Kourt
95079dabab auto-t: Create hostapd_cli py lib 2016-10-05 18:08:43 -05:00
Tim Kourt
201574bdf1 auto-t: Add WPS API to device 2016-10-05 18:08:43 -05:00
Tim Kourt
20ca7ac841 auto-t: Add test for the known networks 2016-10-05 18:06:52 -05:00
Tim Kourt
135095b6a3 auto-t: Add prefix for output formating 2016-10-05 18:06:52 -05:00
Tim Kourt
21b42a0ff4 auto-t: Convert net type to str for dbus 2016-10-05 18:06:52 -05:00
Tim Kourt
cb114a649f auto-t: switch to 'get' for the optional fields 2016-10-05 18:06:52 -05:00
Tim Kourt
b7c1a068b6 auto-t: Expand "to string" for known network 2016-10-05 18:06:52 -05:00
Tim Kourt
d429d78940 auto-t: Optionally start iwd from python lib 2016-10-05 18:06:52 -05:00
Tim Kourt
ab8c9fd6c7 auto-t: remove old 2 AP test 2016-10-03 15:24:52 -05:00
Tim Kourt
b8573ad7ac auto-t: remove old 1 AP test 2016-10-03 15:24:52 -05:00
Tim Kourt
ef6bef27d5 auto-t: remove old 0 AP test 2016-10-03 15:24:52 -05:00
Tim Kourt
343c05d198 auto-t: remove old python utilities 2016-10-03 15:24:52 -05:00
Tim Kourt
3093e57715 auto-t: Add scan test 2016-10-03 15:24:52 -05:00
Tim Kourt
9e851d7353 auto-t: Add open network connection test 2016-10-03 14:19:50 -05:00
Tim Kourt
fac58dfbb7 auto-t: Add WPA test 2016-10-03 14:18:01 -05:00
Tim Kourt
046c8275f2 auto-t: Add WPA test 2016-10-03 14:17:22 -05:00
Tim Kourt
29ee5d0946 auto-t: Add python test lib for IWD 2016-10-03 14:16:39 -05:00
Rahul Rahul
866ff95c48 autotests: utility: fix helper functions 2016-08-02 15:21:25 -05:00
Rahul Rahul
eb605d9105 autotests: test2AP: Make tests pass in test-runner 2016-08-02 15:20:19 -05:00
Rahul Rahul
6a4f24c920 autotests: test1AP: fix hw.conf for test-runner 2016-08-02 15:19:21 -05:00
Denis Kenzior
d362ce83b9 autotests: Fix permissions for *.conf files 2016-07-22 15:02:28 -05:00
Rahul Rahul
575d928bbb autotests: utility - added utility functions 2016-07-22 14:39:15 -05:00
Rahul Rahul
67dc10707a autotests: test1AP - added new tests and config files
APShutdownTest - shutdown the AP after network connection. This
                 will be replaced when hwsim supports signal
                 strength modification
InvalidPassphraseTest -  Provide an invalid passphrase.
2016-07-22 14:38:57 -05:00
Rahul Rahul
6be18cff4e autotests: notify tests after registerAgent() 2016-07-18 11:19:10 -05:00
Andrew Zaborowski
c26b0ad3db autotest: Simplify iterating over network objects
Where the code just needs to find all of the network objects, don't look
for the device objects first because this only adds overhead.  With
the structure now having three levels it can be even more confusing,
especially in getCurrentlyConnectedNetworkName where the outer loop
didn't check for the Device interface.

In getNetworkList don't return after the first device's networks are
listed.
2016-07-13 10:33:34 -05:00