hostap/src/ap
Jouni Malinen ceb997f394 Fix ap_sta_disconnect() to clear EAPOL/WPA authenticator state
Number of places in hostapd use ap_sta_disconnect() instead of
ap_sta_disassociate() or ap_sta_deauthenticate(). There are some
differences between these functions, e.g., in the area how quickly
the EAPOL state machines get deinitialized. This can result in
somewhat unexpected events since the EAPOL/WPA authenticator
state machines could remain running after deauthentication.

Address this by forcing EAPOL/WPA authenticator state machines
to disabled state whenever ap_sta_disconnect() is called instead
of waiting for the deauthentication callback or other timeout
to clear the STA.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2012-01-25 22:32:58 +02:00
..
accounting.c Remove references to time_t/time() 2011-09-12 22:14:30 +03:00
accounting.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ap_config.c Add MSK dump mechanism into hostapd RADIUS server for testing 2011-12-09 00:15:04 +02:00
ap_config.h hostapd: Make inactivity polling configurable 2011-12-25 20:57:01 +02:00
ap_drv_ops.c AP: Pass station's WMM configuration to driver wrappers 2011-12-17 12:38:06 +02:00
ap_drv_ops.h AP: Pass station's WMM configuration to driver wrappers 2011-12-17 12:38:06 +02:00
ap_list.c Remove references to time_t/time()/random() 2011-04-11 18:33:48 +03:00
ap_list.h Remove references to time_t/time()/random() 2011-04-11 18:33:48 +03:00
ap_mlme.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
ap_mlme.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
authsrv.c Add MSK dump mechanism into hostapd RADIUS server for testing 2011-12-09 00:15:04 +02:00
authsrv.h Move authentication server setup into separate file 2009-12-25 13:43:43 +02:00
beacon.c P2P: Use Device ID attribute to filter Probe Request frames as GO 2012-01-08 09:35:33 -08:00
beacon.h Start deprecating various AP mode driver_ops 2011-10-17 18:35:25 +03:00
ctrl_iface_ap.c P2P: Add P2P configuration and callbacks in hostapd code 2010-09-09 07:17:17 -07:00
ctrl_iface_ap.h Move ctrl_iface_ap.c into src/ap 2009-12-25 12:25:55 +02:00
drv_callbacks.c Lower RX_MGMT driver event debug level for Beacon frames 2011-12-18 21:48:25 +02:00
hostapd.c AP: Convert some wpa_printf to wpa_msg/dbg 2011-12-10 16:28:14 +02:00
hostapd.h P2P: Maintain a list of P2P Clients for persistent group on GO 2011-12-22 22:47:41 +02:00
hw_features.c Tell user why a channel cannot be used in AP mode 2011-12-10 16:18:50 +02:00
hw_features.h Fix no-NEED_AP_MLME build 2011-12-04 12:46:01 +02:00
iapp.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
iapp.h Move iapp.c into src/ap 2009-12-25 13:04:45 +02:00
ieee802_1x.c AP: Improve disconnect and timeout related logging 2011-12-10 16:34:52 +02:00
ieee802_1x.h AP: Add explicit EAPOL TX status event 2011-11-19 13:00:30 +02:00
ieee802_11.c Make hostapd_eid_wmm_valid() return more logical return values 2011-12-17 12:41:00 +02:00
ieee802_11.h AP: Add explicit EAPOL TX status event 2011-11-19 13:00:30 +02:00
ieee802_11_auth.c Allow WPA passphrase to be fetched with RADIUS Tunnel-Password attribute 2011-12-11 13:01:57 +02:00
ieee802_11_auth.h Allow WPA passphrase to be fetched with RADIUS Tunnel-Password attribute 2011-12-11 13:01:57 +02:00
ieee802_11_ht.c hostapd: Don't mask out non-symmetric STA HT caps 2011-06-23 20:18:21 +03:00
ieee802_11_shared.c Allow MLME frames to be sent without expecting an ACK (no retries) 2011-11-19 19:02:05 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
p2p_hostapd.c P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
p2p_hostapd.h P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
peerkey_auth.c Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
pmksa_cache_auth.c Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
pmksa_cache_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
preauth_auth.c Fix memory leak on RSN preauth init error path 2010-01-06 21:14:09 +02:00
preauth_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
sta_info.c Fix ap_sta_disconnect() to clear EAPOL/WPA authenticator state 2012-01-25 22:32:58 +02:00
sta_info.h AP: Pass station's WMM configuration to driver wrappers 2011-12-17 12:38:06 +02:00
tkip_countermeasures.c Fix TKIP countermeasures stopping in deinit paths 2011-10-30 12:53:20 +02:00
tkip_countermeasures.h Fix TKIP countermeasures stopping in deinit paths 2011-10-30 12:53:20 +02:00
utils.c P2P: Filter Probe Request frames based on DA and BSSID in Listen state 2011-07-15 20:28:46 +03:00
vlan_init.c Get rid of struct hostapd_driver_ops abstraction 2010-11-24 16:50:06 +02:00
vlan_init.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
wmm.c Make hostapd_eid_wmm_valid() return more logical return values 2011-12-17 12:41:00 +02:00
wmm.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
wpa_auth.c Work around interop issue with WPA type EAPOL-Key 4/4 in WPA2 mode 2012-01-22 12:23:28 +02:00
wpa_auth.h AP: Reorder WPA/Beacon initialization 2011-08-09 14:56:16 +03:00
wpa_auth_ft.c Remove unnecessary include file inclusion 2011-11-13 22:13:04 +02:00
wpa_auth_glue.c Allow WPA passphrase to be fetched with RADIUS Tunnel-Password attribute 2011-12-11 13:01:57 +02:00
wpa_auth_glue.h Move rest of the generic AP mode functionality into src/ap 2009-12-25 20:06:07 +02:00
wpa_auth_i.h Allow SNonce update after sending EAPOL-Key 3/4 if 1/4 was retransmitted 2012-01-02 22:36:11 +02:00
wpa_auth_ie.c Use wpa_key_mgmt_*() helpers 2011-11-24 22:47:46 +02:00
wpa_auth_ie.h FT: Validate MDIE and FTIE in FT 4-way handshake message 2/4 2010-04-10 22:40:35 +03:00
wps_hostapd.c Fix generated WPS PIN values to use zero-padding 2011-12-02 23:04:39 +02:00
wps_hostapd.h WPS UPnP: Fix UPnP initialization for non-bridge case with some drivers 2011-05-19 12:55:47 +03:00