Commit Graph

2938 Commits

Author SHA1 Message Date
Marcel Holtmann 05ccd73818 wired: Add concept of D-Bus application and async shutdown handling 2018-09-16 20:48:32 +02:00
Marcel Holtmann 8bc97d7caa wired: Add accessor for bus connection object 2018-09-16 00:45:59 +02:00
Marcel Holtmann a924de37c3 wired: Return bus connection object via ready and shutdown callbacks 2018-09-15 21:52:38 +02:00
Marcel Holtmann 975e3714b8 wired: Move system setup after aquiring bus name 2018-09-15 21:40:32 +02:00
Denis Kenzior 405de7019c client: Unify device sibling interface arg completion
Station, WSC, Ad-Hoc and AP family_arg_completion functions were
identical except for which commands they were referencing and the
interface type they were interested in.  Combine all these into a single
function.
2018-09-14 22:59:19 -05:00
Denis Kenzior d347100ac2 device: Remove the rest of the legacy Device properties 2018-09-14 21:53:01 -05:00
Denis Kenzior 42e5dbf6f8 device: Remove legacy GetOrderedNetworks 2018-09-14 21:49:13 -05:00
James Prestwood 96330fd75a auto-t: fix OrderedNetwork to work with station API 2018-09-14 21:45:59 -05:00
Denis Kenzior 304d328bf3 client: Move Device.GetOrderedNetworks to station 2018-09-14 21:45:08 -05:00
Denis Kenzior 7e792071d3 client: Add network_get_name 2018-09-14 21:44:42 -05:00
Denis Kenzior b64ba2ba0e client: Add network_get_type 2018-09-14 21:44:22 -05:00
Denis Kenzior 8fd8852bf1 client: Move device connect method to station 2018-09-14 21:33:40 -05:00
Denis Kenzior 86e8b8c322 client: Move Device.ConnectHiddenNetwork to station 2018-09-14 21:27:55 -05:00
Denis Kenzior b2e0a82225 device: Remove Scan method 2018-09-14 21:21:47 -05:00
Denis Kenzior 189a96e91a client: Move Device.Scan method to Station 2018-09-14 21:20:33 -05:00
Denis Kenzior c47db2635f device: Remove Disconnect method 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
Marcel Holtmann 247b2ccc5c wired: Move D-Bus setup into separate source file 2018-09-14 23:29:46 +02:00
Marcel Holtmann 804ce5944b dbus: Make the g_dbus global variable static 2018-09-14 23:01:32 +02:00
Marcel Holtmann 78dd20131a wired: Fix issue with destroying EAPoL seesions list on IFF_LOWER_UP 2018-09-14 22:35:36 +02:00
Marcel Holtmann f8b2610046 wired: Start and stop EAPoL session based on IFF_LOWER_UP signalling 2018-09-14 22:29:38 +02:00
Marcel Holtmann ee755490c1 wired: Add support for D-Bus setup and requesting well known name 2018-09-14 21:16:50 +02: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
Marcel Holtmann b8d45a440a wired: Add initial version of Ethernet authentication daemon 2018-09-14 19:49:10 +02:00
James Prestwood dd51434560 auto-t: Fix testAP
Fixed two issues:

1. There is no longer a dbus exception when switching to AP mode when
   connected in station mode so that assert was removed.

2. After the device/station change the timing must have changed, causing
   autoconnect to take over before an explicit connect call. Added a
   psk provisioning file that disables autoconnect.
2018-09-14 01:38:45 -05:00
Marcel Holtmann a160989e65 build: Create define for Ethernet daemon storage directory 2018-09-14 18:02:13 +02:00
Marcel Holtmann 2606bc73ad build: Add DAEMON_ prefix to CONFIGDIR and STORAGEDIR 2018-09-14 17:58:44 +02:00
Marcel Holtmann 1e37ef31fe eapol: Move eapol_key_validate() into eapolutil helper 2018-09-14 17:31:42 +02:00
Marcel Holtmann c40be7a7d5 monitor: Add EAP dummy method to keep linker happy 2018-09-14 17:12:47 +02:00
Marcel Holtmann 4a345511a7 wired: Add skeleton for Ethernet device handling and EAP setup 2018-09-14 16:41:05 +02:00
Marcel Holtmann fd181839f7 build: Introduce $(eap_sources) for splitting EAP from daemons 2018-09-14 16:35:04 +02:00
Marcel Holtmann 1160efbaae README: Add information about configuration options 2018-09-14 16:22:03 +02:00
Marcel Holtmann 6d1f1331e6 build: Fix simple spelling mistake 2018-09-14 16:09:39 +02:00
Marcel Holtmann 463eaa0fa9 build: Change order of systemd-service and dbus-policy options 2018-09-14 15:59:47 +02:00
Marcel Holtmann ea20559599 tools: Change net.connman.iwd.hwsim to net.connman.hwsim 2018-09-14 15:27:57 +02:00
Marcel Holtmann 502aac073f tools: Add configure option and D-Bus policy file for hwsim utility 2018-09-14 15:24:15 +02:00
Marcel Holtmann 5126459ecc main: Fix the order of --help and -h option handling 2018-09-14 15:19:06 +02:00
Marcel Holtmann b88388b172 hwsim: Fix missing handling of help option -h 2018-09-14 15:17:14 +02:00
Marcel Holtmann c9b460f5cc build: Add D-Bus policy for Ethernet authentication daemon 2018-09-14 15:07:30 +02:00
Marcel Holtmann 0c5b6e4da3 dbus: Fix policy entries and add access for group wheel 2018-09-14 15:04:15 +02:00
Marcel Holtmann 706f0775c3 build: Add option to disable the wireless daemon binary 2018-09-14 14:36:07 +02:00
Marcel Holtmann a3454f5d82 build: Move readline check for client to right location 2018-09-14 14:27:26 +02:00