3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 06:02:37 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
James Prestwood
67cb8de2ef test: add a script for GetDiagnostics 2021-01-12 13:42:39 -06:00
Andrew Zaborowski
4315461a6c wfd-source: Update the switch state using set_state
The Gtk.Switch representing the p2p.Device's Enabled property should use
the "delayed state change" logic as described in Gtk.Switch docs, i.e.
we need to use .set_state() instead of .set_active() when we get
confirmation of the property having changed its value in the
PropertiesChanged handler.  The ::active property is automatically
changed by Gtk.Switch on user input.

This way the UI gives visual feedback of when the device enable/disable
op starts and ends (or fails).
2020-08-04 10:30:03 -05:00
Andrew Zaborowski
fb4b7e7a0b wfd-source: Fix some races on iwd name owner change
Subscribe to InterfacesAdded/Removed/PropertiesChanged signals before
using GetManagedObjects.  For some reason when iwd starts after the
client, we consistently get the managed objects list from before Adapter
interfaces are added but we miss the subsequent InterfacesAdded
signals, probably has to do with the GetManagedObjects and the AddMatch
calls all being synchronous.

Secondly call self.populate_devices() on init as it won't be called if
IWD is not on the bus.
2020-08-04 10:30:00 -05:00
Andrew Zaborowski
b67ef78d1c wfd-source: Allow alternative URLs in SETUP request
Some WFD sinks issue an RTSP SETUP request with the target
'rtsp://<source-ip>/wfd1.0/streamid=0' so add that URL to the targets we
allow for SETUP.
2020-07-31 13:53:59 -05:00
Andrew Zaborowski
11c332be09 wfd-source: Add stream utility buttons
Add two buttons to the UI when the stream is playing: one for forcing an
H.264 key-frame (IDR) and one for restarting the stream in gstreamer.
2020-07-31 13:53:59 -05:00
Andrew Zaborowski
64b2d29af6 wfd-source: Display some stream properties
Define a bunch of stream parameters each with a getter and an optional
setter.  In the right pane of the window show widgets for these
properties, some as just labels and some as editable controls depending
on the type of the property.  Parse the EDID data.
2020-07-31 13:53:59 -05:00
Andrew Zaborowski
8016658618 wfd-source: Support wfd-idr-request 2020-07-31 10:39:04 -05:00
Andrew Zaborowski
bfa670d4ef wfd-source: Print call trace on error 2020-07-31 10:38:59 -05:00
Andrew Zaborowski
e64de776a7 test: Add a sample Wi-Fi Display source app 2020-07-16 10:49:45 -05:00
Andrew Zaborowski
2fa3495e74 test: Set WSC.PushButton call timeout to 120s 2020-07-13 14:15:24 -05:00
Andrew Zaborowski
270bbbf25a test: Add a connect-p2p test script 2020-04-27 13:54:45 -05:00
Andrew Zaborowski
58737e02d5 test: Handle missing agent calls in simple-agent
Handle RequestPrivateKeyPassphrase and RequestUserNameAndPassword
2020-02-17 12:28:21 -06:00
Andrew Zaborowski
0b34371253 test: Update paths in list-devices 2020-02-17 12:28:17 -06:00
Denis Kenzior
45d5b5e475 test: Update simple-agent to new dbus paths 2019-10-28 21:15:07 -05:00
Denis Kenzior
3ef565e31f test: Remove support for WDS property 2019-10-24 11:41:32 -05:00
Denis Kenzior
f97bca55e9 test: Update to the new wsc api naming 2019-10-24 10:49:13 -05:00
Andrew Zaborowski
9aa2c8dae0 test: Update list-known-networks use of DBus API 2019-04-11 11:01:33 -05:00
Andrew Zaborowski
3968d36a46 test: Update dbus interface name in scan-for-networks 2019-03-28 21:25:05 -05:00
Andrew Zaborowski
64398f3143 test: Update the list-devices script 2018-09-24 13:42:13 -05:00
Andrew Zaborowski
175fd00c6b tests: Update the disconnect-network script 2018-09-24 13:42:10 -05:00
Marcel Holtmann
cf09ba9b73 test: Add utility for monitoring ead's D-Bus interface 2018-09-21 18:07:53 -05:00
Denis Kenzior
df448dde6f test: Add Station interface to monitor-iwd 2018-09-04 23:57:14 -05:00
Denis Kenzior
b2045a309b test: Add additional interfaces to monitor-iwd 2018-08-19 22:06:32 -05:00
James Prestwood
c6a35d9005 test: utility to set device mode
There was no way to stop ap/adhoc once started.
2018-07-19 11:22:33 -05:00
James Prestwood
06c2d227c8 test: adhoc test script 2018-07-17 17:03:18 -05:00
Antonio Quartulli
1d81325976 test: add get-wds script 2018-06-13 11:44:24 -05:00
Antonio Quartulli
b3071d63c7 test: add set-wds script 2018-06-13 11:43:57 -05:00
Denis Kenzior
db7874813b test: Add set-powered script 2018-06-10 21:50:50 -05:00
Denis Kenzior
cceca91db6 test: Add get-powered script 2018-06-10 21:50:38 -05:00
Denis Kenzior
c64d4f7dcf test: Use StartPin in wps-pin 2017-02-22 17:11:42 -06:00
Denis Kenzior
2ffe0fb7db test: Add skeleton wps-pin script 2017-02-17 13:44:59 -06:00
Andrew Zaborowski
c64534135d test: Switch monitor-iwd to org.freedesktop.DBus.Properties
Other test scripts and autotests don't seem to need changes.
2016-09-21 16:46:34 -05:00
Denis Kenzior
6d11ce020a test: Add wps-push-button script 2016-09-21 16:31:15 -05:00
Denis Kenzior
326681933c test: Add wps-cancel script 2016-09-21 16:31:12 -05:00
Denis Kenzior
5b123e1a3d test: report InterfacesAdded & InterfacesRemoved 2016-09-13 23:16:06 -05:00
Denis Kenzior
e14045442a test: Use python3 coding style in monitor-iwd 2016-09-13 23:05:16 -05:00
Denis Kenzior
2264ac8a5f test: Add monitor-iwd script 2016-08-06 10:49:21 -05:00
Andrew Zaborowski
55f8942d8f test: Show Adapter properties in list-devices 2016-08-01 12:45:48 -05:00
Andrew Zaborowski
07f177ca24 test: use GetOrderedNetworks() in list-devices 2016-07-14 10:04:18 -05:00
Andrew Zaborowski
d371c287bb test: Add a KnownNetworks test script 2016-07-14 10:04:04 -05:00
Andrew Zaborowski
d138cf4e30 test: Update agent test with Cancel reason 2016-06-10 09:27:14 -05:00
Andrew Zaborowski
ea6db49e8d test: Update python scripts with dbus interface changes 2016-05-23 11:49:25 -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
Andrew Zaborowski
4bf109a7ce test: Avoid input() in simple-agent.py.
That function reads a string of python code and immediately executes
it.  This required passphrases to be input as python literals, we
can just use a string as passphrase instead.
2015-05-27 08:42:45 -05:00
Denis Kenzior
a4af2e2947 test: Add disconnect-network script 2015-03-29 22:32:51 -05:00
Denis Kenzior
034692b1b0 test: Add scan-for-networks script 2015-03-26 00:18:59 -05:00