Commit Graph

1038 Commits

Author SHA1 Message Date
Denis Kenzior c2c4039e79 wiphy: Rename netdev_state to device_state 2016-05-05 12:25:45 -05:00
Denis Kenzior f3fc0ea1f9 device: Refactor netdev watches
Turn netdev watches into device watches.  The intent is to refactor out
netdev specific details into its own class and move device specific
logic into device.c away from wiphy.c
2016-05-05 12:14:59 -05:00
Denis Kenzior 9a0d620800 wsc: Refactor includes 2016-05-05 12:07:46 -05:00
Denis Kenzior 0e3495488f wiphy: Move netdev_state enum 2016-05-05 11:40:54 -05:00
Denis Kenzior 08decb340e netdev: Move rta_add_u8
Move closer to where it is used
2016-05-05 11:32:11 -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
Rahul Rahul 0e1bea6318 test: changed to use python3
Also changed 'raw'input' to 'input' based on python3 API
2016-04-27 18:32:35 -05:00
Rahul Rahul 1ee86db211 test: changed to use python3 2016-04-27 18:32:35 -05:00
Rahul Rahul 32f3752bb5 test: changed to use python3 2016-04-27 18:32:35 -05:00
Rahul Rahul 9dfc989eeb test: changed to use python3 2016-04-27 18:32:35 -05:00
Rahul Rahul 123d9f14ea test: changed to use python3 2016-04-27 18:32:35 -05:00
Denis Kenzior 525b6708d9 build: add dbus-name-cache.c 2016-04-26 11:41:55 -05:00
Tim Kourt 5d29871d89 hwsim: Fixed the errors reported by checkpatch.pl 2016-04-20 21:24:48 -05:00
Tim Kourt 855035dc6d test-runner: Included into the IWD build 2016-04-20 17:42:40 -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
Denis Kenzior 97be0e87c3 scan: Fix crash
Sometimes the periodic scan is started and stopped before the timeout
was created.  If periodic_scan_stop was called before, the timeout
object was not reset to NULL, which can lead to a crash.
2016-04-13 16:03:33 -05:00
Denis Kenzior fc68ece8d2 build: Make sure linux/kdbus.h is copied 2016-04-13 14:32:11 -05:00
Denis Kenzior 3cbbe2cc42 main: Add backtracing support
Ported from oFono @ commit df5d691c39b0ff41d3d98a01db078f7157eb0250.
2016-04-13 14:08:10 -05:00
Denis Kenzior 45b7323e0a scan: Add support for scan abortions 2016-04-12 13:49:50 -05:00
Tim Kourt 00673ba76a tools: Fixed the errors reported by checkpatch.pl 2016-04-12 13:49:00 -05:00
Andrew Zaborowski 692bfa23fe wiphy: Sanity check before netdev_disassociated
The lost beacon event can be received when iwd thinks netdev is
diconnected if it was connected before iwd started, and then
netdev_disassociated will segfault.
2016-04-11 14:39:06 -05:00
Tim Kourt 2440d4cfd3 tools: Copy test-runner.c from BlueZ
BlueZ commit id: 6aa37338ff72fa2b7bc71766f33e4979cd1526fd
2016-04-11 14:31:56 -05:00
Andrew Zaborowski fb1adcae2a dbus: Use recently added l_dbus_name_acquire
Use the backend-independent l_dbus_name_acquire.
2016-04-04 14:35:52 -05:00
Andrew Zaborowski 945b48bfc9 Makefile: Symlinks for missing ell files.
Add the new dbus-filter.c and ell's version of linux/kdbus.h.  Make sure
linux/kdbus.h is under linux/ so the ell code can find it.
2016-04-04 14:31:23 -05:00
Andrew Zaborowski a64030069e dbus: Drop unused linux/kdbus.h src/kdbus.c
Drop the functions that duplicated ell functionality and the now
unneeded kdbus.h copy.
2016-04-04 14:27:26 -05:00
Andrew Zaborowski 79839dbfd6 dbus: Use native ell kdbus calls
It seems until now dbus.c would always connect to dbus-1 (unless
DBUS_SESSION_BUS_ADDRESS pointed at kdbus) and passing -K only made
iwd create a kdbus bus and not use it.  Now use ell to actually use
kdbus instead of dbus-1 with -K.  Don't use the src/kdbus.c functions
that duplicate ell functionality.  As a side effect the connection
description and the bloom sizes are now the ell defaults.
2016-04-04 14:25:59 -05:00
Andrew Zaborowski f983196d44 client: Avoid obsolete src/kdbus.c functions
Stop using the src/kdbus.c functions that duplicate ell functionality so
they can be removed.  Actually connect to dbus and for now just listen
for signals.
2016-04-04 14:25:41 -05:00