Daniel Wagner
47d158393d
doc: Add Adapter property to D-Bus API
...
This allows to walk the tree in reverse order.
2016-11-02 09:57:11 -05:00
Rahul Rahul
5e0b24dcb2
netdev: implement netdev_set_igtk
2016-10-31 09:53:04 -05:00
Andrew Zaborowski
c3efd80dd0
unit: Update eapol_sm_set_ap/own_rsn/wpa parameters
2016-10-29 23:09:15 -05:00
Andrew Zaborowski
424ceb58a3
eapol: Drop len parameter to eapol_sm_set_rsn/wpa
...
The len parameter was only used so it could be validated against ie[1],
but since it was not checked to be > 2, it must have been validated
already, the check was redundant. In any case all users directly
passed ie[1] as len anyway. This makes it consistent with the ie
parsers and builders which didn't require a length.
2016-10-29 23:09:10 -05:00
Andrew Zaborowski
b29f333bb4
scan: Parse the Country String IE
...
and save to struct scan_bss
2016-10-29 22:58:36 -05:00
Andrew Zaborowski
1720edfc0e
scan: Save Neighbor Report capability bit in bss scan entry
2016-10-29 22:57:07 -05:00
Andrew Zaborowski
da435326aa
scan: Save the MD IE in bss scan entry
2016-10-29 22:53:40 -05:00
Andrew Zaborowski
e4c168cc3b
ie: Fast BSS Transition IE utilities
2016-10-29 22:53:14 -05:00
Andrew Zaborowski
b20f1a2d50
ie: Mobility Domain IE utilities
2016-10-28 11:28:21 -05:00
Denis Kenzior
90ea26bec5
netdev: Squash kernel warning
...
netlink: 16 bytes leftover after parsing attributes in
process `iwd'.
2016-10-28 09:27:02 -05:00
Rahul Rahul
c16ae02056
eapol: refactor eapol_find_kde and add install_igtk
2016-10-26 16:34:52 -05:00
Denis Kenzior
318d3a2d35
scan: Refactor bss_get_supported_ciphers
...
In many cases the pairwise and group cipher information is not the only
information needed from the BSS RSN/WPA elements in order to make a
decision. For example, th MFPC/MFPR bits might be needed, or
pre-authentication capability bits, group management ciphers, etc.
This patch refactors bss_get_supported_ciphers into the more general
scan_bss_get_rsn_info function
2016-10-24 22:12:25 -05:00
Denis Kenzior
bdd676a23a
wiphy: Add support for BIP in wiphy_select_cipher
2016-10-24 21:29:37 -05:00
Denis Kenzior
2899315828
wiphy: Rename pairwise_ciphers to supported_ciphers
...
Since the ciphers stored here are not only for pairwise, but also group
and management ciphers.
2016-10-24 21:29:03 -05:00
Denis Kenzior
13f83fda81
wiphy: Also print whether we support BIP
2016-10-24 21:25:04 -05:00
Tim Kourt
85db443b37
eap-wsc: Use header length constant for readability
2016-10-24 11:21:01 -05:00
Tim Kourt
da433a1c56
eap-wsc: Clean up packet ptr ops
2016-10-24 11:18:53 -05:00
Tim Kourt
79d5353531
src: Introduce iwd.conf
2016-10-24 11:10:26 -05:00
Tim Kourt
884ef2e15f
src: Rename dbus config. file
...
Rename dbus config. file to avoid future configuration with the IWD
config. file.
2016-10-24 11:10:23 -05:00
Marcel Holtmann
88909947e2
build: Remove support for usage of kdbus
2016-10-16 19:41:27 +02:00
Denis Kenzior
cc2052d33e
eapol: In case of timeout, mark as NULL
2016-10-15 16:26:41 -05:00
Andrew Zaborowski
bf65ce9096
unit: Update eapol and WSC tests for new eapol calls
2016-10-15 16:26:41 -05:00
Andrew Zaborowski
c548898635
eapol: Cache early EAPoL frames until ready to process
...
Split eapol_start into two calls, one to register the state machine so
that the PAE read handler knows not to discard frames for that ifindex,
and eapol_start to actually start processing the frames. This is needed
because, as per the comment in netdev.c, due to scheduling the PAE
socket read handler may trigger before the CMD_CONNECT event handler,
which needs to parse the FTE from the Associate Response frame and
supply it to the eapol SM before it can do anything with the message 1
of 4 of the FT handshake.
Another issue is that depending on the driver or timing, the underlying
link might not be marked as 'ready' by the kernel. In this case, our
response to Message 1 of the 4-way Handshake is written and accepted by
the kernel, but gets dropped on the floor internally. Which leads to
timeouts if the AP doesn't retransmit.
2016-10-15 16:25:37 -05:00
Tim Kourt
c35366fc38
t-runner: Move chdir into the earlier stages
2016-10-12 10:31:32 -05:00
Tim Kourt
60c4f0bc0d
t-runner: Allow relative paths in abs dir mapping
2016-10-12 10:31:11 -05:00
Tim Kourt
defc9600c6
auto-t: Add EAP-TTLS connection test
2016-10-12 10:28:45 -05:00
Tim Kourt
3ec245b988
auto-t: Add EAP-TLS connection test
2016-10-12 10:28:45 -05:00
Tim Kourt
e0e1091495
auto-t: Copy certs into common location
2016-10-12 10:28:45 -05:00
Tim Kourt
e29b193195
t-runner: Remove chdirs before exec. of hwsim
2016-10-12 10:27:17 -05:00
Tim Kourt
52f5d134de
auto-t: Add disconnect by AP test
2016-10-12 10:14:28 -05:00
Tim Kourt
91059e68cd
auto-t: Add functions to hostapd_cli
2016-10-12 10:14:28 -05:00
Denis Kenzior
d8cb8d7810
eapol: Default to EAPoL 2001 if unset
...
If protocol auto-detection is enabled (e.g. protocol_version is zero),
default to EAPOL 2001 version for EAPOL-Start messages.
2016-10-11 02:33:46 -05:00
Denis Kenzior
d1d08a33ab
wsc: Treat disconnect_by_ap as handshake_failed
2016-10-11 01:54:32 -05:00
Denis Kenzior
eaee379e53
netdev: Allow disconnect_by_ap to be re-entrant
2016-10-11 01:53:59 -05:00
Denis Kenzior
30b7b46aa1
wsc: Tell eapol that EAPOL-Start might be needed
2016-10-11 01:36:59 -05:00
Denis Kenzior
91d35987fd
eapol: Add provision to use EAPOL-Start
2016-10-11 01:36:48 -05:00
Denis Kenzior
a16abfdc92
network: Don't fail if network config file exists
2016-10-10 15:59:36 -05:00
Denis Kenzior
e7e6326179
device: honor autoconnect in device_disassociated
2016-10-10 15:38:03 -05:00
Denis Kenzior
8242e9b9aa
device: on connect error use network_connect_failed
2016-10-10 14:53:01 -05:00
Denis Kenzior
63e11979ee
network: free/zero psk in network_settings_close
2016-10-10 14:52:43 -05:00
Marcel Holtmann
e72b2f8daf
util: Include sys/uio.h for struct iovec
2016-10-10 20:42:48 +02:00
Tim Kourt
7c8c2dbb3b
auto-t: Add WPS test
2016-10-05 18:08:43 -05:00
Tim Kourt
95079dabab
auto-t: Create hostapd_cli py lib
2016-10-05 18:08:43 -05:00
Tim Kourt
2ae5947a36
doc: Update hostapd config. requirements
2016-10-05 18:08:43 -05:00
Tim Kourt
201574bdf1
auto-t: Add WPS API to device
2016-10-05 18:08:43 -05:00
Tim Kourt
20ca7ac841
auto-t: Add test for the known networks
2016-10-05 18:06:52 -05:00
Tim Kourt
ec78bb0634
doc: Document start_iwd field inside of hw.conf
2016-10-05 18:06:52 -05:00
Tim Kourt
135095b6a3
auto-t: Add prefix for output formating
2016-10-05 18:06:52 -05:00
Tim Kourt
21b42a0ff4
auto-t: Convert net type to str for dbus
2016-10-05 18:06:52 -05:00
Tim Kourt
cb114a649f
auto-t: switch to 'get' for the optional fields
2016-10-05 18:06:52 -05:00