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

2293 Commits

Author SHA1 Message Date
Tim Kourt
8cdfd1e460 client: add commands for known networks 2017-04-21 15:00:57 -05:00
Tim Kourt
0be4a82946 client: Remove excluded client/device.h 2017-04-21 15:00:57 -05:00
Tim Kourt
d35322d347 client: Introduce known networks interface 2017-04-21 15:00:57 -05:00
Tim Kourt
1ef601dcf8 client: Handle failed retrieval of the objects 2017-04-21 15:00:57 -05:00
Andrew Zaborowski
48966f57e8 eapol: Only send EAPOL-Start on step 1/4 if really needed
Currently we'd send EAPOL-Start whenever EAP was configured and we
received an EAPOL-Key before EAP negotiation.  Instead only do that if
we know we can't respond to the 4-Way handshake because we don't have
a PMK yet or the PMKID doesn't match.  Require a PMKID in step 1/4 if
we'd sent a list of PMKIDs in our RSNE.
2017-04-21 14:16:25 -05:00
Tim Kourt
f53cb22b7e client: Add display refresh 2017-04-21 12:56:46 -05:00
Tim Kourt
20588ff778 client: completion for device commands 2017-04-21 12:56:46 -05:00
Tim Kourt
02b52adf61 client: Entity argument completion 2017-04-21 12:56:46 -05:00
Tim Kourt
c85ea2f924 client: Command family argument completion 2017-04-21 12:56:46 -05:00
Tim Kourt
34797796ed client: Introduce command completion 2017-04-21 12:56:46 -05:00
Tim Kourt
107cd45e92 client: Enable cmd prompt on dbus OM callback 2017-04-20 17:32:33 -05:00
Tim Kourt
1e6d7006f8 client: Add prompt for disabled input 2017-04-20 17:32:33 -05:00
Tim Kourt
0ee51c9dab client: readline callback 2017-04-20 17:32:33 -05:00
Tim Kourt
2d567414f1 client: Change main exit to quit 2017-04-20 17:32:33 -05:00
Tim Kourt
c3aa97eec3 client: Remove display_types queue 2017-04-20 17:32:33 -05:00
Tim Kourt
2267d03bbb client: Fix naming 2017-04-20 17:32:33 -05:00
Tim Kourt
a77c55f34a doc: add hostapd libnl32 option 2017-04-20 12:46:05 -05:00
Tim Kourt
8ef5155f49 doc: Update kernel build instructions 2017-04-20 12:46:02 -05:00
Tim Kourt
b9f276842f doc: hostapd fast roaming options 2017-04-19 17:44:39 -05:00
Tim Kourt
19e7ce2f30 eap: Fix whitespace 2017-04-18 17:44:25 -05:00
Tim Kourt
a5db4630ec client: Introduce network interface 2017-04-18 17:21:48 -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
b3772259b5 client: Introduce device commands 2017-04-18 12:11:06 -05:00
Andrew Zaborowski
a01e57d1b2 monitor: Receive Preauthentication frames and log them
Use the same packet filter as in eapol.c
2017-04-18 11:43:59 -05:00
Andrew Zaborowski
e05bfc5f98 unit: Update tests to pass ETH_P_PAE to __eapol_rx_packet 2017-04-18 11:43:19 -05:00
Andrew Zaborowski
c0ae9e3577 eapol: Receive frames with the Preauthentication ethertype
Modify the packet filter to also accept frames with ethertype of 0x88c7
and pass the ethertype value to __eapol_rx_packet so it can filter out
the frames where this value doesn't match the sm->preauth flag.
2017-04-18 11:42:45 -05:00
Andrew Zaborowski
0a4bd616c2 eapol: Use the Preauthentication ethertype in eapol_write
Select the right ether type for the eapol frame in eapol_write and pass
it to pae_write.
2017-04-18 11:41:24 -05:00
Andrew Zaborowski
4e9ed2d686 eapol: Add eapol_start_preauthentication
Add a wrapper for eapol_start that sets the sm->preauth flag and sends
the EAPOL-Start frame immediately to skip the timeout since we know
that the supplicant has to initiate the authentication.
2017-04-18 11:09:26 -05:00
Andrew Zaborowski
f340ea510c handshake: Add handshake_util_find_pmkid_kde
Add a function that finds the PMKID kde in an RSNE's Key Data field
similar to handshake_util_find_gtk_kde.
2017-04-17 14:28:09 -05:00
Andrew Zaborowski
b175e7ae06 handshake: Add handshake_state_get_pmkid
Returns the PMKID for the current PMK (configured through
handshake_state_set_pmk for PSK, created through EAP or from
pre-authentication)
2017-04-17 14:26:56 -05:00
Andrew Zaborowski
0f6685bf45 crypto: Add crypto_derive_pmkid
Calculates the PMKID for given PMK
2017-04-17 14:24:02 -05:00
Tim Kourt
2b4cb5d586 client: Device basic ops 2017-04-14 17:49:59 -05:00
Tim Kourt
723040305c client: Device properties 2017-04-14 17:49:08 -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
Mat Martineau
0e108f9727 monitor: Remove GENL_ID_GENERATE
Kernel v4.10 and later no longer export GENL_ID_GENERATE (which was
defined as 0). iwd was using this symbol to check for unmodified local
values rather than to ask for a dynamically generated netlink ID anyway,
so it makes sense to use the value 0 directly. This will work with
kernels before and after the GENL_ID_GENERATE change.
2017-04-14 15:52:11 -05:00
Tim Kourt
9a8ffc473a client: Add device interface 2017-04-13 13:22:00 -05:00
Tim Kourt
ef394579b0 client: Add INTERFACE_TYPE 2017-04-13 13:21:28 -05:00
Tim Kourt
6c2eae6999 client: Add COMMAND_FAMILY 2017-04-13 13:21:19 -05:00
Tim Kourt
dcf2a0cae5 client: Implement command execution 2017-04-13 13:20:58 -05:00
Tim Kourt
6385116cc8 client: Add command into main 2017-04-12 16:21:29 -05:00
Tim Kourt
966a8effd1 client: Define command refresh interfaces 2017-04-12 15:33:26 -05:00
Tim Kourt
7c3ed0c61d client: Command display functions 2017-04-12 15:33:00 -05:00
Tim Kourt
17569c8d8b client: define basic command ops 2017-04-12 15:32:17 -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
4fc6a3038a client: Allow command registration 2017-04-11 16:48:15 -05:00
Tim Kourt
db679448bc client: Introduce command files
The purpose of these files is to encapsulate all of
the command processing functionality
2017-04-11 16:48:15 -05:00