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
Marcel Holtmann
5efc88f3af
build: Add systemd service configuration for Ethernet daemon
2018-09-14 14:09:53 +02:00
Marcel Holtmann
a053084228
build: Prepare the systemd configuration option for extensions
2018-09-14 14:07:34 +02:00
Marcel Holtmann
5be8be19a6
doc: Add instructions for 802.1x wired testing
2018-09-14 13:56:20 +02:00
Marcel Holtmann
f81570eb75
build: Enable all optional features during distcheck
2018-09-14 13:53:55 +02:00
Marcel Holtmann
0071ecef8b
build: Add skeleton for Ethernet authentication daemon
2018-09-14 13:47:51 +02:00
Marcel Holtmann
8da33905f4
build: Add configuration for building internal utilities
2018-09-14 13:46:55 +02:00
Marcel Holtmann
f2d4b9afbd
build: Move plugin conditionals closer to the daemon sources
2018-09-14 13:46:15 +02:00
Marcel Holtmann
a01bbcfc19
build: Split noinst_PROGRAMS and libexec_PROGRAMS statements
2018-09-14 13:40:21 +02:00
Marcel Holtmann
b6720d52ac
build: Fix source file entries for hwsim and test-runner
2018-09-14 13:33:08 +02:00
Marcel Holtmann
7531b175c9
build: Fix plugin enabling for oFono and hard coded SIM
2018-09-14 13:29:58 +02:00
Marcel Holtmann
2cb8a59fd9
build: Disable systemd and D-Bus configuration for developer mode
2018-09-14 13:28:41 +02:00
Tim Kourt
83e66b5831
tools: add needed CONFIG_SECURITYFS option
...
Add CONFIG_SECURITYFS as a required configuration option
for the kernels to be used with test-runner.
2018-09-13 16:42:23 -05:00
James Prestwood
60211f9ae8
docs: added hostapd config options for SAE
2018-09-13 16:42:09 -05:00
Denis Kenzior
b181604c18
main: Don't init nl80211 until dbus name is owned
2018-09-11 20:06:00 -05:00
Denis Kenzior
95896c10ff
device: Fix crashes when outside of Station mode
2018-09-10 20:01:35 -05:00
Denis Kenzior
0a42f63d42
station: Update GetOrderedNetworks API implementation
...
The Station interface GetOrderedNetworks signature now matches the API
documentation. Device.GetOrderedNetworks still uses the legacy
signature.
2018-09-08 10:34:52 -05:00
Andrew Zaborowski
854ce2b062
station: Emit PropertiesChanged on the Station interface too
2018-09-07 21:23:41 -05:00
Tim Kourt
18aa744099
eap: clarify warning message
2018-09-07 12:31:03 -05:00
Tim Kourt
bb5997c4ea
peap: fix typo and add labels
2018-09-07 12:30:05 -05:00
Tim Kourt
2735e32b10
peap: handle redundant usage of the L flag
...
Some of the PEAP server implementations set the L flag along with
redundant TLS Message Length field for the un-fragmented packets.
This patch allows to identify and handle such occasions.
2018-09-07 12:26:23 -05:00
Tim Kourt
958bd12624
peap: accept EAP type 33 as termination mechanism for PEAPv1
...
EAP Extensions type 33 is used in PEAPv0 as a termination
mechanism for the tunneled EAP methods. In PEAPv1
the regular EAP-Success/Failure packets must be used to terminate
the method. Some of the server implementations of PEAPv1
rely on EAP Extensions method to terminate the conversation
instead of the required Success/Failure packets. This patch
makes iwd interoperable with such devices.
2018-09-06 18:23:24 -05:00
James Prestwood
397bf9c0bd
crypto: pwd: sae: Made H function common
...
The "H" function used by SAE and EAP-PWD was effectively the same
function, EAP-PWD just used a zero key for its calls. This removes
the duplicate implementations and merges them into crypto.c as
"hkdf_256".
Since EAP-PWD always uses a zero'ed key, passing in a NULL key to
hkdf_256 will actually use a 32 byte zero'ed array as the key. This
avoids the need for EAP-PWD to store or create a zero'ed key for
every call.
Both the original "H" functions never called va_end, so that was
added to hkdf_256.
2018-09-05 11:12:54 -05:00
Denis Kenzior
5db022041c
station: Fix up some printf type inconsistencies
...
The ifindex as reported by netdev is unsigned, so make sure that it is
printed as such. It is astronomically unlikely that this causes any
actual issues, but lets be paranoid.
2018-09-05 11:09:35 -05:00
Denis Kenzior
0f34e1a0c1
station: Expose ConnectedNetwork, Scanning and State
...
These properties will temporarily be exposed on both interfaces
until tools such as test runner, iwctl and NetworkManager/ConnMan
are ported over.
2018-09-05 11:09:35 -05:00
Denis Kenzior
9ac46e900e
auto-t: Use Station interface for methods
2018-09-05 11:09:35 -05:00
Denis Kenzior
2f2ec71a6c
station: Expose Scan, Disconnect, GetOrderedNetworks
...
These methods will temporarily be exposed on both interfaces until tools
such as test runner, iwctl and NetworkManager/ConnMan are ported over.
2018-09-05 11:09:35 -05:00
Denis Kenzior
b650a5d492
station: Move ConnectHiddenNetwork to station
2018-09-05 11:09:35 -05:00
Denis Kenzior
f61747f011
device: Allow switching mode even if station is busy
...
Since device will no longer be aware of what is happening on the station
interface, we should allow switching modes in any situation
2018-09-04 23:57:14 -05:00
Denis Kenzior
25f36f5644
station: Move remaining connect/re-connect/roam logic
2018-09-04 23:57:14 -05:00
Denis Kenzior
0912a6afb8
auto-t: Convert RSSI agent test to the new API
2018-09-04 23:57:14 -05:00
Denis Kenzior
df448dde6f
test: Add Station interface to monitor-iwd
2018-09-04 23:57:14 -05:00
Denis Kenzior
cdfcb902e4
station: move signal level agent logic from device
2018-09-04 23:57:14 -05:00
Denis Kenzior
ac83a35b97
station: Register skeleton dbus interface
2018-09-04 23:57:14 -05:00
Denis Kenzior
f3d326b0fd
adhoc: Fix comment
2018-09-04 23:57:14 -05:00
Denis Kenzior
4c8b39da3b
station: Move device_disconnect_event to station
2018-09-04 23:57:14 -05:00
Denis Kenzior
d8617a5000
station: Move device_disassociate to station
2018-09-04 23:57:14 -05:00
Denis Kenzior
520d3ad6b2
station: move GetSortedNetworks implementation
2018-09-04 23:57:14 -05:00
Denis Kenzior
77b006b4e9
station: Move dbus disconnection logic from device
2018-09-04 23:57:14 -05:00
Denis Kenzior
12ce9debec
station: Move device_disconnect to station
2018-09-04 23:57:14 -05:00
Denis Kenzior
ee91cfcb7e
station: Move hidden network code from device
2018-09-04 23:57:14 -05:00
Denis Kenzior
e65c3e63be
station: Move state reset code from device
2018-09-04 23:57:14 -05:00
Denis Kenzior
f8b724d3ba
wsc/device: Use station_set_autoconnect
2018-09-04 23:57:14 -05:00
Denis Kenzior
b49ec9461b
station: move the remaining scanning code from device
2018-09-04 23:57:14 -05:00