Denis Kenzior
3563c65111
netdev: Don't track NEWLINK & DELLINK
...
The plan is to use the much more reliable NEW_WIPHY, DEL_WIPHY,
NEW_INTERFACE, DEL_INTERFACE events.
2016-06-01 13:07:04 -05:00
Denis Kenzior
0b0fd5639f
wiphy: Parse NEW_WIPHY and DEL_WIPHY events
2016-06-01 13:07:04 -05:00
Denis Kenzior
e48ca5a5a6
wiphy: Rename netdev to device
2016-06-01 13:06:59 -05:00
Denis Kenzior
af9ca22360
wiphy: Remove extraneous return
2016-05-31 11:29:48 -05:00
Andrew Zaborowski
1ba2630216
networks: Simplify parameters
...
for network_seen and network_connected
Only accept a struct network pointer instead of separately the ssid and
security type. This is needed so we can do some more simplification in
the next patch by having access to the network struct.
2016-05-30 21:46:45 -05:00
Andrew Zaborowski
9fbdba0957
network: Add "const" to the getter argument types
2016-05-30 21:46:08 -05:00
Andrew Zaborowski
2e4848673a
network: Check for duplicates in network_seen
...
It looks like with multiple netdev seeing the same networks we'd create
multiple network_info structures for each network. Since the
"networks" list (of network_info structs) is global that's probbaly not
the intention here.
2016-05-30 21:45:52 -05:00
Denis Kenzior
d53873a254
test-runner: Fix buffer overflow
...
The argv buffer allocated by alloca is only large enough to hold the
original argument list. Additional arguments (such as --kernel) are
appended at the end, which results in the stack corruption. Make sure
to allocate space for additional arguments.
2016-05-26 10:07:32 -05:00
Denis Kenzior
f4becdff6a
test-runner: Use '-cpu host' in kvm mode
...
When KVM is available, use the -cpu host option. This is useful on
distributions that might use architecture specific optimizations, which
might not be available on the default machine being emulated by qemu.
For example, a Gentoo box compiled with "-march=core-avx2" would result
in several binaries not executing properly inside the qemu environment
due to instruction set mismatches.
2016-05-26 10:06:58 -05:00
Andrew Zaborowski
2901cb1169
main: Restore agent_exit call before main loop exit
2016-05-25 09:57:58 -05:00
Andrew Zaborowski
176a5bcf76
storage: Encode SSIDs in file names if necessary
...
SSIDs with characters other than A-Z0-9_- and space are encoded with
l_util_hexstring and prefixed with a = sign to differentiate them.
2016-05-24 11:14:33 -05:00
Rahul Rahul
fc7ca17558
wiphy: added hw address property to device
2016-05-23 14:54:27 -05:00
Andrew Zaborowski
7950e2d5d3
wiphy: Emit PropertyChanged signals
...
for Device and Network
2016-05-23 11:55:06 -05:00
Andrew Zaborowski
ea6db49e8d
test: Update python scripts with dbus interface changes
2016-05-23 11:49:25 -05:00
Andrew Zaborowski
ab1319a9d5
wiphy: Drop Device.GetNetworks and related signals
...
Drop the Device interface methods and properties made redundant by
the ObjectManager.
2016-05-23 11:48:41 -05:00
Andrew Zaborowski
15bab067fc
dbus: Remove Manager interface, add AgentManager
...
Move the Agent-related methods to a new interface, AgentManager, and
drop the remaining methods and signals made redundant by the
ObjectManager.
2016-05-23 11:46:59 -05:00
Andrew Zaborowski
3e2562a5a8
dbus: Enable the ObjectManager interface
2016-05-23 11:43:13 -05:00
Rahul Rahul
25b35db4a3
autotests: updated no. of radios for twoNetworksTest
2016-05-23 11:34:35 -05:00
Rahul Rahul
2283f7e2f6
autotests: uppdated start test-runner option
2016-05-23 11:34:32 -05:00
Tim Kourt
d6d0b1d7d8
t-runner: Refactor D-bus starting logic
2016-05-20 10:18:05 -05:00
Tim Kourt
05df895da4
t-runner: Start 'haveged' by default
2016-05-20 10:17:57 -05:00
Tim Kourt
1c901bcc13
t-runner: Propagate host's $PATH var. into sim. env.
2016-05-19 13:24:51 -05:00
Rahul Rahul
967f6ab344
autotests: hw.conf file for twoNetworksTest
2016-05-19 10:24:17 -05:00
Rahul Rahul
ddbb2443d9
autotests: conf file2
2016-05-19 10:24:17 -05:00
Rahul Rahul
a73da5916f
autotests: conf file1
2016-05-19 10:24:17 -05:00
Rahul Rahul
332449d80d
autotests: README for twoNetworksTest
2016-05-19 10:24:17 -05:00
Rahul Rahul
d80955c3ee
autotests: twoNetworksTest
2016-05-19 10:24:17 -05:00
Rahul Rahul
00dbb2f434
autotests: simpleAgent for twoNetworksTest
2016-05-19 10:24:17 -05:00
Tim Kourt
52611afe6f
t-runner: Start SW entropy generator if no HW avail.
2016-05-18 14:04:03 -05:00
Tim Kourt
94b2c00534
t-runner: make kvm accel. optional
2016-05-18 14:04:03 -05:00
Tim Kourt
63a4972672
hwsim: Remove bogus info msg
2016-05-18 14:01:52 -05:00
Tim Kourt
1a7a1f5b84
t-runner: Change format of the summary row
2016-05-18 14:01:28 -05:00
Rahul Rahul
473b833f13
autotests: hw.conf for test0AP
2016-05-17 18:34:31 -05:00
Rahul Rahul
72ebb375d8
autotests: hw.conf for test1AP
2016-05-17 18:34:31 -05:00
Rahul Rahul
37aca55933
autotests: modified conf file to work with hw.conf
2016-05-17 18:34:31 -05:00
Tim Kourt
5e6912afd6
t-runner: Add params into hwsim create action
2016-05-17 17:58:16 -05:00
Tim Kourt
9536c27d35
hwsim: Add params: --name, --nointerface
2016-05-17 17:58:13 -05:00
Rahul Rahul
67a43a0813
autotests: scan network when no AP is present
2016-05-17 10:14:00 -05:00
Rahul Rahul
dd178b62a4
autotests: scan for network defined in conf file
2016-05-17 10:13:57 -05:00
Rahul Rahul
0e52787890
autotests: test0AP/README.txt
2016-05-17 10:13:22 -05:00
Rahul Rahul
d71dac945d
autotests: return status from connect & disconnect
2016-05-17 10:12:29 -05:00
Rahul Rahul
10d9be35ee
autotests: exit if connect fails
2016-05-17 10:12:07 -05:00
Rahul Rahul
242e6d19e8
autotests: update test1AP/README.txt
2016-05-17 10:11:41 -05:00
Denis Kenzior
74689303df
network: Make network object opaque
2016-05-16 16:14:26 -05:00
Denis Kenzior
0e106d8534
wiphy: Use network_bss_* api
2016-05-16 16:14:15 -05:00
Denis Kenzior
44d9746e5f
network: Add network_bss_list_clear
2016-05-16 16:13:52 -05:00
Denis Kenzior
b4cebf918a
network: Add network_bss_list_isempty
2016-05-16 16:13:36 -05:00
Denis Kenzior
f177f75f92
network: Add network_bss_add
2016-05-16 16:06:41 -05:00
Denis Kenzior
cefba4d735
wiphy: Use network_connect_failed
2016-05-16 16:03:17 -05:00
Denis Kenzior
ad722cf004
network: Add network_connect_failed
2016-05-16 16:03:14 -05:00