3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 11:52:34 +01:00
iwd/src
Andrew Zaborowski 2c88c37f99 netdev: Cancel the CMD_CONNECT genl command on disconnect
CMD_DISCONNECT fails on some occasions when CMD_CONNECT is still
running.  When this happens the DBus disconnect command receives an
error reply but iwd's device state is left as disconnected even though
there's a connection at the kernel level which times out a few seconds
later.  If the CMD_CONNECT is cancelled I couldn't reproduce this so far.

src/network.c:network_connect()
src/network.c:network_connect_psk()
src/network.c:network_connect_psk() psk:
69ae3f8b2f84a438cf6a44275913182dd2714510ccb8cbdf8da9dc8b61718560
src/network.c:network_connect_psk() len: 32
src/network.c:network_connect_psk() ask_psk: false
src/device.c:device_enter_state() Old State: disconnected, new state:
connecting
src/scan.c:scan_notify() Scan notification 33
src/device.c:device_netdev_event() Associating
src/netdev.c:netdev_mlme_notify() MLME notification 60
MLME notification is missing ifindex attribute
src/device.c:device_dbus_disconnect()
src/device.c:device_connect_cb() 6, result: 5
src/device.c:device_enter_state() Old State: connecting, new state:
disconnecting
src/device.c:device_disconnect_cb() 6, success: 0
src/device.c:device_enter_state() Old State: disconnecting, new state:
disconnected
src/scan.c:scan_notify() Scan notification 34
src/netdev.c:netdev_mlme_notify() MLME notification 19
src/netdev.c:netdev_mlme_notify() MLME notification 60
MLME notification is missing ifindex attribute
src/netdev.c:netdev_mlme_notify() MLME notification 37
src/netdev.c:netdev_authenticate_event()
src/scan.c:get_scan_callback() get_scan_callback
src/scan.c:get_scan_done() get_scan_done
src/netdev.c:netdev_mlme_notify() MLME notification 60
MLME notification is missing ifindex attribute
src/netdev.c:netdev_mlme_notify() MLME notification 19
MLME notification is missing ifindex attribute
src/netdev.c:netdev_mlme_notify() MLME notification 38
src/netdev.c:netdev_associate_event()
src/netdev.c:netdev_mlme_notify() MLME notification 46
src/netdev.c:netdev_connect_event()

<delay>

src/netdev.c:netdev_mlme_notify() MLME notification 60
MLME notification is missing ifindex attribute
src/netdev.c:netdev_mlme_notify() MLME notification 20
MLME notification is missing ifindex attribute
src/netdev.c:netdev_mlme_notify() MLME notification 20
src/netdev.c:netdev_mlme_notify() MLME notification 39
src/netdev.c:netdev_deauthenticate_event()
2016-08-05 11:07:29 -05:00
..
agent.c agent: Add reason parameter to Cancel 2016-06-10 09:26:56 -05:00
agent.h agent: Add reason parameter to Cancel 2016-06-10 09:26:56 -05:00
backtrace.c main: Add backtracing support 2016-04-13 14:08:10 -05:00
backtrace.h main: Add backtracing support 2016-04-13 14:08:10 -05:00
common.c common: Add security_from_str 2016-06-08 11:08:10 -05:00
common.h common: Add security_from_str 2016-06-08 11:08:10 -05:00
crypto.c crypto: Prepare for SHA256 based PTK derivation 2016-02-10 16:54:55 -06:00
crypto.h crypto: Prepare for SHA256 based PTK derivation 2016-02-10 16:54:55 -06:00
dbus.c main: Restore agent_exit call before main loop exit 2016-05-25 09:57:58 -05:00
dbus.h wiphy: Add Adapter objects above Device 2016-07-13 10:32:49 -05:00
device.c device: Modify disconnect_cb logic 2016-08-04 12:22:43 -05:00
device.h device: Add public device_disconnect function 2016-07-07 12:26:16 -05:00
eap-tls.c eap-tls: Convert to dynamic method registration 2015-11-02 21:51:07 -06:00
eap-ttls.c eap-ttls: Convert to dynamic method registration 2015-11-02 21:51:07 -06:00
eap.c eap-md5: Convert to dynamic method registration 2015-11-02 21:51:07 -06:00
eap.h eap: Add dynamic EAP method registration 2015-11-02 21:51:07 -06:00
eapol.c eapol: warn if state machine list isn't empty 2016-07-20 15:34:21 -05:00
eapol.h netdev: Move eapol_read to eapol.c 2016-06-28 18:18:47 -05:00
ie.c ie: Add ie_tlv_encapsulate_wsc_payload 2015-09-10 22:30:43 -05:00
ie.h ie: Add ie_tlv_encapsulate_wsc_payload 2015-09-10 22:30:43 -05:00
iwd.conf iwd.conf: Punch hole for agent 2015-03-19 23:57:36 -05:00
iwd.h device: Move device_list management out of wiphy.c 2016-06-16 16:37:14 -05:00
kdbus.c dbus: Drop unused linux/kdbus.h src/kdbus.c 2016-04-04 14:27:26 -05:00
kdbus.h dbus: Drop unused linux/kdbus.h src/kdbus.c 2016-04-04 14:27:26 -05:00
knownnetworks.c network: Disconnect from known network in Forget() 2016-07-07 12:26:16 -05:00
knownnetworks.h knownnetworks: Implement KnownNetworks interface 2016-06-21 11:41:37 -05:00
main.c netdev: Reset interface state on init and exit 2016-07-13 12:36:35 -05:00
mpdu.c mpdu: fix transaction_sequence byte-ordering 2015-01-22 12:41:10 -06:00
mpdu.h wiphy: Move reason codes to mpdu.h 2015-03-29 20:27:57 -05:00
netdev.c netdev: Cancel the CMD_CONNECT genl command on disconnect 2016-08-05 11:07:29 -05:00
netdev.h netdev: Add a NETDEV_RESULT_ABORTED 2016-08-01 13:18:24 -05:00
network.c network: Disconnect from known network in Forget() 2016-07-07 12:26:16 -05:00
network.h network: track whether network is known 2016-06-21 11:36:31 -05:00
rfkill.c rfkill: Fix wiphy ID lookup 2016-07-20 15:29:39 -05:00
rfkill.h Add rfkill enable/disable and watch support 2016-07-07 13:21:08 -05:00
scan.c scan: Add a trigger callback to scan_periodic_start 2016-06-27 20:27:12 -05:00
scan.h scan: Add a trigger callback to scan_periodic_start 2016-06-27 20:27:12 -05:00
storage.c storage: Return const char * 2016-06-10 09:59:59 -05:00
storage.h storage: Return const char * 2016-06-10 09:59:59 -05:00
util.c util: Add util_address_to_string 2016-06-06 18:23:17 -05:00
util.h util: Add util_address_to_string 2016-06-06 18:23:17 -05:00
wiphy.c wiphy: Add a Model and Vendor properties 2016-08-04 12:35:20 -05:00
wiphy.h wiphy: Add Adapter objects above Device 2016-07-13 10:32:49 -05:00
wsc.c wsc: Remove WSC dbus interface when device disappears 2016-07-14 09:56:40 -05:00
wsc.h wsc: Add wsc_init and wsc_exit 2015-09-28 20:41:00 -05:00
wscutil.c wsc: Add wsc_uuid_from_addr 2015-09-18 17:16:09 -05:00
wscutil.h wsc: Add wsc_uuid_from_addr 2015-09-18 17:16:09 -05:00