3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 00:49:23 +01:00
Commit Graph

45 Commits

Author SHA1 Message Date
James Prestwood
0e3322b5da client: add net.connman.iwd.BasicServiceSet definition 2024-08-12 12:10:55 -05:00
James Prestwood
a7d8b9a068 client: separate property header and values into two functions
There are certain cases where we may not want to display the entire
header for a given set of properties. For example displaying a list
of proxy interfaces. Add finer control by separating out the header
and the prop/value display into two functions.
2024-08-12 12:10:50 -05:00
James Prestwood
6e2dacb0ec client: Add shared code DBus interface 2023-11-11 10:27:10 -06:00
James Prestwood
fa56dcfe91 client: add STATION_DEBUG_INTERFACE definition 2022-08-11 09:45:48 -05:00
James Prestwood
2c92a5e137 client: support multi-line print for long values
The generic proxy property display was limited to a width for names/value
which makes the output look nice and uniform, but will cut off any values
which are longer than this limit.

This patch adds some logic to detect this, and continue displaying the
value on the next line.

The width arguments were also updated to be unsigned, which allows checking
the length without a cast.
2022-06-29 14:47:22 -05:00
James Prestwood
c631dc88a0 client: add DPP interface 2021-12-20 18:13:44 -06:00
Fangrui Song
fa1c12453b build: treewide: Set retain attribute
LLD 13 and GNU ld 2.37 support -z start-stop-gc which allows garbage
collection of C identifier name sections despite the __start_/__stop_
references. GNU ld before 2015-10 had the behavior as well. Simply set
the retain attribute so that GCC 11 (if configure-time binutils is 2.36
or newer)/Clang 13 will set the SHF_GNU_RETAIN section attribute to
prevent garbage collection.

Without the patch, there are linker errors with -z start-stop-gc
(LLD default) when -Wl,--gc-sections is used:

```
ld.lld: error: undefined symbol: __start___eap
>>> referenced by eap.c
>>>               src/eap.o:(eap_init)
```

The remain attribute will not be needed if the metadata sections are
referenced by code directly.
2021-11-11 14:27:33 -06:00
Denis Kenzior
48b0a95528 client: Print daemon information at startup 2021-10-25 17:24:51 -05:00
James Prestwood
4233e0ca3a client: add AccessPointDiagnostic interface definition 2021-01-20 14:12:17 -06:00
James Prestwood
c15cdbe753 client: add diagnostic interface definition 2021-01-19 13:10:12 -06:00
Marcel Holtmann
152b56a12a treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
Denis Kenzior
ad93ddd580 client: Update to the new wsc api naming 2019-10-24 10:49:13 -05:00
Tim Kourt
a306b79e8f client: Move definition of agent manager interface
Make the definition of the agent manager interface public.
2019-08-15 15:06:59 -05:00
Tim Kourt
f5674a2356 client: Eliminate property_value_options struct
property_value_options is replaced with an array of strings
that represent value options for the properties
2019-04-11 10:53:17 -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
f85685c9e4 client: Add proxy_interface_get_path 2018-09-14 03:47:17 -05:00
Andrew Zaborowski
2e08b3e129 client: Update known-networks commands with DBus API changes 2018-07-31 11:57:52 -05:00
Tim Kourt
6c80e1e277 client: add AdHoc and AccessPoint Dbus interfaces 2018-07-30 09:00:57 -05:00
Tim Kourt
6ba707fca8 client: add completion for proxy property names and values 2018-07-25 16:05:09 -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
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
e71687e901 client: add proxy_interface comparison func. 2018-05-31 19:29:51 -05:00
Tim Kourt
53124e8fff client: abstract the value parameter for completion 2018-05-31 19:29:15 -05:00
Tim Kourt
85a1678147 client: introduce agent 2018-05-03 16:00:23 -05:00
Tim Kourt
5b94af5aab client: display device properties 2017-04-26 18:51:21 -05:00
Tim Kourt
e04df7f282 client: cmd argument completion based on properties 2017-04-26 18:48:25 -05:00
Tim Kourt
7882390e81 client: convert property getters to tostr 2017-04-26 18:47:32 -05:00
Tim Kourt
59a3c848ff client: Change signature of the prop. setters 2017-04-25 17:04:14 -05:00
Tim Kourt
51cfb41005 client: Device command implementations 2017-04-18 17:17:01 -05:00
Tim Kourt
702be02527 client: Proxy method call 2017-04-18 16:43:42 -05:00
Tim Kourt
0ada918031 client: Device show cmd 2017-04-18 12:16:35 -05:00
Tim Kourt
9eccb29ef3 client: Proxy accessors 2017-04-14 16:39:04 -05:00
Tim Kourt
57fed9e5d2 client: Additional interface property fields 2017-04-14 16:31:03 -05:00
Tim Kourt
ef394579b0 client: Add INTERFACE_TYPE 2017-04-13 13:21:28 -05:00
Denis Kenzior
af8afc6814 client: Fix whitespace 2017-04-12 13:06:15 -05:00
Tim Kourt
b32fde13a7 client: Add well known interfaces 2017-04-12 11:38:41 -05:00
Tim Kourt
50c76baed4 client: Interface dependency binding 2017-04-10 20:01:43 -05:00
Tim Kourt
e3f823061e client: Add interface_type_register/unregister 2017-04-10 18:36:16 -05:00
Tim Kourt
5e3a8bcd9d client: Add proxy property handlers 2017-04-10 12:17:39 -05:00
Tim Kourt
a21db05517 client: Proxy interface destruction logic 2017-04-07 17:18:14 -05:00
Tim Kourt
0d7d5a427d client: Proxy interface creation logic 2017-04-07 17:16:24 -05:00
Tim Kourt
a60164f08f client: Add interfaces added/removed hadlers 2017-04-07 17:09:55 -05:00
Tim Kourt
aa5ba1129f client: Create dbus-proxy files
The purpose of these files is to encapsulate all of the dbus
related functionality
2017-03-23 17:31:58 -05:00