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

189 Commits

Author SHA1 Message Date
Denis Kenzior
189a96e91a client: Move Device.Scan method to Station 2018-09-14 21:20:33 -05:00
Denis Kenzior
81dd689611 client: Move Device.Disconnect to Station 2018-09-14 21:20:31 -05:00
Denis Kenzior
6b46beef45 client: Move properties from Device to Station 2018-09-14 21:12:11 -05:00
Denis Kenzior
904d65ce79 client: Get rid of dbus_proxy bind/unbind 2018-09-14 03:47:17 -05:00
Denis Kenzior
48870d0911 client: Expand proxy_property_str_completion
This function now takes an extra argument 'extra_interface'.  When
non-NULL, the property match is furthered filtered by checking whether
the proxy_interface on the given path also contains an interface of type
'extra_interface'
2018-09-14 03:47:17 -05:00
Denis Kenzior
5aa5e2fef6 client: wsc: Get rid of bind/unbind_interface 2018-09-14 03:47:17 -05:00
Denis Kenzior
d90eb32cb0 client: ap: Get rid of bind/unbind_interface 2018-09-14 03:47:17 -05:00
Denis Kenzior
3dab3a1680 client: adhoc: Get rid of bind/unbind_interface 2018-09-14 03:47:17 -05:00
Denis Kenzior
71ea1e102a client: Add device_proxy_find 2018-09-14 03:47:17 -05:00
Denis Kenzior
f85685c9e4 client: Add proxy_interface_get_path 2018-09-14 03:47:17 -05:00
Denis Kenzior
ad13680420 client: dbus-proxy: Relax requirements for find_all
If the function is not provided, assume that we want to match all
proxies of a given interface.
2018-09-14 03:47:17 -05:00
Tim Kourt
a7aecb8573 client: add noninteractive support into main 2018-08-06 12:42:09 -05:00
Tim Kourt
9944b7b3b5 client: add noninteractive support into proxy 2018-08-06 12:42:06 -05:00
Tim Kourt
1d931d8a68 client: add noninteractive support for cmds 2018-08-06 12:42:03 -05:00
Tim Kourt
ef2878d5ee client: rename generic cmd list 2018-08-06 12:32:49 -05:00
Tim Kourt
2ba4efe39e client: add new command statuses
Split CMD_STATUS_OK into CMD_STATUS_DONE and CMD_STATUS_TRIGGERED.
The split is necessary for the enablement of noninteractive mode.
2018-08-06 12:32:22 -05:00
Tim Kourt
ce4a272186 client: move static array inits out of display_init() 2018-08-03 14:42:04 -05:00
Tim Kourt
664723f427 client: remove unused ordered networks from device 2018-08-02 20:54:41 -05:00
Tim Kourt
273d5d264a client: truncate long property strings
provide accessors for the vendor and model properties
2018-08-02 20:54:32 -05:00
Tim Kourt
8238ca7fce client: destroy builder on append failure 2018-08-02 20:54:28 -05:00
Tim Kourt
a3bc408ae4 client: truncate value string to the column length 2018-08-02 20:54:25 -05:00
Andrew Zaborowski
f6aa2c7236 client: Fix comparing current prompt against previous
We'd add the new command propmpt to history if it was different from
what current_history() returned which may not be the last command
executed, so we'd possibly add multiple identical commands to history
and skip some that were new.  Instead compare against
history_get(last index).
Also remove an always-true part of the condition on the next line.
2018-08-01 09:32:00 -05:00
Andrew Zaborowski
2e08b3e129 client: Update known-networks commands with DBus API changes 2018-07-31 11:57:52 -05:00
Andrew Zaborowski
15ade259e6 client: Fix parsing commands with no "entity" part
The code would assume that a command with argc >= 3 would always be
composed of <family name> <entity> <command> and thus
"known-networks forget <ssid>" could not be executed.  Instead of
checking argc >= 3 check whether command->entity is non-NULL.
2018-07-31 11:38:35 -05:00
Andrew Zaborowski
18e672fa2f client: Make sure network_args.type is initialised
Otherwise match_by_device_and_args might segfault.
2018-07-31 11:24:33 -05:00
Andrew Zaborowski
61bdb7e19f client: Free previous property values on update 2018-07-31 11:23:04 -05:00
Andrew Zaborowski
242a13df5a client: Drop known network LastSeenTime property 2018-07-31 11:20:09 -05:00
Tim Kourt
e3737fd44e client: fix mem leak after arg parsing 2018-07-30 13:18:35 -05:00
Tim Kourt
efe45e4180 client: add client support for AdHoc 2018-07-30 09:00:57 -05:00
Tim Kourt
727a44aab4 client: add AdHoc concept into device 2018-07-30 09:00:57 -05:00
Tim Kourt
0fec184eae client: add client support for AP 2018-07-30 09:00:57 -05:00
Tim Kourt
f9dc72088e client: add access point concept into device 2018-07-30 09:00:57 -05:00
Tim Kourt
6c80e1e277 client: add AdHoc and AccessPoint Dbus interfaces 2018-07-30 09:00:57 -05:00
Denis Kenzior
67e590cfeb client: Utilize l_parse_args 2018-07-30 08:59:55 -05:00
Tim Kourt
527c0060bc client: add property completion for set-property cmd
In addition, it defines the value options for the Power, WDS and
Mode properties. The builder variant appenders for 'Set' cmd
are also defined here.
2018-07-25 16:05:18 -05:00
Tim Kourt
5549219217 client: switch adapter to use proxy property completion
In addition, it defines the value options for the Power property
2018-07-25 16:05:16 -05:00
Tim Kourt
687dcc6145 client: add variant appender for the on/off properties 2018-07-25 16:05:12 -05:00
Tim Kourt
6ba707fca8 client: add completion for proxy property names and values 2018-07-25 16:05:09 -05:00
Tim Kourt
1e78ed5a7d client: add property setter for device 2018-07-25 16:04:59 -05:00
Tim Kourt
f7171665d1 client: add property setter for adapter 2018-07-25 15:26:48 -05:00
Tim Kourt
d3742ba651 client: add property setter for proxy
v2: renamed builder_append_value_variant -> append
2018-07-25 15:26:31 -05:00
Tim Kourt
c5cf3b083f client: add cmd line token finder
This allows to inspect the cmd line for the existence of a provided
token. This enables the completers to look back to what was entered
before them and make decisions based on that information. For
example, this can be used in completion of the property values
to identify the property for which the value is being completed.
2018-07-25 11:47:10 -05:00
Tim Kourt
bb1a0adec7 client: introduce proxy property utils
All of the shared functions related to the processing of the
proxy properties will reside in this collection.
2018-07-25 11:21:14 -05:00
Tim Kourt
2df7f76393 client: rename all local setters to follow nomenclature 2018-07-25 11:17:32 -05:00
Tim Kourt
46a188eb39 client: rename property setters
As the local objects are updated from DBus, the new name is more
appropriate for the purpose.
2018-07-25 11:16:54 -05:00
Tim Kourt
dbe36df5ae client: remove wsc capability indicator 2018-07-25 11:16:33 -05:00
Tim Kourt
a865f60c54 client: add 'Mode' property to device 2018-07-25 11:16:23 -05:00
Denis Kenzior
49d011dabe client: Use connect-hidden instead of create-hidden 2018-07-13 12:36:09 -05:00
Tim Kourt
f545f94581 client: add support for the hidden networks 2018-07-11 17:23:54 -05:00
Antonio Quartulli
8fdce84abb client: add support for WDS Device property 2018-06-13 21:20:44 -05:00