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
Tim Kourt
b7c1a068b6
auto-t: Expand "to string" for known network
2016-10-05 18:06:52 -05:00
Tim Kourt
d429d78940
auto-t: Optionally start iwd from python lib
2016-10-05 18:06:52 -05:00
Tim Kourt
5d7f523bbf
t-runner: Make start of IWD instance optional
2016-10-05 18:05:33 -05:00
Mat Martineau
8642b70b82
build: Remove old ELL private header
2016-10-05 14:58:57 -05:00
Andrew Zaborowski
92bc1d6896
scan: Implement scan_oper_class_to_band
...
This function takes an Operating Channel and a Country String to convert
it into a band. Using scan_oper_class_to_band and scan_channel_to_freq,
an Operating Channel, a Country String and a Channel Number together can
be converted into an actual frequency. EU and US country codes based on
wpa_supplicant's tables.
2016-10-04 21:34:24 -05:00
Andrew Zaborowski
859dcf0d59
scan: Implement scan_freq_set_foreach
2016-10-04 15:15:51 -05:00
Andrew Zaborowski
c4941a82a4
scan: Implement scan_channel_to_freq
...
This function does the inverse of scan_freq_to_channel
2016-10-04 15:15:51 -05:00
Andrew Zaborowski
911aebc844
scan: Fix the supported rates factor in bss ranking
2016-10-04 14:20:01 -05:00
Andrew Zaborowski
09861f4ebe
eapol: Free the checksum in eapol_verify_mic
2016-10-04 14:11:42 -05:00
Andrew Zaborowski
721be04f95
eapol: Pass actual PTK size to crypto_derive_pairwise_ptk()
...
It doesn't matter for crypto_derive_pairwise_ptk in non-SHA256 mode
but in the FT PTK derivation function, as well as in SHA256 mode all
bytes of the output do actually change with the PTK size.
2016-10-04 14:10:23 -05:00
Tim Kourt
f93b7dfad1
t-runner: Add symlink for absolute dir. paths
2016-10-03 21:23:21 -05:00
Tim Kourt
7ff9876c47
t-runner: Add python file extensions
2016-10-03 21:23:15 -05:00
Tim Kourt
ab8c9fd6c7
auto-t: remove old 2 AP test
2016-10-03 15:24:52 -05:00
Tim Kourt
b8573ad7ac
auto-t: remove old 1 AP test
2016-10-03 15:24:52 -05:00
Tim Kourt
ef6bef27d5
auto-t: remove old 0 AP test
2016-10-03 15:24:52 -05:00
Tim Kourt
343c05d198
auto-t: remove old python utilities
2016-10-03 15:24:52 -05:00
Tim Kourt
3093e57715
auto-t: Add scan test
2016-10-03 15:24:52 -05:00
Tim Kourt
9e851d7353
auto-t: Add open network connection test
2016-10-03 14:19:50 -05:00
Tim Kourt
fac58dfbb7
auto-t: Add WPA test
2016-10-03 14:18:01 -05:00
Tim Kourt
046c8275f2
auto-t: Add WPA test
2016-10-03 14:17:22 -05:00
Tim Kourt
29ee5d0946
auto-t: Add python test lib for IWD
2016-10-03 14:16:39 -05:00
Tim Kourt
8c281da9eb
doc: Add explanation for abs. path dir. field
2016-10-03 14:09:25 -05:00