3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 19:22:34 +01:00
Commit Graph

496 Commits

Author SHA1 Message Date
Tim Kourt
364be241d0 t-runner: Change name of signal handler 2016-05-05 20:43:35 -05:00
Tim Kourt
9b339daeb9 t-runner: Add configurable max. test execution int 2016-05-05 20:42:58 -05:00
Tim Kourt
ccc962d040 t-runner: Remove DBus struct: no longer used 2016-05-05 20:41:18 -05:00
Tim Kourt
035d78f403 t-runner: Add test status for the timed out tests 2016-05-05 10:12:25 -05:00
Tim Kourt
347134cb24 t-runner: Change some of the log levels 2016-05-05 10:11:46 -05:00
Tim Kourt
58859212a3 t-runner: Remove unnecessary line brakes 2016-05-05 10:11:29 -05:00
Tim Kourt
16e997c424 t-runner: Refactor exec. timeout starting code 2016-05-05 09:11:21 -05:00
Tim Kourt
d9744f3824 t-runner: Replaced process kill signal 2016-05-05 09:06:43 -05:00
Tim Kourt
b4e3c0d45d t-runner: Fix bug in min number of radios check 2016-05-05 09:06:08 -05:00
Tim Kourt
962653c0d6 t-runner: Remove the IWD service watchers 2016-05-05 09:05:39 -05:00
Tim Kourt
1365da5fdb test-runner: Changed the set of QEMU parameters 2016-04-28 09:37:25 -05:00
Tim Kourt
1cf8279a1b test-runner: Changed the set of parameters 2016-04-27 19:47:22 -05:00
Tim Kourt
5d6425b74a test-runner: Replaced run_command with IWD's tasks 2016-04-27 19:46:54 -05:00
Tim Kourt
3fe7739e86 test-runner: Changed dbus starter to new functions 2016-04-27 19:46:09 -05:00
Tim Kourt
a63a32acfd test-runner: autotest configurator and runner 2016-04-27 19:45:14 -05:00
Tim Kourt
c4fccc2717 test-runner: Python test executor 2016-04-27 19:44:14 -05:00
Tim Kourt
2898c8f2c8 test-runner: Test status formatter 2016-04-27 19:41:37 -05:00
Tim Kourt
81b189137a test-runner: Controllers for IWD 2016-04-27 19:41:33 -05:00
Tim Kourt
d8d5449a45 test-runner: hostapd instance configurator 2016-04-27 19:40:35 -05:00
Tim Kourt
d0b72f8eb7 test-runner: The radio management functions 2016-04-27 19:36:54 -05:00
Tim Kourt
f775e5f53b test-runner: Adding the HW configuration readers 2016-04-27 19:36:36 -05:00
Tim Kourt
10197f4943 test-runner: Dir. discovery and filtration functions 2016-04-27 19:36:14 -05:00
Tim Kourt
313c605a2f test-runner: Added the hostapd control functions 2016-04-27 19:35:25 -05:00
Tim Kourt
09463912d1 test-runner: Added the hwsim control functions 2016-04-27 19:34:34 -05:00
Tim Kourt
b70e2c8a35 test-runner: Added the interface control functions 2016-04-27 19:33:46 -05:00
Tim Kourt
e023eb2287 test-runner: Added various utility functions 2016-04-27 19:33:21 -05:00
Tim Kourt
5d29871d89 hwsim: Fixed the errors reported by checkpatch.pl 2016-04-20 21:24:48 -05:00
Tim Kourt
3cb5213435 test-runner: fixed the type qualifier errors 2016-04-20 17:42:16 -05:00
Tim Kourt
dda07316e6 test-runner: Removed the BlueZ related code 2016-04-14 21:35:52 -05:00
Tim Kourt
00673ba76a tools: Fixed the errors reported by checkpatch.pl 2016-04-12 13:49:00 -05:00
Tim Kourt
2440d4cfd3 tools: Copy test-runner.c from BlueZ
BlueZ commit id: 6aa37338ff72fa2b7bc71766f33e4979cd1526fd
2016-04-11 14:31:56 -05:00
Andrzej Zaborowski
92841b4976 hwsim: Don't try l_genl_attr_next if _attr_init fails.
This was causing a segfault.
2015-04-17 10:50:56 -05:00
Andrzej Zaborowski
0a6b6d0ca5 hwsim: Fix #define 2015-04-17 10:50:39 -05:00
Denis Kenzior
5594de8d27 hwsim: Use new l_genl send() APIs 2015-02-27 11:00:58 -06:00
Denis Kenzior
ff30bb86dd hwsim: Fixup minor style issues 2014-11-14 22:17:30 -06:00
Denis Kenzior
55ddc6f49e hwsim: Call list_callback_done in all cases 2014-11-14 22:14:31 -06:00
Patrik Flykt
f1a5dcf6f3 hwsim: Add support for HWSIM_CMD_GET_RADIO
Add a new option to the hwsim binary to fetch all or a given hwsim radio.
Print out radio information which is currently returned in the reply to
user space.

Add new hwsim attributes to the enum and tweak getopt to behave properly
with or without giving the radio id on the command line.
2014-11-14 22:06:06 -06:00
Patrik Flykt
c2a140382a hwsim: Exit hwsim if MAC80211_HWSIM vanishes
If the MAC80211_HWSIM netlink family disappears, exit hwsim. This can
happen already at startup, for example if MAC80211_HWSIM functionality is
not compiled in the kernel or respective module loaded.
2014-11-14 21:52:57 -06:00
Denis Kenzior
47f91a47e6 hwsim: Fix up whitespace issues 2014-11-01 21:29:40 -05:00
Jukka Rissanen
fb4075da5e hwsim: Receive multicast netlink event for NEW/DEL radio commands
Kernel sends HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO multicast
events when new radio have been created and when existing one has
been deleted. The events are sent to "config" netlink multicast group.

The hwsim catches these events and uses the information to monitor
what simulated radios are created and deleted in the system.
2014-11-01 21:29:40 -05:00
Denis Kenzior
f125a78df8 hwsim: Minor style fix 2014-10-13 12:56:27 -05:00
Jukka Rissanen
1a07cf4ab1 hwsim: Add attribute to destroy radio when program stops
The new attribute causes the radio to be removed if the hwsim process
dies. This is the default behaviour. If user calls the binary with -k
option, then the radio is kept after hwsim quits.
This requires kernel support for HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
attribute.
2014-10-13 12:53:09 -05:00
Denis Kenzior
c3e9ac662a hwsim: Cleanup some style issues 2014-10-07 21:36:10 -05:00
Denis Kenzior
210187fb45 hwsim: Make compile 2014-10-07 21:35:58 -05:00
Jukka Rissanen
a052cb5d3c hwsim: Radio id was not parsed properly
When a new radio is created, the kernel returns the new radio id
in the error code. If the error < 0, then that means a real error
and other values are used as a radio id.

When a radio is destroyed, the error code 0 means a success and
other values indicate an error.
2014-10-07 21:31:36 -05:00
Marcel Holtmann
2d75ab55e7 tools: Add simple utility for interacting with mac80221_hwsim 2014-08-08 15:40:43 -07:00