fragattacks/src/ap
Jouni Malinen 0f23a5e7d6 Mark AP disabled if initialization steps fail
Previously, some of the last initialization steps could fail without
clearly marking the interface disabled. For example, configuring the
channel to the driver could fail, but hostapd would not clearly identify
as the interface not being in functional state apart from not moving it
to the ENABLED state. Send an AP-DISABLED event and mark interface state
DISABLED if such a setup operation fails.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-12 13:55:05 +02:00
..
accounting.c Include driver.h in hostapd.h 2013-12-24 08:22:37 +02:00
accounting.h Add Acct-Session-Id into Access-Request messages 2012-12-18 18:13:31 +02:00
acs.c Disable interface if ACS fails 2014-03-06 23:12:33 +02:00
acs.h Move declaration of hostapd_acs_completed() into correct header file 2013-12-31 19:34:43 +02:00
ap_config.c hostapd: Add config option chanlist for DFS channels 2014-03-11 18:59:40 +02:00
ap_config.h hostapd: Add config option chanlist for DFS channels 2014-03-11 18:59:40 +02:00
ap_drv_ops.c DFS: Print error in case CAC fails 2014-03-05 23:59:04 +02:00
ap_drv_ops.h hostapd: Add Operating Mode Notification support 2014-02-14 19:30:05 +02:00
ap_list.c Fix Beacon RX before AP setup completion 2014-02-06 15:22:06 +02:00
ap_list.h AP: Use monotonic time for AP list 2013-12-07 20:50:15 -08:00
ap_mlme.c AP/GO interface teardown optimization 2014-03-05 23:57:02 +02:00
ap_mlme.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
authsrv.c RADIUS server: Add option for storing log information to SQLite DB 2014-03-09 18:21:13 +02:00
authsrv.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
beacon.c HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
beacon.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
ctrl_iface_ap.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
ctrl_iface_ap.h Add chan_switch to ctrl interface of wpa_supplicant and hostapd 2013-11-17 17:12:58 +02:00
dfs.c DFS: Add extra debugging messages 2014-03-11 19:26:48 +02:00
dfs.h hostapd: Configure spectrum management capability 2014-02-25 00:54:59 +02:00
drv_callbacks.c hostapd: Process management frames only once per BSS 2014-03-11 19:07:25 +02:00
eap_user_db.c HS 2.0R2: RADIUS server support to request Subscr Remediation 2014-02-26 01:24:25 +02:00
gas_serv.c HS 2.0R2 AP: Add OSU Providers list ANQP element 2014-02-26 01:24:25 +02:00
gas_serv.h HS 2.0R2 AP: Add OSU Providers list ANQP element 2014-02-26 01:24:25 +02:00
hostapd.c Mark AP disabled if initialization steps fail 2014-03-12 13:55:05 +02:00
hostapd.h Revert "bridge: Track inter-BSS usage" 2014-03-08 11:35:08 +02:00
hs20.c HS 2.0R2 AP: Add support for deauthentication request 2014-02-26 01:24:24 +02:00
hs20.h HS 2.0R2 AP: Add support for deauthentication request 2014-02-26 01:24:24 +02:00
hw_features.c hostapd: Fix vht_capab 'Maximum A-MPDU Length Exponent' handling 2014-03-06 00:09:37 +02:00
hw_features.h Move declaration of hostapd_acs_completed() into correct header file 2013-12-31 19:34:43 +02:00
iapp.c Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +02:00
iapp.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ieee802_1x.c HS 2.0R2: RADIUS server support to request Subscr Remediation 2014-02-26 01:24:25 +02:00
ieee802_1x.h Share a single definition of EAPOL-Key structure for WEP keys 2012-08-07 21:27:01 +03:00
ieee802_11_auth.c Use monotonic clock for RADIUS cache timeouts 2013-12-07 20:50:15 -08:00
ieee802_11_auth.h Use a shared function for freeing PSK list 2012-11-25 18:01:55 +02:00
ieee802_11_ht.c Remove unnecessary variable initialization 2014-03-02 17:15:12 +02:00
ieee802_11_shared.c HS 2.0R2 AP: Add WNM-Notification Request for Subscription Remediation 2014-02-26 01:24:24 +02:00
ieee802_11_vht.c hostapd: Add Operating Mode Notification support 2014-02-14 19:30:05 +02:00
ieee802_11.c Redirect more frames with ext_mgmt_frame_handling=1 2014-03-02 17:15:12 +02:00
ieee802_11.h hostapd: Add Operating Mode Notification support 2014-02-14 19:30:05 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p_hostapd.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_hostapd.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
peerkey_auth.c Remove a static analyzer warning about unused variable write 2014-03-02 17:15:12 +02:00
pmksa_cache_auth.c AP: Use monotonic time for PMKSA cache 2013-12-24 07:01:07 +02:00
pmksa_cache_auth.h WNM: Remove PMKSA cache entry on ESS disassoc imminent notification 2013-05-23 16:50:06 +03:00
preauth_auth.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
preauth_auth.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
sta_info.c Fix PMF protect disconnection on session timeout 2014-03-07 23:24:54 +02:00
sta_info.h HS 2.0R2 AP: Add support for Session Info URL RADIUS AVP 2014-02-26 01:24:24 +02:00
tkip_countermeasures.c AP: Use monotonic time for MMIC failure/TKIP countermeasures 2013-12-24 07:13:34 +02:00
tkip_countermeasures.h hostapd: Fix a regression in TKIP countermeasures processing 2012-11-18 13:06:03 +02:00
utils.c Move hostapd global callback functions into hapd_interfaces 2012-08-25 13:47:05 +03:00
vlan_init.c Revert "bridge: Track inter-BSS usage" 2014-03-08 11:35:08 +02:00
vlan_init.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
vlan_util.c Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
vlan_util.h Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
wmm.c Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
wmm.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
wnm_ap.c WNM: Clean up le16 variable use to avoid sparse warnings 2013-12-31 19:41:47 +02:00
wnm_ap.h Remove unnecessary EVENT_RX_ACTION 2013-12-29 17:18:17 +02:00
wpa_auth_ft.c Fix whitespace style 2013-12-29 11:25:59 +02:00
wpa_auth_glue.c HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
wpa_auth_glue.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wpa_auth_i.h P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
wpa_auth_ie.c HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
wpa_auth_ie.h HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
wpa_auth.c Fix PTK derivation for CCMP-256 and GCMP-256 2014-03-11 15:00:09 +02:00
wpa_auth.h HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
wps_hostapd.c WPS: Fix STA state validation when processing PutWLANResponse 2014-02-19 23:51:55 +02:00
wps_hostapd.h WPS NFC: Add AP mode connection handover report 2014-01-27 21:10:55 +02:00