3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00
Commit Graph

2104 Commits

Author SHA1 Message Date
Tim Kourt
e04df7f282 client: cmd argument completion based on properties 2017-04-26 18:48:25 -05:00
Tim Kourt
7882390e81 client: convert property getters to tostr 2017-04-26 18:47:32 -05:00
Andrew Zaborowski
f5036d7e1f autotests: Always wait for DBus name in IWD.__init__
Sometimes iwd will take a while to register its dbus name.  The python
class already waits for the name to appear on dbus if iwd is being
launched from python, do this also if iwd was already launched by the
test-runner.  My use case was when running iwd under valgrind in which
case it runs slower.
2017-04-26 14:44:47 -05:00
Tim Kourt
0c64cc226a client: Handle empty entity field 2017-04-26 14:36:25 -05:00
Tim Kourt
bfbffa1111 client: Add 'forget' cmd for known network 2017-04-26 14:36:25 -05:00
Tim Kourt
e0117febd5 client: Introduce cmd execution status 2017-04-26 14:36:25 -05:00
Tim Kourt
7a9f72018a client: Add 'list' cmd for known networks 2017-04-26 14:36:25 -05:00
Tim Kourt
59a3c848ff client: Change signature of the prop. setters 2017-04-25 17:04:14 -05:00
Tim Kourt
8f632633c1 client: Add NULL check for ops 2017-04-25 12:37:24 -05:00
Tim Kourt
4b4c7217fb client: Add ops to known networks 2017-04-21 15:02:17 -05:00
Tim Kourt
21687e9a81 client: Argument completion for known-networks 2017-04-21 15:01:02 -05:00
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